Signed-off-by: okhleif-IL <omar.khleif@intel.com> Signed-off-by: Harsha Ramayanam <harsha.ramayanam@intel.com> Signed-off-by: Melanie Buehler <melanie.h.buehler@intel.com> Signed-off-by: dmsuehir <dina.s.jones@intel.com> Signed-off-by: Dina Suehiro Jones <dina.s.jones@intel.com> Co-authored-by: Omar Khleif <omar.khleif@intel.com> Co-authored-by: Harsha Ramayanam <harsha.ramayanam@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Dina Suehiro Jones <dina.s.jones@intel.com> Co-authored-by: Liang Lv <liang1.lv@intel.com> Co-authored-by: Abolfazl Shahbazi <12436063+ashahba@users.noreply.github.com>
57 lines
2.0 KiB
Bash
Executable File
57 lines
2.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright (C) 2024 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
pushd "../../../../../" > /dev/null
|
|
source .set_env.sh
|
|
popd > /dev/null
|
|
|
|
export host_ip=$(hostname -I | awk '{print $1}')
|
|
|
|
export MM_EMBEDDING_SERVICE_HOST_IP=${host_ip}
|
|
export MM_RETRIEVER_SERVICE_HOST_IP=${host_ip}
|
|
export LVM_SERVICE_HOST_IP=${host_ip}
|
|
export MEGA_SERVICE_HOST_IP=${host_ip}
|
|
|
|
export REDIS_DB_PORT=6379
|
|
export REDIS_INSIGHTS_PORT=8001
|
|
export REDIS_URL="redis://${host_ip}:${REDIS_DB_PORT}"
|
|
export REDIS_HOST=${host_ip}
|
|
export INDEX_NAME="mm-rag-redis"
|
|
|
|
export TTS_PORT=7055
|
|
export TTS_ENDPOINT="http://${host_ip}:${TTS_PORT}/v1/tts"
|
|
|
|
export WHISPER_MODEL="base"
|
|
export WHISPER_PORT=7066
|
|
export WHISPER_SERVER_ENDPOINT="http://${host_ip}:${WHISPER_PORT}/v1/asr"
|
|
export MAX_IMAGES=1
|
|
|
|
export DATAPREP_MMR_PORT=6007
|
|
export DATAPREP_INGEST_SERVICE_ENDPOINT="http://${host_ip}:${DATAPREP_MMR_PORT}/v1/dataprep/ingest"
|
|
export DATAPREP_GEN_TRANSCRIPT_SERVICE_ENDPOINT="http://${host_ip}:${DATAPREP_MMR_PORT}/v1/dataprep/generate_transcripts"
|
|
export DATAPREP_GEN_CAPTION_SERVICE_ENDPOINT="http://${host_ip}:${DATAPREP_MMR_PORT}/v1/dataprep/generate_captions"
|
|
export DATAPREP_GET_FILE_ENDPOINT="http://${host_ip}:${DATAPREP_MMR_PORT}/v1/dataprep/get"
|
|
export DATAPREP_DELETE_FILE_ENDPOINT="http://${host_ip}:${DATAPREP_MMR_PORT}/v1/dataprep/delete"
|
|
|
|
export EMM_BRIDGETOWER_PORT=6006
|
|
export EMBEDDING_MODEL_ID="BridgeTower/bridgetower-large-itm-mlm-itc"
|
|
export MMEI_EMBEDDING_ENDPOINT="http://${host_ip}:$EMM_BRIDGETOWER_PORT"
|
|
export MM_EMBEDDING_PORT_MICROSERVICE=6000
|
|
export BRIDGE_TOWER_EMBEDDING=true
|
|
|
|
export REDIS_RETRIEVER_PORT=7000
|
|
|
|
export LVM_PORT=9399
|
|
export LLAVA_SERVER_PORT=8399
|
|
export TGI_GAUDI_PORT="${LLAVA_SERVER_PORT}:80"
|
|
export LVM_MODEL_ID="llava-hf/llava-v1.6-vicuna-13b-hf"
|
|
|
|
export LVM_ENDPOINT="http://${host_ip}:${LLAVA_SERVER_PORT}"
|
|
|
|
export MEGA_SERVICE_PORT=8888
|
|
export BACKEND_SERVICE_ENDPOINT="http://${host_ip}:${MEGA_SERVICE_PORT}/v1/multimodalqna"
|
|
|
|
export UI_PORT=5173
|
|
export UI_TIMEOUT=240
|