Generate text using Box AI based on a prompt and file context. This action sends a request to Box AI's text generation endpoint, which uses Large Language Models (LLMs) to generate text based on your prompt and the content of a specified file. Use cases include: - Summarizing do…
itemsRequiredarrayA list containing exactly ONE file item to provide context for text generation. The file's text content (up to 1MB) will be used as context for the LLM. Each item must include 'id' (file ID) and 'type' (must be 'file').
promptRequiredstringThe prompt or instruction for the LLM to respond to. Maximum length: 10,000 characters. Example: 'Summarize the key points of this document' or 'Generate a response email based on this content'.
ai_agentobjectOptional configuration to specify which AI agent model to use for text generation. If not provided, the default Box AI agent will be used.
dialogue_historyarrayOptional conversation history to provide multi-turn context. Include previous prompts and their corresponding LLM answers to enable follow-up questions or continued conversations.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.