From 61a8befe052d415a802e5aca2a2a4332a33a91ea Mon Sep 17 00:00:00 2001 From: Pranav Singh Date: Tue, 25 Mar 2025 12:05:12 +0530 Subject: [PATCH] [docs] Multimodal Endpoints Issue (#1700) Signed-off-by: Pranav Singh Co-authored-by: Ying Hu --- MultimodalQnA/README.md | 2 +- MultimodalQnA/docker_compose/amd/gpu/rocm/README.md | 2 +- MultimodalQnA/docker_compose/intel/cpu/xeon/README.md | 2 +- MultimodalQnA/docker_compose/intel/hpu/gaudi/README.md | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/MultimodalQnA/README.md b/MultimodalQnA/README.md index bda42ee28..6b92b1906 100644 --- a/MultimodalQnA/README.md +++ b/MultimodalQnA/README.md @@ -90,7 +90,7 @@ In the below, we provide a table that describes for each microservice component | MicroService | Open Source Project | HW | Port | Endpoint | | ------------ | --------------------- | ----- | ---- | ----------------------------------------------------------- | | Embedding | Langchain | Xeon | 6000 | /v1/embeddings | -| Retriever | Langchain, Redis | Xeon | 7000 | /v1/multimodal_retrieval | +| Retriever | Langchain, Redis | Xeon | 7000 | /v1/retrieval | | LVM | Langchain, TGI | Gaudi | 9399 | /v1/lvm | | Dataprep | Redis, Langchain, TGI | Gaudi | 6007 | /v1/generate_transcripts, /v1/generate_captions, /v1/ingest | diff --git a/MultimodalQnA/docker_compose/amd/gpu/rocm/README.md b/MultimodalQnA/docker_compose/amd/gpu/rocm/README.md index f49b9815f..4e3a031da 100644 --- a/MultimodalQnA/docker_compose/amd/gpu/rocm/README.md +++ b/MultimodalQnA/docker_compose/amd/gpu/rocm/README.md @@ -178,7 +178,7 @@ curl http://${host_ip}:$MM_EMBEDDING_PORT_MICROSERVICE/v1/embeddings \ ```bash export your_embedding=$(python3 -c "import random; embedding = [random.uniform(-1, 1) for _ in range(512)]; print(embedding)") -curl http://${host_ip}:7000/v1/multimodal_retrieval \ +curl http://${host_ip}:7000/v1/retrieval \ -X POST \ -H "Content-Type: application/json" \ -d "{\"text\":\"test\",\"embedding\":${your_embedding}}" diff --git a/MultimodalQnA/docker_compose/intel/cpu/xeon/README.md b/MultimodalQnA/docker_compose/intel/cpu/xeon/README.md index 7e4fa6894..5117e90a9 100644 --- a/MultimodalQnA/docker_compose/intel/cpu/xeon/README.md +++ b/MultimodalQnA/docker_compose/intel/cpu/xeon/README.md @@ -264,7 +264,7 @@ curl http://${host_ip}:$MM_EMBEDDING_PORT_MICROSERVICE/v1/embeddings \ ```bash export your_embedding=$(python3 -c "import random; embedding = [random.uniform(-1, 1) for _ in range(512)]; print(embedding)") -curl http://${host_ip}:${REDIS_RETRIEVER_PORT}/v1/multimodal_retrieval \ +curl http://${host_ip}:${REDIS_RETRIEVER_PORT}/v1/retrieval \ -X POST \ -H "Content-Type: application/json" \ -d "{\"text\":\"test\",\"embedding\":${your_embedding}}" diff --git a/MultimodalQnA/docker_compose/intel/hpu/gaudi/README.md b/MultimodalQnA/docker_compose/intel/hpu/gaudi/README.md index 2379fc3d4..b22168b5b 100644 --- a/MultimodalQnA/docker_compose/intel/hpu/gaudi/README.md +++ b/MultimodalQnA/docker_compose/intel/hpu/gaudi/README.md @@ -210,7 +210,7 @@ curl http://${host_ip}:$MM_EMBEDDING_PORT_MICROSERVICE/v1/embeddings \ ```bash export your_embedding=$(python3 -c "import random; embedding = [random.uniform(-1, 1) for _ in range(512)]; print(embedding)") -curl http://${host_ip}:7000/v1/multimodal_retrieval \ +curl http://${host_ip}:7000/v1/retrieval \ -X POST \ -H "Content-Type: application/json" \ -d "{\"text\":\"test\",\"embedding\":${your_embedding}}" @@ -336,6 +336,7 @@ To delete all uploaded files along with data indexed with `$INDEX_NAME` in REDIS ```bash curl -X POST \ -H "Content-Type: application/json" \ + -d '{"file_path": "all"}' \ ${DATAPREP_DELETE_FILE_ENDPOINT} ```