-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
add AzureAIInference client , wrapper and test #3301
Conversation
@microsoft-github-policy-service agree company="Tonic-AI" |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3301 +/- ##
===========================================
- Coverage 32.90% 20.44% -12.47%
===========================================
Files 94 104 +10
Lines 10235 11005 +770
Branches 2193 2501 +308
===========================================
- Hits 3368 2250 -1118
- Misses 6580 8508 +1928
+ Partials 287 247 -40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@Josephrp Does github LLM support function call |
so it's actually an azure endpoint with several models, and some of these can return a JSON , but it's not capable of running commands because it doesnt have a code execution environment (my understanding) |
Got it, so can I inference the github model using existing configuration but replace the endpoint and token with gh model endpoint and token? |
normally yes , btw i 'm starting again on this item , now + these days if you would like to work togerther there are some models with special cases , and linking the class to the message classes ... :-) fun ! 🚀 |
moved to here : #3559 |
Why are these changes needed?
This PR introduces a new GithubLLM class to autogen, allowing users to leverage GitHub's inference endpoint with automatic fallback to Azure. It provides a seamless way to use GitHub's LLM capabilities within the autogen ecosystem, handling rate limits and ensuring high availability through Azure fallback.
Related Issues
Closes #3300
Checks
Tasks
Tests
Refs