Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
The name of the Infinispan client to use. These clients are configured by means of the Environment variable: |
string |
|
The dimension of the embedding vectors. This has to be the same as the dimension of vectors produced by the embedding model that you use. For example, AllMiniLmL6V2QuantizedEmbeddingModel produces vectors of dimension 384. OpenAI’s text-embedding-ada-002 produces vectors of dimension 1536. Environment variable: |
long |
required |
Name of the cache that will be used in Infinispan when searching for related embeddings. If this cache doesn’t exist, it will be created. Environment variable: |
string |
|
The maximum distance. The most distance between vectors is how close or far apart two embeddings are. Environment variable: |
int |
|
The similarity metric to use for vector search. Supported values: COSINE, L2, INNER_PRODUCT, MAX_INNER_PRODUCT. Environment variable: |
string |
|
Whether to create the cache on startup if it does not exist. Set to false if the cache is pre-configured on the Infinispan server. Environment variable: |
boolean |
|
Optional full XML or JSON cache configuration. When provided, this overrides the default cache configuration generated by the extension. Environment variable: |
string |