Uses of Class
org.springframework.ai.document.Document
Package
Description
-
Uses of Document in org.springframework.ai.azure.openai
-
Uses of Document in org.springframework.ai.bedrock.cohere
-
Uses of Document in org.springframework.ai.bedrock.titan
-
Uses of Document in org.springframework.ai.document
Modifier and TypeMethodDescriptionDocumentReader.read()
Retrieves relevant documents however the implementation sees fit.Modifier and TypeMethodDescriptionContentFormatter.format
(Document document, MetadataMode mode) DefaultContentFormatter.format
(Document document, MetadataMode metadataMode) -
Uses of Document in org.springframework.ai.embedding
Modifier and TypeMethodDescriptionEmbeddingModel
implementations can call this method to optimize embedding tokens.DocumentEmbeddingRequest.getInstructions()
Modifier and TypeMethodDescriptionfloat[]
Embeds the given document's content into a vector.Modifier and TypeMethodDescriptionEmbeddingModel
implementations can call this method to optimize embedding tokens.default List<float[]>
EmbeddingModel.embed
(List<Document> documents, EmbeddingOptions options, BatchingStrategy batchingStrategy) Embeds a batch ofDocument
s into vectors based on aBatchingStrategy
.ModifierConstructorDescriptionDocumentEmbeddingRequest
(List<Document> inputs) DocumentEmbeddingRequest
(List<Document> inputs, EmbeddingOptions options) -
Uses of Document in org.springframework.ai.minimax
-
Uses of Document in org.springframework.ai.mistralai
-
Uses of Document in org.springframework.ai.oci
-
Uses of Document in org.springframework.ai.ollama
-
Uses of Document in org.springframework.ai.openai
-
Uses of Document in org.springframework.ai.postgresml
-
Uses of Document in org.springframework.ai.qianfan
-
Uses of Document in org.springframework.ai.reader
-
Uses of Document in org.springframework.ai.reader.markdown
-
Uses of Document in org.springframework.ai.reader.pdf
Modifier and TypeMethodDescriptionprotected Document
PagePdfDocumentReader.toDocument
(org.apache.pdfbox.pdmodel.PDPage page, String docText, int startPageNumber, int endPageNumber) protected Document
ParagraphPdfDocumentReader.toDocument
(ParagraphManager.Paragraph from, ParagraphManager.Paragraph to) Modifier and TypeMethodDescriptionPagePdfDocumentReader.get()
ParagraphPdfDocumentReader.get()
Reads and processes the PDF document to extract paragraphs.Modifier and TypeMethodDescriptionprotected void
ParagraphPdfDocumentReader.addMetadata
(ParagraphManager.Paragraph from, ParagraphManager.Paragraph to, Document document) -
Uses of Document in org.springframework.ai.reader.tika
-
Uses of Document in org.springframework.ai.transformer
Modifier and TypeMethodDescriptionPost process documents chunked from loader. -
Uses of Document in org.springframework.ai.transformer.splitter
Modifier and TypeMethodDescription -
Uses of Document in org.springframework.ai.transformers
-
Uses of Document in org.springframework.ai.vectorstore
Modifier and TypeMethodDescriptionCassandraVectorStore.doSimilaritySearch
(SearchRequest request) ChromaVectorStore.doSimilaritySearch
(SearchRequest request) ElasticsearchVectorStore.doSimilaritySearch
(SearchRequest searchRequest) GemFireVectorStore.doSimilaritySearch
(SearchRequest request) HanaCloudVectorStore.doSimilaritySearch
(SearchRequest request) MilvusVectorStore.doSimilaritySearch
(SearchRequest request) MongoDBAtlasVectorStore.doSimilaritySearch
(SearchRequest request) Neo4jVectorStore.doSimilaritySearch
(SearchRequest request) OpenSearchVectorStore.doSimilaritySearch
(SearchRequest searchRequest) OracleVectorStore.doSimilaritySearch
(SearchRequest request) PgVectorStore.doSimilaritySearch
(SearchRequest request) PineconeVectorStore.doSimilaritySearch
(SearchRequest request) RedisVectorStore.doSimilaritySearch
(SearchRequest request) SimpleVectorStore.doSimilaritySearch
(SearchRequest request) TypesenseVectorStore.doSimilaritySearch
(SearchRequest request) WeaviateVectorStore.doSimilaritySearch
(SearchRequest request) HanaCloudVectorStore.similaritySearch
(String query) MongoDBAtlasVectorStore.similaritySearch
(String query) OpenSearchVectorStore.similaritySearch
(float[] embedding, int topK, double similarityThreshold, Filter.Expression filterExpression) PineconeVectorStore.similaritySearch
(SearchRequest request, String namespace) VectorStore.similaritySearch
(String query) Retrieves documents by query embedding similarity using the defaultSearchRequest
's' search criteria.VectorStore.similaritySearch
(SearchRequest request) Retrieves documents by query embedding similarity and metadata filters to retrieve exactly the number of nearest-neighbor results that match the request criteria.Modifier and TypeMethodDescriptiondefault void
void
Adds a list of documents to the vector store based on the namespace.void
Adds list ofDocument
s to the vector store.void
void
void
void
void
void
void
void
void
void
void
void
Adds a list of documents to the vector store.void
void
void
void
-
Uses of Document in org.springframework.ai.vectorstore.azure
Modifier and TypeMethodDescriptionAzureVectorStore.doSimilaritySearch
(SearchRequest request) AzureVectorStore.similaritySearch
(String query) -
Uses of Document in org.springframework.ai.vectorstore.observation
Modifier and TypeMethodDescriptionAbstractObservationVectorStore.doSimilaritySearch
(SearchRequest request) VectorStoreObservationContext.getQueryResponse()
AbstractObservationVectorStore.similaritySearch
(SearchRequest request) Modifier and TypeMethodDescriptionvoid
abstract void
void
VectorStoreObservationContext.setQueryResponse
(List<Document> queryResponse) VectorStoreObservationContext.Builder.withQueryResponse
(List<Document> documents) -
Uses of Document in org.springframework.ai.vectorstore.qdrant
Modifier and TypeMethodDescriptionQdrantVectorStore.doSimilaritySearch
(SearchRequest request) Performs a similarity search on the vector store. -
Uses of Document in org.springframework.ai.vertexai.embedding.text
-
Uses of Document in org.springframework.ai.vertexai.palm2
-
Uses of Document in org.springframework.ai.watsonx
-
Uses of Document in org.springframework.ai.writer
-
Uses of Document in org.springframework.ai.zhipuai