Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
---|---|---|
The name of the Redis 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 index that will be used in Redis when searching for related embeddings. If this index doesn’t exist, it will be created. Environment variable: |
string |
|
Names of fields that will store textual metadata associated with embeddings. NOTE: Filtering based on textual metadata fields is not supported at the moment. Environment variable: |
list of string |
|
Names of fields that will store numeric metadata associated with embeddings. Environment variable: |
list of string |
|
Metric used to compute the distance between two vectors. Environment variable: |
|
|
Name of the key that will be used to store the embedding vector. Environment variable: |
string |
|
Name of the key that will be used to store the embedded text. Environment variable: |
string |
|
Prefix to be applied to all keys by the embedding store. Embeddings are stored in Redis under a key that is the concatenation of this prefix and the embedding ID. If the configured prefix does not ends with Environment variable: |
string |
|
Algorithm used to index the embedding vectors. Environment variable: |
|
|