fix typo in test scripts (#195)

Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
chen, suyue
2024-05-28 09:21:47 +08:00
committed by GitHub
parent 924fa8cdc5
commit 2ef00b546e

View File

@@ -94,7 +94,7 @@ function validate_microservices() {
test_embedding=$(python -c "import random; embedding = [random.uniform(-1, 1) for _ in range(768)]; print(embedding)")
curl http://${ip_address}:7000/v1/retrieval \
-X POST \
-d '{"text":"test","embedding":${your_embedding}}' \
-d '{"text":"test","embedding":${test_embedding}}' \
-H 'Content-Type: application/json' > ${LOG_PATH}/retrieval.log
exit_code=$?
if [ $exit_code -ne 0 ]; then