My DIY version is 1.0.0. I created a workflow where one node is an iteration node, and the next node after the iteration node is an LLM node. Why can't I introduce the output of the iteration node in the prompt of the LLM node. How can I incorporate the output of iterative nodes into the prompt words of LLM nodes?General Discussion #33087
gongchangping
started this conversation in
General
Replies: 1 comment
-
|
The issue is that LLM nodes only accept string-type variables directly in prompts, but iteration nodes output arrays. Here's how to solve this: Solution: Add a Template node between the iteration and LLM nodes
Also verify your iteration node configuration:
Version note: You mentioned you're on version 1.0.0. There have been important fixes for iteration node variable handling in later versions. Consider upgrading to v1.3.1+ or newer for better iteration node support. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
My DIY version is 1.0.0. I created a workflow where one node is an iteration node, and the next node after the iteration node is an LLM node. Why can't I introduce the output of the iteration node in the prompt of the LLM node. How can I incorporate the output of iterative nodes into the prompt words of LLM nodes?
Beta Was this translation helpful? Give feedback.
All reactions