create_tagging_chain with examples or few shots #16999
miguelmedinaperez
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
I've modified the
create_tagging_chain
function to accept examples within the schema, as this enhancement significantly improves tagging accuracy. I propose incorporating this modification into LangChain. However, I'm open to alternative solutions if there's a way to achieve comparable results with the function's current implementation.Motivation
In many cases, the accuracy of
create_tagging_chain
improves when including examples of the type input -> output; however, I have not found an easy way to do so with the current implementation ofcreate_tagging_chain
.Proposal (If applicable)
This is my current proposal, which essentially allows for the direct inclusion of examples in the schema that will be passed to
create_tagging_chain
.Beta Was this translation helpful? Give feedback.
All reactions