Find answers from the community

Updated 2 months ago

llama_index/llama_index/query_engine/gra...

Hello Team, I had a question about the use of async on ComposableGraphs, at what point do I have to define use_async = True when instantiating a ComposableGraph. I see within graph_query_engine there are async methods, any help would be appreciated, thanks!

https://github.com/run-llama/llama_index/blob/8f659705dd7f032e8d204ca860ab654bdf7ab0c3/llama_index/query_engine/graph_query_engine.py
J
L
6 comments
Any clue on this? thanks for your help
(fyi, ComposableGraph is kind of unmaintained/deprecated/slightly dead code)

I don't see any place for async querying on the ComposableGraphQueryEngine
Depending on the query engines in the graph, some can leverage use_async=True depending on the index/response mode
Ok thanks! is there a more maintained area or is that the work of 3rd party graphs?
tbh the idea of this kind of graph has been slightly abdonded in favor of other tools (sub question query engine, routers, recursive retrievers)

But actually, we recently released this syntax for constructing an arbitrary graph using any components. Let me find the link
Add a reply
Sign up and join the conversation on Discord