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 11configured_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 {
5858 /**
5959 * The variables to in the prompt when evaluating the prompt.
6060 */
61- variables : Record < string , unknown > ;
61+ variables : Record < string , string | null > ;
6262}
6363
6464export namespace Evaluation {
@@ -129,7 +129,7 @@ export interface EvaluationCreateParams {
129129 /**
130130 * The variables to in the prompt when evaluating the prompt.
131131 */
132- variables : Record < string , unknown > ;
132+ variables : Record < string , string | null > ;
133133}
134134
135135export namespace EvaluationCreateParams {
@@ -194,7 +194,7 @@ export interface EvaluationUpdateParams {
194194 /**
195195 * The variables to in the prompt when evaluating the prompt.
196196 */
197- variables : Record < string , unknown > ;
197+ variables : Record < string , string | null > ;
198198}
199199
200200export namespace EvaluationUpdateParams {
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ describe('resource evaluations', () => {
4444 } ,
4545 ] ,
4646 promptId : 'string' ,
47- variables : { foo : { } } ,
47+ variables : { foo : 'string' } ,
4848 } ) ;
4949 const rawResponse = await responsePromise . asResponse ( ) ;
5050 expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
@@ -90,7 +90,7 @@ describe('resource evaluations', () => {
9090 } ,
9191 ] ,
9292 promptId : 'string' ,
93- variables : { foo : { } } ,
93+ variables : { foo : 'string' } ,
9494 } ) ;
9595 } ) ;
9696
@@ -129,7 +129,7 @@ describe('resource evaluations', () => {
129129 } ,
130130 ] ,
131131 promptId : 'string' ,
132- variables : { foo : { } } ,
132+ variables : { foo : 'string' } ,
133133 } ) ;
134134 const rawResponse = await responsePromise . asResponse ( ) ;
135135 expect ( rawResponse ) . toBeInstanceOf ( Response ) ;
@@ -175,7 +175,7 @@ describe('resource evaluations', () => {
175175 } ,
176176 ] ,
177177 promptId : 'string' ,
178- variables : { foo : { } } ,
178+ variables : { foo : 'string' } ,
179179 } ) ;
180180 } ) ;
181181
You can’t perform that action at this time.
0 commit comments