Find answers from the community

Updated 3 months ago

Is there a way to avoid the async.run. I

Is there a way to avoid the async.run. I am running llama index with langchain and I am getting the following error.

RuntimeError: asyncio.run() cannot be called from a running event loop

For reference I am using the QueryFusionRetreiver
L
W
E
3 comments
just run

Plain Text
import nest_asyncio
nest_asyncio.apply()
awesome thank you !!
Add a reply
Sign up and join the conversation on Discord