Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ spring:
vectorstore:
redis:
initialize-schema: true
index-name: custom-index
index: custom-index
prefix: custom-prefix
batching-strategy: TOKEN_COUNT # Optional: Controls how documents are batched for embedding
----

Properties starting with `spring.ai.vectorstore.redis.*` are used to configure the `RedisVectorStore`:
Expand All @@ -101,9 +100,8 @@ Properties starting with `spring.ai.vectorstore.redis.*` are used to configure t
|Property | Description | Default Value

|`spring.ai.vectorstore.redis.initialize-schema`| Whether to initialize the required schema | `false`
|`spring.ai.vectorstore.redis.index-name` | The name of the index to store the vectors | `spring-ai-index`
|`spring.ai.vectorstore.redis.index` | The name of the index to store the vectors | `spring-ai-index`
|`spring.ai.vectorstore.redis.prefix` | The prefix for Redis keys | `embedding:`
|`spring.ai.vectorstore.redis.batching-strategy` | Strategy for batching documents when calculating embeddings. Options are `TOKEN_COUNT` or `FIXED_SIZE` | `TOKEN_COUNT`
|===

== Metadata Filtering
Expand Down