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§
- Answer
Result - The
resultpayload of a completed answer job. - Chunk
Result - Delete
Request - Body of
POST /api/index/delete. - Embeddings
Response - Health
GET /healthcapability probe.- History
Turn - One prior Q&A pair sent as conversation history on
/api/answer. - Index
Docs Request - Body of
POST /api/index/docs. - JobAccepted
- Response to any job-creating endpoint.
- JobStatus
GET /api/job/{id}.- Query
Request - Body of
POST /api/embeddingsandPOST /api/answer. - WireDoc
- A note pushed to the server: its path, content hash, and heading sections.
- Wire
Section