Uses of Class
org.springframework.ai.document.Document
Package
Description
Provides the API for embedding observations.
Provides the API for embedding observations.
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 the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides classes for observing and storing vector data.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
Provides the API for embedding observations.
-
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.chroma.vectorstore
-
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.evaluation
ModifierConstructorDescriptionEvaluationRequest
(String userText, List<Document> dataList, String responseContent) EvaluationRequest
(List<Document> dataList, String responseContent) -
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 TypeMethodDescriptionSimpleVectorStore.doSimilaritySearch
(SearchRequest request) 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. -
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.cassandra
-
Uses of Document in org.springframework.ai.vectorstore.coherence
-
Uses of Document in org.springframework.ai.vectorstore.cosmosdb
Modifier and TypeMethodDescriptionCosmosDBVectorStore.doSimilaritySearch
(SearchRequest request) CosmosDBVectorStore.similaritySearch
(String query) -
Uses of Document in org.springframework.ai.vectorstore.elasticsearch
Modifier and TypeMethodDescriptionElasticsearchVectorStore.doSimilaritySearch
(SearchRequest searchRequest) -
Uses of Document in org.springframework.ai.vectorstore.gemfire
-
Uses of Document in org.springframework.ai.vectorstore.hanadb
Modifier and TypeMethodDescriptionHanaCloudVectorStore.doSimilaritySearch
(SearchRequest request) HanaCloudVectorStore.similaritySearch
(String query) -
Uses of Document in org.springframework.ai.vectorstore.mariadb
-
Uses of Document in org.springframework.ai.vectorstore.milvus
-
Uses of Document in org.springframework.ai.vectorstore.mongodb.atlas
Modifier and TypeMethodDescriptionMongoDBAtlasVectorStore.doSimilaritySearch
(SearchRequest request) MongoDBAtlasVectorStore.similaritySearch
(String query) -
Uses of Document in org.springframework.ai.vectorstore.neo4j
-
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.VectorStoreObservationContext.Builder.queryResponse
(List<Document> documents) void
VectorStoreObservationContext.setQueryResponse
(List<Document> queryResponse) VectorStoreObservationContext.Builder.withQueryResponse
(List<Document> documents) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Document in org.springframework.ai.vectorstore.opensearch
Modifier and TypeMethodDescriptionOpenSearchVectorStore.doSimilaritySearch
(SearchRequest searchRequest) OpenSearchVectorStore.similaritySearch
(float[] embedding, int topK, double similarityThreshold, Filter.Expression filterExpression) -
Uses of Document in org.springframework.ai.vectorstore.oracle
-
Uses of Document in org.springframework.ai.vectorstore.pgvector
-
Uses of Document in org.springframework.ai.vectorstore.pinecone
Modifier and TypeMethodDescriptionPineconeVectorStore.doSimilaritySearch
(SearchRequest request) PineconeVectorStore.similaritySearch
(SearchRequest request, String namespace) -
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.vectorstore.redis
-
Uses of Document in org.springframework.ai.vectorstore.typesense
-
Uses of Document in org.springframework.ai.vectorstore.weaviate
-
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
VectorStoreObservationContext.Builder.queryResponse(List)
instead.