Interface SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
SpringAiVectorStoreEndpointBuilderFactory
public static interface SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Spring AI Vector Store component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()filterExpression(String filterExpression) Filter expression for metadata-based filtering in searches.The operation to perform on the vector store (ADD, DELETE, SIMILARITY_SEARCH).operation(org.apache.camel.component.springai.vectorstore.SpringAiVectorStoreOperation operation) The operation to perform on the vector store (ADD, DELETE, SIMILARITY_SEARCH).similarityThreshold(double similarityThreshold) The minimum similarity score threshold (0-1) for similarity search.similarityThreshold(String similarityThreshold) The minimum similarity score threshold (0-1) for similarity search.topK(int topK) The maximum number of similar documents to return for similarity search.The maximum number of similar documents to return for similarity search.vectorStore(String vectorStore) The VectorStore to use for vector operations.vectorStore(org.springframework.ai.vectorstore.VectorStore vectorStore) The VectorStore to use for vector operations.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
filterExpression
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder filterExpression(String filterExpression) Filter expression for metadata-based filtering in searches. The option is a:java.lang.Stringtype. Group: producer- Parameters:
filterExpression- the value to set- Returns:
- the dsl builder
-
operation
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder operation(org.apache.camel.component.springai.vectorstore.SpringAiVectorStoreOperation operation) The operation to perform on the vector store (ADD, DELETE, SIMILARITY_SEARCH). The option is a:org.apache.camel.component.springai.vectorstore.SpringAiVectorStoreOperationtype. Default: ADD Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
operation
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder operation(String operation) The operation to perform on the vector store (ADD, DELETE, SIMILARITY_SEARCH). The option will be converted to aorg.apache.camel.component.springai.vectorstore.SpringAiVectorStoreOperationtype. Default: ADD Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
similarityThreshold
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder similarityThreshold(double similarityThreshold) The minimum similarity score threshold (0-1) for similarity search. The option is a:doubletype. Default: 0.0 Group: producer- Parameters:
similarityThreshold- the value to set- Returns:
- the dsl builder
-
similarityThreshold
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder similarityThreshold(String similarityThreshold) The minimum similarity score threshold (0-1) for similarity search. The option will be converted to adoubletype. Default: 0.0 Group: producer- Parameters:
similarityThreshold- the value to set- Returns:
- the dsl builder
-
topK
The maximum number of similar documents to return for similarity search. The option is a:inttype. Default: 5 Group: producer- Parameters:
topK- the value to set- Returns:
- the dsl builder
-
topK
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder topK(String topK) The maximum number of similar documents to return for similarity search. The option will be converted to ainttype. Default: 5 Group: producer- Parameters:
topK- the value to set- Returns:
- the dsl builder
-
vectorStore
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder vectorStore(org.springframework.ai.vectorstore.VectorStore vectorStore) The VectorStore to use for vector operations. The option is a:org.springframework.ai.vectorstore.VectorStoretype. Required: true Group: producer- Parameters:
vectorStore- the value to set- Returns:
- the dsl builder
-
vectorStore
default SpringAiVectorStoreEndpointBuilderFactory.SpringAiVectorStoreEndpointBuilder vectorStore(String vectorStore) The VectorStore to use for vector operations. The option will be converted to aorg.springframework.ai.vectorstore.VectorStoretype. Required: true Group: producer- Parameters:
vectorStore- the value to set- Returns:
- the dsl builder
-