mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
Update API specs for 2.1 (#699)
* Updating API specs for 2.1 * Updated API and SDK docs
This commit is contained in:
parent
c387670944
commit
664d1d0384
19 changed files with 4280 additions and 1949 deletions
|
|
@ -9,12 +9,26 @@ properties:
|
|||
- action
|
||||
- observation
|
||||
- answer
|
||||
- final-answer
|
||||
- error
|
||||
example: answer
|
||||
content:
|
||||
type: string
|
||||
description: Chunk content (streaming mode only)
|
||||
example: Paris is the capital of France.
|
||||
message_type:
|
||||
type: string
|
||||
description: Message type - "chunk" for agent chunks, "explain" for explainability events
|
||||
enum: [chunk, explain]
|
||||
example: chunk
|
||||
explain_id:
|
||||
type: string
|
||||
description: Explainability node URI (for explain messages)
|
||||
example: urn:trustgraph:agent:abc123
|
||||
explain_graph:
|
||||
type: string
|
||||
description: Named graph containing the explainability data
|
||||
example: urn:graph:retrieval
|
||||
end-of-message:
|
||||
type: boolean
|
||||
description: Current chunk type is complete (streaming mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue