Expand description
Core data types shared across the pipeline: documents, chunks, scored hits.
Structs§
- Chunk
- One retrievable chunk of a document.
- Document
- A source document, stored once with its metadata. Its text lives in
Chunks. - Scored
- A retrieval hit: a chunk plus the score that ranked it.
Enums§
- Retrieval
Mode - The retrieval strategy to run for a query.
Functions§
- content_
hash - sha256 hex digest of the given bytes — used for document dedup.
- new_id
- Generate a fresh hyphenated UUID v4.
- now_
rfc3339 - Current time as an RFC-3339 string, without pulling in
chrono.