Skip to content

Commit

Permalink
update image name (#820)
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue committed Sep 18, 2024
1 parent 79e947e commit e2a74f7
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion AgentQnA/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This example showcases a hierarchical multi-agent system for question-answering

```
cd GenAIComps
docker build -t opea/comps-agent-langchain:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/agent/langchain/Dockerfile .
docker build -t opea/agent-langchain:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/agent/langchain/Dockerfile .
```

2. Launch tool services </br>
Expand Down
4 changes: 2 additions & 2 deletions AgentQnA/docker_compose/intel/cpu/xeon/compose_openai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

services:
worker-docgrader-agent:
image: opea/comps-agent-langchain:latest
image: opea/agent-langchain:latest
container_name: docgrader-agent-endpoint
volumes:
- ${WORKDIR}/GenAIComps/comps/agent/langchain/:/home/user/comps/agent/langchain/
Expand Down Expand Up @@ -34,7 +34,7 @@ services:


supervisor-react-agent:
image: opea/comps-agent-langchain:latest
image: opea/agent-langchain:latest
container_name: react-agent-endpoint
volumes:
- ${WORKDIR}/GenAIComps/comps/agent/langchain/:/home/user/comps/agent/langchain/
Expand Down
4 changes: 2 additions & 2 deletions AgentQnA/docker_compose/intel/hpu/gaudi/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
ipc: host
command: --model-id ${LLM_MODEL_ID} --max-input-length 4096 --max-total-tokens 8192 --sharded true --num-shard ${NUM_SHARDS}
worker-docgrader-agent:
image: opea/comps-agent-langchain:latest
image: opea/agent-langchain:latest
container_name: docgrader-agent-endpoint
depends_on:
- tgi-server
Expand Down Expand Up @@ -59,7 +59,7 @@ services:


supervisor-react-agent:
image: opea/comps-agent-langchain:latest
image: opea/agent-langchain:latest
container_name: react-agent-endpoint
depends_on:
- tgi-server
Expand Down
4 changes: 2 additions & 2 deletions AgentQnA/docker_image_build/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# SPDX-License-Identifier: Apache-2.0

services:
agent-endpoint:
agent-langchain:
build:
context: GenAIComps
dockerfile: comps/agent/langchain/Dockerfile
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
image: ${REGISTRY:-opea}/comps-agent-langchain:${TAG:-latest}
image: ${REGISTRY:-opea}/agent-langchain:${TAG:-latest}
3 changes: 1 addition & 2 deletions AgentQnA/tests/1_build_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ function build_agent_docker_image() {
cd $WORKDIR/GenAIExamples/AgentQnA/docker_image_build/
get_genai_comps
echo "Build agent image with --no-cache..."
service_list="agent-endpoint"
docker compose -f build.yaml build ${service_list} --no-cache
docker compose -f build.yaml build --no-cache
}

function main() {
Expand Down
2 changes: 1 addition & 1 deletion AgentQnA/tests/_test_compose_openai_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function stop_agent_and_api_server() {
echo "Stopping CRAG server"
docker stop $(docker ps -q --filter ancestor=docker.io/aicrowd/kdd-cup-24-crag-mock-api:v0)
echo "Stopping Agent services"
docker stop $(docker ps -q --filter ancestor=opea/comps-agent-langchain:latest)
docker stop $(docker ps -q --filter ancestor=opea/agent-langchain:latest)
}

function stop_retrieval_tool() {
Expand Down

0 comments on commit e2a74f7

Please sign in to comment.