Uses of Record Class
dyntabs.ai.rag.DocumentSource
Packages that use DocumentSource
-
Uses of DocumentSource in dyntabs.ai
Methods in dyntabs.ai with parameters of type DocumentSourceModifier and TypeMethodDescriptionExtractionBuilder.from(DocumentSource source) Extracts the target type directly from a document's bytes.intEasyIndexer.index(DocumentSource... sources) Indexes in-memory documents (byte arrays) — for content from a DMS, database BLOB, REST API, or user upload.AssistantBuilder.withRAG(DocumentSource... sources) Enables RAG from in-memory document sources (byte arrays).Method parameters in dyntabs.ai with type arguments of type DocumentSourceModifier and TypeMethodDescriptionintEasyIndexer.index(List<DocumentSource> sources) Indexes a list of in-memory documents (byte arrays).AssistantBuilder.withRAG(List<DocumentSource> sources, int maxResults, double minScore) Enables RAG from in-memory document sources with tuning parameters. -
Uses of DocumentSource in dyntabs.ai.rag
Methods in dyntabs.ai.rag that return DocumentSourceModifier and TypeMethodDescriptionstatic DocumentSourceCreates a DocumentSource from a file name and raw bytes.static DocumentSourceCreates a DocumentSource from plain text content.Method parameters in dyntabs.ai.rag with type arguments of type DocumentSourceModifier and TypeMethodDescriptionstatic dev.langchain4j.rag.content.retriever.ContentRetrieverRagEngine.createRetriever(List<DocumentSource> documentSources, int maxResults, double minScore) Creates aContentRetrieverfrom in-memory document sources.static List<dev.langchain4j.data.document.Document> RagEngine.parseDocumentSources(List<DocumentSource> sources) Parses in-memory document sources (byte arrays) into LangChain4JDocuments using Apache Tika.