Prepare 2.0.0-beta.13 release (Part 1) #229
Merged
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.
ModerationResult
by mergingModerationCategories
andModerationCategoryScores
into individualModerationCategory
properties, each withFlagged
andScore
properties.OpenAIFileInfo
toOpenAIFile
andOpenAIFileInfoCollection
toOpenAIFileCollection
.OpenAIModelInfo
toOpenAIModel
andOpenAIModelInfoCollection
toOpenAIModelCollection
.Embedding
toOpenAIEmbedding
andEmbeddingCollection
toOpenAIEmbeddingCollection
.ImageUrl
toImageUri
and methodFromImageUrl
toFromImageUri
in theMessageContent
type.ParallelToolCallsEnabled
toAllowParallelToolCalls
in theRunCreationOptions
,ThreadRun
, andChatCompletionOptions
types.PromptTokens
toInputTokenCount
,CompletionTokens
toOutputTokenCount
, andTotalTokens
toTotalTokenCount
in theRunTokenUsage
andRunStepTokenUsage
types.InputTokens
toInputTokenCount
andTotalTokens
toTotalTokenCount
in theEmbeddingTokenUsage
type.MaxPromptTokens
toMaxInputTokenCount
andMaxCompletionTokens
toMaxOutputTokenCount
in theThreadRun
,RunCreationOptions
, andRunIncompleteReason
types.virtual
keyword from thePipeline
property across all clients.Granularities
property ofAudioTranscriptionOptions
toTimestampGranularities
.AudioTranscriptionFormat
from an enum to an "extensible enum".AudioTranslationFormat
from an enum to an "extensible enum".GenerateImageFormat
from an enum to an "extensible enum".GeneratedImageQuality
from an enum to an "extensible enum".GeneratedImageStyle
from an enum to an "extensible enum".AssistantClient
andVectorStoreClient
that take complex parameters in favor of methods that take simple string IDs.TokenIds
property type in theTranscribedSegment
type fromIReadOnlyList<int>
toReadOnlyMemory<int>
.inputs
parameter type in theGenerateEmbeddings
andGenerateEmbeddingsAsync
methods ofEmbeddingClient
fromIEnumerable<IEnumerable<int>>
toIEnumerable<ReadOnlyMemory<int>>
.ChatMessageContentPartKind
from an extensible enum to an enum.ChatToolCallKind
from an extensible enum to an enum.ChatToolKind
from an extensible enum to an enum.OpenAIFilePurpose
from an extensible enum to an enum.OpenAIFileStatus
from an extensible enum to an enum.OpenAIFilePurpose
toFilePurpose
.OpenAIFileStatus
toFileStatus
.