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

aws[minor]: Implement WSO with tool_choice #6443

Merged
merged 7 commits into from
Aug 7, 2024
Merged

aws[minor]: Implement WSO with tool_choice #6443

merged 7 commits into from
Aug 7, 2024

Conversation

bracesproul
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Aug 7, 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 Aug 7, 2024 8:49pm
langchainjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2024 8:49pm

}

const llm = this.bindTools(tools, {
tool_choice: tools[0].function.name,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@jacoblee93 jacoblee93 Aug 7, 2024

Choose a reason for hiding this comment

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

Should probably only do for Anthropic models?

Should we additionally add a check for non-Anthropic models in bindTools? Or is it widely supported?

@bracesproul bracesproul marked this pull request as ready for review August 7, 2024 19:47
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. auto:improvement Medium size change to existing code to handle new use-cases labels Aug 7, 2024
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:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants