OptionalchatWhich chat model to use when doing reranking
The contextId to search with
OptionalcontextA set of filters that will limit the context the AI can access.
The id of the AiKnowledgeBase
OptionallimitThe maximum number of results to return
OptionalrerankWhether to rerank the results with AI and provide reasoning - defaults to true
OptionalrerankReasoning effort of the reranking model. A score needs little thought, so 'low' is the usual
choice; when unset the model applies its own default.
Request structure for searching AI contexts in the AiKnowledgeBase with an existing context.