Skip to content

Commit a6e702e

Browse files
authored
refine agent directories. (#1353)
1 parent aa5c91d commit a6e702e

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

AgentQnA/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Then build the agent docker image. Both the supervisor agent and the worker agen
100100

101101
```
102102
cd GenAIComps
103-
docker build -t opea/agent-langchain:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/agent/langchain/Dockerfile .
103+
docker build -t opea/agent:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/agent/src/Dockerfile .
104104
```
105105

106106
2. Set up environment for this example </br>
@@ -220,4 +220,4 @@ curl http://${host_ip}:9090/v1/chat/completions -X POST -H "Content-Type: applic
220220

221221
## How to register your own tools with agent
222222

223-
You can take a look at the tools yaml and python files in this example. For more details, please refer to the "Provide your own tools" section in the instructions [here](https://github.com/opea-project/GenAIComps/tree/main/comps/agent/langchain/README.md).
223+
You can take a look at the tools yaml and python files in this example. For more details, please refer to the "Provide your own tools" section in the instructions [here](https://github.com/opea-project/GenAIComps/tree/main/comps/agent/src/README.md).

AgentQnA/docker_compose/amd/gpu/rocm/compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
command: --model-id ${LLM_MODEL_ID} --max-input-length 4096 --max-total-tokens 8192
3232

3333
worker-rag-agent:
34-
image: opea/agent-langchain:latest
34+
image: opea/agent:latest
3535
container_name: rag-agent-endpoint
3636
volumes:
3737
# - ${WORKDIR}/GenAIExamples/AgentQnA/docker_image_build/GenAIComps/comps/agent/langchain/:/home/user/comps/agent/langchain/
@@ -62,7 +62,7 @@ services:
6262
port: 9095
6363

6464
supervisor-react-agent:
65-
image: opea/agent-langchain:latest
65+
image: opea/agent:latest
6666
container_name: react-agent-endpoint
6767
depends_on:
6868
- agent-tgi-server

AgentQnA/docker_compose/intel/cpu/xeon/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This example showcases a hierarchical multi-agent system for question-answering
6060
```
6161
git clone https://github.com/opea-project/GenAIComps.git
6262
cd GenAIComps
63-
docker build -t opea/agent-langchain:latest -f comps/agent/langchain/Dockerfile .
63+
docker build -t opea/agent:latest -f comps/agent/src/Dockerfile .
6464
```
6565

6666
## Validate services
@@ -97,4 +97,4 @@ curl http://${host_ip}:9090/v1/chat/completions -X POST -H "Content-Type: applic
9797

9898
## How to register your own tools with agent
9999

100-
You can take a look at the tools yaml and python files in this example. For more details, please refer to the "Provide your own tools" section in the instructions [here](https://github.com/opea-project/GenAIComps/tree/main/comps/agent/langchain/README.md).
100+
You can take a look at the tools yaml and python files in this example. For more details, please refer to the "Provide your own tools" section in the instructions [here](https://github.com/opea-project/GenAIComps/tree/main/comps/agent/src/README.md).

AgentQnA/docker_compose/intel/cpu/xeon/compose_openai.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
services:
55
worker-rag-agent:
6-
image: opea/agent-langchain:latest
6+
image: opea/agent:latest
77
container_name: rag-agent-endpoint
88
volumes:
99
- ${TOOLSET_PATH}:/home/user/tools/
@@ -33,7 +33,7 @@ services:
3333

3434

3535
supervisor-react-agent:
36-
image: opea/agent-langchain:latest
36+
image: opea/agent:latest
3737
container_name: react-agent-endpoint
3838
depends_on:
3939
- worker-rag-agent

AgentQnA/docker_compose/intel/hpu/gaudi/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ For more details, please refer to the deployment guide [here](../../../../README
6565
```
6666
git clone https://github.com/opea-project/GenAIComps.git
6767
cd GenAIComps
68-
docker build -t opea/agent-langchain:latest -f comps/agent/langchain/Dockerfile .
68+
docker build -t opea/agent:latest -f comps/agent/src/Dockerfile .
6969
```
7070

7171
## Validate services
@@ -102,4 +102,4 @@ curl http://${host_ip}:9090/v1/chat/completions -X POST -H "Content-Type: applic
102102

103103
## How to register your own tools with agent
104104

105-
You can take a look at the tools yaml and python files in this example. For more details, please refer to the "Provide your own tools" section in the instructions [here](https://github.com/opea-project/GenAIComps/tree/main/comps/agent/langchain/README.md).
105+
You can take a look at the tools yaml and python files in this example. For more details, please refer to the "Provide your own tools" section in the instructions [here](https://github.com/opea-project/GenAIComps/tree/main/comps/agent/src/README.md).

AgentQnA/docker_compose/intel/hpu/gaudi/compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
services:
55
worker-rag-agent:
6-
image: opea/agent-langchain:latest
6+
image: opea/agent:latest
77
container_name: rag-agent-endpoint
88
volumes:
99
# - ${WORKDIR}/GenAIExamples/AgentQnA/docker_image_build/GenAIComps/comps/agent/langchain/:/home/user/comps/agent/langchain/
@@ -35,7 +35,7 @@ services:
3535

3636

3737
supervisor-react-agent:
38-
image: opea/agent-langchain:latest
38+
image: opea/agent:latest
3939
container_name: react-agent-endpoint
4040
depends_on:
4141
- worker-rag-agent

AgentQnA/docker_image_build/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
services:
5-
agent-langchain:
5+
agent:
66
build:
77
context: GenAIComps
8-
dockerfile: comps/agent/langchain/Dockerfile
8+
dockerfile: comps/agent/src/Dockerfile
99
args:
1010
http_proxy: ${http_proxy}
1111
https_proxy: ${https_proxy}
1212
no_proxy: ${no_proxy}
13-
image: ${REGISTRY:-opea}/agent-langchain:${TAG:-latest}
13+
image: ${REGISTRY:-opea}/agent:${TAG:-latest}

AgentQnA/tests/_test_compose_openai_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function stop_agent_and_api_server() {
1515
echo "Stopping CRAG server"
1616
docker stop $(docker ps -q --filter ancestor=docker.io/aicrowd/kdd-cup-24-crag-mock-api:v0)
1717
echo "Stopping Agent services"
18-
docker stop $(docker ps -q --filter ancestor=opea/agent-langchain:latest)
18+
docker stop $(docker ps -q --filter ancestor=opea/agent:latest)
1919
}
2020

2121
function stop_retrieval_tool() {

docker_images_list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Take ChatQnA for example. ChatQnA is a chatbot application service based on the
4242

4343
| Microservice Images | Dockerfile | Description |
4444
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45-
| [opea/agent-langchain](https://hub.docker.com/r/opea/comps-agent-langchain) | [Link](https://github.com/opea-project/GenAIComps/blob/main/comps/agent/langchain/Dockerfile) | The docker image exposed the OPEA agent microservice for GenAI application use |
45+
| [opea/agent]() | [Link](https://github.com/opea-project/GenAIComps/blob/main/comps/agent/src/Dockerfile) | The docker image exposed the OPEA agent microservice for GenAI application use |
4646
| [opea/asr](https://hub.docker.com/r/opea/asr) | [Link](https://github.com/opea-project/GenAIComps/blob/main/comps/asr/src/Dockerfile) | The docker image exposed the OPEA Audio-Speech-Recognition microservice for GenAI application use |
4747
| [opea/chathistory-mongo-server](https://hub.docker.com/r/opea/chathistory-mongo-server) | [Link](https://github.com/opea-project/GenAIComps/blob/main/comps/chathistory/mongo/Dockerfile) | The docker image exposes OPEA Chat History microservice which based on MongoDB database, designed to allow user to store, retrieve and manage chat conversations |
4848
| [opea/dataprep-milvus](https://hub.docker.com/r/opea/dataprep-milvus) | [Link](https://github.com/opea-project/GenAIComps/blob/main/comps/dataprep/milvus/langchain/Dockerfile) | The docker image exposed the OPEA dataprep microservice based on milvus vectordb for GenAI application use |

0 commit comments

Comments
 (0)