Skip to content

Looping Experta for use with a chatbot #25

@jnrusson1

Description

@jnrusson1

Hi I have a question relating to looping Experta infinitely. I am currently creating a rule based retrieval chat bot and I would like to use Experta as my Knowledge engine.

To give a quick background I need to get train ticket information from the user and use this to scrape a website. I need to assign facts based on a user input i.e assign destination, current location, date etc.

As it is a chatbot I need experta to run infinitely until it is given an instruction to break or it completes it's task. For example if the chatbot asks, "what station are you at? " and the response is not a station, then it should repeat the question.

At the moment my rules will fire once and then the process will exit. How can i implement this looping system?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions