Skip to content

Commit c7fa1cb

Browse files
committed
fix ci issue
Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent 4f60c3f commit c7fa1cb

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

AgentQnA/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ git clone https://github.com/opea-project/GenAIExamples.git
9999
#### Second, set up environment variables.
100100

101101
##### For proxy environments only
102+
102103
```
103104
export http_proxy="Your_HTTP_Proxy"
104105
export https_proxy="Your_HTTPs_Proxy"
@@ -122,16 +123,19 @@ export OPENAI_API_KEY=<your-openai-key>
122123
#### Third, set up environment variables for the selected hardware using the corresponding `set_env.sh`
123124

124125
##### Gaudi
126+
125127
```
126128
source $WORKDIR/GenAIExamples/AgentQnA/docker_compose/intel/hpu/gaudi/set_env.sh
127129
```
128130

129131
##### Xeon
132+
130133
```
131134
source $WORKDIR/GenAIExamples/AgentQnA/docker_compose/intel/cpu/xeon/set_env.sh
132135
```
133136

134137
### ROCM
138+
135139
```
136140
source $WORKDIR/GenAIExamples/AgentQnA/docker_compose/amd/gpu/rocm/set_env.sh
137141
```
@@ -144,9 +148,9 @@ Two options are provided for the `llm_engine` of the agents: 1. open-source LLMs
144148

145149
On Gaudi, `meta-llama/Meta-Llama-3.1-70B-Instruct` will be served using vllm.
146150
By default, both the RAG agent and SQL agent will be launched to support the React Agent.
147-
The React Agent requires the DocIndexRetriever's [`compose.yaml`](../DocIndexRetriever/docker_compose/intel/cpu/xeon/compose.yaml) file, so two `compose.yaml` files need to be run with docker compose to start the multi-agent system.
151+
The React Agent requires the DocIndexRetriever's [`compose.yaml`](../DocIndexRetriever/docker_compose/intel/cpu/xeon/compose.yaml) file, so two `compose.yaml` files need to be run with docker compose to start the multi-agent system.
148152

149-
>**Note**: To enable the web search tool, skip this step and proceed to the "[Optional] Web Search Tool Support" section.
153+
> **Note**: To enable the web search tool, skip this step and proceed to the "[Optional] Web Search Tool Support" section.
150154
151155
```bash
152156
cd $WORKDIR/GenAIExamples/AgentQnA/docker_compose/intel/hpu/gaudi/
@@ -190,7 +194,7 @@ cd $WORKDIR/GenAIExamples/AgentQnA/retrieval_tool/
190194
bash run_ingest_data.sh
191195
```
192196

193-
>**Note**: This is a one-time operation.
197+
> **Note**: This is a one-time operation.
194198
195199
## Launch the UI
196200

AgentQnA/tests/step4_launch_and_validate_agent_gaudi.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ function main() {
191191
echo "==================== Start all services ===================="
192192
start_all_services
193193
echo "==================== all services started ===================="
194-
<<<<<<< HEAD
195-
=======
196194

197195
echo "==================== Ingest data ===================="
198196
ingest_data_and_validate
@@ -201,7 +199,6 @@ function main() {
201199
echo "==================== Validate retrieval tool ===================="
202200
validate_retrieval_tool
203201
echo "==================== Retrieval tool validated ===================="
204-
>>>>>>> b56a1cdafe9c424bf2f57674c526d118c826e85e
205202

206203
echo "==================== Validate agent service ===================="
207204
validate_agent_service

AgentQnA/tests/test_compose_on_gaudi.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ echo "WORKDIR=${WORKDIR}"
99
export ip_address=$(hostname -I | awk '{print $1}')
1010
export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
1111
export TOOLSET_PATH=$WORKDIR/GenAIExamples/AgentQnA/tools/
12+
export no_proxy="$no_proxy,rag-agent-endpoint,sql-agent-endpoint,react-agent-endpoint,agent-ui,vllm-gaudi-server,jaeger,grafana,prometheus,127.0.0.1,localhost,0.0.0.0,$ip_address"
1213

1314

1415
function get_genai_comps() {
@@ -77,19 +78,12 @@ echo "=================== #1 Building docker images===================="
7778
build_agent_docker_image
7879
echo "=================== #1 Building docker images completed===================="
7980

80-
<<<<<<< HEAD
81-
=======
8281

8382
echo "=================== #4 Start agent, API server, retrieval, and ingest data===================="
8483
bash $WORKPATH/tests/step4_launch_and_validate_agent_gaudi.sh
8584
echo "=================== #4 Agent, retrieval test passed ===================="
86-
>>>>>>> b56a1cdafe9c424bf2f57674c526d118c826e85e
8785

8886

89-
echo "=================== #3 Ingest data and validate retrieval===================="
90-
bash step3_ingest_data_and_validate_retrieval.sh
91-
echo "=================== #3 Data ingestion and validation completed===================="
92-
9387
echo "=================== #5 Stop agent and API server===================="
9488
stop_crag
9589
stop_agent_docker

0 commit comments

Comments
 (0)