Uses of Class
com.tnsai.knowledge.Document.Builder
Packages that use Document.Builder
Package
Description
Knowledge base abstraction for Retrieval-Augmented Generation (RAG).
-
Uses of Document.Builder in com.tnsai.knowledge
Methods in com.tnsai.knowledge that return Document.BuilderModifier and TypeMethodDescriptionstatic Document.BuilderDocument.builder()Creates a new document builder.Sets the document content.Document.Builder.embedding(float[] embedding) Sets the document embedding.Sets the document ID.Adds a metadata entry.Adds multiple metadata entries.