Find answers from the community

Updated 11 months ago

Trying to follow this guide to use

Trying to follow this guide to use extractors:
https://docs.llamaindex.ai/en/stable/examples/metadata_extraction/MetadataExtraction_LLMSurvey.html#automated-metadata-extraction-for-better-retrieval-synthesis

However I get an error when I attempt to run the pipeline:
Plain Text
RuntimeError: asyncio.run() cannot be called from a running event loop


Has anyone encountered this? My nodes simply have text in them so i'm not sure where the issue could be unless this guide is out of date
L
k
2 comments
Plain Text
import nest_asyncio
nest_asyncio.apply()


Add that to the top of your code
oh wow I missed that part, thank you
Add a reply
Sign up and join the conversation on Discord