Skip to content

Commit

Permalink
feat: change to async query
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Jan 22, 2025
1 parent b8bd187 commit 4913522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presets/ragengine/vector_store/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def query(self,
similarity_top_k=top_k,
node_postprocessors=node_postprocessors
)
query_result = await query_engine.query(query)
query_result = await query_engine.aquery(query)
return {
"response": query_result.response,
"source_nodes": [
Expand Down

0 comments on commit 4913522

Please sign in to comment.