@@ -3778,7 +3778,10 @@ public class RealtimeClient {
37783778 protected RealtimeClient ( ) ;
37793779 public RealtimeClient ( ApiKeyCredential credential , OpenAIClientOptions options ) ;
37803780 public RealtimeClient ( ApiKeyCredential credential ) ;
3781+ public RealtimeClient ( AuthenticationPolicy authenticationPolicy , OpenAIClientOptions options ) ;
3782+ public RealtimeClient ( AuthenticationPolicy authenticationPolicy ) ;
37813783 protected internal RealtimeClient ( ClientPipeline pipeline , OpenAIClientOptions options ) ;
3784+ public RealtimeClient ( string apiKey ) ;
37823785 public ClientPipeline Pipeline { get ; }
37833786 public event EventHandler < BinaryData > OnReceivingCommand { add ; remove ; }
37843787 public event EventHandler < BinaryData > OnSendingCommand { add ; remove ; }
@@ -5124,24 +5127,19 @@ public class VectorStoreClient {
51245127 public virtual ClientResult < VectorStoreFileAssociation > GetFileAssociation ( string vectorStoreId , string fileId , CancellationToken cancellationToken = default ) ;
51255128 public virtual Task < ClientResult > GetFileAssociationAsync ( string vectorStoreId , string fileId , RequestOptions options ) ;
51265129 public virtual Task < ClientResult < VectorStoreFileAssociation > > GetFileAssociationAsync ( string vectorStoreId , string fileId , CancellationToken cancellationToken = default ) ;
5127- public virtual CollectionResult < VectorStoreFileAssociation > GetFileAssociations ( ContinuationToken firstPageToken , CancellationToken cancellationToken = default ) ;
51285130 public virtual CollectionResult < VectorStoreFileAssociation > GetFileAssociations ( string vectorStoreId , VectorStoreFileAssociationCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
51295131 public virtual CollectionResult GetFileAssociations ( string vectorStoreId , int ? limit , string order , string after , string before , string filter , RequestOptions options ) ;
5130- public virtual CollectionResult < VectorStoreFileAssociation > GetFileAssociations ( string vectorStoreId , string batchJobId , VectorStoreFileAssociationCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
5131- public virtual CollectionResult < VectorStoreFileAssociation > GetFileAssociations ( string vectorStoreId , string batchJobId , ContinuationToken firstPageToken , CancellationToken cancellationToken = default ) ;
5132- public virtual CollectionResult GetFileAssociations ( string vectorStoreId , string batchId , int ? limit , string order , string after , string before , string filter , RequestOptions options ) ;
5133- public virtual AsyncCollectionResult < VectorStoreFileAssociation > GetFileAssociationsAsync ( ContinuationToken firstPageToken , CancellationToken cancellationToken = default ) ;
51345132 public virtual AsyncCollectionResult < VectorStoreFileAssociation > GetFileAssociationsAsync ( string vectorStoreId , VectorStoreFileAssociationCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
51355133 public virtual AsyncCollectionResult GetFileAssociationsAsync ( string vectorStoreId , int ? limit , string order , string after , string before , string filter , RequestOptions options ) ;
5136- public virtual AsyncCollectionResult < VectorStoreFileAssociation > GetFileAssociationsAsync ( string vectorStoreId , string batchJobId , VectorStoreFileAssociationCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
5137- public virtual AsyncCollectionResult < VectorStoreFileAssociation > GetFileAssociationsAsync ( string vectorStoreId , string batchJobId , ContinuationToken firstPageToken , CancellationToken cancellationToken = default ) ;
5138- public virtual AsyncCollectionResult GetFileAssociationsAsync ( string vectorStoreId , string batchId , int ? limit , string order , string after , string before , string filter , RequestOptions options ) ;
5134+ public virtual CollectionResult < VectorStoreFileAssociation > GetFileAssociationsInBatch ( string vectorStoreId , string batchId , VectorStoreFileAssociationCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
5135+ public virtual CollectionResult GetFileAssociationsInBatch ( string vectorStoreId , string batchId , int ? limit , string order , string after , string before , string filter , RequestOptions options ) ;
5136+ public virtual AsyncCollectionResult < VectorStoreFileAssociation > GetFileAssociationsInBatchAsync ( string vectorStoreId , string batchId , VectorStoreFileAssociationCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
5137+ public virtual AsyncCollectionResult GetFileAssociationsInBatchAsync ( string vectorStoreId , string batchId , int ? limit , string order , string after , string before , string filter , RequestOptions options ) ;
51395138 public virtual ClientResult < VectorStore > GetVectorStore ( string vectorStoreId , CancellationToken cancellationToken = default ) ;
5139+ public virtual Task < ClientResult < VectorStore > > GetVectorStoreAsync ( string vectorStoreId , CancellationToken cancellationToken = default ) ;
51405140 public virtual CollectionResult < VectorStore > GetVectorStores ( VectorStoreCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
5141- public virtual CollectionResult < VectorStore > GetVectorStores ( ContinuationToken firstPageToken , CancellationToken cancellationToken = default ) ;
51425141 public virtual CollectionResult GetVectorStores ( int ? limit , string order , string after , string before , RequestOptions options ) ;
51435142 public virtual AsyncCollectionResult < VectorStore > GetVectorStoresAsync ( VectorStoreCollectionOptions options = null , CancellationToken cancellationToken = default ) ;
5144- public virtual AsyncCollectionResult < VectorStore > GetVectorStoresAsync ( ContinuationToken firstPageToken , CancellationToken cancellationToken = default ) ;
51455143 public virtual AsyncCollectionResult GetVectorStoresAsync ( int ? limit , string order , string after , string before , RequestOptions options ) ;
51465144 public virtual ClientResult < VectorStore > ModifyVectorStore ( string vectorStoreId , VectorStoreModificationOptions options , CancellationToken cancellationToken = default ) ;
51475145 public virtual ClientResult ModifyVectorStore ( string vectorStoreId , BinaryContent content , RequestOptions options = null ) ;
@@ -5160,11 +5158,15 @@ public class VectorStoreClient {
51605158 public virtual Task < ClientResult > UpdateVectorStoreFileAttributesAsync ( string vectorStoreId , string fileId , BinaryContent content , RequestOptions options = null ) ;
51615159 public virtual Task < ClientResult < VectorStoreFileAssociation > > UpdateVectorStoreFileAttributesAsync ( string vectorStoreId , string fileId , IDictionary < string , BinaryData > attributes , CancellationToken cancellationToken = default ) ;
51625160 }
5163- public class VectorStoreCollectionOptions {
5161+ public class VectorStoreCollectionOptions : IJsonModel < VectorStoreCollectionOptions > , IPersistableModel < VectorStoreCollectionOptions > {
51645162 public string AfterId { get ; set ; }
51655163 public string BeforeId { get ; set ; }
51665164 public VectorStoreCollectionOrder ? Order { get ; set ; }
51675165 public int ? PageSizeLimit { get ; set ; }
5166+ protected virtual VectorStoreCollectionOptions JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
5167+ protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
5168+ protected virtual VectorStoreCollectionOptions PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
5169+ protected virtual BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
51685170 }
51695171 public readonly partial struct VectorStoreCollectionOrder : IEquatable < VectorStoreCollectionOrder > {
51705172 public VectorStoreCollectionOrder ( string value ) ;
@@ -5229,12 +5231,16 @@ public class VectorStoreFileAssociation : IJsonModel<VectorStoreFileAssociation>
52295231 protected virtual VectorStoreFileAssociation PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
52305232 protected virtual BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
52315233 }
5232- public class VectorStoreFileAssociationCollectionOptions {
5234+ public class VectorStoreFileAssociationCollectionOptions : IJsonModel < VectorStoreFileAssociationCollectionOptions > , IPersistableModel < VectorStoreFileAssociationCollectionOptions > {
52335235 public string AfterId { get ; set ; }
52345236 public string BeforeId { get ; set ; }
52355237 public VectorStoreFileStatusFilter ? Filter { get ; set ; }
52365238 public VectorStoreFileAssociationCollectionOrder ? Order { get ; set ; }
52375239 public int ? PageSizeLimit { get ; set ; }
5240+ protected virtual VectorStoreFileAssociationCollectionOptions JsonModelCreateCore ( ref Utf8JsonReader reader , ModelReaderWriterOptions options ) ;
5241+ protected virtual void JsonModelWriteCore ( Utf8JsonWriter writer , ModelReaderWriterOptions options ) ;
5242+ protected virtual VectorStoreFileAssociationCollectionOptions PersistableModelCreateCore ( BinaryData data , ModelReaderWriterOptions options ) ;
5243+ protected virtual BinaryData PersistableModelWriteCore ( ModelReaderWriterOptions options ) ;
52385244 }
52395245 public readonly partial struct VectorStoreFileAssociationCollectionOrder : IEquatable < VectorStoreFileAssociationCollectionOrder > {
52405246 public VectorStoreFileAssociationCollectionOrder ( string value ) ;
@@ -5247,6 +5253,7 @@ public class VectorStoreFileAssociationCollectionOptions {
52475253 public override readonly int GetHashCode ( ) ;
52485254 public static bool operator == ( VectorStoreFileAssociationCollectionOrder left , VectorStoreFileAssociationCollectionOrder right ) ;
52495255 public static implicit operator VectorStoreFileAssociationCollectionOrder ( string value ) ;
5256+ public static implicit operator VectorStoreFileAssociationCollectionOrder ? ( string value ) ;
52505257 public static bool operator != ( VectorStoreFileAssociationCollectionOrder left , VectorStoreFileAssociationCollectionOrder right ) ;
52515258 public override readonly string ToString ( ) ;
52525259 }
0 commit comments