mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
test
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
c02953e5ff
commit
0f6e9d243f
1 changed files with 3 additions and 1 deletions
|
@ -197,6 +197,8 @@ def test_query_returns_valid_object_when_identical_to_embedding_in_vdb(
|
|||
|
||||
# Verify the top result is the expected document
|
||||
assert response is not None
|
||||
assert len(response.chunks) > 0
|
||||
assert len(response.chunks) > 0, (
|
||||
f"provider params for {provider} = {vector_io_provider_params_dict.get(provider, None)}"
|
||||
)
|
||||
assert response.chunks[0].metadata["document_id"] == "doc1"
|
||||
assert response.chunks[0].metadata["source"] == "precomputed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue