Split content into list and run sub graph on each element (like RunnableEach in LCEL) #433
Answered
by
hinthornw
arthurGrigo
asked this question in
Q&A
-
I want to split a list of strings and run a subgraph on each list element (maybe even multiple subgraphs in parallel). I know how to do it with LCEL but how could I do it in langgraph? |
Beta Was this translation helpful? Give feedback.
Answered by
hinthornw
May 14, 2024
Replies: 2 comments 2 replies
-
We're planning to expand the API to make it easier to send custom instructions to a node or do map-reduce type work |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
arthurGrigo
-
Following on this. One of my use case is to be able to run multiple llm in parallel then get to a decision point to decide which result to take. I believe currently it is not supported yet and would love to have this map-reduce type flow set up. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're planning to expand the API to make it easier to send custom instructions to a node or do map-reduce type work