IndexedChunk
org.llm4s.rag.IndexedChunk
A chunk as RAG indexed it: the id its records are stored under, which is the id a search result for it carries.
Value parameters
- content
-
the chunk's text
- id
-
the stored id:
<documentId>-chunk-<index>, or, in a collection of a permission-awareSearchIndex, the id that index gives it (coll-<collectionId>-<documentId>-chunk-<index>forPgSearchIndex) - index
-
the chunk's position in its document, from 0
Attributes
- Source
- RAGTypes.scala
- Graph
-
- Supertypes
Members list
In this article
