You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/openapi.json
+48-1Lines changed: 48 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7648,6 +7648,14 @@
7648
7648
"Kubernetes is an open-source container orchestration system for automating ..."
7649
7649
]
7650
7650
},
7651
+
"rag_chunks": {
7652
+
"items": {
7653
+
"$ref": "#/components/schemas/RAGChunk"
7654
+
},
7655
+
"type": "array",
7656
+
"title": "Rag Chunks",
7657
+
"description": "Deprecated: List of RAG chunks used to generate the response."
7658
+
},
7651
7659
"referenced_documents": {
7652
7660
"items": {
7653
7661
"$ref": "#/components/schemas/ReferencedDocument"
@@ -7732,7 +7740,7 @@
7732
7740
"response"
7733
7741
],
7734
7742
"title": "QueryResponse",
7735
-
"description": "Model representing LLM response to a query.\n\nAttributes:\n conversation_id: The optional conversation ID (UUID).\n response: The response.\n rag_chunks: List of RAG chunks used to generate the response.\n referenced_documents: The URLs and titles for the documents used to generate the response.\n tool_calls: List of tool calls made during response generation.\n truncated: Whether conversation history was truncated.\n input_tokens: Number of tokens sent to LLM.\n output_tokens: Number of tokens received from LLM.\n available_quotas: Quota available as measured by all configured quota limiters.",
7743
+
"description": "Model representing LLM response to a query.\n\nAttributes:\n conversation_id: The optional conversation ID (UUID).\n response: The response.\n rag_chunks: Deprecated. List of RAG chunks used to generate the response.\n This information is now available in tool_results under file_search_call type.\nreferenced_documents: The URLs and titles for the documents used to generate the response.\n tool_calls: List of tool calls made during response generation.\n tool_results: List of tool results.\n truncated: Whether conversation history was truncated.\n input_tokens: Number of tokens sent to LLM.\n output_tokens: Number of tokens received from LLM.\n available_quotas: Quota available as measured by all configured quota limiters.",
7736
7744
"examples": [
7737
7745
{
7738
7746
"available_quotas": {
@@ -7965,6 +7973,45 @@
7965
7973
"title": "QuotaSchedulerConfiguration",
7966
7974
"description": "Quota scheduler configuration."
7967
7975
},
7976
+
"RAGChunk": {
7977
+
"properties": {
7978
+
"content": {
7979
+
"type": "string",
7980
+
"title": "Content",
7981
+
"description": "The content of the chunk"
7982
+
},
7983
+
"source": {
7984
+
"anyOf": [
7985
+
{
7986
+
"type": "string"
7987
+
},
7988
+
{
7989
+
"type": "null"
7990
+
}
7991
+
],
7992
+
"title": "Source",
7993
+
"description": "Source document or URL"
7994
+
},
7995
+
"score": {
7996
+
"anyOf": [
7997
+
{
7998
+
"type": "number"
7999
+
},
8000
+
{
8001
+
"type": "null"
8002
+
}
8003
+
],
8004
+
"title": "Score",
8005
+
"description": "Relevance score"
8006
+
}
8007
+
},
8008
+
"type": "object",
8009
+
"required": [
8010
+
"content"
8011
+
],
8012
+
"title": "RAGChunk",
8013
+
"description": "Model representing a RAG chunk used in the response."
0 commit comments