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

Improving Function Calling Agent #956

Merged
merged 2 commits into from
Apr 13, 2024

Conversation

elisalimli
Copy link
Contributor

Summary

This PR updates function calling agent's prompt.

New prompt forces LLM to call only avaliable functions and not answering other questions. This will reduce extra costs, and improve speed. As well, now we are passing the context if any functions are called.

Copy link

render bot commented Apr 12, 2024

Copy link

vercel bot commented Apr 12, 2024

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

Name Status Preview Comments Updated (UTC)
superagent-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2024 11:15am

@elisalimli elisalimli changed the base branch from main to feat/aws-bedrock-support April 12, 2024 10:53
@elisalimli elisalimli self-assigned this Apr 12, 2024
@elisalimli elisalimli requested a review from homanp April 12, 2024 10:53
@homanp homanp merged commit b4622cf into feat/aws-bedrock-support Apr 13, 2024
8 checks passed
@elisalimli elisalimli deleted the fix/function-calling-agent branch April 13, 2024 17:01
@elisalimli elisalimli restored the fix/function-calling-agent branch April 15, 2024 11:49
@elisalimli elisalimli mentioned this pull request Apr 15, 2024
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