-
Notifications
You must be signed in to change notification settings - Fork 60
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
helm-chart/common/chatqna-ui refers to docker image opea/chatqna-conversation-ui but this does not exist on docker hub #276
Comments
We assumed the public container image v0.8 on docker hub should be available soon after the v0.8 release(released at end of July), unfortunately it's not the case. As for the chatqna UI specific issue, because of the issue opea-project/GenAIExamples#493 and opea-project/GenAIExamples#518, you have to manually build the UI docker image by yourselves anyway. @Ruoyu-y Could you please provide some workaround guide on how to make UI working before the above 2 issues are resolved? Thanks! |
Sure. @SeanCondon For now, this conversation UI image is an optional one and is not provided due to the issues mentioned by Lianhao. Please follow the steps below to leverage the UI. Make sure you have the chatqna pipeline deployed before the UI. Then you have to use 'kubectl port-forward' or kubernetes's Ingress API to expose the chatqna backend service as well as the data preparation service outside.
Then build the conversation UI image using such command. Note: Replace the
Then import the newly built image to the kubernetes cluster and use helm to install the UI service.
|
I created a PR #305 that adjusts the helm chart to make the backend configurable at deploy time. In this case I build the UI with docker build --platform=linux/amd64 --no-cache -t opea/chatqna-conversation-ui:itep-build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy --build-arg BACKEND_SERVICE_ENDPOINT=/chatqna/v1/chatqna --build-arg DATAPREP_SERVICE_ENDPOINT=/chatqna-data-prep/v1/dataprep -f ./docker/Dockerfile.react . The other advantage this offers is that it avoids CORS errors in the browser, where the javascript tries to connect to a hostname:port different from where the original javascript was loaded from. |
I believe the docker image is published and CORS issue is fixed |
Hi I am in the ITEP development group along with @kushal2705
I'm trying out the chatqna-conversation-ui but it refers to this unknown version - I've tried the 0.7 and latest and while the UI opens it cannot send a POST request to the backend
The text was updated successfully, but these errors were encountered: