Aktualizacja w naszej komercyjnej usługi Bot Libre for Business dla tylko $4.99 miesięcznie
Bot Libre Dev

Please some hints on Bot persistence and Bot.createInstanceFromPool method!

w marco.zoncu wysłany May 12 2017, 9:18


I'm trying to integrate BotLibre in my project: I've been able to successfully create bots and provide them with a consistent knowledge base, but still I'm not able to make them persistent on the DB, for a pending dialog to be resumed at a later time.

I suppose my entry point is Bot.createInstanceFromPool with isSchema="true" (correct?), but it always fails with the following message:

relation "vertex" does not exist

If I enclose the instance creation within a DatabaseMemory.RECREATE_DATABASE = true/false pair, what I get is:

relation "property" does not exist

Sorry if I'm posing a basic question, but this great library is actually poorly documented.

Thank you very much for your advice









Identyfikator: 17010095
Tagi: bot persistence persistency postgres postgresql createinstancefrompool createinstance databasememory pool pooling
Wysłany: May 12 2017, 9:18
Odpowiedzi: 0
Widok: 1780, dziś: 1, tydzień: 1, miesiąc: 1
1 0 5.0/5