Uses of Class
org.springframework.ai.document.Document
Package
Description
RAG Sub-Module: Query Augmentation.
RAG Sub-Module: Document Compression.
RAG Sub-Module: Document Ranking.
RAG Sub-Module: Document Selection.
RAG Sub-Module: Document Join.
RAG Sub-Module: Document Search.
Provides classes for observing and storing vector data.
-
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 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.rag.generation.augmentation
-
Uses of Document in org.springframework.ai.rag.postretrieval.compression
Modifier and TypeMethodDescriptionCompresses the content of each document. -
Uses of Document in org.springframework.ai.rag.postretrieval.ranking
Modifier and TypeMethodDescriptionRanks documents based on their relevance to the given query. -
Uses of Document in org.springframework.ai.rag.postretrieval.selection
Modifier and TypeMethodDescriptionRemoves irrelevant or redundant documents from a list of retrieved documents. -
Uses of Document in org.springframework.ai.rag.retrieval.join
Modifier and TypeMethodDescriptionJoins documents retrieved across multiple queries and daa sources.Modifier and TypeMethodDescriptionJoins documents retrieved across multiple queries and daa sources. -
Uses of Document in org.springframework.ai.rag.retrieval.search
Modifier and TypeMethodDescriptionRetrieves relevant documents from an underlying data source based on the given query. -
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) CosmosDBVectorStore.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) CoherenceVectorStore.similaritySearch
(SearchRequest request) CosmosDBVectorStore.similaritySearch
(String query) 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
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
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) Perform the actual similarity search operation.VectorStoreObservationContext.getQueryResponse()
AbstractObservationVectorStore.similaritySearch
(SearchRequest request) Modifier and TypeMethodDescriptionvoid
Create a newAbstractObservationVectorStore
instance.abstract void
Perform the actual add operation.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.watsonx
-
Uses of Document in org.springframework.ai.writer
-
Uses of Document in org.springframework.ai.zhipuai