AI Validate Block 

The AI Validate Block is designed to validate AI-generated responses against expected outcomes, which is crucial in testing environments where accuracy and consistency are paramount.  

This block can be adapted to various testing scenarios, allowing for mass validation and facilitating the automation of tests across multiple applications and platforms. Fully expanded, the AI Validate Block shows the following properties: 

AI-validate_block

The Block Header (“AI Validate”) 

The green input connector in the header is used to trigger the block to start executing. 

The green output connector in the header is triggered when the block execution is complete. 

The title of the block (“AI Validate”) can be changed by double-clicking on it and typing in a new title.

Input 

The Input field is used to enter the information supplied by your GenAI. 

Expected 

The Expected field is used to specify the anticipated result. 

Not Valid 

This green output connector triggers if the input field does not match the expected field. 

This connector can be used to branch the execution of the flow depending on whether the validation is successful or fails. 

Default Timeout 

The Default Timeout sets the timeout value to 30 seconds if checked. If unchecked, the timeout follows the value specified in the flow settings. 

Back to AI Building Blocks

Created 26.4.24