Learn how to use all developer productivity tools available in Progress NativeChat.
Before you dive into NativeChat, it’s important to understand all productivity features and capabilities available to developers for building, testing, debugging and deploying chatbots. NativeChat provides all the necessary tools for a developer to build, test, debug and deploy chatbots.
For building your Cognitive Flow, NativeChat allows you to write your JSON definitions directly in Monaco editor which is also used by Microsoft in Visual Studio Code. If you are familiar with all the shortcuts and goodies available in Visual Studio Code, you will be already at home with NativeChat.
NativeChat provides a full-blown scheme validation for the structure of your Cognitive Flow and prevents saving invalid JSON scheme. To explore the documentation of our Cognitive Flow you can check the Steps Configuration documentation. If you want to use a different editor for editing your JSON, you can download the schema from here.
You can access all available values for a certain property by invoking the suggestions menu
Ctrl + Space.
Remembering the structure of every configuration might be a tedious task. That is why you can rely on commonly used snippets that can be expanded directly in your JSON code definition.
You can access the shortcuts menu at any time by pressing F1.
- Save changes
Ctrl + S
- Format document
Shift + Alt + F
- Suggestions menu
Ctrl + Space
Ctrl + Shift + [
Ctrl + Shift + ]
Ctrl + H
NativeChat doesn’t come with a built-in source control system. If you need to keep a copy of your latest cognitive flow and training definitions, you can always export your project and keep a backup.
Support for RTL languages
The Code Editor support in NativeChat doesn’t properly handle Right to Left languages such as Arabic, Hebrew or Persian etc. You can use any editor that supports RTL to build the cognitive flow for these languages and submit your final cognitive flow definition in our editor. Further, you can use our JSON scheme in any external editor that supports RTL to make it easier to write valid JSON according to our scheme.
Before you publish your chatbot, you need to make sure that it performs well.
The NativeChat development portal has a built-in testing console where you can test your bot. The console gives you log with all that happens during a chat session - NLP understanding, validation results, webhook responses etc.
The fastest way to test your chatbot in a specific channel is by using the NativeChat’s proxy chatbot. This way, you don’t need to have a working Facebook page or Alexa skill to test how your chatbot experience looks/sounds like in these environments.
Check the instruction on using the proxy bots.