Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output parsing variation allowance #5178

Merged
merged 3 commits into from
May 24, 2023
Merged

Conversation

dibrale
Copy link
Contributor

@dibrale dibrale commented May 24, 2023

Output parsing variation allowance for self-ask with search

This change makes self-ask with search easier for Llama models to follow, as they tend toward returning 'Followup:' instead of 'Follow up:' despite an otherwise valid remaining output.

Who can review?

Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

@vowelparrot

Thank you for considering this small change!

dibrale and others added 3 commits May 24, 2023 02:48
This change makes self-ask with search much easier to follow for Llama models.
@dev2049
Copy link
Contributor

dev2049 commented May 24, 2023

thanks @dibrale!

@dev2049 dev2049 merged commit d8eed60 into langchain-ai:master May 24, 2023
@dibrale dibrale deleted the patch-1 branch May 24, 2023 20:01
@danielchalef danielchalef mentioned this pull request Jun 5, 2023
Undertone0809 pushed a commit to Undertone0809/langchain that referenced this pull request Jun 19, 2023
# Output parsing variation allowance for self-ask with search

This change makes self-ask with search easier for Llama models to
follow, as they tend toward returning 'Followup:' instead of 'Follow
up:' despite an otherwise valid remaining output.


Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
This was referenced Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants