aws-samples / aws-samples/dify-self-hosted-on-aws
I would like you to add an option that allows me to specify AmazonOpenSearch for the Knowledge (Vector DB).
- Dominant language
- TypeScript
- Stars
- 191
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Vector DB is RDS by default, but I would like to see an option to select Amazon OpenSearchServerless added.
OpenSearchServerless is a very useful option for Vector DB because it enables a very good hybrid search.
It is definitely a valid option when building an AI execution environment (RAG) on AWS.
At present, it seems that OpenSearchServerless cannot be selected as an option, so it seems that the only way is to build Amazon Bedrock separately and connect it using Dify's custom tool. (I would like to be able to select Amazon OpenSearchServerless for deployment of the relevant CDK, as it is time-consuming and labor-intensive.)
To begin with, it is unclear whether OpenSearchServerless can be set up for the knowledge (vector DB) of Dify's Community Edition...
Contributor guide
Research direction
No file or test is named. Start by tracing the relevant CDK configuration that provisions the default RDS vector database and the Dify Community Edition knowledge setup, then verify whether Amazon OpenSearchServerless is compatible. Done means deployment offers OpenSearchServerless as a selectable vector database and the resulting knowledge configuration works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- ai, cloud, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100