Updated API specs

This commit is contained in:
Cyber MacGeddon 2026-03-17 13:16:47 +00:00
parent ab002e6edb
commit f6e588d408
13 changed files with 282 additions and 56 deletions

View file

@ -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)