AI Zone Admin Forum Add your forum

Chatbot Conference in the Netherlands on Tue 24, 2018, with international line-up! Check it out

Concept on database

Hello everyone
I want a way to update concepts that my bots can use through a online database. What is your recommendation on how to do this? I saw this manual

How would we get chatscript to look in the database forthe concept


  [ # 1 ]

Either on startup OR on every volley (inefficient), you would query the db for a list of keywords. Maybe this is just a text string with words separated by space. (There are other ways).
You burst that string into its keywords, and loop thru them, creating facts like
^createfact($_keyword member ~someconcept)

Or records name a concept and its keywords, or whatever.

First, create a program that can read some record from the database.


  login or register to react