Skip to content

Commit

Permalink
[ChatQnA] Fix the no_proxy setting for gpu example (#1078)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Kai Lawrence <kai.lawrence.wang@intel.com>
  • Loading branch information
wangkl2 authored Nov 8, 2024
1 parent edc09ec commit f702677
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ChatQnA/docker_compose/nvidia/gpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ To set up environment variables for deploying ChatQnA services, follow these ste
```bash
# Example: host_ip="192.168.1.1"
export host_ip="External_Public_IP"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_Proxy"
export HUGGINGFACEHUB_API_TOKEN="Your_Huggingface_API_Token"
```

Expand All @@ -27,6 +25,8 @@ To set up environment variables for deploying ChatQnA services, follow these ste
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_Proxy",chatqna-ui-server,chatqna-backend-server,dataprep-redis-service,tei-embedding-service,retriever,tei-reranking-service,tgi-service
```

3. Set up other environment variables:
Expand Down Expand Up @@ -156,8 +156,6 @@ Change the `xxx_MODEL_ID` below for your needs.
```bash
# Example: host_ip="192.168.1.1"
export host_ip="External_Public_IP"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_Proxy"
export HUGGINGFACEHUB_API_TOKEN="Your_Huggingface_API_Token"
# Example: NGINX_PORT=80
export NGINX_PORT=${your_nginx_port}
Expand All @@ -168,6 +166,8 @@ Change the `xxx_MODEL_ID` below for your needs.
```bash
export http_proxy="Your_HTTP_Proxy"
export https_proxy="Your_HTTPs_Proxy"
# Example: no_proxy="localhost, 127.0.0.1, 192.168.1.1"
export no_proxy="Your_No_Proxy",chatqna-ui-server,chatqna-backend-server,dataprep-redis-service,tei-embedding-service,retriever,tei-reranking-service,tgi-service
```

3. Set up other environment variables:
Expand Down

0 comments on commit f702677

Please sign in to comment.