File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 106
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-4f6633567c1a079df49d0cf58f37251a4bb0ee2f2a496ac83c9fee26eb325f9c .yml
3- openapi_spec_hash : af5b3d3bbecf48f15c90b982ccac852e
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-f252873ea1e1f38fd207331ef2621c511154d5be3f4076e59cc15754fc58eee4 .yml
3+ openapi_spec_hash : 10cbb4337a06a9fdd7d08612dd6044c3
44config_hash : ddcbd66d7ac80290da208232a746e30f
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export interface File {
113113 /**
114114 * The intended purpose of the file
115115 */
116- purpose : 'assistants' ;
116+ purpose : 'assistants' | 'batch' ;
117117}
118118
119119/**
@@ -154,7 +154,7 @@ export interface FileCreateParams {
154154 /**
155155 * Valid purpose values for OpenAI Files API.
156156 */
157- purpose : 'assistants' ;
157+ purpose : 'assistants' | 'batch' ;
158158}
159159
160160export interface FileListParams extends OpenAICursorPageParams {
@@ -167,7 +167,7 @@ export interface FileListParams extends OpenAICursorPageParams {
167167 /**
168168 * Only return files with the given purpose.
169169 */
170- purpose ?: 'assistants' ;
170+ purpose ?: 'assistants' | 'batch' ;
171171}
172172
173173Files . FilesOpenAICursorPage = FilesOpenAICursorPage ;
Original file line number Diff line number Diff line change @@ -55,11 +55,7 @@ export namespace CreateResponse {
5555 category_applied_input_types ?: { [ key : string ] : Array < string > } ;
5656
5757 /**
58- * A list of the categories along with their scores as predicted by model. Required
59- * set of categories that need to be in response - violence - violence/graphic -
60- * harassment - harassment/threatening - hate - hate/threatening - illicit -
61- * illicit/violent - sexual - sexual/minors - self-harm - self-harm/intent -
62- * self-harm/instructions
58+ * A list of the categories along with their scores as predicted by model.
6359 */
6460 category_scores ?: { [ key : string ] : number } ;
6561
You can’t perform that action at this time.
0 commit comments