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 DocumentDocumentLoader.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 DocumentUrlDocumentLoader.load(String url, DocumentParser documentParser) Loads a document from the specified URL.static DocumentUrlDocumentLoader.load(URL url, DocumentParser documentParser) Loads a document from the specified URL.static DocumentClassPathDocumentLoader.loadDocument(String pathOnClasspath, DocumentParser documentParser) Loads aDocumentfrom the specified file path.static DocumentClassPathDocumentLoader.loadDocument(String pathOnClasspath, DocumentParser documentParser, ClassLoader classLoader) Loads aDocumentfrom the specified file path using a given class loader.static DocumentFileSystemDocumentLoader.loadDocument(String filePath, DocumentParser documentParser) Loads aDocumentfrom the specified file path.static DocumentFileSystemDocumentLoader.loadDocument(Path filePath, DocumentParser documentParser) ClassPathDocumentLoader.loadDocuments(String directoryOnClasspath, DocumentParser documentParser) LoadsDocuments from the specified directory.ClassPathDocumentLoader.loadDocuments(String directoryOnClasspath, DocumentParser documentParser, ClassLoader classLoader) LoadsDocuments from the specified directory using a given class loader.ClassPathDocumentLoader.loadDocuments(String directoryOnClasspath, PathMatcher pathMatcher, DocumentParser documentParser) Loads matchingDocuments from the specified directory.ClassPathDocumentLoader.loadDocuments(String directoryOnClasspath, PathMatcher pathMatcher, DocumentParser documentParser, ClassLoader classLoader) Loads matchingDocuments from the specified directory using a given class loader.FileSystemDocumentLoader.loadDocuments(String directoryPath, DocumentParser documentParser) LoadsDocuments from the specified directory.FileSystemDocumentLoader.loadDocuments(String directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Loads matchingDocuments from the specified directory.FileSystemDocumentLoader.loadDocuments(Path directoryPath, DocumentParser documentParser) LoadsDocuments from the specified directory.FileSystemDocumentLoader.loadDocuments(Path directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Loads matchingDocuments from the specified directory.ClassPathDocumentLoader.loadDocumentsRecursively(String directoryOnClasspath, DocumentParser documentParser) Recursively loadsDocuments from the specified directory and its subdirectories.ClassPathDocumentLoader.loadDocumentsRecursively(String directoryOnClasspath, DocumentParser documentParser, ClassLoader classLoader) Recursively loadsDocuments from the specified directory and its subdirectories using a given class loader.ClassPathDocumentLoader.loadDocumentsRecursively(String directoryOnClasspath, PathMatcher pathMatcher, DocumentParser documentParser) Recursively loads matchingDocuments from the specified directory and its subdirectories.ClassPathDocumentLoader.loadDocumentsRecursively(String directoryOnClasspath, PathMatcher pathMatcher, DocumentParser documentParser, ClassLoader classLoader) Recursively loads matchingDocuments from the specified directory and its subdirectories using a given class loader.FileSystemDocumentLoader.loadDocumentsRecursively(String directoryPath, DocumentParser documentParser) Recursively loadsDocuments from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively(String directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Recursively loads matchingDocuments from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively(Path directoryPath, DocumentParser documentParser) Recursively loadsDocuments from the specified directory and its subdirectories.FileSystemDocumentLoader.loadDocumentsRecursively(Path directoryPath, PathMatcher pathMatcher, DocumentParser documentParser) Recursively loads matchingDocuments 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 ref, String path, DocumentParser parser) Loads a document from a specific file in a GitHub repository using the provided reference (commit ID, branch name, or tag).GitHubDocumentLoader.loadDocuments(String owner, String repo, String branch, DocumentParser parser) GitHubDocumentLoader.loadDocuments(String owner, String repo, String branch, String path, DocumentParser parser) Loads and parses multiple documents from a directory in a GitHub repository at a specific branch. -
Uses of DocumentParser in dev.langchain4j.data.document.loader.playwright
Methods in dev.langchain4j.data.document.loader.playwright with parameters of type DocumentParserModifier and TypeMethodDescriptionPlaywrightDocumentLoader.load(String url, DocumentParser documentParser) Loads aDocumentfrom the specified URL by fetching its HTML content and parsing it using the providedDocumentParser. -
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 and parses its content using the givenDocumentParser. -
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 TypeClassDescriptionclassParses PDF file into aDocumentusing 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 TypeClassDescriptionclassParses Microsoft Office file into aDocumentusing 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 TypeClassDescriptionclassParses anInputStreaminto aDocumentusing the Apache Tika library by automatically detecting the file format and extracting its textual content.Methods in dev.langchain4j.data.document.parser.apache.tika that return DocumentParser -
Uses of DocumentParser in dev.langchain4j.data.document.parser.markdown
Classes in dev.langchain4j.data.document.parser.markdown that implement DocumentParser -
Uses of DocumentParser in dev.langchain4j.data.document.parser.yaml
Classes in dev.langchain4j.data.document.parser.yaml that implement DocumentParser -
Uses of DocumentParser in dev.langchain4j.spi.data.document.parser
Methods in dev.langchain4j.spi.data.document.parser that return DocumentParser