@@ -29,33 +29,12 @@ function build_docker_images() {
2929
3030function start_services() {
3131 cd $WORKPATH /docker_compose/intel/cpu/xeon/
32-
33- export DB_NAME=" opea"
34- export EMBEDDING_MODEL_ID=" BAAI/bge-base-en-v1.5"
35- export RERANK_MODEL_ID=" BAAI/bge-reranker-base"
36- export LLM_MODEL_ID=" Intel/neural-chat-7b-v3-3"
37- export LLM_MODEL_ID_CODEGEN=" Intel/neural-chat-7b-v3-3"
38- export INDEX_NAME=" rag-redis"
39- export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
40- export BACKEND_SERVICE_ENDPOINT_CHATQNA=" http://${ip_address} :8888/v1/chatqna"
41- export DATAPREP_DELETE_FILE_ENDPOINT=" http://${ip_address} :6007/v1/dataprep/delete"
42- export BACKEND_SERVICE_ENDPOINT_CODEGEN=" http://${ip_address} :7778/v1/codegen"
43- export BACKEND_SERVICE_ENDPOINT_DOCSUM=" http://${ip_address} :8890/v1/docsum"
44- export DATAPREP_SERVICE_ENDPOINT=" http://${ip_address} :6007/v1/dataprep/ingest"
45- export DATAPREP_GET_FILE_ENDPOINT=" http://${ip_address} :6007/v1/dataprep/get"
46- export CHAT_HISTORY_CREATE_ENDPOINT=" http://${ip_address} :6012/v1/chathistory/create"
47- export CHAT_HISTORY_CREATE_ENDPOINT=" http://${ip_address} :6012/v1/chathistory/create"
48- export CHAT_HISTORY_DELETE_ENDPOINT=" http://${ip_address} :6012/v1/chathistory/delete"
49- export CHAT_HISTORY_GET_ENDPOINT=" http://${ip_address} :6012/v1/chathistory/get"
50- export PROMPT_SERVICE_GET_ENDPOINT=" http://${ip_address} :6018/v1/prompt/get"
51- export PROMPT_SERVICE_CREATE_ENDPOINT=" http://${ip_address} :6018/v1/prompt/create"
52- export PROMPT_SERVICE_DELETE_ENDPOINT=" http://${ip_address} :6018/v1/prompt/delete"
53- export KEYCLOAK_SERVICE_ENDPOINT=" http://${ip_address} :8080"
54- export DocSum_COMPONENT_NAME=" OpeaDocSumTgi"
5532 export host_ip=${ip_address}
5633 export LOGFLAG=True
5734 export no_proxy=" $no_proxy ,tgi_service_codegen,llm_codegen,tei-embedding-service,tei-reranking-service,chatqna-xeon-backend-server,retriever,tgi-service,redis-vector-db,whisper,llm-docsum-tgi,docsum-xeon-backend-server,mongo,codegen"
5835
36+ source set_env.sh
37+
5938 # Start Docker Containers
6039 docker compose up -d > ${LOG_PATH} /start_services_with_compose.log
6140 sleep 30s
0 commit comments