Skip to content

Commit

Permalink
fix: vectorstore parameter in test_04_retrieve_and_generate method
Browse files Browse the repository at this point in the history
  • Loading branch information
KevKibe committed Apr 30, 2024
1 parent 3dff046 commit d560cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/googleindex_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def test_04_retrieve_and_generate(self):
"""
Test initializing the vector store and assert its type.
"""
vectorstore = self.indexer.initialize_vectorstore(self.index_name)
vector_store = self.indexer.initialize_vectorstore(self.index_name)
response = self.indexer.retrieve_and_generate(query = "give a short summary of the introduction",
vectorstore= vectorstore
vectorstore= vector_store
)
print(response)
self.assertIsNotNone(response, "The retriever response should not be None.")
Expand Down

0 comments on commit d560cbe

Please sign in to comment.