How to add a constant block in Chatflow? #9254
Unanswered
weilun-enso
asked this question in
Help
Replies: 1 comment 3 replies
-
The string of the session variable can store quite a large number of bytes. Could you further describe your needs? Rerunning the preview creates a new session; do you have any scenarios in mind for wanting a constant block that spans across sessions? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I want to use a constant block that can be referenced in multiple other nodes.
I have tried the following ways, but none worked conveniently:
Is there any ways to achieve this currently? If not, I believe this can be a good feature to simplify our Chatflow graph.
Below is a mock example of how this can be useful:
constant_node
"
[some ...
...
...
paragraph]
"
LLM1's system prompt
blablabla1
Context:
{constant_node}
LLM2's system prompt
blablabla2
Context:
{constant_node}
LLM3's system prompt
blablabla3
Context:
{constant_node}
This way, it's much easier to share the context part of all system prompts from different branches.
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions