From d7a5b751d92b7714a8c3308c64f4a8b473710383 Mon Sep 17 00:00:00 2001 From: lvliang-intel Date: Wed, 10 Jul 2024 09:01:26 +0800 Subject: [PATCH] Update reranking microservice dockerfile path (#381) Signed-off-by: lvliang-intel --- ChatQnA/docker/aipc/README.md | 2 +- ChatQnA/docker/gaudi/README.md | 2 +- ChatQnA/docker/gpu/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 +- SearchQnA/docker/gaudi/README.md | 2 +- SearchQnA/docker/xeon/README.md | 2 +- SearchQnA/tests/test_searchqna_on_gaudi.sh | 2 +- SearchQnA/tests/test_searchqna_on_xeon.sh | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ChatQnA/docker/aipc/README.md b/ChatQnA/docker/aipc/README.md index 103b84ea0..9f5a6fddd 100644 --- a/ChatQnA/docker/aipc/README.md +++ b/ChatQnA/docker/aipc/README.md @@ -26,7 +26,7 @@ docker build --no-cache -t opea/retriever-redis:latest -f comps/retrievers/langc ### 3. Build Rerank Image ```bash -docker build --no-cache -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . +docker build --no-cache -t opea/reranking-tei:latest -f comps/reranks/tei/docker/Dockerfile . ``` ### 4. Build LLM Image diff --git a/ChatQnA/docker/gaudi/README.md b/ChatQnA/docker/gaudi/README.md index eeff5d37d..a24988da6 100644 --- a/ChatQnA/docker/gaudi/README.md +++ b/ChatQnA/docker/gaudi/README.md @@ -28,7 +28,7 @@ docker build --no-cache -t opea/retriever-redis:latest --build-arg https_proxy=$ ### 4. Build Rerank Image ```bash -docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . +docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/tei/docker/Dockerfile . ``` ### 5. Build LLM Image diff --git a/ChatQnA/docker/gpu/README.md b/ChatQnA/docker/gpu/README.md index 7a069ff39..d00a7ce14 100644 --- a/ChatQnA/docker/gpu/README.md +++ b/ChatQnA/docker/gpu/README.md @@ -28,7 +28,7 @@ docker build --no-cache -t opea/retriever-redis:latest --build-arg https_proxy=$ ### 4. Build Rerank Image ```bash -docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . +docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/tei/docker/Dockerfile . ``` ### 5. Build LLM Image diff --git a/ChatQnA/docker/xeon/README.md b/ChatQnA/docker/xeon/README.md index 6fdc95f21..c74070bc0 100644 --- a/ChatQnA/docker/xeon/README.md +++ b/ChatQnA/docker/xeon/README.md @@ -81,7 +81,7 @@ docker build --no-cache -t opea/retriever-redis:latest --build-arg https_proxy=$ ### 3. Build Rerank Image ```bash -docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . +docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/tei/docker/Dockerfile . ``` ### 4. Build LLM Image diff --git a/ChatQnA/tests/test_chatqna_on_gaudi.sh b/ChatQnA/tests/test_chatqna_on_gaudi.sh index f4abc961e..a9ea7a1d9 100644 --- a/ChatQnA/tests/test_chatqna_on_gaudi.sh +++ b/ChatQnA/tests/test_chatqna_on_gaudi.sh @@ -16,7 +16,7 @@ function build_docker_images() { docker build -t opea/embedding-tei:latest -f comps/embeddings/langchain/docker/Dockerfile . docker build -t opea/retriever-redis:latest -f comps/retrievers/langchain/redis/docker/Dockerfile . - docker build -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . + docker build -t opea/reranking-tei:latest -f comps/reranks/tei/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/langchain/docker/Dockerfile . diff --git a/ChatQnA/tests/test_chatqna_on_xeon.sh b/ChatQnA/tests/test_chatqna_on_xeon.sh index 5ec9d2ced..a5219eebb 100644 --- a/ChatQnA/tests/test_chatqna_on_xeon.sh +++ b/ChatQnA/tests/test_chatqna_on_xeon.sh @@ -16,7 +16,7 @@ function build_docker_images() { docker build -t opea/embedding-tei:latest -f comps/embeddings/langchain/docker/Dockerfile . docker build -t opea/retriever-redis:latest -f comps/retrievers/langchain/redis/docker/Dockerfile . - docker build -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . + docker build -t opea/reranking-tei:latest -f comps/reranks/tei/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/langchain/docker/Dockerfile . diff --git a/SearchQnA/docker/gaudi/README.md b/SearchQnA/docker/gaudi/README.md index c858b9dde..5073c4725 100644 --- a/SearchQnA/docker/gaudi/README.md +++ b/SearchQnA/docker/gaudi/README.md @@ -28,7 +28,7 @@ docker build --no-cache -t opea/web-retriever-chroma:latest --build-arg https_pr ### 4. Build Rerank Image ```bash -docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . +docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/tei/docker/Dockerfile . ``` ### 5. Build LLM Image diff --git a/SearchQnA/docker/xeon/README.md b/SearchQnA/docker/xeon/README.md index c8a31e3d2..b615da255 100644 --- a/SearchQnA/docker/xeon/README.md +++ b/SearchQnA/docker/xeon/README.md @@ -26,7 +26,7 @@ docker build --no-cache -t opea/web-retriever-chroma:latest --build-arg https_pr ### 4. Build Rerank Image ```bash -docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . +docker build --no-cache -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/tei/docker/Dockerfile . ``` ### 5. Build LLM Image diff --git a/SearchQnA/tests/test_searchqna_on_gaudi.sh b/SearchQnA/tests/test_searchqna_on_gaudi.sh index 6f0109b31..119571470 100644 --- a/SearchQnA/tests/test_searchqna_on_gaudi.sh +++ b/SearchQnA/tests/test_searchqna_on_gaudi.sh @@ -15,7 +15,7 @@ function build_docker_images() { docker build -t opea/embedding-tei:latest -f comps/embeddings/langchain/docker/Dockerfile . docker build -t opea/web-retriever-chroma:latest -f comps/web_retrievers/langchain/chroma/docker/Dockerfile . - docker build -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . + docker build -t opea/reranking-tei:latest -f comps/reranks/tei/docker/Dockerfile . docker build -t opea/llm-tgi:latest -f comps/llms/text-generation/tgi/Dockerfile . cd .. diff --git a/SearchQnA/tests/test_searchqna_on_xeon.sh b/SearchQnA/tests/test_searchqna_on_xeon.sh index c068d4d20..ea302c929 100644 --- a/SearchQnA/tests/test_searchqna_on_xeon.sh +++ b/SearchQnA/tests/test_searchqna_on_xeon.sh @@ -15,7 +15,7 @@ function build_docker_images() { docker build -t opea/embedding-tei:latest -f comps/embeddings/langchain/docker/Dockerfile . docker build -t opea/web-retriever-chroma:latest -f comps/web_retrievers/langchain/chroma/docker/Dockerfile . - docker build -t opea/reranking-tei:latest -f comps/reranks/langchain/docker/Dockerfile . + docker build -t opea/reranking-tei:latest -f comps/reranks/tei/docker/Dockerfile . docker build -t opea/llm-tgi:latest -f comps/llms/text-generation/tgi/Dockerfile . docker pull ghcr.io/huggingface/text-embeddings-inference:cpu-1.2 docker pull ghcr.io/huggingface/text-generation-inference:1.4