answer
Generate answers to questions by combining web search with AI language model capabilities.
Instructions
Generate an answer to a query using Exa's search and LLM capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The query to answer. | |
| text | No | Whether to include full text in the results. | |
| system_prompt | No | A system prompt to guide the LLM's behavior. | |
| model | No | The model to use for answering (default: exa). | |
| output_schema | No | JSON schema for structured output. | |
| user_location | No | Two-letter ISO country code for user location. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||