@@ -967,6 +967,7 @@ public class AudioClient {
967967 public AudioClient ( string model , ApiKeyCredential credential , OpenAIClientOptions options ) ;
968968 public AudioClient ( string model , ApiKeyCredential credential ) ;
969969 public AudioClient ( string model , string apiKey ) ;
970+ public string Model { get ; }
970971 public ClientPipeline Pipeline { get ; }
971972 public virtual ClientResult GenerateSpeech ( BinaryContent content , RequestOptions options = null ) ;
972973 public virtual ClientResult < BinaryData > GenerateSpeech ( string text , GeneratedSpeechVoice voice , SpeechGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
@@ -1266,6 +1267,7 @@ public class ChatClient {
12661267 public ChatClient ( string model , ApiKeyCredential credential , OpenAIClientOptions options ) ;
12671268 public ChatClient ( string model , ApiKeyCredential credential ) ;
12681269 public ChatClient ( string model , string apiKey ) ;
1270+ public string Model { get ; }
12691271 public ClientPipeline Pipeline { get ; }
12701272 public virtual ClientResult < ChatCompletion > CompleteChat ( params ChatMessage [ ] messages ) ;
12711273 public virtual ClientResult CompleteChat ( BinaryContent content , RequestOptions options = null ) ;
@@ -1951,6 +1953,7 @@ public class EmbeddingClient {
19511953 public EmbeddingClient ( string model , ApiKeyCredential credential , OpenAIClientOptions options ) ;
19521954 public EmbeddingClient ( string model , ApiKeyCredential credential ) ;
19531955 public EmbeddingClient ( string model , string apiKey ) ;
1956+ public string Model { get ; }
19541957 public ClientPipeline Pipeline { get ; }
19551958 public virtual ClientResult < OpenAIEmbedding > GenerateEmbedding ( string input , EmbeddingGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
19561959 public virtual Task < ClientResult < OpenAIEmbedding > > GenerateEmbeddingAsync ( string input , EmbeddingGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
@@ -2811,6 +2814,7 @@ public class ImageClient {
28112814 public ImageClient ( string model , ApiKeyCredential credential , OpenAIClientOptions options ) ;
28122815 public ImageClient ( string model , ApiKeyCredential credential ) ;
28132816 public ImageClient ( string model , string apiKey ) ;
2817+ public string Model { get ; }
28142818 public ClientPipeline Pipeline { get ; }
28152819 public virtual ClientResult < GeneratedImage > GenerateImage ( string prompt , ImageGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
28162820 public virtual Task < ClientResult < GeneratedImage > > GenerateImageAsync ( string prompt , ImageGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
@@ -2966,6 +2970,7 @@ public class ModerationClient {
29662970 public ModerationClient ( string model , ApiKeyCredential credential , OpenAIClientOptions options ) ;
29672971 public ModerationClient ( string model , ApiKeyCredential credential ) ;
29682972 public ModerationClient ( string model , string apiKey ) ;
2973+ public string Model { get ; }
29692974 public ClientPipeline Pipeline { get ; }
29702975 public virtual ClientResult ClassifyText ( BinaryContent content , RequestOptions options = null ) ;
29712976 public virtual ClientResult < ModerationResultCollection > ClassifyText ( IEnumerable < string > inputs , CancellationToken cancellationToken = default ) ;
@@ -4052,6 +4057,13 @@ public class OpenAIResponseClient {
40524057 public virtual CollectionResult < StreamingResponseUpdate > GetResponseStreaming ( string responseId , int ? startingAfter = null , CancellationToken cancellationToken = default ) ;
40534058 public virtual AsyncCollectionResult < StreamingResponseUpdate > GetResponseStreamingAsync ( string responseId , int ? startingAfter = null , CancellationToken cancellationToken = default ) ;
40544059 }
4060+ public static class OpenAIResponsesModelFactory {
4061+ public static MessageResponseItem MessageResponseItem ( string id = null , MessageRole role = MessageRole . Assistant , MessageStatus ? status = null ) ;
4062+ public static OpenAIResponse OpenAIResponse ( string id = null , DateTimeOffset createdAt = default , ResponseStatus ? status = null , ResponseError error = null , ResponseTokenUsage usage = null , string endUserId = null , ResponseReasoningOptions reasoningOptions = null , int ? maxOutputTokenCount = null , ResponseTextOptions textOptions = null , ResponseTruncationMode ? truncationMode = null , ResponseIncompleteStatusDetails incompleteStatusDetails = null , IEnumerable < ResponseItem > outputItems = null , bool parallelToolCallsEnabled = false , ResponseToolChoice toolChoice = null , string model = null , IDictionary < string , string > metadata = null , float ? temperature = null , float ? topP = null , string previousResponseId = null , bool ? background = null , string instructions = null , IEnumerable < ResponseTool > tools = null ) ;
4063+ public static ReasoningResponseItem ReasoningResponseItem ( string id = null , string encryptedContent = null , ReasoningStatus ? status = null , IEnumerable < ReasoningSummaryPart > summaryParts = null ) ;
4064+ public static ReasoningResponseItem ReasoningResponseItem ( string id = null , string encryptedContent = null , ReasoningStatus ? status = null , string summaryText = null ) ;
4065+ public static ReferenceResponseItem ReferenceResponseItem ( string id = null ) ;
4066+ }
40554067 public class ReasoningResponseItem : ResponseItem , IJsonModel < ReasoningResponseItem > , IPersistableModel < ReasoningResponseItem > {
40564068 public ReasoningResponseItem ( IEnumerable < ReasoningSummaryPart > summaryParts ) ;
40574069 public ReasoningResponseItem ( string summaryText ) ;
0 commit comments