GenAIExamples icon indicating copy to clipboard operation
GenAIExamples copied to clipboard

Create a version of ChatQnA example with Zilliz/Milvus as DB

Open chickenrae opened this issue 1 year ago • 3 comments

Create a version of ChatQNA example with Zilliz/Milvus as DB

https://github.com/opea-project/GenAIExamples/tree/main/ChatQnA).

chickenrae avatar Sep 27 '24 20:09 chickenrae

The implementation can reference this code example for the interaction with Milvus vector database: https://milvus.io/docs/build-rag-with-milvus.md

codingjaguar avatar Oct 04 '24 05:10 codingjaguar

/assigntome

malangi77 avatar Oct 04 '24 08:10 malangi77

Ambarish - [email protected] - malangi77

malangi77 avatar Oct 04 '24 08:10 malangi77

Hi, I am Afzal github user- ard383 , participated in this hackathon
I have worked on Creating a version of ChatQnA for Milvus DB , I am attaching my work for the reference, I am facing the issue at the last step while querying the most of the microservices, attaching the git repo path for the reference https://github.com/ard383/OPEA-ChatQnA-milvusDB.git .

ard383 avatar Oct 30 '24 14:10 ard383

Hi @ard383, thanks for contributing and using Milvus! Could you please share the error message or logs?

codingjaguar avatar Oct 31 '24 00:10 codingjaguar

Hello @codingjaguar,

I have uploaded the new compose.yaml and setup_env.sh files, along with the error messages, in the same GitHub repository. Please find the links below for complete information:

https://github.com/ard383/OPEA-ChatQnA-milvusDB.git

docker-compose-org.yaml: Link setup_env-org.sh: Link docker-compose.logs: Link docker-curl-response.logs: Link You can access the repository here: OPEA-ChatQnA-milvusDB.

Your help would be greatly appreciated!

ard383 avatar Oct 31 '24 16:10 ard383

I took a glance at the docker log:

message='Attempt to decode JSON with unexpected mimetype: text/plain; charset=utf-8', url='http://retriever:7000/v1/retrieval'

It seems a problem in the application server logic, doesn't seem related to Milvus. @chickenrae Could you suggest a maintainer of https://github.com/opea-project/GenAIExamples repo to help take a look?

codingjaguar avatar Oct 31 '24 17:10 codingjaguar

@mkbhanda Can you help?

chickenrae avatar Oct 31 '24 18:10 chickenrae

@ard383 maybe it is the network problem, you can refer this one https://github.com/langgenius/dify/issues/8562 , and try to change the uri from the internal format e.g http://localhost:19530 to an external one e.g.http://172.16.70.6:19530 I'm not sure if this is the reason, just base on experience, but maybe you can try it

zc277584121 avatar Nov 01 '24 02:11 zc277584121

@chickenrae The ChatQnA Example based on Milvus as DB is was enabed in: https://github.com/opea-project/GenAIExamples/pull/1081 https://github.com/opea-project/GenAIComps/pull/858

xiguiw avatar Nov 07 '24 03:11 xiguiw

Milvus DB is integrated with into ChatQnA

xiguiw avatar Mar 14 '25 08:03 xiguiw