AI Zone Admin Forum Add your forum

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

How to create initial facts
 
 

Hello.
I’m playing with facts, and i can create and query without problems.
The main problem is that i’m only capable of create facts in rules and, i need to execute one rule to create the fact.

How can i create a fact set that is available at start of every conversation?

Thanks in advance.

 

 
  [ # 1 ]

you can execute code at compile (:build) time by putting it in a fake table.

table: ^dummy(^dummy)
createfact…
createfact ...

DATA:
x

or you can define a bootstrap outputmacro which gets executed at server start time and put your facts there.

These facts become visible to all users if you are doing this as a server.

 

 
  [ # 2 ]

Thanks Bruce. I’ll try.

 

 
  login or register to react