How to use FewShotPromptTemplate and ExampleSelector using ChatPromptTemplates? #4419
Unanswered
LoriTosoChef
asked this question in
Q&A
Replies: 0 comments
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.
-
How can you build a pipeline that uses an ExampleSelector and FewShotPromptTemplate with a ChatPromptTemplate.
For example given a code snippet like this:
How can you incorporate few shot examples with an example selector? Is it possible out of the box? If not, what can be a nice workaround? Custom string manipulation for the system prompt?
Beta Was this translation helpful? Give feedback.
All reactions