You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a lot of use cases where prompt sections must be reused in different prompts. At the moment I just created a prompt for each "section", fetch it first, and pass it as a variable to my prompt.
I'll make an example with two prompts for clarification:
Sub-prompt
My prompt section
Prompt 1
{{section}}
Prompt 1 details...
Prompt 2
{{section}}
Prompt 2 details...
This is very useful because I have a central place where I can update all the prompts that use the same section at once, reducing duplication and risk of mistakes (for example I forgot to update the section in one of the prompts that use it).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Describe the feature or potential improvement
I have a lot of use cases where prompt sections must be reused in different prompts. At the moment I just created a prompt for each "section", fetch it first, and pass it as a variable to my prompt.
I'll make an example with two prompts for clarification:
Sub-prompt
My prompt section
Prompt 1
{{section}}
Prompt 1 details...
Prompt 2
{{section}}
Prompt 2 details...
This is very useful because I have a central place where I can update all the prompts that use the same section at once, reducing duplication and risk of mistakes (for example I forgot to update the section in one of the prompts that use it).
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions