weaviate
Create and delete collections, and create, update, delete, fetch, search and count objects in a Weaviate vector database.
What’s inside
-
weaviate component, URI syntax:
weaviate:collection
Please refer to the above links for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-weaviate-starter</artifactId>
</dependency> Spring Boot Auto-Configuration
The starter supports 10 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
camel.component.weaviate.action | The action to perform. The CamelWeaviateAction header, when set, wins over this option. | WeaviateVectorDbAction | |
camel.component.weaviate.api-key | The API key to authenticate with Weaviate. The client sends it as a bearer token on the HTTP (REST) and gRPC connections. If not set, the client does not authenticate. | String | |
camel.component.weaviate.autowired-enabled | 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. | true | Boolean |
camel.component.weaviate.configuration | The configuration that the endpoints start from. Each endpoint gets a copy, and its options override the values of the copy. The option is a org.apache.camel.component.weaviate.WeaviateVectorDbConfiguration type. | WeaviateVectorDbConfiguration | |
camel.component.weaviate.enabled | Whether to enable auto configuration of the weaviate component. This is enabled by default. | Boolean | |
camel.component.weaviate.grpc-host | The host name or IP address of the gRPC endpoint of Weaviate, without a port. If not set, the host of the host option is used. | String | |
camel.component.weaviate.grpc-port | The port of the gRPC endpoint of Weaviate. | 50051 | Integer |
camel.component.weaviate.host | The host name or IP address of the Weaviate server, with an optional port for the HTTP (REST) connection, such as localhost:8080, without a scheme. The port is 8080 if not given. | String | |
camel.component.weaviate.lazy-start-producer | 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. | false | Boolean |
camel.component.weaviate.scheme | The scheme of the connection to Weaviate: http, or https to use TLS for both the HTTP (REST) and the gRPC connection. With https, the ports stay 8080 and 50051 unless set in the host and grpcPort options. | http | String |