-
Notifications
You must be signed in to change notification settings - Fork 162
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
update function calling api to tools api #404
base: main
Are you sure you want to change the base?
Conversation
@nilspalumbo @pchalasani the pytest has been running for almost 6 hrs, I think it should be cancelled |
@@ -29,7 +29,7 @@ class AzureConfig(OpenAIGPTConfig): | |||
|
|||
api_key: str = "" # CAUTION: set this ONLY via env var AZURE_OPENAI_API_KEY | |||
type: str = "azure" | |||
api_version: str = "2023-05-15" | |||
api_version: str = "2024-02-15-preview" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good to update here, can be overwritten via the AZURE_OPENAI_API_VERSION
in the .env
@nilspalumbo shouldn't docstring be added/updated to clarify the purpose of the mods involved |
@nilspalumbo looking at the gh actions, I think this made |
Oof, I hope OpenAI rate limited this one 😬 Though, when I look at it, |
@nilspalumbo
|
Whoops, that makes sense, I'll update the test to be in terms of the new forcing format. |
e94adc1
to
88e54a1
Compare
Resolves #293; updates default Azure API version to latest, which supports tools.