opea-project / GenAIExamples

Generative AI Examples is a collection of GenAI examples such as ChatQnA, Copilot, which illustrate the pipeline capabilities of the Open Platform for Enterprise AI (OPEA) project.
https://opea.dev
Apache License 2.0
252 stars 174 forks source link

[Bug] Docs: Instructions in README to migrate to conversational-UI missing some steps. #991

Open mkbhanda opened 1 week ago

mkbhanda commented 1 week ago

Priority

P3-Medium

OS type

Ubuntu

Hardware type

Xeon-ICX

Installation method

Deploy method

Running nodes

Single Node

What's the version?

The host VM is not a concern here. Just the README https://github.com/opea-project/GenAIExamples/blob/main/ChatQnA/docker_compose/intel/cpu/xeon/README.md

1) While the other services refer to BACKEND_SERVICEENDPOINT, etc this refers to APP variants 2) the proxy related environment variables missing 3) why is the dataprep dependency not mentioned, just chatQnA backend. Asking because the UI supports uploading documents, don't they need to be routed to the dataprep service for chunking etc. Things are not working for me thus asking these questions.

chaqna-xeon-conversation-ui-server: image: opea/chatqna-conversation-ui:latest container_name: chatqna-xeon-conversation-ui-server environment:

Description

Foloow ChatQnA readme to customize chatQnA compose file to use conversational ui

Reproduce steps

edit compose.yaml and user docker to restart (either with images in docker hub or built locally)

Raw log

File upload results in spinning icon.
Pink javascript alert saying "failed to load chat content"
louie-tsai commented 5 days ago

@mkbhanda The conventional UI works for me. image

Here are the modification for compose.yaml file following the README. image here is my compose.yaml file. compose.txt Could you try again with same file or similar modification?

  1. BACKEND_SERVICE_ENDPOINT should be set by https://github.com/opea-project/GenAIExamples/tree/main/ChatQnA/ui/react.
  2. isn't proxy setting covered in the beginning? https://github.com/opea-project/GenAIExamples/tree/main/ChatQnA/docker_compose/intel/cpu/xeon#quick-start-1setup-environment-variable
  3. could you explain more for dataprep dependency?