Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
anubhav756 committed Sep 23, 2024
1 parent f5e7ac3 commit d04c67f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/langchain_google_alloydb_pg/async_vectorstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,13 +525,17 @@ async def __query_collection(
async with self.engine.connect() as conn:
await conn.execute(text(query_options_stmt))
result = await conn.execute(text(stmt))
print("!!!!", stmt)
result_map = result.mappings()
results = result_map.fetchall()
print(">>>>", results)
else:
async with self.engine.connect() as conn:
result = await conn.execute(text(stmt))
print("!!!!@@@@", stmt)
result_map = result.mappings()
results = result_map.fetchall()
print(">>>>", results)
return results

async def asimilarity_search(
Expand Down

0 comments on commit d04c67f

Please sign in to comment.