forked from barnstee/UA-CloudPublisher
-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update azure azure-sdk-for-net monorepo #14
Open
renovate
wants to merge
1
commit into
develop
Choose a base branch
from
renovate/azure-azure-sdk-for-net-monorepo
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
8 times, most recently
from
April 12, 2024 12:26
75965bf
to
7241e62
Compare
renovate
bot
changed the title
chore(deps): update azure azure-sdk-for-net monorepo
chore(deps): update dependency azure.ai.openai to v1.0.0-beta.16
Apr 12, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
3 times, most recently
from
April 16, 2024 23:24
e039329
to
695e1e7
Compare
renovate
bot
changed the title
chore(deps): update dependency azure.ai.openai to v1.0.0-beta.16
chore(deps): update azure azure-sdk-for-net monorepo
Apr 16, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
April 19, 2024 21:12
695e1e7
to
5814560
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
May 4, 2024 00:15
5814560
to
41aa77f
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
May 6, 2024 17:02
41aa77f
to
9ae0206
Compare
renovate
bot
changed the title
chore(deps): update azure azure-sdk-for-net monorepo
chore(deps): update dependency azure.ai.openai to v1.0.0-beta.17
May 6, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
3 times, most recently
from
May 7, 2024 19:13
d6f0d36
to
58b23a5
Compare
renovate
bot
changed the title
chore(deps): update dependency azure.ai.openai to v1.0.0-beta.17
chore(deps): update azure azure-sdk-for-net monorepo
May 7, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
2 times, most recently
from
May 14, 2024 00:52
b8f96f8
to
11a2b9e
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
May 22, 2024 08:05
11a2b9e
to
2dda217
Compare
renovate
bot
changed the title
chore(deps): update azure azure-sdk-for-net monorepo
chore(deps): update dependency azure.ai.openai to v1.0.0-beta.17
Jun 24, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
2 times, most recently
from
July 1, 2024 09:24
d6e5661
to
a449a63
Compare
GoetzGoerisch
force-pushed
the
develop
branch
2 times, most recently
from
July 5, 2024 13:29
5d64fd8
to
74a4f1b
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
July 5, 2024 13:35
a449a63
to
cae52e3
Compare
GoetzGoerisch
pushed a commit
that referenced
this pull request
Jul 12, 2024
fix(deps): bump dependencies
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
2 times, most recently
from
July 16, 2024 19:45
9707b3c
to
2bb5cfa
Compare
renovate
bot
changed the title
chore(deps): update dependency azure.ai.openai to v1.0.0-beta.17
chore(deps): update azure azure-sdk-for-net monorepo
Jul 16, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
July 25, 2024 17:19
2bb5cfa
to
b7f1fa9
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
August 9, 2024 01:01
b7f1fa9
to
c03fa17
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
August 29, 2024 09:03
c03fa17
to
c712100
Compare
renovate
bot
changed the title
chore(deps): update azure azure-sdk-for-net monorepo
chore(deps): update dependency azure.ai.openai to 1.0.0-beta.17
Aug 29, 2024
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
August 29, 2024 09:12
c712100
to
3032d25
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
August 30, 2024 13:42
3032d25
to
deb342e
Compare
GoetzGoerisch
force-pushed
the
develop
branch
from
September 2, 2024 13:48
045b51d
to
3de6a7d
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
September 2, 2024 16:47
deb342e
to
8f22633
Compare
GoetzGoerisch
force-pushed
the
develop
branch
from
September 3, 2024 08:40
3de6a7d
to
f64289e
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
September 3, 2024 08:42
8f22633
to
85e0093
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
September 19, 2024 04:06
85e0093
to
58f480c
Compare
renovate
bot
changed the title
chore(deps): update dependency azure.ai.openai to 1.0.0-beta.17
chore(deps): update azure azure-sdk-for-net monorepo
Sep 19, 2024
GoetzGoerisch
force-pushed
the
develop
branch
from
September 20, 2024 12:07
f64289e
to
4f72173
Compare
renovate
bot
force-pushed
the
renovate/azure-azure-sdk-for-net-monorepo
branch
from
September 20, 2024 12:07
58f480c
to
32d89f5
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.0-beta.5
->1.0.0-beta.17
12.21.2
->12.22.0
12.19.1
->12.20.0
Release Notes
Azure/azure-sdk-for-net (Azure.AI.OpenAI)
v1.0.0-beta.17
Compare Source
1.0.0-beta.17 (2024-05-03)
Features Added
gpt-4-turbo
chat completions now works with image data in addition to internet URLs.Images may be now be used as
gpt-4-turbo
message content items via one of three constructors:ChatMessageImageContent(Uri)
-- the existing constructor, used for URL-based image referencesChatMessageImageContent(Stream,string)
-- (new) used with a stream and known MIME type (likeimage/png
)ChatMessageImageContent(BinaryData,string)
-- (new) used with a BinaryData instance and known MIME typePlease see the readme example for more details.
Breaking Changes
ChatMessageImageUrl
type is removed to promote more flexible use of data sources inChatMessageImageContent
. Code that previously created aChatMessageImageUrl
using aUri
should simply providethe
Uri
to theChatMessageImageContent
constructor directly.v1.0.0-beta.16
Compare Source
1.0.0-beta.16 (2024-04-11)
Features Added
Audio
GetAudioTranscription()
now supports word-level timestamp granularities viaAudioTranscriptionOptions
:Verbose
option forResponseFormat
must be used for any timing information to be populatedTimestampGranularityFlags
accepts a combination of the.Word
and.Segment
granularity values inAudioTimestampGranularity
, joined when needed via the single-pipe|
operatorTimestampGranularityFlags = AudioTimestampGranularity.Word | AudioTimestampGranularity.Segment
will request that both word-level and segment-level timestamps are provided on the transcription result
Verbose
format will default to using segment-level timestamp information.Words
collection ofAudioTranscription
, peer to theexisting
.Segments
collectiontimestamps do not encounter this behavior
GenerateSpeechFromText()
can now useWav
andPcm
values fromSpeechGenerationResponseFormat
, these newoptions providing alternative uncompressed formats to
Flac
Chat
ChatCompletions
andStreamingChatCompletionsUpdate
now include the reportedModel
value from the responseStreamingChatCompletionsUpdate
whenlogprobs
are requested onGetChatCompletionsStreaming()
ContentFilterDetailedResults
typeIndirectAttack
content filter entry is now present on content filter results for promptsBreaking Changes
AzureChatExtensionMessageContext
'sRequestContentFilterResults
now uses the newContentFilterDetailedResults
type, changed from the previousIReadOnlyList<ContentFilterBlockListIdResult>
. Theprevious list is now present on
CustomBlockLists.Details
, supplemented with a newCustomBlockLists.Filtered
property.
Bugs Fixed
StreamingChatCompletionUpdates
from Azure OpenAI to inappropriately excludetop-level information like
Id
andCreatedAt
has been addressedv1.0.0-beta.15
Compare Source
1.0.0-beta.15 (2024-03-20)
This release targets the latest
2024-03-01-preview
service API label and brings support for theDimensions
property when using new embedding models.Features Added
EmbeddingsOptions
now includes theDimensions
property, new to Azure OpenAI's2024-03-01-preview
service API.Bugs Fixed
ImageGenerations
response object being treated as writeable are fixed:ImageGenerations
no longer has an erroneous public constructorImageGenerations.Created
no longer has a public setterImageGenerations.Data
is now anIReadOnlyList
instead of anIList
AzureOpenAIModelFactory
v1.0.0-beta.14
Compare Source
1.0.0-beta.14 (2023-08-09)
Breaking Changes
client.address
tag key onactivity instead of
http.client_ip
.(#37707)
ServiceVersion.V2020_09_15_Preview
. This is no longer in use andthe exporter has already defaulted to the latest
ServiceVersion.v2_1
.(#37996)
(#37996)
Bugs Fixed
(#37807)
Other Changes
(#37837)
v1.0.0-beta.13
Compare Source
1.0.0-beta.13 (2023-07-13)
Features Added
ApplicationInsightsSampler
to the exporter, enabling users to customize the sampling rate using theSamplingRatio
property.(#36972)
Other Changes
For more information see Semantic conventions for HTTP spans.
(#37464)
(#37357)
(#36859)
(#36968)
v1.0.0-beta.12
Compare Source
1.0.0-beta.12 (2023-12-15)
Like beta.11, beta.12 is another release that brings further refinements and fixes. It remains based on the
2023-12-01-preview
service API version for Azure OpenAI and does not add any new service capabilities.Features Added
Updates for using streaming tool calls:
StreamingToolCallUpdate
type has been added to better represent streaming tool call updateswhen using chat tools.
ToolCallIndex
property, reflectingindex
in the REST schema, to allowresilient deserialization of parallel function tool calling.
ChatRequestAssistantMessage
that can automatically populate from a priorChatResponseMessage
when using non-streaming chat completions.ChatCompletionsFunctionToolCall
to allow more intuitive reconstruction ofChatCompletionsToolCall
instances for use inChatRequestAssistantMessage
instances made from streaming responses.Other additions:
ChatRequestUserMessage
now provides a publicContent
property (string
) as well as a publicMultimodalContentItems
property (IList<ChatMessageContentItem
).Content
is the conventional plain-text content and will be populated as non-null when the aChatRequestUserMessage()
constructor accepting a string is used to instantiate the message.MultimodalContentItems
is the new compound content type, currently only usable withgpt-4-vision-preview
, that allows hybrid use of text and image references. It will be populated when an appropriateChatRequestUserMessage()
constructor accepting a collection ofChatMessageContentItem
instances is used.Role
is also restored to common visibility toChatRequestUserMessage
.Breaking Changes
ToolCallUpdate
onStreamingChatCompletionsUpdate
has been changed from the non-streamingChatCompletionsToolCall
to the newStreamingToolCallUpdate
type. The conversion is straightforward:ToolCallUpdate.Id
remains unchanged.ToolCallUpdate
toChatCompletionsFunctionToolCall
, cast it toStreamingToolCallUpdate
.functionToolCallUpdate.Arguments
to accumulatefunctionToolCallUpdate.ArgumentsUpdate
.ChatCompletionsOptions
class that only received the messages as a parameter in favor of the parameterized constructor that receives the deployment name as well. This makes it consistent with the implementation of other Options classes.Input
property of theEmbeddingsOptions
class as per the guidelines for collection properties.Bugs fixed
v1.0.0-beta.11
Compare Source
1.0.0-beta.11 (2023-12-07)
This is a fast-following bug fix update to address some of the biggest issues reported by the community. Thank you
sharing your experiences!
Breaking Changes
ChatCompletionsOptions.ToolChoice
has been updated fromBinaryData
to a newChatCompletionsToolChoice
type. Please useChatCompletionsToolChoice.None
,ChatCompletionsToolChoice.Auto
, or provide a reference to a function or function tool definition to migrate.Bugs Fixed
ChatCompletionsOptions.ResponseFormat
now serializes correctly and will not result in "not of type 'object" errorsChatCompletionsOptions.FunctionCall
is fixed to again work withFunctionDefinition.None
andFunctionDefinition.Auto
instead of resulting in not finding a named "none" or "auto" functionChatCompletionsOptions.ToolChoice
previously defaulted to aBinaryData
type and has now been corrected to use a customChatCompletionsToolChoice
type that parallelsFunctionDefinition
for older function calling.v1.0.0-beta.10
Compare Source
1.0.0-beta.10 (2023-12-06)
Following OpenAI's November Dev Day and Microsoft's 2023 Ignite conference, this update brings a slew of new
features and changes to the SDK.
Features Added
-1106
model feature support forgpt-35-turbo
andgpt-4-turbo
, including use ofseed
,system_fingerprint
,parallel function calling via tools, "JSON mode" for guaranteed function outputs, and more
dall-e-3
image generation capabilities viaGetImageGenerations
, featuring higher model quality, automatic promptrevisions by
gpt-4
, and customizable quality/style settingsmechanisms
gpt-4-vision-preview
, which allows the hybrid use of text and images as input to enable scenarioslike "describe this image for me"
gpt-4-vision-preview
results that include grounding and OCR featuresBreaking Changes
ChatMessage
changes:ChatMessage
type has been replaced byChatRequestMessage
andChatResponseMessage
, the former ofwhich is an abstract, polymorphic type with concrete derivations like
ChatRequestSystemMessage
andChatRequestUserMessage
. This requires conversion from oldChatMessages
into the new types. While this isusually a straightforward string replacement, converting a response message into a request message (e.g. when
propagating an assistant response to continue the conversation) will require creating a new instance of the
appropriate request message with the response message's data. See the examples for details.
Dall-e-3:
dall-e-3
model deployments for its image generation API and such a valid deployment mustbe provided into the options for the
GetImageGenerations
method to receive results.Other changes
GetAudioTranscription()
andGetAudioTranslation()
now allow specification of an optionalFilename
in addition to the binary audio data. This is used purely as an identifier and does not functionally alter the transcription/translation behavior in any way.v1.0.0-beta.9
Compare Source
1.0.0-beta.9 (2023-11-06)
Breaking Changes
This update includes a number of version-to-version breaking changes to the API.
Streaming for completions and chat completions
Streaming Completions and Streaming Chat Completions have been significantly updated to use simpler, shallower usage
patterns and data representations. The goal of these changes is to make streaming much easier to consume in common
cases while still retaining full functionality in more complex ones (e.g. with multiple choices requested).
StreamingResponse<T>
type is introduced that implicitly exposes anIAsyncEnumerable<T>
derived fromthe underlying response.
OpenAI.GetCompletionsStreaming()
now returns aStreamingResponse<Completions>
that may be directlyenumerated over.
StreamingCompletions
,StreamingChoice
, and the corresponding methods are removed.StreamingChatCompletionsUpdate
type is introduced that encapsulates this update data.OpenAI.GetChatCompletionsStreaming()
now returns aStreamingResponse<StreamingChatCompletionsUpdate>
that may be enumerated over directly.StreamingChatCompletions
,StreamingChatChoice
, and related methods are removed.the related pull request description as well as the
updated snippets in the project README.
deploymentOrModelName
moved to*Options.DeploymentName
deploymentOrModelName
and related method parameters onOpenAIClient
have been moved toDeploymentName
properties in the corresponding method options. This is intended to promote consistency across scenario,
language, and Azure/non-Azure OpenAI use.
As an example, the following:
...is now re-written as:
Consistency in complex method options type constructors
With the migration of
DeploymentName
into method complex options types, these options types have now been snapped tofollow a common pattern: each complex options type will feature a default constructor that allows
init
-style settingof properties as well as a single additional constructor that accepts all required parameters for the corresponding
method. Existing constructors that no longer meet that "all" requirement, including those impacted by the addition of
DeploymentName
, have been removed. The "convenience" constructors that represented required parameter datadifferently -- for example,
EmbeddingsOptions(string)
, have also been removed in favor of the consistent "set ofdirectly provide" choice.
More exhaustively, removed are:
AudioTranscriptionOptions(BinaryData)
AudioTranslationOptions(BinaryData)
ChatCompletionsOptions(IEnumerable<ChatMessage>)
CompletionsOptions(IEnumerable<string>)
EmbeddingsOptions(string)
EmbeddingsOptions(IEnumerable<string>)
And added as replacements are:
AudioTranscriptionOptions(string, BinaryData)
AudioTranslationOptions(string, BinaryData)
ChatCompletionsOptions(string, IEnumerable<ChatMessage>)
CompletionsOptions(string, IEnumerable<string>)
EmbeddingsOptions(string, IEnumerable<string>)
Embeddings now represented as
ReadOnlyMemory<float>
Changed the representation of embeddings (specifically, the type of the
Embedding
property of theEmbeddingItem
class)from
IReadOnlyList<float>
toReadOnlyMemory<float>
as part of a broader effort to establish consistency across the.NET ecosystem.
SearchKey
andEmbeddingKey
properties replaced bySetSearchKey
andSetEmbeddingKey
methodsReplaced the
SearchKey
andEmbeddingKey
properties of theAzureCognitiveSearchChatExtensionConfiguration
class withnew
SetSearchKey
andSetEmbeddingKey
methods respectively. These methods simplify the configuration of the Azure CognitiveSearch chat extension by receiving a plain string instead of an
AzureKeyCredential
, promote more sensible key and secretmanagement, and align with the Azure SDK guidelines.
v1.0.0-beta.8
Compare Source
1.0.0-beta.8 (2023-09-21)
Features Added
reference or the Azure OpenAI
quickstart for detailed overview and
background information.
GetAudioTranscription
andGetAudioTranscription
expose these capabilities onOpenAIClient
with any optional associated metadata
optional associated metadata
api.openai.com
client configurationsBreaking Changes
PromptFilterResults
(forCompletions
andChatCompletions
) has had its responsebody key changed from
prompt_annotations
toprompt_filter_results
Azure.AI.OpenAI
library may no longer populatePromptFilterResults
as expected and it'shighly recommended to upgrade to this version if the use of Azure OpenAI content moderation annotations for input data
is desired
Response<T>.GetRawResponse()
and manuallyextract the
prompt_filter_results
object from the top level of theCompletions
orChatCompletions
responseContent
payload
Bugs Fixed
PromptFilterResults
was added and this library version will now againdeserialize
PromptFilterResults
appropriatelyPromptFilterResults
andContentFilterResults
are now exposed on the result classes for streaming Completions andChat Completions.
Streaming(Chat)Completions.PromptFilterResults
will report an index-sorted list of all promptannotations received so far while
Streaming(Chat)Choice.ContentFilterResults
will reflect the latest-receivedcontent annotations that were populated and received while streaming
v1.0.0-beta.7
Compare Source
1.0.0-beta.7 (2023-08-25)
Features Added
AzureChatExtensionsOptions
property onChatCompletionsOptions
. When anAzureChatExtensionsOptions
is provided, configured requests will only work with clients configured to use the Azure OpenAI service, as the capabilities are unique to that service target.AzureChatExtensionsOptions
then hasAzureChatExtensionConfiguration
instances added to itsExtensions
property, with these instances representing the supplementary information needed for Azure OpenAI to use desired data sources to supplement chat completions behavior.ChatChoice
instances on aChatCompletions
response value that used chat extensions will then also have theirMessage
property supplemented by anAzureChatExtensionMessageContext
instance. This context contains a collection of supplementaryMessages
that describe the behavior of extensions that were used and supplementary response data, such as citations, provided along with the response.v1.0.0-beta.6
Compare Source
1.0.0-beta.6 (2023-07-19)
Features Added
OpenAIClient
gains a newGetImageGenerations
method that accepts anImageGenerationOptions
and produces anImageGenerations
via its response. This response object encapsulates the temporary storage location of generated images for future retrieval.FunctionDefinition
objects may be populated onChatCompletionsOptions
via itsFunctions
property. These definitions include a name and description together with a serialized JSON Schema representation of its parameters; these parameters can be generated easily viaBinaryData.FromObjectAsJson
with dynamic objects -- see the README for example usage.-0613
model versions forgpt-4
andgpt-3.5-turbo
/gpt-35-turbo
. Please ensure you're using these later model versions, as Functions are not supported with older model revisions. For Azure OpenAI, you can update a deployment's model version or create a new model deployment with an updated version via the Azure AI Studio interface, also accessible through Azure Portal.Azure.AI.OpenAI.AzureOpenAIModelFactory
is now present for mocking.Breaking Changes
ChatMessage
's one-parameter constructor has been replaced with a no-parameter constructor. Please replace any hybrid construction with one of these two options that either completely rely on property setting or completely rely on constructor parameters.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.