fix typo in test scripts (#195)
Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user