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
248 stars 171 forks source link

[Bug] ChatQnA browser interface gives an error - "failed to load chat content" #989

Open arun-gupta opened 2 hours ago

arun-gupta commented 2 hours ago

Priority

Undecided

OS type

Ubuntu

Hardware type

Xeon-GNR

Installation method

Deploy method

Running nodes

Single Node

What's the version?

latest

Description

Deployed ChatQnA example in IBM Cloud and got the UI interface. Typing any message in the chat window and clicking on Enter shows the following message:

image

Tried on a different browser and Incognito mode, no difference.

Clicking on Paste Link and Confirm keeps spinning.

Reproduce steps

Follow the steps here to deploy anywhere https://github.com/opea-project/GenAIExamples/tree/main/ChatQnA

Raw log

No response

arun-gupta commented 2 hours ago

The following command works well:

curl http://${host_ip}:8888/v1/chatqna     -H "Content-Type: application/json"     -d '{
        "messages": "What is the revenue of Nike in 2023?"
    }'