File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
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-cda2d45e20e1f02206e927055340f82767dae13b0fd16849300b7b1252246e90 .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-27e00076c32b4d01f49438c1db3d4efd946ea82e8e2af8d9ad0af43b2ed0cc58 .yml
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export interface Evaluation {
5656 promptId : string ;
5757
5858 /**
59- * The variables to in the prompt when evaluating the prompt.
59+ * The template variables added to the prompt when executing the prompt.
6060 */
6161 variables : Record < string , string | null > ;
6262}
@@ -127,7 +127,7 @@ export interface EvaluationCreateParams {
127127 promptId : string ;
128128
129129 /**
130- * The variables to in the prompt when evaluating the prompt.
130+ * The template variables added to the prompt when executing the prompt.
131131 */
132132 variables : Record < string , string | null > ;
133133}
@@ -192,7 +192,7 @@ export interface EvaluationUpdateParams {
192192 promptId : string ;
193193
194194 /**
195- * The variables to in the prompt when evaluating the prompt.
195+ * The template variables added to the prompt when executing the prompt.
196196 */
197197 variables : Record < string , string | null > ;
198198}
Original file line number Diff line number Diff line change @@ -657,9 +657,9 @@ export interface PromptGetParametersParams {
657657 user ?: string ;
658658
659659 /**
660- * The template variables added to the prompt when running the prompt.
660+ * The template variables added to the prompt when executing the prompt.
661661 */
662- variables ?: Record < string , unknown > ;
662+ variables ?: Record < string , string | null > ;
663663}
664664
665665export namespace PromptGetParametersParams {
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ describe('resource prompts', () => {
374374 } ,
375375 ] ,
376376 user : 'string' ,
377- variables : { foo : { } } ,
377+ variables : { foo : 'string' } ,
378378 } ,
379379 { path : '/_stainless_unknown_path' } ,
380380 ) ,
You can’t perform that action at this time.
0 commit comments