-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "remove json file for search index tool ut"
This reverts commit 1db72bb. Signed-off-by: yuye-aws <[email protected]>
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
src/test/resources/org/opensearch/agent/tools/retrieval_tool_search_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"took": 201, | ||
"timed_out": false, | ||
"_shards": { | ||
"total": 1, | ||
"successful": 1, | ||
"skipped": 0, | ||
"failed": 0 | ||
}, | ||
"hits": { | ||
"total": { | ||
"value": 2, | ||
"relation": "eq" | ||
}, | ||
"max_score": 89.2917, | ||
"hits": [ | ||
{ | ||
"_index": "hybrid-index", | ||
"_id": "1", | ||
"_score": 89.2917, | ||
"_source": { | ||
"passage_text": "Company test_mock have a history of 100 years." | ||
} | ||
}, | ||
{ | ||
"_index": "hybrid-index", | ||
"_id": "2", | ||
"_score": 0.10702579, | ||
"_source": { | ||
"passage_text": "the price of the api is 2$ per invocation" | ||
} | ||
} | ||
] | ||
} | ||
} |