@@ -46,13 +46,24 @@ docker build --no-cache -t opea/searchqna:latest --build-arg https_proxy=$https_
46
46
cd ../../..
47
47
```
48
48
49
+ ### 7. Build UI Docker Image
50
+
51
+ Build frontend Docker image via below command:
52
+
53
+ ``` bash
54
+ cd GenAIExamples/SearchQnA/ui
55
+ docker build --no-cache -t opea/opea/searchqna-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./docker/Dockerfile .
56
+ cd ../../../..
57
+ ```
58
+
49
59
Then run the command ` docker images ` , you will have following images ready:
50
60
51
61
1 . ` opea/embedding-tei:latest `
52
62
2 . ` opea/web-retriever-chroma:latest `
53
63
3 . ` opea/reranking-tei:latest `
54
64
4 . ` opea/llm-tgi:latest `
55
65
5 . ` opea/searchqna:latest `
66
+ 6 . ` opea/searchqna-ui:latest `
56
67
57
68
## 🚀 Set the environment variables
58
69
@@ -65,11 +76,12 @@ export GOOGLE_API_KEY=<your google api key>
65
76
export HUGGINGFACEHUB_API_TOKEN=< your HF token>
66
77
67
78
export EMBEDDING_MODEL_ID=BAAI/bge-base-en-v1.5
68
- export TEI_EMBEDDING_ENDPOINT=http://$host_ip :3001
79
+ export TEI_EMBEDDING_ENDPOINT=http://${ host_ip} :3001
69
80
export RERANK_MODEL_ID=BAAI/bge-reranker-base
70
- export TEI_RERANKING_ENDPOINT=http://$host_ip :3004
81
+ export TEI_RERANKING_ENDPOINT=http://${host_ip} :3004
82
+ export BACKEND_SERVICE_ENDPOINT=http://${host_ip} :3008/v1/searchqna
71
83
72
- export TGI_LLM_ENDPOINT=http://$host_ip :3006
84
+ export TGI_LLM_ENDPOINT=http://${ host_ip} :3006
73
85
export LLM_MODEL_ID=Intel/neural-chat-7b-v3-3
74
86
75
87
export MEGA_SERVICE_HOST_IP=${host_ip}
0 commit comments