Find answers from the community

Updated 4 months ago

i started implementing **property graph

i started implementing property graph with local neo4j and got it working (great!). I am now trying to test Cohere's models as upgrades over the default selection of OpenAI models and I'm now getting the "Event loop is closed" error while it's trying to embed from the data source. I'm not able to find solutions online, because this is such a new implementation. I found in the llamaindex github that the "event loop is closed" error appeared on openai earlier last year and was fixed in late April, but the code doesn't give any clear breadcrumbs as to what could be going on and is structured differently than what seems like the corresponding Cohere files for today.

Does anyone have any advice on how to make Cohere work with the new property graph tools?
L
c
3 comments
usually "event loop closed" happens because some other exception happened before that πŸ‘€

Cohere did JUST update to support tool calling, pip install -U llama-index-llms-cohere
thanks @Logan M !! i'll add this add report back with more useful detail
If it keeps happening, hopefully there is some other error being logged before the event loop closed
Add a reply
Sign up and join the conversation on Discord