Uses of Class
dev.langchain4j.data.document.parser.apache.tika.ApacheTikaDocumentParser.Builder
Packages that use ApacheTikaDocumentParser.Builder
-
Uses of ApacheTikaDocumentParser.Builder in dev.langchain4j.data.document.parser.apache.tika
Methods in dev.langchain4j.data.document.parser.apache.tika that return ApacheTikaDocumentParser.BuilderModifier and TypeMethodDescriptionApacheTikaDocumentParser.builder()Creates a builder for anApacheTikaDocumentParser.ApacheTikaDocumentParser.Builder.contentHandlerSupplier(@Nullable Supplier<ContentHandler> contentHandlerSupplier) Sets the supplier of the TikaContentHandlerthat collects the text of the documents.ApacheTikaDocumentParser.Builder.includeMetadata(@Nullable Boolean includeMetadata) Sets whether the metadata that Tika extracts (for example the author or the content type) is added to the parsedDocument.ApacheTikaDocumentParser.Builder.maxCharacters(@Nullable Integer maxCharacters) Sets the maximum number of characters of text that the parser extracts from a document.ApacheTikaDocumentParser.Builder.metadataSupplier(@Nullable Supplier<org.apache.tika.metadata.Metadata> metadataSupplier) Sets the supplier of the TikaMetadatathat is passed to the Tika parser.ApacheTikaDocumentParser.Builder.parseContextSupplier(@Nullable Supplier<org.apache.tika.parser.ParseContext> parseContextSupplier) Sets the supplier of the TikaParseContextthat is passed to the Tika parser.ApacheTikaDocumentParser.Builder.parserSupplier(@Nullable Supplier<org.apache.tika.parser.Parser> parserSupplier) Sets the supplier of the TikaParserthat reads the documents.Constructors in dev.langchain4j.data.document.parser.apache.tika with parameters of type ApacheTikaDocumentParser.BuilderModifierConstructorDescriptionprotectedCreates a parser with the options of the given builder.