mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-18 09:01:03 +00:00
increase sleep between adding documents and querying
This commit is contained in:
parent
a9816f7545
commit
ea0da596f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user