@@ -11,10 +11,10 @@ const promptFoundry = new PromptFoundry({
1111describe ( 'resource evaluationAssertions' , ( ) => {
1212 test ( 'create: only required params' , async ( ) => {
1313 const responsePromise = promptFoundry . evaluationAssertions . create ( {
14- evaluationId : 'string ' ,
15- jsonPath : 'string ' ,
16- targetValue : 'string ' ,
17- toolName : 'string ' ,
14+ evaluationId : 'evaluationId ' ,
15+ jsonPath : 'jsonPath ' ,
16+ targetValue : 'targetValue ' ,
17+ toolName : 'toolName ' ,
1818 type : 'CONTAINS' ,
1919 } ) ;
2020 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -28,20 +28,20 @@ describe('resource evaluationAssertions', () => {
2828
2929 test ( 'create: required and optional params' , async ( ) => {
3030 const response = await promptFoundry . evaluationAssertions . create ( {
31- evaluationId : 'string ' ,
32- jsonPath : 'string ' ,
33- targetValue : 'string ' ,
34- toolName : 'string ' ,
31+ evaluationId : 'evaluationId ' ,
32+ jsonPath : 'jsonPath ' ,
33+ targetValue : 'targetValue ' ,
34+ toolName : 'toolName ' ,
3535 type : 'CONTAINS' ,
3636 } ) ;
3737 } ) ;
3838
3939 test ( 'update: only required params' , async ( ) => {
4040 const responsePromise = promptFoundry . evaluationAssertions . update ( '1212121' , {
41- evaluationId : 'string ' ,
42- jsonPath : 'string ' ,
43- targetValue : 'string ' ,
44- toolName : 'string ' ,
41+ evaluationId : 'evaluationId ' ,
42+ jsonPath : 'jsonPath ' ,
43+ targetValue : 'targetValue ' ,
44+ toolName : 'toolName ' ,
4545 type : 'CONTAINS' ,
4646 } ) ;
4747 const rawResponse = await responsePromise . asResponse ( ) ;
@@ -55,10 +55,10 @@ describe('resource evaluationAssertions', () => {
5555
5656 test ( 'update: required and optional params' , async ( ) => {
5757 const response = await promptFoundry . evaluationAssertions . update ( '1212121' , {
58- evaluationId : 'string ' ,
59- jsonPath : 'string ' ,
60- targetValue : 'string ' ,
61- toolName : 'string ' ,
58+ evaluationId : 'evaluationId ' ,
59+ jsonPath : 'jsonPath ' ,
60+ targetValue : 'targetValue ' ,
61+ toolName : 'toolName ' ,
6262 type : 'CONTAINS' ,
6363 } ) ;
6464 } ) ;
0 commit comments