@@ -9,6 +9,8 @@ public class OpenAIClient {
99 public OpenAIClient ( AuthenticationPolicy authenticationPolicy ) ;
1010 protected internal OpenAIClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
1111 public OpenAIClient ( string apiKey ) ;
12+ [ Experimental ( "OPENAI001" ) ]
13+ public Uri Endpoint { get ; }
1214 public ClientPipeline Pipeline { get ; }
1315 [ Experimental ( "OPENAI001" ) ]
1416 public virtual AssistantClient GetAssistantClient ( ) ;
@@ -77,6 +79,8 @@ public class AssistantClient {
7779 public AssistantClient ( AuthenticationPolicy authenticationPolicy ) ;
7880 protected internal AssistantClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
7981 public AssistantClient ( string apiKey ) ;
82+ [ Experimental ( "OPENAI001" ) ]
83+ public Uri Endpoint { get ; }
8084 public ClientPipeline Pipeline { get ; }
8185 public virtual ClientResult CancelRun ( string threadId , string runId , RequestOptions options ) ;
8286 public virtual ClientResult < ThreadRun > CancelRun ( string threadId , string runId , CancellationToken cancellationToken = default ) ;
@@ -1082,6 +1086,8 @@ public class AudioClient {
10821086 public AudioClient ( string model , AuthenticationPolicy authenticationPolicy ) ;
10831087 public AudioClient ( string model , string apiKey ) ;
10841088 [ Experimental ( "OPENAI001" ) ]
1089+ public Uri Endpoint { get ; }
1090+ [ Experimental ( "OPENAI001" ) ]
10851091 public string Model { get ; }
10861092 public ClientPipeline Pipeline { get ; }
10871093 public virtual ClientResult GenerateSpeech ( BinaryContent content , RequestOptions options = null ) ;
@@ -1370,6 +1376,8 @@ public class BatchClient {
13701376 public BatchClient ( AuthenticationPolicy authenticationPolicy ) ;
13711377 protected internal BatchClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
13721378 public BatchClient ( string apiKey ) ;
1379+ [ Experimental ( "OPENAI001" ) ]
1380+ public Uri Endpoint { get ; }
13731381 public ClientPipeline Pipeline { get ; }
13741382 public virtual CreateBatchOperation CreateBatch ( BinaryContent content , bool waitUntilCompleted , RequestOptions options = null ) ;
13751383 public virtual Task < CreateBatchOperation > CreateBatchAsync ( BinaryContent content , bool waitUntilCompleted , RequestOptions options = null ) ;
@@ -1442,6 +1450,8 @@ public class ChatClient {
14421450 public ChatClient ( string model , AuthenticationPolicy authenticationPolicy ) ;
14431451 public ChatClient ( string model , string apiKey ) ;
14441452 [ Experimental ( "OPENAI001" ) ]
1453+ public Uri Endpoint { get ; }
1454+ [ Experimental ( "OPENAI001" ) ]
14451455 public string Model { get ; }
14461456 public ClientPipeline Pipeline { get ; }
14471457 public virtual ClientResult < ChatCompletion > CompleteChat ( params ChatMessage [ ] messages ) ;
@@ -2271,6 +2281,8 @@ public class ContainerClient {
22712281 public ContainerClient ( AuthenticationPolicy authenticationPolicy ) ;
22722282 protected internal ContainerClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
22732283 public ContainerClient ( string apiKey ) ;
2284+ [ Experimental ( "OPENAI001" ) ]
2285+ public Uri Endpoint { get ; }
22742286 public ClientPipeline Pipeline { get ; }
22752287 public virtual ClientResult < ContainerResource > CreateContainer ( CreateContainerBody body , CancellationToken cancellationToken = default ) ;
22762288 public virtual ClientResult CreateContainer ( BinaryContent content , RequestOptions options = null ) ;
@@ -2447,6 +2459,8 @@ public class EmbeddingClient {
24472459 public EmbeddingClient ( string model , AuthenticationPolicy authenticationPolicy ) ;
24482460 public EmbeddingClient ( string model , string apiKey ) ;
24492461 [ Experimental ( "OPENAI001" ) ]
2462+ public Uri Endpoint { get ; }
2463+ [ Experimental ( "OPENAI001" ) ]
24502464 public string Model { get ; }
24512465 public ClientPipeline Pipeline { get ; }
24522466 public virtual ClientResult < OpenAIEmbedding > GenerateEmbedding ( string input , EmbeddingGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
@@ -2524,6 +2538,8 @@ public class EvaluationClient {
25242538 public EvaluationClient ( AuthenticationPolicy authenticationPolicy ) ;
25252539 protected internal EvaluationClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
25262540 public EvaluationClient ( string apiKey ) ;
2541+ [ Experimental ( "OPENAI001" ) ]
2542+ public Uri Endpoint { get ; }
25272543 public ClientPipeline Pipeline { get ; }
25282544 public virtual ClientResult CancelEvaluationRun ( string evaluationId , string evaluationRunId , RequestOptions options ) ;
25292545 public virtual Task < ClientResult > CancelEvaluationRunAsync ( string evaluationId , string evaluationRunId , RequestOptions options ) ;
@@ -2640,6 +2656,8 @@ public class OpenAIFileClient {
26402656 public OpenAIFileClient ( AuthenticationPolicy authenticationPolicy ) ;
26412657 protected internal OpenAIFileClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
26422658 public OpenAIFileClient ( string apiKey ) ;
2659+ [ Experimental ( "OPENAI001" ) ]
2660+ public Uri Endpoint { get ; }
26432661 public ClientPipeline Pipeline { get ; }
26442662 [ Experimental ( "OPENAI001" ) ]
26452663 public virtual ClientResult AddUploadPart ( string uploadId , BinaryContent content , string contentType , RequestOptions options = null ) ;
@@ -2744,6 +2762,8 @@ public class FineTuningClient {
27442762 protected internal FineTuningClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
27452763 protected internal FineTuningClient ( ClientPipeline pipeline , Uri endpoint ) ;
27462764 public FineTuningClient ( string apiKey ) ;
2765+ [ Experimental ( "OPENAI001" ) ]
2766+ public Uri Endpoint { get ; }
27472767 public ClientPipeline Pipeline { get ; }
27482768 public virtual ClientResult CreateFineTuningCheckpointPermission ( string fineTunedModelCheckpoint , BinaryContent content , RequestOptions options = null ) ;
27492769 public virtual Task < ClientResult > CreateFineTuningCheckpointPermissionAsync ( string fineTunedModelCheckpoint , BinaryContent content , RequestOptions options = null ) ;
@@ -3068,6 +3088,8 @@ public class GraderClient {
30683088 public GraderClient ( AuthenticationPolicy authenticationPolicy ) ;
30693089 protected internal GraderClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
30703090 public GraderClient ( string apiKey ) ;
3091+ [ Experimental ( "OPENAI001" ) ]
3092+ public Uri Endpoint { get ; }
30713093 public ClientPipeline Pipeline { get ; }
30723094 public virtual ClientResult RunGrader ( BinaryContent content , RequestOptions options = null ) ;
30733095 public virtual Task < ClientResult > RunGraderAsync ( BinaryContent content , RequestOptions options = null ) ;
@@ -3449,6 +3471,8 @@ public class ImageClient {
34493471 public ImageClient ( string model , AuthenticationPolicy authenticationPolicy ) ;
34503472 public ImageClient ( string model , string apiKey ) ;
34513473 [ Experimental ( "OPENAI001" ) ]
3474+ public Uri Endpoint { get ; }
3475+ [ Experimental ( "OPENAI001" ) ]
34523476 public string Model { get ; }
34533477 public ClientPipeline Pipeline { get ; }
34543478 public virtual ClientResult < GeneratedImage > GenerateImage ( string prompt , ImageGenerationOptions options = null , CancellationToken cancellationToken = default ) ;
@@ -3603,6 +3627,8 @@ public class OpenAIModelClient {
36033627 public OpenAIModelClient ( AuthenticationPolicy authenticationPolicy ) ;
36043628 protected internal OpenAIModelClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
36053629 public OpenAIModelClient ( string apiKey ) ;
3630+ [ Experimental ( "OPENAI001" ) ]
3631+ public Uri Endpoint { get ; }
36063632 public ClientPipeline Pipeline { get ; }
36073633 public virtual ClientResult DeleteModel ( string model , RequestOptions options ) ;
36083634 public virtual ClientResult < ModelDeletionResult > DeleteModel ( string model , CancellationToken cancellationToken = default ) ;
@@ -3651,6 +3677,8 @@ public class ModerationClient {
36513677 public ModerationClient ( string model , AuthenticationPolicy authenticationPolicy ) ;
36523678 public ModerationClient ( string model , string apiKey ) ;
36533679 [ Experimental ( "OPENAI001" ) ]
3680+ public Uri Endpoint { get ; }
3681+ [ Experimental ( "OPENAI001" ) ]
36543682 public string Model { get ; }
36553683 public ClientPipeline Pipeline { get ; }
36563684 public virtual ClientResult ClassifyText ( BinaryContent content , RequestOptions options = null ) ;
@@ -4304,6 +4332,8 @@ public class RealtimeClient {
43044332 public RealtimeClient ( AuthenticationPolicy authenticationPolicy ) ;
43054333 protected internal RealtimeClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
43064334 public RealtimeClient ( string apiKey ) ;
4335+ [ Experimental ( "OPENAI001" ) ]
4336+ public Uri Endpoint { get ; }
43074337 public ClientPipeline Pipeline { get ; }
43084338 public event EventHandler < BinaryData > OnReceivingCommand { add ; remove ; }
43094339 public event EventHandler < BinaryData > OnSendingCommand { add ; remove ; }
@@ -4830,6 +4860,8 @@ public class OpenAIResponseClient {
48304860 public OpenAIResponseClient ( string model , AuthenticationPolicy authenticationPolicy , OpenAIClientOptions options ) ;
48314861 public OpenAIResponseClient ( string model , AuthenticationPolicy authenticationPolicy ) ;
48324862 public OpenAIResponseClient ( string model , string apiKey ) ;
4863+ [ Experimental ( "OPENAI001" ) ]
4864+ public Uri Endpoint { get ; }
48334865 public ClientPipeline Pipeline { get ; }
48344866 public virtual ClientResult CancelResponse ( string responseId , RequestOptions options ) ;
48354867 public virtual ClientResult < OpenAIResponse > CancelResponse ( string responseId , CancellationToken cancellationToken = default ) ;
@@ -5736,6 +5768,8 @@ public class VectorStoreClient {
57365768 public VectorStoreClient ( AuthenticationPolicy authenticationPolicy ) ;
57375769 protected internal VectorStoreClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
57385770 public VectorStoreClient ( string apiKey ) ;
5771+ [ Experimental ( "OPENAI001" ) ]
5772+ public Uri Endpoint { get ; }
57395773 public ClientPipeline Pipeline { get ; }
57405774 public virtual AddFileToVectorStoreOperation AddFileToVectorStore ( string vectorStoreId , BinaryContent content , bool waitUntilCompleted , RequestOptions options = null ) ;
57415775 public virtual AddFileToVectorStoreOperation AddFileToVectorStore ( string vectorStoreId , string fileId , bool waitUntilCompleted , CancellationToken cancellationToken = default ) ;
0 commit comments