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
+56-23Lines changed: 56 additions & 23 deletions
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"
@@ -7711,32 +7719,18 @@
7711
7719
]
7712
7720
},
7713
7721
"tool_calls": {
7714
-
"anyOf": [
7715
-
{
7716
-
"items": {
7717
-
"$ref": "#/components/schemas/ToolCallSummary"
7718
-
},
7719
-
"type": "array"
7720
-
},
7721
-
{
7722
-
"type": "null"
7723
-
}
7724
-
],
7722
+
"items": {
7723
+
"$ref": "#/components/schemas/ToolCallSummary"
7724
+
},
7725
+
"type": "array",
7725
7726
"title": "Tool Calls",
7726
7727
"description": "List of tool calls made during response generation"
7727
7728
},
7728
7729
"tool_results": {
7729
-
"anyOf": [
7730
-
{
7731
-
"items": {
7732
-
"$ref": "#/components/schemas/ToolResultSummary"
7733
-
},
7734
-
"type": "array"
7735
-
},
7736
-
{
7737
-
"type": "null"
7738
-
}
7739
-
],
7730
+
"items": {
7731
+
"$ref": "#/components/schemas/ToolResultSummary"
7732
+
},
7733
+
"type": "array",
7740
7734
"title": "Tool Results",
7741
7735
"description": "List of tool results"
7742
7736
}
@@ -7746,7 +7740,7 @@
7746
7740
"response"
7747
7741
],
7748
7742
"title": "QueryResponse",
7749
-
"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.",
7750
7744
"examples": [
7751
7745
{
7752
7746
"available_quotas": {
@@ -7979,6 +7973,45 @@
7979
7973
"title": "QuotaSchedulerConfiguration",
7980
7974
"description": "Quota scheduler configuration."
7981
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