Custom Data Recognition #12207

Closed
opened 2026-02-21 19:06:21 -05:00 by yindo · 3 comments
Owner

Originally created by @HaoWeiWang on GitHub (Mar 27, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Hi, I would like to ask if it is possible to use the milvus database to store data in the database and then use it in dedify by writing the code yourself by hand, and if so, what configuration files would need to be changed to recognize the data that you have added?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @HaoWeiWang on GitHub (Mar 27, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Hi, I would like to ask if it is possible to use the milvus database to store data in the database and then use it in dedify by writing the code yourself by hand, and if so, what configuration files would need to be changed to recognize the data that you have added? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 👻 feat:rag label 2026-02-21 19:06:21 -05:00
yindo closed this issue 2026-02-21 19:06:21 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 27, 2025):

Yes, it is possible to use the Milvus database to store data and then use it in Dify by writing the code manually. To configure Dify to recognize the added data in Milvus, you need to modify the following configuration files:

  1. Set the VECTOR_STORE to milvus.
  2. Configure the MILVUS_URI with the URI of your Milvus instance, for example: http://host.docker.internal:19530.
  3. If applicable, set the MILVUS_TOKEN, MILVUS_USER, and MILVUS_PASSWORD with the appropriate credentials.

These configurations will allow Dify to connect to your Milvus database and utilize the stored data [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 27, 2025): <!-- Answer --> Yes, it is possible to use the Milvus database to store data and then use it in Dify by writing the code manually. To configure Dify to recognize the added data in Milvus, you need to modify the following configuration files: 1. Set the `VECTOR_STORE` to `milvus`. 2. Configure the `MILVUS_URI` with the URI of your Milvus instance, for example: `http://host.docker.internal:19530`. 3. If applicable, set the `MILVUS_TOKEN`, `MILVUS_USER`, and `MILVUS_PASSWORD` with the appropriate credentials. These configurations will allow Dify to connect to your Milvus database and utilize the stored data <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/zh_CN/getting-started/install-self-hosted/environments.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/6ecaf581-2a45-4279-90fd-6f852fef0d2f?feedback_type=other)</sup>
Author
Owner

@HaoWeiWang commented on GitHub (Mar 27, 2025):

I'm already using milvus as my vector database, but I've added some data directly in milvus and I don't know how to make it recognizable to dify.

@HaoWeiWang commented on GitHub (Mar 27, 2025): I'm already using milvus as my vector database, but I've added some data directly in milvus and I don't know how to make it recognizable to dify.
Author
Owner

@dosubot[bot] commented on GitHub (Apr 27, 2025):

Hi, @HaoWeiWang. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You explored integrating Milvus as a database with Dify by manually coding the connection.
  • You sought advice on configuring Dify to recognize data added directly to Milvus.
  • I confirmed the possibility and provided guidance on modifying configuration files.
  • You clarified that you needed assistance in making the data recognizable to Dify.
  • The issue was resolved with guidance on setting VECTOR_STORE to milvus and configuring MILVUS_URI and credentials.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no further updates are provided, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Apr 27, 2025): Hi, @HaoWeiWang. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You explored integrating Milvus as a database with Dify by manually coding the connection. - You sought advice on configuring Dify to recognize data added directly to Milvus. - I confirmed the possibility and provided guidance on modifying configuration files. - You clarified that you needed assistance in making the data recognizable to Dify. - The issue was resolved with guidance on setting `VECTOR_STORE` to `milvus` and configuring `MILVUS_URI` and credentials. **Next Steps:** - Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here. - If no further updates are provided, this issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12207