LLM Chaining is a technique used to chain multiple LLMs together to create more complex outputs. This is done by using the "Include Message History" option and passing the output of the previous LLM as the input to the next LLM. This can be done with any number of LLMs, but it's recommended to keep it to 2-3 LLMs for best results. For example, we can have a chain where the first LLM is asked to create an outline of a blog and the second LLM is asked to follow this guideline to write the blog.
To achieve this in the Moonlit Editor, the first LLM should have 'Include Message History' selected, and the second LLM should reference the first one in the 'Message History' field.
Please reach out to us through the live chat widget on the bottom right corner or feel free to book a call with us. We're more than excited to explore and help you with your use case!