@@ -28,7 +28,7 @@ function build_docker_images() {
2828 popd && sleep 1s
2929
3030 echo " Build all the images with --no-cache, check docker_image_build.log for details..."
31- service_list=" hybridrag hybridrag-ui dataprep retriever text2cypher-gaudi nginx"
31+ service_list=" hybridrag hybridrag-ui dataprep retriever text2query-cypher nginx"
3232 docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH} /docker_image_build.log 2>&1
3333
3434 docker images && sleep 1s
@@ -72,9 +72,9 @@ function validate_service() {
7272
7373 local HTTP_STATUS=$( curl -s -o /dev/null -w " %{http_code}" -X POST -d " $INPUT_DATA " -H ' Content-Type: application/json' " $URL " )
7474
75- if [ " $DOCKER_NAME " = " text2cypher -gaudi-container" ]; then
75+ if [ " $DOCKER_NAME " = " text2query-cypher -gaudi-container" ]; then
7676 docker ps
77- docker logs text2cypher -gaudi-container
77+ docker logs text2query-cypher -gaudi-container
7878 fi
7979
8080 if [ " $HTTP_STATUS " -eq 200 ]; then
@@ -89,7 +89,7 @@ function validate_service() {
8989 docker logs ${DOCKER_NAME} >> ${LOG_PATH} /${SERVICE_NAME} .log
9090 if [ " $DOCKER_NAME " = " hybridrag-xeon-backend-server" ]; then
9191 docker ps
92- docker logs text2cypher -gaudi-container
92+ docker logs text2query-cypher -gaudi-container
9393 fi
9494 exit 1
9595 fi
@@ -98,7 +98,7 @@ function validate_service() {
9898 docker logs ${DOCKER_NAME} >> ${LOG_PATH} /${SERVICE_NAME} .log
9999 if [ " $DOCKER_NAME " = " hybridrag-xeon-backend-server" ]; then
100100 docker ps
101- docker logs text2cypher -gaudi-container
101+ docker logs text2query-cypher -gaudi-container
102102 fi
103103 exit 1
104104 fi
@@ -156,13 +156,13 @@ function validate_megaservice() {
156156}
157157
158158function validate_text2cypher() {
159- # text2cypher service
159+ # text2query-cypher service
160160 validate_service \
161- " ${ip_address} :11801/v1/text2cypher " \
161+ " ${ip_address} :11801/v1/text2query " \
162162 " \[" \
163163 " text2cypher-gaudi" \
164- " text2cypher -gaudi-container" \
165- ' {"input_text ": "what are the symptoms for Diabetes?"}'
164+ " text2query-cypher -gaudi-container" \
165+ ' {"query ": "what are the symptoms for Diabetes?"}'
166166}
167167
168168function stop_docker() {
0 commit comments