77
88namespace OpenAI . VectorStores ;
99
10- [ CodeGenSuppress ( "GetVectorStoresAsync" , typeof ( int ? ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( RequestOptions ) ) ]
11- [ CodeGenSuppress ( "GetVectorStores" , typeof ( int ? ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( RequestOptions ) ) ]
1210[ CodeGenSuppress ( "GetVectorStoreFilesAsync" , typeof ( string ) , typeof ( int ? ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( RequestOptions ) ) ]
1311[ CodeGenSuppress ( "GetVectorStoreFiles" , typeof ( string ) , typeof ( int ? ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( RequestOptions ) ) ]
1412[ CodeGenSuppress ( "CreateVectorStoreFileAsync" , typeof ( string ) , typeof ( BinaryContent ) , typeof ( RequestOptions ) ) ]
@@ -23,63 +21,6 @@ namespace OpenAI.VectorStores;
2321[ CodeGenSuppress ( "ListFilesInVectorStoreBatches" , typeof ( string ) , typeof ( string ) , typeof ( int ? ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( string ) , typeof ( RequestOptions ) ) ]
2422public partial class VectorStoreClient
2523{
26- /// <summary>
27- /// [Protocol Method] Returns a paginated collection of vector-stores.
28- /// </summary>
29- /// <param name="limit">
30- /// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
31- /// default is 20.
32- /// </param>
33- /// <param name="order">
34- /// Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
35- /// for descending order. Allowed values: "asc" | "desc"
36- /// </param>
37- /// <param name="after">
38- /// A cursor for use in pagination. `after` is an object ID that defines your place in the list.
39- /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
40- /// subsequent call can include after=obj_foo in order to fetch the next page of the list.
41- /// </param>
42- /// <param name="before">
43- /// A cursor for use in pagination. `before` is an object ID that defines your place in the list.
44- /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
45- /// subsequent call can include before=obj_foo in order to fetch the previous page of the list.
46- /// </param>
47- /// <param name="options"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
48- /// <exception cref="ClientResultException"> Service returned a non-success status code. </exception>
49- /// <returns> A collection of service responses, each holding a page of values. </returns>
50- public virtual AsyncCollectionResult GetVectorStoresAsync ( int ? limit , string order , string after , string before , RequestOptions options )
51- {
52- return new AsyncVectorStoreCollectionResult ( this , Pipeline , options , limit , order , after , before ) ;
53- }
54-
55- /// <summary>
56- /// [Protocol Method] Returns a paginated collection of vector-stores.
57- /// </summary>
58- /// <param name="limit">
59- /// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the
60- /// default is 20.
61- /// </param>
62- /// <param name="order">
63- /// Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`
64- /// for descending order. Allowed values: "asc" | "desc"
65- /// </param>
66- /// <param name="after">
67- /// A cursor for use in pagination. `after` is an object ID that defines your place in the list.
68- /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
69- /// subsequent call can include after=obj_foo in order to fetch the next page of the list.
70- /// </param>
71- /// <param name="before">
72- /// A cursor for use in pagination. `before` is an object ID that defines your place in the list.
73- /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your
74- /// subsequent call can include before=obj_foo in order to fetch the previous page of the list.
75- /// </param>
76- /// <param name="options"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param>
77- /// <exception cref="ClientResultException"> Service returned a non-success status code. </exception>
78- /// <returns> A collection of service responses, each holding a page of values. </returns>
79- public virtual CollectionResult GetVectorStores ( int ? limit , string order , string after , string before , RequestOptions options )
80- {
81- return new VectorStoreCollectionResult ( this , Pipeline , options , limit , order , after , before ) ;
82- }
8324
8425 /// <summary>
8526 /// [Protocol Method] Creates a vector store.
0 commit comments