@@ -1417,6 +1417,7 @@ public class ChatCompletionMessageCollectionOptions : IJsonModel<ChatCompletionM
14171417 public class ChatCompletionMessageListDatum : IJsonModel < ChatCompletionMessageListDatum > , IPersistableModel < ChatCompletionMessageListDatum > {
14181418 public IReadOnlyList < ChatMessageAnnotation > Annotations { get ; }
14191419 public string Content { get ; }
1420+ public IList < ChatMessageContentPart > ContentParts { get ; }
14201421 public string Id { get ; }
14211422 public ChatOutputAudio OutputAudio { get ; }
14221423 public string Refusal { get ; }
@@ -1845,7 +1846,7 @@ public class FunctionChatMessage : ChatMessage, IJsonModel<FunctionChatMessage>,
18451846 protected override BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
18461847 }
18471848 public static class OpenAIChatModelFactory {
1848- public static ChatCompletion ChatCompletion ( string id = null , ChatFinishReason finishReason = ChatFinishReason . Stop , ChatMessageContent content = null , string refusal = null , IEnumerable < ChatToolCall > toolCalls = null , ChatMessageRole role = ChatMessageRole . System , ChatFunctionCall functionCall = null , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities = null , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities = null , DateTimeOffset createdAt = default , string model = null , ChatServiceTier ? serviceTier = null , string systemFingerprint = null , ChatTokenUsage usage = null , ChatOutputAudio outputAudio = null , IEnumerable < ChatMessageAnnotation > messageAnnotations = null ) ;
1849+ public static ChatCompletion ChatCompletion ( string id = null , ChatFinishReason finishReason = ChatFinishReason . Stop , ChatMessageContent content = null , string refusal = null , IEnumerable < ChatToolCall > toolCalls = null , ChatMessageRole role = ChatMessageRole . System , ChatFunctionCall functionCall = null , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities = null , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities = null , DateTimeOffset createdAt = default , string model = null , ChatServiceTier ? serviceTier = null , string systemFingerprint = null , ChatTokenUsage usage = null , ChatOutputAudio outputAudio = null , IEnumerable < ChatMessageAnnotation > messageAnnotations = null , IEnumerable < ChatMessageContentPart > contentParts = null ) ;
18491850 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
18501851 public static ChatCompletion ChatCompletion ( string id , ChatFinishReason finishReason , ChatMessageContent content , string refusal , IEnumerable < ChatToolCall > toolCalls , ChatMessageRole role , ChatFunctionCall functionCall , IEnumerable < ChatTokenLogProbabilityDetails > contentTokenLogProbabilities , IEnumerable < ChatTokenLogProbabilityDetails > refusalTokenLogProbabilities , DateTimeOffset createdAt , string model , string systemFingerprint , ChatTokenUsage usage ) ;
18511852 public static ChatInputTokenUsageDetails ChatInputTokenUsageDetails ( int audioTokenCount = 0 , int cachedTokenCount = 0 ) ;
0 commit comments