Skip to content

feat: enable RediSearch support in dapr init for vector store capabilities #1607

@sicoyle

Description

@sicoyle

Describe the proposal

Currently, dapr init deploys a standard Redis container that does not include RediSearch, which is required for Dapr Agents' vector store capabilities. RediSearch is a Redis module that must be explicitly loaded at startup via --loadmodule /path/to/redisearch.so or by using a Redis distribution that bundles it.
Proposed solution
Add a flag to dapr init that switches the deployed Redis image to redis/redis-stack-server, which bundles Redis OSS with RediSearch (and other modules) pre-installed. This would allow Dapr Agents' Redis vector store to work out of the box without any additional configuration.
Benefits

Enables Dapr Agents Redis VectorStore capabilities with vanilla dapr init
No manual module loading or custom Redis configuration required
Opt-in via flag, so existing behavior is unchanged for users who don't need it

References

https://redis.io/docs/latest/develop/ai/search-and-query/

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions