Response Validation Framework
Overview
The Response Validation Framework is introduced to determine valid responses because nowadays LLMs exhibit nondeterministic behavior while creating responses. A prompt may succeed 9 out of 10 times but can fail on occasion. Whenever a failure occurs, we prevent field updates by applying straightforward validation rules.
User Experience
When a user runs a GPTfy prompt from the GPTfy User Console and receives an invalid response, a warning message will inform them that the response is invalid.
Sustainable Solution for Complex and Simple Responses
- Declarative Handling: Simple includes/excludes conditions can be easily specified
- Complex Handling: For more complex cases, customers can use Apex