Interface Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilder

All Superinterfaces:
ComponentBuilder<org.apache.camel.component.langchain4j.embeddingstore.LangChain4jEmbeddingStoreComponent>
All Known Implementing Classes:
Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilderImpl
Enclosing interface:
Langchain4jEmbeddingstoreComponentBuilderFactory

public static interface Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilder extends ComponentBuilder<org.apache.camel.component.langchain4j.embeddingstore.LangChain4jEmbeddingStoreComponent>
Builder for the LangChain4j Embedding Store component.
  • Method Details

    • action

      default Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilder action(org.apache.camel.component.langchain4j.embeddingstore.LangChain4jEmbeddingStoreAction action)
      The operation to perform: ADD, REMOVE, or SEARCH. The option is a: <code>org.apache.camel.component.langchain4j.embeddingstore.LangChain4jEmbeddingStoreAction</code> type. Group: producer
      Parameters:
      action - the value to set
      Returns:
      the dsl builder
    • configuration

      default Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilder configuration(org.apache.camel.component.langchain4j.embeddingstore.LangChain4jEmbeddingStoreConfiguration configuration)
      The configuration;. The option is a: <code>org.apache.camel.component.langchain4j.embeddingstore.LangChain4jEmbeddingStoreConfiguration</code> type. Group: producer
      Parameters:
      configuration - the value to set
      Returns:
      the dsl builder
    • embeddingStore

      default Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilder embeddingStore(dev.langchain4j.store.embedding.EmbeddingStore<dev.langchain4j.data.segment.TextSegment> embeddingStore)
      Direct embedding store instance for vector operations. The option is a: <code>dev.langchain4j.store.embedding.EmbeddingStore&lt;dev.langchain4j.data.segment.TextSegment&gt;</code> type. Group: producer
      Parameters:
      embeddingStore - the value to set
      Returns:
      the dsl builder
    • embeddingStoreFactory

      default Langchain4jEmbeddingstoreComponentBuilderFactory.Langchain4jEmbeddingstoreComponentBuilder embeddingStoreFactory(org.apache.camel.component.langchain4j.embeddingstore.EmbeddingStoreFactory embeddingStoreFactory)
      The embedding store factory to use for creating embedding stores if no embeddingstore is provided. The option is a: <code>org.apache.camel.component.langchain4j.embeddingstore.EmbeddingStoreFactory</code> type. Group: producer
      Parameters:
      embeddingStoreFactory - the value to set
      Returns:
      the dsl builder
    • lazyStartProducer

      Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • maxResults

      Maximum number of results to return for SEARCH operation. The option is a: <code>java.lang.Integer</code> type. Default: 5 Group: producer
      Parameters:
      maxResults - the value to set
      Returns:
      the dsl builder
    • minScore

      Minimum similarity score threshold for SEARCH operation (0.0 to 1.0). The option is a: <code>java.lang.Double</code> type. Group: producer
      Parameters:
      minScore - the value to set
      Returns:
      the dsl builder
    • returnTextContent

      When true, SEARCH returns List with text content instead of List. The option is a: <code>boolean</code> type. Default: false Group: producer
      Parameters:
      returnTextContent - the value to set
      Returns:
      the dsl builder
    • autowiredEnabled

      Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced
      Parameters:
      autowiredEnabled - the value to set
      Returns:
      the dsl builder