KnowledgeQueryResult
The answer of a query (1.53.0; the plan's KnowledgeResult): the version searched and its passages with their citations.
An object with 7 fields.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
elapsed_ms | integer | yes | The time the api took to answer, a measurement. |
knowledge_base_id | KnowledgeBaseId | yes | |
object | "knowledge_query_result" | yes | |
passages | array of KnowledgePassage | yes | Best first: at most top_k, none below min_score, and no more than fit max_context_tokens. An empty list is an answer, not a failure. |
reranked | boolean | yes | False when the fused order was kept, as when no rerank Provider resolves. |
top_score | number or null | yes | The highest score of the passages; null when there is none. |
version | integer or null | yes | The version searched; null for the working set. |
Used by
The operations whose parameters, request body or responses name this shape directly.