Uses of Interface
dev.langchain4j.data.document.DocumentParser
Packages that use DocumentParser
Package
Description
-
Uses of DocumentParser in dev.langchain4j.data.document
Methods in dev.langchain4j.data.document with parameters of type DocumentParserModifier and TypeMethodDescriptionstatic Document
DocumentLoader.load
(DocumentSource source, DocumentParser parser) Loads a document from the given source using the given parser. -
Uses of DocumentParser in dev.langchain4j.data.document.loader
Methods in dev.langchain4j.data.document.loader with parameters of type DocumentParserModifier and TypeMethodDescriptionstatic Document
UrlDocumentLoader.load
(String url, DocumentParser documentParser) Loads a document from the specified URL.static Document
UrlDocumentLoader.load
(URL url, DocumentParser documentParser) Loads a document from the specified URL.static Document
ClassPathDocumentLoader.loadDocument
(String pathOnClasspath, DocumentParser documentParser) Loads aDocument
from the specified file path.static Document
FileSystemDocumentLoader.loadDocument
(String filePath, DocumentParser documentParser) Loads aDocument
from the specified file path.static Document
FileSystemDocumentLoader.loadDocument
(Path filePath, DocumentParser documentParser) ClassPathDocumentLoader.loadDocuments
(String directoryOnClasspath, DocumentParser documentParser) LoadsDocument
s from the specified directory.ClassPathDocumentLoader.loadDocuments
(String directoryOnClasspath, PathMatcher pathMatcher, DocumentParser documentParser) Loads matchingDocument
s from the specified directory.FileSystemDocumentLoader.loadDocuments
(String directoryPath, DocumentParser documentParser) LoadsDocument
s from the specified directory.FileSystemDocumentLoader.loadDocuments
(String directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Loads matchingDocument
s from the specified directory.FileSystemDocumentLoader.loadDocuments
(Path directoryPath, DocumentParser documentParser) LoadsDocument
s from the specified directory.FileSystemDocumentLoader.loadDocuments
(Path directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Loads matchingDocument
s from the specified directory.ClassPathDocumentLoader.loadDocumentsRecursively
(String directoryOnClasspath, DocumentParser documentParser) Recursively loadsDocument
s from the specified directory and its subdirectories.ClassPathDocumentLoader.loadDocumentsRecursively
(String directoryOnClasspath, PathMatcher pathMatcher, DocumentParser documentParser) Recursively loads matchingDocument
s from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively
(String directoryPath, DocumentParser documentParser) Recursively loadsDocument
s from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively
(String directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Recursively loads matchingDocument
s from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively
(Path directoryPath, DocumentParser documentParser) Recursively loadsDocument
s from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively
(Path directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Recursively loads matchingDocument
s from the specified directory and its subdirectories. -
Uses of DocumentParser in dev.langchain4j.data.document.loader.amazon.s3
Methods in dev.langchain4j.data.document.loader.amazon.s3 with parameters of type DocumentParserModifier and TypeMethodDescriptionAmazonS3DocumentLoader.loadDocument
(String bucket, String key, DocumentParser parser) Loads a single document from the specified S3 bucket based on the specified object key.AmazonS3DocumentLoader.loadDocuments
(String bucket, DocumentParser parser) Loads all documents from an S3 bucket.AmazonS3DocumentLoader.loadDocuments
(String bucket, String prefix, DocumentParser parser) Loads all documents from an S3 bucket. -
Uses of DocumentParser in dev.langchain4j.data.document.loader.azure.storage.blob
Methods in dev.langchain4j.data.document.loader.azure.storage.blob with parameters of type DocumentParserModifier and TypeMethodDescriptionAzureBlobStorageDocumentLoader.loadDocument
(String containerName, String blobName, DocumentParser parser) AzureBlobStorageDocumentLoader.loadDocuments
(String containerName, DocumentParser parser) -
Uses of DocumentParser in dev.langchain4j.data.document.loader.gcs
Methods in dev.langchain4j.data.document.loader.gcs with parameters of type DocumentParserModifier and TypeMethodDescriptionGoogleCloudStorageDocumentLoader.loadDocument
(String bucket, String objectName, DocumentParser parser) Loads a single document from the specified Google Cloud Storage bucket based on the specified object key.GoogleCloudStorageDocumentLoader.loadDocuments
(String bucket, DocumentParser parser) Loads all documents from an GCS bucket.GoogleCloudStorageDocumentLoader.loadDocuments
(String bucket, String globPattern, DocumentParser parser) Load a list of documents from the specified bucket, filtered with a glob pattern. -
Uses of DocumentParser in dev.langchain4j.data.document.loader.github
Methods in dev.langchain4j.data.document.loader.github with parameters of type DocumentParserModifier and TypeMethodDescriptionGitHubDocumentLoader.loadDocument
(String owner, String repo, String branch, String path, DocumentParser parser) GitHubDocumentLoader.loadDocuments
(String owner, String repo, String branch, DocumentParser parser) GitHubDocumentLoader.loadDocuments
(String owner, String repo, String branch, String path, DocumentParser parser) -
Uses of DocumentParser in dev.langchain4j.data.document.loader.selenium
Methods in dev.langchain4j.data.document.loader.selenium with parameters of type DocumentParserModifier and TypeMethodDescriptionSeleniumDocumentLoader.load
(String url, DocumentParser documentParser) Loads a document from the specified URL. -
Uses of DocumentParser in dev.langchain4j.data.document.loader.tencent.cos
Methods in dev.langchain4j.data.document.loader.tencent.cos with parameters of type DocumentParserModifier and TypeMethodDescriptionTencentCosDocumentLoader.loadDocument
(String bucket, String key, DocumentParser parser) Loads a single document from the specified COS bucket based on the specified object key.TencentCosDocumentLoader.loadDocuments
(String bucket, DocumentParser parser) Loads all documents from an COS bucket.TencentCosDocumentLoader.loadDocuments
(String bucket, String prefix, DocumentParser parser) Loads all documents from an COS bucket. -
Uses of DocumentParser in dev.langchain4j.data.document.parser
Classes in dev.langchain4j.data.document.parser that implement DocumentParser -
Uses of DocumentParser in dev.langchain4j.data.document.parser.apache.pdfbox
Classes in dev.langchain4j.data.document.parser.apache.pdfbox that implement DocumentParserModifier and TypeClassDescriptionclass
Parses PDF file into aDocument
using Apache PDFBox library -
Uses of DocumentParser in dev.langchain4j.data.document.parser.apache.poi
Classes in dev.langchain4j.data.document.parser.apache.poi that implement DocumentParserModifier and TypeClassDescriptionclass
Parses Microsoft Office file into aDocument
using Apache POI library. -
Uses of DocumentParser in dev.langchain4j.data.document.parser.apache.tika
Classes in dev.langchain4j.data.document.parser.apache.tika that implement DocumentParserModifier and TypeClassDescriptionclass
Parses files intoDocument
s using Apache Tika library, automatically detecting the file format.Methods in dev.langchain4j.data.document.parser.apache.tika that return DocumentParser -
Uses of DocumentParser in dev.langchain4j.spi.data.document.parser
Methods in dev.langchain4j.spi.data.document.parser that return DocumentParser