Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chickenrae opened this issue Sep 27, 2024 · 10 comments
Open

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

chickenrae opened this issue Sep 27, 2024 · 10 comments
Assignees
Labels
aitce Hacktoberfest OPEAHack Issue created for OPEA Hackathon

Comments

@chickenrae
Copy link
Member

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

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

@chickenrae chickenrae added OPEAHack Issue created for OPEA Hackathon Hacktoberfest labels Sep 27, 2024
@codingjaguar
Copy link

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

@malangi77
Copy link

/assigntome

@malangi77
Copy link

Ambarish - [email protected] - malangi77

@ard383
Copy link

ard383 commented Oct 30, 2024

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 .

@codingjaguar
Copy link

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

@ard383
Copy link

ard383 commented Oct 31, 2024

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!

@codingjaguar
Copy link

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?

@chickenrae
Copy link
Member Author

@mkbhanda Can you help?

@zc277584121
Copy link

@ard383 maybe it is the network problem, you can refer this one langgenius/dify#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

@xiguiw
Copy link
Collaborator

xiguiw commented Nov 7, 2024

@chickenrae
The ChatQnA Example based on Milvus as DB is was enabed in:
#1081
opea-project/GenAIComps#858

@yinghu5 yinghu5 added the aitce label Dec 2, 2024
wangkl2 pushed a commit to wangkl2/GenAIExamples that referenced this issue Dec 11, 2024
* Add model parameter for CodeGenGateway in gateway.py file

Signed-off-by: sgurunat <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: sgurunat <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aitce Hacktoberfest OPEAHack Issue created for OPEA Hackathon
Projects
None yet
Development

No branches or pull requests

7 participants