Find answers from the community

Updated 2 months ago

how can i parrallel the send nodes to

how can i parrallel the send nodes to openai , for exemple:If If I have 10 nodes, today I need to wait for 1 to finish being processed by openai before it can be inserted, is there a way to do it in parallel? Send the 10 nodes at the same time?
L
R
6 comments
Use async πŸ‘
But it also depends on what you are doing exactly
I'm generating the KG knowledge graph nodes, but my document is large
today my process its tottaly sequencial
ohhh yea, the default kg_triplet_extract_fn is sequential

In fact, there isn't really any async support for this in the KG index right now... the KG index needs some work, but it just hasn't been prioritized at the moment
Exist any , information if we will have it?
Add a reply
Sign up and join the conversation on Discord