AI Zone Admin Forum Add your forum

NEWS: survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

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