From 2fb070dbfd9352d56a7be13606318aa583852a0f Mon Sep 17 00:00:00 2001 From: Ying Chun Guo Date: Thu, 13 Jun 2024 17:39:16 +0800 Subject: [PATCH] Fix dataprep microservice path issue (#284) Signed-off-by: Yingchun Guo --- ChatQnA/docker/gaudi/README.md | 2 +- ChatQnA/docker/xeon/README.md | 2 +- ChatQnA/tests/test_chatqna_on_gaudi.sh | 2 +- ChatQnA/tests/test_chatqna_on_xeon.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChatQnA/docker/gaudi/README.md b/ChatQnA/docker/gaudi/README.md index f54c29d56..3584d4bb1 100644 --- a/ChatQnA/docker/gaudi/README.md +++ b/ChatQnA/docker/gaudi/README.md @@ -40,7 +40,7 @@ docker build --no-cache -t opea/llm-tgi:latest --build-arg https_proxy=$https_pr ### 6. Build Dataprep Image ```bash -docker build --no-cache -t opea/dataprep-redis:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/redis/docker/Dockerfile . +docker build --no-cache -t opea/dataprep-redis:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/redis/langchain/docker/Dockerfile . ``` ### 7. Build TEI Gaudi Image diff --git a/ChatQnA/docker/xeon/README.md b/ChatQnA/docker/xeon/README.md index 7188189a8..276bbc027 100644 --- a/ChatQnA/docker/xeon/README.md +++ b/ChatQnA/docker/xeon/README.md @@ -93,7 +93,7 @@ docker build --no-cache -t opea/llm-tgi:latest --build-arg https_proxy=$https_pr ### 5. Build Dataprep Image ```bash -docker build --no-cache -t opea/dataprep-redis:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/redis/docker/Dockerfile . +docker build --no-cache -t opea/dataprep-redis:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/redis/langchain/docker/Dockerfile . cd .. ``` diff --git a/ChatQnA/tests/test_chatqna_on_gaudi.sh b/ChatQnA/tests/test_chatqna_on_gaudi.sh index 43c366316..5c3028b31 100644 --- a/ChatQnA/tests/test_chatqna_on_gaudi.sh +++ b/ChatQnA/tests/test_chatqna_on_gaudi.sh @@ -17,7 +17,7 @@ function build_docker_images() { docker build -t opea/retriever-redis:latest -f comps/retrievers/langchain/docker/Dockerfile . docker build -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . docker build -t opea/llm-tgi:latest -f comps/llms/text-generation/tgi/Dockerfile . - docker build -t opea/dataprep-redis:latest -f comps/dataprep/redis/docker/Dockerfile . + docker build -t opea/dataprep-redis:latest -f comps/dataprep/redis/langchain/docker/Dockerfile . cd .. git clone https://github.com/huggingface/tei-gaudi diff --git a/ChatQnA/tests/test_chatqna_on_xeon.sh b/ChatQnA/tests/test_chatqna_on_xeon.sh index f2be16e40..8ba90e562 100644 --- a/ChatQnA/tests/test_chatqna_on_xeon.sh +++ b/ChatQnA/tests/test_chatqna_on_xeon.sh @@ -17,7 +17,7 @@ function build_docker_images() { docker build -t opea/retriever-redis:latest -f comps/retrievers/langchain/docker/Dockerfile . docker build -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . docker build -t opea/llm-tgi:latest -f comps/llms/text-generation/tgi/Dockerfile . - docker build -t opea/dataprep-redis:latest -f comps/dataprep/redis/docker/Dockerfile . + docker build -t opea/dataprep-redis:latest -f comps/dataprep/redis/langchain/docker/Dockerfile . cd $WORKPATH/docker docker build --no-cache -t opea/chatqna:latest -f Dockerfile .