Skip to content
Snippets Groups Projects
Commit e12f8ebc authored by James Briggs's avatar James Briggs
Browse files

fix: vector only test

parent 6ce753e4
Branches
Tags
No related merge requests found
......@@ -829,7 +829,7 @@ class TestSemanticRouter:
)
if index_cls is PineconeIndex:
time.sleep(PINECONE_SLEEP) # allow for index to be populated
vector = [0.1, 0.2, 0.3]
vector = encoder(["hello"])
query_result = route_layer(vector=vector).name
assert query_result in ["Route 1", "Route 2"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment