Having one chain trigger multiple new chains? #1945
Unanswered
abhinavvadrevu
asked this question in
Q&A
Replies: 1 comment
-
this documentation can help: https://python.langchain.com/en/latest/modules/chains/generic/sequential_chains.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, I'm very new to Python and Langchain, and I'm looking to write a prompt that would take in a paragraph of text and return a list of possible writing improvements. Then, I'd like to sequentially run another chain that takes in a single improvement at a time and explains why it is necessary. As you can imagine, the first chain would typically result in multiple calls to the second chain.
One way to handle this is to manually handle the fanout in my Python code. But I was wondering if there is some standard pattern or module that does this type of thing already?
Beta Was this translation helpful? Give feedback.
All reactions