Retrieval
Agent
Implement an agent-based interaction for complex query processing.
This endpoint supports multi-turn conversations and can handle complex queries by breaking them down into sub-tasks. It uses the same filtering capabilities as the search and RAG endpoints for retrieving relevant information.
The agent’s behavior can be customized using the rag_generation_config and task_prompt_override parameters.
POST
/
v2
/
agent
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
messages
object[]
requiredList of message objects
vector_search_settings
object
Vector search settings
kg_search_settings
object
Knowledge graph search settings
rag_generation_config
object
RAG generation configuration
task_prompt_override
string | null
Task prompt override
include_title_if_available
boolean
default: trueInclude title if available
Response
200 - application/json
results
object
requiredWas this page helpful?