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

Quote tool names #11463

Closed
wants to merge 4 commits into from
Closed

Quote tool names #11463

wants to merge 4 commits into from

Conversation

Atry
Copy link
Contributor

@Atry Atry commented Oct 6, 2023

The original prompt template is ambiguous because it does not tell whether the tool names should be quoted or not. This PR makes it clear that the tool names should be quoted. It fixes #1358 for Nous-Hermes-Llama2-13b according to my tests.

@vercel
Copy link

vercel bot commented Oct 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Oct 12, 2023 5:23pm

@dosubot dosubot bot added Ɑ: agent Related to agents module 🤖:improvement Medium size change to existing code to handle new use-cases labels Oct 6, 2023
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm this might be a bit problematic because it changes a good amount of prompts (which we're hesitant to do to an extent because it could have unanticipated effects)

@Atry
Copy link
Contributor Author

Atry commented Oct 10, 2023

Most open source LLMs does not work without this PR. How worse it could be if we merge this PR?

@hwchase17 hwchase17 closed this Jan 30, 2024
@baskaryan baskaryan reopened this Jan 30, 2024
@baskaryan
Copy link
Collaborator

Apologies for the slow review! Pr has some merge conflicts, happy to re-review if you'd like to resolve

@ccurme ccurme added the langchain Related to the langchain package label Jun 21, 2024
@hwchase17
Copy link
Contributor

closing due to inactivity and merge conflicts

@hwchase17 hwchase17 closed this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: agent Related to agents module 🤖:improvement Medium size change to existing code to handle new use-cases langchain Related to the langchain package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ValueError: Could not parse LLM output:
4 participants