Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
The plugin for Doloro AI debug environment. Provides API for source validation and informing of the developer about found issues.
You able to send the custom message to console manually by using the code similar to the next one:
Source could be provided as PipelineMap
instance. In that case the tool automatically builds source path to display. Otherwise, you could use you custom string message as source to apply.
You can implement your own validators that will checks is the source going along with your stability rules. For this just create the class derived from the Doloro.AI.DAIDebugger.ErrorsListTool.ABehaviorValidator
class.
Implement the OnValid
handler. The handler returns validation state. In case of false
the tool will automatically generate the message along with data that you define in Type
and Message
properties during validation pass.
The following example implements validator that looking for string
properties without defined values.