Uses of Interface
dev.langchain4j.data.document.DocumentParser
Package
Description
-
Uses of DocumentParser in dev.langchain4j.data.document
Modifier 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
Modifier 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
FileSystemDocumentLoader.loadDocument
(String filePath, DocumentParser documentParser) Loads aDocument
from the specified file path.static Document
FileSystemDocumentLoader.loadDocument
(Path filePath, DocumentParser documentParser) 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.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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
-
Uses of DocumentParser in dev.langchain4j.data.document.parser.apache.pdfbox
Modifier and TypeClassDescriptionclass
Parses PDF file into aDocument
using Apache PDFBox library -
Uses of DocumentParser in dev.langchain4j.data.document.parser.apache.poi
Modifier and TypeClassDescriptionclass
Parses Microsoft Office file into aDocument
using Apache POI library. -
Uses of DocumentParser in dev.langchain4j.data.document.parser.apache.tika
Modifier and TypeClassDescriptionclass
Parses files intoDocument
s using Apache Tika library, automatically detecting the file format. -
Uses of DocumentParser in dev.langchain4j.spi.data.document.parser