Plan4Dial

Why Use Plan4Dial?

Dialogue planning uses automated planning to generate dialogue graphs, which eliminates the need to painstakingly craft these graphs by hand and creates robust and maintainable agents. Plan4Dial is the first open and readily available modern framework for dialogue planning development.

With just one user-specified YAML file as input, Plan4Dial offers:

The declarative nature of Plan4Dial allows you to get a chatbot running quickly and throw in new actions and variables at any point in development.

Framework Flow

_images/flow.png

Here we detail the design flow of our approach.

First, the developer writes a YAML file (example YAML file here) which contains a declarative description of their agent.


The file is then passed to Plan4Dial, which converts the file to raw PDDL and attempts to generate a plan. It also generates the rest of the files that is needed for the agent to execute, such as the trained NLU model.


The valid plan, if found, is then passed to Hovor to execute the conversation. By running the app, we can communicate with the agent through API endpoints.


Finally, you can make a call to WIDGET with this HTML block to embed your agent in your own site!


See the Tutorial for an in-depth explanation on how to specify the YAML file.

🤖 Time to get chatting! 🤖

plan4dial