mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 00:46:22 +02:00
25 lines
659 B
YAML
25 lines
659 B
YAML
|
|
type: object
|
||
|
|
description: Document RAG response
|
||
|
|
properties:
|
||
|
|
response:
|
||
|
|
type: string
|
||
|
|
description: Generated response based on retrieved documents
|
||
|
|
example: The research papers found three key findings...
|
||
|
|
end-of-stream:
|
||
|
|
type: boolean
|
||
|
|
description: Indicates streaming is complete (streaming mode)
|
||
|
|
default: false
|
||
|
|
example: true
|
||
|
|
error:
|
||
|
|
type: object
|
||
|
|
description: Error details if request failed
|
||
|
|
properties:
|
||
|
|
message:
|
||
|
|
type: string
|
||
|
|
description: Error message
|
||
|
|
example: Failed to retrieve documents
|
||
|
|
type:
|
||
|
|
type: string
|
||
|
|
description: Error type
|
||
|
|
example: RETRIEVAL_ERROR
|