I have created a custom node_postprocessor and passed it as an argument in the Query engine as - query_engine = RetrieverQueryEngine.from_args(retriever, node_postprocessors=[postprocessor]) however, while doing query to the engine I am getting this error - RuntimeError Traceback (most recent call last) <ipython-input-51-cc65093c9740> in <cell line: 1>() ----> 1 response = query_engine.query( 2 "is sarthak a good boy" 3 )
22 frames /usr/lib/python3.10/asyncio/runners.py in run(main, debug) 31 """ 32 if events._get_running_loop() is not None: ---> 33 raise RuntimeError( 34 "asyncio.run() cannot be called from a running event loop") 35
RuntimeError: asyncio.run() cannot be called from a running event loop