Allow prompts to refer to other prompts in Langsmith Hub #7649
nikhilshinday
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
+1 would be very useful. |
Beta Was this translation helpful? Give feedback.
1 reply
-
+1 |
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.
-
Checked
Feature request
Mustache syntax permits you to refer to additional templates using the
>
partial operator, as in{{> another-template}}
which refers toanother-template.mustache
in your filesystem.A similar system could be used to include references to other prompts in langchain; ex: I have a ChatPromptTemplate that refers to a TextTemplate with
{{lc> another-template}}
Motivation
Two benefits of this approach.
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions