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

FEATURE: allows forced LLM tool use #818

Merged
merged 4 commits into from
Oct 4, 2024
Merged

FEATURE: allows forced LLM tool use #818

merged 4 commits into from
Oct 4, 2024

Conversation

SamSaffron
Copy link
Member

@SamSaffron SamSaffron commented Oct 2, 2024

Sometimes we need to force LLMs to use tools, for example in RAG
like use cases we may want to force an unconditional search.

The new framework allows you backend to force tool usage.

This implements both front and and back end support.

Initial support is only written for OpenAI models, however follow up commits will backfill support to other providers.

Sometimes we need to force LLMs to use tools, for example in RAG
like use cases we may want to force an unconditional search.

The new framework allows you backend to force tool usage.

Front end commit to follow
@SamSaffron SamSaffron marked this pull request as ready for review October 4, 2024 04:41
@SamSaffron SamSaffron merged commit 545500b into main Oct 4, 2024
5 checks passed
@SamSaffron SamSaffron deleted the force-tool branch October 4, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants