docs
docs copied to clipboard
Bump the dotnet group across 1 directory with 2 updates
Bumps the dotnet group with 2 updates in the /docs/ai/how-to/snippets/content-filtering directory: Azure.AI.OpenAI and Azure.Core.
Updates Azure.AI.OpenAI from 1.0.0-beta.17 to 2.0.0
Release notes
Sourced from Azure.AI.OpenAI's releases.
Azure.AI.OpenAI_2.0.0
2.0.0 (2024-09-30)
This update marks the first stable library version for
Azure.AI.OpenAI. It snaps its dependency toOpenAI's matched2.0.0stable version and targets the latest Azure OpenAI Service stableapi-versionlabel of2024-06-01. As a GA label, the2.0.0stable version exposes a subset of preview features, with preview library labels continuing to support preview features.Specifically included in the GA library release:
AudioClient, supporting transcription and translation using thewhispermodelChatClient, supporting chat completions, including Azure-specific features:
- Embedded request and response content filter annotations
- Azure Search and Cosmos DB data sources for Azure OpenAI On Your Data
EmbeddingClient, supportingtext-embeddingmodel embedding operationsImageClient, supportingdall-e-3image generationAssistants, Audio Generation, Batch, Files, Fine-Tuning, and Vector Stores are not yet included in the GA surface; they will continue to be available in preview library releases and the originating Azure OpenAI Service
api-versionlabels.Breaking Changes
AzureOpenAIClientconstructors acceptingAzureKeyCredentialhave been removed; please use theApiKeyCredentialconstructors, instead. Note thatAzureKeyCredentialwill inherit fromApiKeyCredentialin a future update and thatAzureKeyCredentialhas a non-browsable Key property that may be used for conversion in the interim.- The
AzureOpenAIClientOptionsApplicationIdhas been renamed to a more descriptiveUserAgentApplicationId.From OpenAI 2.0.0 stable
- Implemented
ChatMessageContentto encapsulate the representation of content parts inChatMessage,ChatCompletion, andStreamingChatCompletionUpdate. (commit_hash)- Changed the representation of function arguments to
BinaryDatainChatToolCall,StreamingChatToolCallUpdate,ChatFunctionCall, andStreamingChatFunctionCallUpdate. (commit_hash)- Renamed
OpenAIClientOptions'sApplicationIdtoUserAgentApplicationId(commit_hash)- Renamed
StreamingChatToolCallUpdate'sIdtoToolCallId(commit_hash)- Renamed
StreamingChatCompletionUpdate'sIdtoCompletionId(commit_hash)- Replaced
AutoandNonein the deprecatedChatFunctionChoicewithCreateAutoChoice()andCreateNoneChoice()(commit_hash)- Replaced the deprecated
ChatFunctionChoice(ChatFunction)constructor withCreateNamedChoice(string functionName)(commit_hash)- Renamed
FileClienttoOpenAIFileClientand the correspondingGetFileClient()method inOpenAIClienttoGetOpenAIFileClient(). (commit_hash)- Renamed
ModelClienttoOpenAIModelClientand the correspondingGetModelClient()method inOpenAIClienttoGetOpenAIModelClient(). (commit_hash)Azure.AI.OpenAI_2.0.0-beta.6
2.0.0-beta.6 (2024-09-23)
This version increments library compatibility to
OpenAI 2.0.0-beta.12, including support foro1models with reasoning tokens and a number of breaking changes to method names.Features Added
- The library now includes support for the new OpenAI o1 model family. (2ab1a94)
ChatCompletionOptionswill automatically apply itsMaxOutputTokenCountvalue (renamed fromMaxTokens) to the newmax_completion_tokensrequest body propertyUsageincludes a newOutputTokenDetailsproperty with aReasoningTokenCountvalue that will reflecto1model use of this new subcategory of output tokens.- Note that
OutputTokenCount(completion_tokens) is the sum of displayed tokens generated by the model and (when applicable) these new reasoning tokens- Assistants file search now includes support for
RankingOptions. (2ab1a94)
- Use of the
include[]query string parameter and retrieval of run step detail result content is currently only available via protocol methods- Added support for the Uploads API in
FileClient. ThisExperimentalfeature allows uploading large files in multiple parts. (2ab1a94)
- The feature is supported by the
CreateUpload,AddUploadPart,CompleteUpload, andCancelUploadprotocol methods.Breaking Changes
... (truncated)
Commits
c5bc53aAzure OpenAI: 2.0.0 stable release (#46378)448d80dUpdate System.Memory.Data (#46134)34c4cb5initial commit (#46375)f45a34eIncrement package version after release of Microsoft.Azure.WebJobs.Extensions...021368b[BUG] GetProcessorCount for webjobs service bus extension does not override p...748cfb5Implement azure maps weather (#45895)6ca06ccUpdate TimeZone changelog to unreleased (#46367)978253aIncrement package version after release of Azure.Maps.Search (#46363)4eb9981Update release notes (#46362)d8f2293Enable-WriteCore-feature-for-support (#46297)- Additional commits viewable in compare view
Updates Azure.Core from 1.43.0 to 1.44.1
Release notes
Sourced from Azure.Core's releases.
Azure.Core_1.44.1
1.44.1 (2024-10-09)
Other Changes
- Upgraded
System.Text.Jsonpackage dependency to 6.0.10 for security fix (#46134).Azure.Core_1.44.0
1.44.0 (2024-10-03)
Features Added
TokenRequestContextadded theIsProofOfPossessionEnabled,ResourceRequestMethod, andResourceRequestUriproperties to support Proof of Possession tokens (45134).AccessTokenadded theTokenTypeproperty to support distinguishing Bearer tokens from Proof of Possession (PoP) tokens (45134).- Moved implementation of
Azure.AzureKeyCredentialintoSystem.ClientModel.ApiKeyCredentialand madeApiKeyCredentialthe base type forAzureKeyCredential(#46128).BearerTokenAuthenticationPolicynow will attempt to handle Continuous Access Evaluation (CAE) challenges, if present, by default (#46277).Other Changes
- Upgraded
System.Memory.Datapackage dependency to 6.0.0 (#46134).
Commits
b3ee3ebRemove heaths as codeowner and add myself (#46488)a59a648Prep for release (#46512)dc0f1c6TransferManager tests (#46449)cc82fce[Storage][DataMovement] Fix perf test cleanup + other minor fixes (#46486)a2665e9Update Maps codeowners (#46494)d891541Update version of System.Text.Json (#46508)3f46696Sync eng/common directory with azure-sdk-tools for PR 9106 (#46482)6b8988cUse equality function check for persist oidc token step (#46485)31c0f37[EngSys] Update central Service Bus version (#46483)7c8f16d[Event Hubs] Convert tests to use identity auth (#46330)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions