Understanding Constraints in Viabl.ai
One of the advanced features of Viabl.ai is the ability to define constraints, which help enforce rules and limitations within your knowledge base.
What are Constraints?
Constraints in Viabl.ai are logical rules that define the relationships and limitations between the objects contained within your knowledge base.
Working with Constraints
To effectively work with constraints in Viabl.ai, consider the following best practices:
- Plan and Define Constraints: Before creating your knowledge base, take the time to plan and define the constraints that align with your requirements. Consider the types of constraints needed for your knowledge model and determine the appropriate rules and limitations to apply.
- Regularly Review and Update Constraints: As your knowledge base evolves, review and update your constraints accordingly. New requirements may arise, or existing constraints may need modification. Regularly evaluating and adjusting constraints helps maintain the accuracy and relevance of your knowledge base.
- Seek Support and Resources: If you encounter challenges or have questions related to constraints in Viabl.ai, consult the available documentation, help resources, or reach out to the Viabl.ai support team. They can provide guidance and assistance to help you overcome any issues you may face.
working with Constraints in Viabl.ai
For knowledge objects ie. trees, tables there is an object property ‘Apply constraints’ which determines whether the knowledge is applied to constrain question values on dialogs. This is set to true for Constraint trees.

Adding Constraints
To add constraints, use the Add Constraint Knowledge Build Tool.