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

standard-tests[minor]: Improve prompting to force model to call tool #6004

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

bracesproul
Copy link
Member

@bracesproul bracesproul commented Jul 8, 2024

Context: groq sometimes fails with this error:

Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.

This new prompting fixes that

Copy link

vercel bot commented Jul 8, 2024

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

Name Status Preview Comments Updated (UTC)
langchainjs-api-refs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 9:59pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 9:59pm

@bracesproul bracesproul marked this pull request as ready for review July 8, 2024 21:50
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. auto:improvement Medium size change to existing code to handle new use-cases labels Jul 8, 2024
@bracesproul bracesproul merged commit e6616a5 into main Jul 8, 2024
30 checks passed
@bracesproul bracesproul deleted the brace/better-prompt-standard-tests branch July 8, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:improvement Medium size change to existing code to handle new use-cases size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant