From 7c67970e0e80c1b3c5e1fc9e34e5cc6a56becdc7 Mon Sep 17 00:00:00 2001 From: Letong Han <106566639+letonghan@users.noreply.github.com> Date: Wed, 29 May 2024 11:25:38 +0800 Subject: [PATCH] update docker image name in readme (#99) Signed-off-by: letonghan Co-authored-by: Sihan Chen <39623753+Spycsh@users.noreply.github.com> Signed-off-by: V, Ganesan --- comps/dataprep/qdrant/README.md | 4 ++-- comps/guardrails/README.md | 4 ++-- comps/llms/README.md | 4 ++-- comps/reranks/README.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/comps/dataprep/qdrant/README.md b/comps/dataprep/qdrant/README.md index dee7e6585..3f03bb105 100644 --- a/comps/dataprep/qdrant/README.md +++ b/comps/dataprep/qdrant/README.md @@ -36,13 +36,13 @@ python prepare_doc_qdrant.py ```bash cd ../../../../ -docker build -t opea/gen-ai-comps:dataprep-qdrant-xeon-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/qdrant/docker/Dockerfile . +docker build -t opea/dataprep-qdrant:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/dataprep/qdrant/docker/Dockerfile . ``` ## Run Docker with CLI ```bash -docker run -d --name="dataprep-qdrant-server" -p 6000:6000 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy opea/gen-ai-comps:dataprep-qdrant-xeon-server +docker run -d --name="dataprep-qdrant-server" -p 6000:6000 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy opea/dataprep-qdrant:latest ``` ## Setup Environment Variables diff --git a/comps/guardrails/README.md b/comps/guardrails/README.md index 1c5af5cb2..e3f1705b2 100644 --- a/comps/guardrails/README.md +++ b/comps/guardrails/README.md @@ -80,13 +80,13 @@ export LANGCHAIN_PROJECT="opea/gen-ai-comps:gaurdrails" ```bash cd ../../ -docker build -t opea/gen-ai-comps:guardrails-tgi-gaudi-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/guardrails/langchain/docker/Dockerfile . +docker build -t opea/guardrails-tgi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/guardrails/langchain/docker/Dockerfile . ``` ## Run Docker with CLI ```bash -docker run -d --name="guardrails-tgi-server" -p 9090:9090 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e SAFETY_GUARD_ENDPOINT=$SAFETY_GUARD_ENDPOINT -e HUGGINGFACEHUB_API_TOKEN=$HUGGINGFACEHUB_API_TOKEN opea/gen-ai-comps:guardrails-tgi-gauid-server +docker run -d --name="guardrails-tgi-server" -p 9090:9090 --ipc=host -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e SAFETY_GUARD_ENDPOINT=$SAFETY_GUARD_ENDPOINT -e HUGGINGFACEHUB_API_TOKEN=$HUGGINGFACEHUB_API_TOKEN opea/guardrails-tgi:latest ``` ## Run Docker with Docker Compose diff --git a/comps/llms/README.md b/comps/llms/README.md index 9bea69d15..bdb4a4002 100644 --- a/comps/llms/README.md +++ b/comps/llms/README.md @@ -63,7 +63,7 @@ export LANGCHAIN_PROJECT="opea/gen-ai-comps:llms" ```bash cd ../../ -docker build -t opea/gen-ai-comps:llm-tgi-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/llms/langchain/docker/Dockerfile . +docker build -t opea/llm-tgi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/llms/text-generation/tgi/Dockerfile . ``` ## Run Docker with CLI @@ -75,7 +75,7 @@ docker run -d --name="llm-tgi-server" -p 9000:9000 --ipc=host -e http_proxy=$htt ## Run Docker with Docker Compose ```bash -cd langchain/docker +cd text-generation/tgi docker compose -f docker_compose_llm.yaml up -d ``` diff --git a/comps/reranks/README.md b/comps/reranks/README.md index f0d57008e..8b66de934 100644 --- a/comps/reranks/README.md +++ b/comps/reranks/README.md @@ -51,7 +51,7 @@ If you start an Reranking microservice with docker, the `docker_compose_rerankin ```bash cd ../../ -docker build -t opea/gen-ai-comps:reranking-tei-xeon-server --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . +docker build -t opea/reranking-tei:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/reranks/langchain/docker/Dockerfile . ``` ## Run Docker with CLI