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

Anthropic Client #2931

Merged
merged 32 commits into from
Jun 19, 2024
Merged

Anthropic Client #2931

merged 32 commits into from
Jun 19, 2024

Conversation

Hk669
Copy link
Collaborator

@Hk669 Hk669 commented Jun 12, 2024

Why are these changes needed?

This is the anthropic client, which enables the developers to use the anthropic API with autogen agents. similar to the other model clients available.

This client supports text generation and function/tool calling. Additionally, added the costs ANTHROPIC_PRICING_1k associated with each model's API costs. i think this is much more easier and efficient for us to produce the cost.

the latest announcement of anthropic supports the tool use with API release, so deprecated the beta imports of the anthropic in all parts and added new type checks available

Related issue number

Checks

@Hk669
Copy link
Collaborator Author

Hk669 commented Jun 19, 2024

Had a minor comment! Looks good to me otherwise! Great job!

thank you.

@qingyun-wu qingyun-wu added this pull request to the merge queue Jun 19, 2024
Merged via the queue into main with commit 32fa709 Jun 19, 2024
95 of 109 checks passed
@qingyun-wu qingyun-wu deleted the anthropic_client branch June 19, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alt-models Pertains to using alternate, non-GPT, models (e.g., local models, llama, etc.) function/tool suggestion and execution of function/tool call
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants