Skip to content

Commit 8d3d366

Browse files
feat(api): query_metrics, batches, changes
1 parent 3a17e19 commit 8d3d366

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_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
44
config_hash: ddcbd66d7ac80290da208232a746e30f

src/resources/files.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

160160
export 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

173173
Files.FilesOpenAICursorPage = FilesOpenAICursorPage;

src/resources/moderations.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)