There are two configurations OpenAIConfig and AzureConfig to be used in Client::with_config( config )
Client::new() defaults to client with default OpenAIConfig with type change to Client<OpenAIConfig>
Breaking change
api_base, org_id, api_key are no longer configured through Client instead platform specific configurations are done through OpenAIConfig or AzureConfig
New Examples
Added new example azure-openai-service
New Contributors
@deipkumar made their first contribution and made Azure support possible in #67 🎉
@Czechh provided valuable feedback for Azure support in #67 🎉
Commits
f7ba6e3 chore: Release async-openai version 0.11.0
e0b1543 feat: Support for Microsoft azure endpoints (#67)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on async-openai to permit the latest version.
Release notes
Sourced from async-openai's releases.
Commits
f7ba6e3
chore: Release async-openai version 0.11.0e0b1543
feat: Support for Microsoft azure endpoints (#67)77c0b97
Updated schema to v1.3.0 (#73)fca9407
codex models deprecated: remove codex example (#70)f6b04b5
chore: Release async-openai version 0.10.379f2154
Implement Serialize for all response types (#66)4e2615f
chore: Release async-openai version 0.10.28b81372
Derive PartialEq for all types; Log all deserialization errors (#64)c27e964
feat(types.rs): implement PartialEq for Role (#63)554cfde
chore: Release async-openai version 0.10.1Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)