|
7 | 7 |
|
8 | 8 | namespace OpenAI.VectorStores; |
9 | 9 |
|
10 | | -[CodeGenSuppress("GetVectorStoreFilesAsync", typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] |
11 | | -[CodeGenSuppress("GetVectorStoreFiles", typeof(string), typeof(int?), typeof(string), typeof(string), typeof(string), typeof(string), typeof(RequestOptions))] |
12 | 10 | [CodeGenSuppress("CreateVectorStoreFileAsync", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] |
13 | 11 | [CodeGenSuppress("CreateVectorStoreFile", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] |
14 | 12 | [CodeGenSuppress("CreateVectorStoreFileBatchAsync", typeof(string), typeof(BinaryContent), typeof(RequestOptions))] |
@@ -104,77 +102,6 @@ internal virtual ClientResult GetVectorStore(string vectorStoreId, RequestOption |
104 | 102 | return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); |
105 | 103 | } |
106 | 104 |
|
107 | | - /// <summary> |
108 | | - /// [Protocol Method] Returns a paginated collection of vector store files. |
109 | | - /// </summary> |
110 | | - /// <param name="vectorStoreId"> The ID of the vector store that the files belong to. </param> |
111 | | - /// <param name="limit"> |
112 | | - /// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the |
113 | | - /// default is 20. |
114 | | - /// </param> |
115 | | - /// <param name="order"> |
116 | | - /// Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` |
117 | | - /// for descending order. Allowed values: "asc" | "desc" |
118 | | - /// </param> |
119 | | - /// <param name="after"> |
120 | | - /// A cursor for use in pagination. `after` is an object ID that defines your place in the list. |
121 | | - /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your |
122 | | - /// subsequent call can include after=obj_foo in order to fetch the next page of the list. |
123 | | - /// </param> |
124 | | - /// <param name="before"> |
125 | | - /// A cursor for use in pagination. `before` is an object ID that defines your place in the list. |
126 | | - /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your |
127 | | - /// subsequent call can include before=obj_foo in order to fetch the previous page of the list. |
128 | | - /// </param> |
129 | | - /// <param name="filter"> Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`. </param> |
130 | | - /// <param name="options"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param> |
131 | | - /// <exception cref="ArgumentNullException"> <paramref name="vectorStoreId"/> is null. </exception> |
132 | | - /// <exception cref="ArgumentException"> <paramref name="vectorStoreId"/> is an empty string, and was expected to be non-empty. </exception> |
133 | | - /// <exception cref="ClientResultException"> Service returned a non-success status code. </exception> |
134 | | - /// <returns> A collection of service responses, each holding a page of values. </returns> |
135 | | - public virtual AsyncCollectionResult GetFileAssociationsAsync(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options) |
136 | | - { |
137 | | - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); |
138 | | - |
139 | | - return new AsyncVectorStoreFileCollectionResult(this, Pipeline, options, vectorStoreId, limit, order, after, before, filter); |
140 | | - } |
141 | | - |
142 | | - /// <summary> |
143 | | - /// [Protocol Method] Returns a paginated collection of vector store files. |
144 | | - /// </summary> |
145 | | - /// <param name="vectorStoreId"> The ID of the vector store that the files belong to. </param> |
146 | | - /// <param name="limit"> |
147 | | - /// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the |
148 | | - /// default is 20. |
149 | | - /// </param> |
150 | | - /// <param name="order"> |
151 | | - /// Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc` |
152 | | - /// for descending order. Allowed values: "asc" | "desc" |
153 | | - /// </param> |
154 | | - /// <param name="after"> |
155 | | - /// A cursor for use in pagination. `after` is an object ID that defines your place in the list. |
156 | | - /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your |
157 | | - /// subsequent call can include after=obj_foo in order to fetch the next page of the list. |
158 | | - /// </param> |
159 | | - /// <param name="before"> |
160 | | - /// A cursor for use in pagination. `before` is an object ID that defines your place in the list. |
161 | | - /// For instance, if you make a list request and receive 100 objects, ending with obj_foo, your |
162 | | - /// subsequent call can include before=obj_foo in order to fetch the previous page of the list. |
163 | | - /// </param> |
164 | | - /// <param name="filter"> Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`. </param> |
165 | | - /// <param name="options"> The request options, which can override default behaviors of the client pipeline on a per-call basis. </param> |
166 | | - /// <exception cref="ArgumentNullException"> <paramref name="vectorStoreId"/> is null. </exception> |
167 | | - /// <exception cref="ArgumentException"> <paramref name="vectorStoreId"/> is an empty string, and was expected to be non-empty. </exception> |
168 | | - /// <exception cref="ClientResultException"> Service returned a non-success status code. </exception> |
169 | | - /// <returns> A collection of service responses, each holding a page of values. </returns> |
170 | | - public virtual CollectionResult GetFileAssociations(string vectorStoreId, int? limit, string order, string after, string before, string filter, RequestOptions options) |
171 | | - { |
172 | | - Argument.AssertNotNullOrEmpty(vectorStoreId, nameof(vectorStoreId)); |
173 | | - |
174 | | - return new VectorStoreFileCollectionResult(this, Pipeline, options, vectorStoreId, limit, order, after, before, filter); |
175 | | - } |
176 | | - |
177 | | - |
178 | 105 | /// <summary> |
179 | 106 | /// [Protocol Method] Create a vector store file by attaching a [File](/docs/api-reference/files) to a [vector store](/docs/api-reference/vector-stores/object). |
180 | 107 | /// </summary> |
|
0 commit comments