Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To learn more about the workflow concept, its usage, and view the reference materials (including help pages on nodes), see the Workflow chapter in the documentation. It is available on your instance (substitute <yourinstance> with the actual name of your host): https://<yourinstance>.konverso.ai/doc/Workflow_781451265.html

Nodes

Nodes are the building blocks of a workflow. There are many types of nodes: search nodes, interaction nodes, AI nodes, and so on. Each type has its own purpose.

...

...

There are nodes and built-in functions for you to implement in your workflows, however but you can build custom Python functions as well. A set of libraries make it possible to interact with users, invoke requests on external systems, and return results.

To implement custom Python code, use editable files. They allow you to add your own code into Koji in order to use it in Call function node, for example.

Custom Python callbacks

Intent in Kbot is the primary logical unit of a conversation. Basically, the main idea of a conversation processing is extracting an intent and delivering a corresponding response to a user. Intents can have Python callbacks defined as their response.

This Python code allows you to run any kind of interaction with users, send requests to external systems, and eventually end the intent with particular return code (completed, failed, etc.).

To implement custom Python code, use editable files. They allow you to add your own code into Koji in order to use it in callbacks, for example.