@@ -35,7 +35,7 @@ docker build --no-cache -t opea/llm-textgen:latest --build-arg https_proxy=$http
3535``` bash
3636docker build --no-cache -t opea/nginx:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/third_parties/nginx/src/Dockerfile .
3737
38- ````
38+ ```
3939
4040### 6. Build MegaService Docker Image
4141
@@ -45,7 +45,7 @@ To construct the Mega Service, we utilize the [GenAIComps](https://github.com/op
4545git clone https://github.com/opea-project/GenAIExamples.git
4646cd GenAIExamples/SearchQnA
4747docker build --no-cache -t opea/searchqna:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f Dockerfile .
48- ` ` ` `
48+ ```
4949
5050### 7. Build UI Docker Image
5151
@@ -68,7 +68,6 @@ Then run the command `docker images`, you will have following images ready:
6868
6969## 🚀 Set the environment variables
7070
71-
7271``` bash
7372cd GenAIExamples/SearchQnA/docker_compose/
7473```
@@ -77,7 +76,7 @@ Before starting the services with `docker compose`, you have to recheck the foll
7776your custom environment variables.
7877
7978``` bash
80- nano setenv_searchqna.sh
79+ nano setenv_searchqna.sh
8180```
8281
8382And paste in the following near top:
@@ -102,7 +101,7 @@ Then source the environment file:
102101source setenv_searchqna.sh
103102```
104103
105- Sourcing this will also source the standard environment variables in ` set_env.sh ` .
104+ Sourcing this will also source the standard environment variables in ` set_env.sh ` .
106105
107106## 🚀 Start the MegaService
108107
@@ -162,7 +161,7 @@ curl http://${host_ip}:3007/v1/chat/completions\
162161
163162## 🚀 Test MegaService
164163
165- ``` bash
164+ ```` bash
166165curl http://${host_ip} :3008/v1/searchqna -H " Content-Type: application/json" -d ' {
167166 "messages": "What is the latest news? Give me also the source link.",
168167 "stream": "False"
@@ -180,7 +179,10 @@ sudo dpkg -i cloudflared-linux-amd64.deb
180179
181180cloudflared tunnel --url http://localhost:80
182181
183- ` ` `
182+ ` ` ` `
184183
185184Alternatively a [gradio tunnel](https://console.cloud.intel.com/docs/tutorials/expose_app_tunnels.html) (see bottom).
185+
186+ ` ` `
187+
186188```
0 commit comments