You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"[ retriever ] HTTP status is 200. Checking content..."
57
-
local CONTENT=$(http_proxy=""curl -s -X POST -d "{\"text\":\"test\",\"embedding\":${test_embedding}}" -H 'Content-Type: application/json'"$URL"| tee ${LOG_PATH}/retriever.log)
58
+
local CONTENT=$(curl -s -X POST -d "{\"text\":\"test\",\"embedding\":${test_embedding}}" -H 'Content-Type: application/json'"$URL"| tee ${LOG_PATH}/retriever.log)
58
59
59
60
ifecho"$CONTENT"| grep -q "retrieved_docs";then
60
61
echo"[ retriever ] Content is as expected."
61
62
else
62
-
echo"[ retriever ] Content does not match the expected result: $CONTENT">>${LOG_PATH}/retriever.log
63
+
echo"[ retriever ] Content does not match the expected result: $CONTENT"
0 commit comments