Refactor Retrievers related Examples (#1387)
Delete redundant retrievers docker image in docker_images_list.md. Refactor Retrievers related Examples READMEs. Change all of the comps/retrievers/xxx/xxx/Dockerfile path into comps/retrievers/src/Dockerfile. Fix the Examples CI issues of PR opea-project/GenAIComps#1138. Signed-off-by: letonghan <letong.han@intel.com>
This commit is contained in:
@@ -45,7 +45,7 @@ docker build --no-cache -t opea/lvm-llava:latest --build-arg https_proxy=$https_
|
||||
### 3. Build retriever-multimodal-redis Image
|
||||
|
||||
```bash
|
||||
docker build --no-cache -t opea/retriever-redis:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/retrievers/redis/langchain/Dockerfile .
|
||||
docker build --no-cache -t opea/retriever:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/retrievers/src/Dockerfile .
|
||||
```
|
||||
|
||||
### 4. Build dataprep-multimodal-redis Image
|
||||
@@ -86,7 +86,7 @@ Then run the command `docker images`, you will have the following 8 Docker Image
|
||||
1. `opea/dataprep-multimodal-redis:latest`
|
||||
2. `ghcr.io/huggingface/text-generation-inference:2.4.1-rocm`
|
||||
3. `opea/lvm:latest`
|
||||
4. `opea/retriever-multimodal-redis:latest`
|
||||
4. `opea/retriever:latest`
|
||||
5. `opea/embedding:latest`
|
||||
6. `opea/embedding-multimodal-bridgetower:latest`
|
||||
7. `opea/multimodalqna:latest`
|
||||
|
||||
@@ -73,7 +73,7 @@ services:
|
||||
MULTIMODAL_EMBEDDING: true
|
||||
restart: unless-stopped
|
||||
retriever-redis:
|
||||
image: ${REGISTRY:-opea}/retriever-redis:${TAG:-latest}
|
||||
image: ${REGISTRY:-opea}/retriever:${TAG:-latest}
|
||||
container_name: retriever-redis
|
||||
depends_on:
|
||||
- redis-vector-db
|
||||
@@ -87,7 +87,8 @@ services:
|
||||
REDIS_URL: ${REDIS_URL}
|
||||
INDEX_NAME: ${INDEX_NAME}
|
||||
BRIDGE_TOWER_EMBEDDING: ${BRIDGE_TOWER_EMBEDDING}
|
||||
RETRIEVER_TYPE: "redis"
|
||||
LOGFLAG: ${LOGFLAG}
|
||||
RETRIEVER_COMPONENT_NAME: "OPEA_RETRIEVER_REDIS"
|
||||
restart: unless-stopped
|
||||
tgi-rocm:
|
||||
image: ghcr.io/huggingface/text-generation-inference:3.0.1-rocm
|
||||
|
||||
Reference in New Issue
Block a user