Skip to content

Commit

Permalink
update rerank ut.
Browse files Browse the repository at this point in the history
  • Loading branch information
sys-lpot-val committed Aug 12, 2024
1 parent 5e016ba commit 9f4024c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_reranks_tei.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function validate_microservice() {
-d '{"initial_query":"What is Deep Learning?", "retrieved_docs": [{"text":"Deep Learning is not..."}, {"text":"Deep learning is..."}]}' \
-H 'Content-Type: application/json')

if echo "$CONTENT" | grep -q "### Search results:"; then
if echo "$CONTENT" | grep -q "documents"; then
echo "Content is as expected."
else
echo "Content does not match the expected result: $CONTENT"
Expand Down

0 comments on commit 9f4024c

Please sign in to comment.