Skip to content

Commit

Permalink
increase sleep between adding documents and querying
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme committed Dec 17, 2024
1 parent a9816f7 commit ea0da59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ def test_vector_store(
) -> None:
vectorstore = PineconeVectorStore(index_name=INDEX_NAME, embedding=embd_client)
vectorstore.add_documents([Document("Hello, world!"), Document("This is a test.")])
time.sleep(5)
time.sleep(20)
resp = vectorstore.similarity_search(query="hello")
assert len(resp) == 2

0 comments on commit ea0da59

Please sign in to comment.