Class SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreHeaderNameBuilder
- Enclosing interface:
SpringAiVectorStoreEndpointBuilderFactory
public static class SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreHeaderNameBuilder
extends Object
The builder of headers' name for the Spring AI Vector Store component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of document IDs (input for DELETE, output for ADD and SIMILARITY_SEARCH).Number of documents added.Number of documents deleted.Filter expression for metadata-based filtering.The operation to perform (ADD, DELETE, SIMILARITY_SEARCH).List of similar documents found.The similarity threshold (0-1).The maximum number of similar documents to return (topK).
-
Constructor Details
-
SpringAiVectorStoreHeaderNameBuilder
public SpringAiVectorStoreHeaderNameBuilder()
-
-
Method Details
-
springAiVectorStoreOperation
The operation to perform (ADD, DELETE, SIMILARITY_SEARCH). The option is a:org.apache.camel.component.springai.vectorstore.SpringAiVectorStoreOperationtype. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreOperation.
-
springAiVectorStoreTopK
The maximum number of similar documents to return (topK). The option is a:Integertype. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreTopK.
-
springAiVectorStoreSimilarityThreshold
The similarity threshold (0-1). The option is a:Doubletype. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreSimilarityThreshold.
-
springAiVectorStoreFilterExpression
Filter expression for metadata-based filtering. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreFilterExpression.
-
springAiVectorStoreDocumentIds
List of document IDs (input for DELETE, output for ADD and SIMILARITY_SEARCH). The option is a:java.util.List<String>type. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreDocumentIds.
-
springAiVectorStoreSimilarDocuments
List of similar documents found. The option is a:java.util.List<org.springframework.ai.document.Document>type. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreSimilarDocuments.
-
springAiVectorStoreDocumentsAdded
Number of documents added. The option is a:Integertype. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreDocumentsAdded.
-
springAiVectorStoreDocumentsDeleted
Number of documents deleted. The option is a:Integertype. Group: producer- Returns:
- the name of the header
SpringAiVectorStoreDocumentsDeleted.
-