Languages and syntax
Languages used in the ViaSay Chatbot platform to perform advanced actions in your bot
To build and customize bots within the ViaSay Chatbot platform, you may need to leverage the following languages and tools:
Jinja
Jinja is a powerful templating language for Python that allows the insertion of custom logic in bots. Within the ViaSay platform, it can be used across various bot components to create dynamic content:
- APIs: Customize API calls and responses.
- Bot Actions: Add logic to bot behaviors.
- Answers: Personalize bot replies based on conditions.
- Images: Dynamically render images.
Jinja is an open, non-proprietary language.
For more details, refer to the official Jinja documentation.
JMESpath
JMESpath is a query language designed for extracting specific data from JSON responses. It is primarily used within ViaSay for designing custom content extraction from API response payloads.
JMESpath is an open, non-proprietary language.
For more details, refer to the official JMESpath documentation.
Regular Expressions (RegEx)
Regular Expressions, or RegEx, is a text processing tool used to identify and manipulate patterns within strings. Within the ViaSay Chatbot platform, RegEx is crucial for natural language processing (NLP), particularly in Filters components where it's used to refine and match input text based on predefined patterns.
For an intuitive way to create and test regular expressions, RegEx101 is a helpful tool. Be sure to set the language to Python when designing RegEx for ViaSay.
For more information on RegEx, visit the Wikipedia article on Regular Expressions.
Updated 6 months ago