Skip to main content

Module dto

Module dto 

Source
Expand description

Wire types mirroring the RAG server’s JSON. Defined here (not shared with the server crate) so the client stays independent of the server build.

Structs§

AnswerResult
The result payload of a completed answer job.
ChunkResult
DeleteRequest
Body of POST /api/index/delete.
EmbeddingsResponse
Health
GET /health capability probe.
HistoryTurn
One prior Q&A pair sent as conversation history on /api/answer.
IndexDocsRequest
Body of POST /api/index/docs.
JobAccepted
Response to any job-creating endpoint.
JobStatus
GET /api/job/{id}.
QueryRequest
Body of POST /api/embeddings and POST /api/answer.
WireDoc
A note pushed to the server: its path, content hash, and heading sections.
WireSection