Allow prompts to refer to other prompts in Langsmith Hub #7649
nikhilshinday
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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