File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 21
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-972b22a25d0d8bc0d4434735eb429ca11023968e7f14a1a39d48a1949386aa3b .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-cda2d45e20e1f02206e927055340f82767dae13b0fd16849300b7b1252246e90 .yml
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export interface Evaluation {
58
58
/**
59
59
* The variables to in the prompt when evaluating the prompt.
60
60
*/
61
- variables : Record < string , unknown > ;
61
+ variables : Record < string , string | null > ;
62
62
}
63
63
64
64
export namespace Evaluation {
@@ -129,7 +129,7 @@ export interface EvaluationCreateParams {
129
129
/**
130
130
* The variables to in the prompt when evaluating the prompt.
131
131
*/
132
- variables : Record < string , unknown > ;
132
+ variables : Record < string , string | null > ;
133
133
}
134
134
135
135
export namespace EvaluationCreateParams {
@@ -194,7 +194,7 @@ export interface EvaluationUpdateParams {
194
194
/**
195
195
* The variables to in the prompt when evaluating the prompt.
196
196
*/
197
- variables : Record < string , unknown > ;
197
+ variables : Record < string , string | null > ;
198
198
}
199
199
200
200
export namespace EvaluationUpdateParams {
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ describe('resource evaluations', () => {
44
44
} ,
45
45
] ,
46
46
promptId : 'string' ,
47
- variables : { foo : { } } ,
47
+ variables : { foo : 'string' } ,
48
48
} ) ;
49
49
const rawResponse = await responsePromise . asResponse ( ) ;
50
50
expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
@@ -90,7 +90,7 @@ describe('resource evaluations', () => {
90
90
} ,
91
91
] ,
92
92
promptId : 'string' ,
93
- variables : { foo : { } } ,
93
+ variables : { foo : 'string' } ,
94
94
} ) ;
95
95
} ) ;
96
96
@@ -129,7 +129,7 @@ describe('resource evaluations', () => {
129
129
} ,
130
130
] ,
131
131
promptId : 'string' ,
132
- variables : { foo : { } } ,
132
+ variables : { foo : 'string' } ,
133
133
} ) ;
134
134
const rawResponse = await responsePromise . asResponse ( ) ;
135
135
expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
@@ -175,7 +175,7 @@ describe('resource evaluations', () => {
175
175
} ,
176
176
] ,
177
177
promptId : 'string' ,
178
- variables : { foo : { } } ,
178
+ variables : { foo : 'string' } ,
179
179
} ) ;
180
180
} ) ;
181
181
You can’t perform that action at this time.
0 commit comments