Скачать открытый исходный код бота Либре общий выпуск и установите бот Libre на свой собственный сервер
Bot Libre Dev

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

по marco.zoncu опубликовано May 12 2017, 9:18

Hi,

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

Marco

 

 

 

 



 

 

 


Идентификатор: 17010095
Теги: bot persistence persistency postgres postgresql createinstancefrompool createinstance databasememory pool pooling
Опубликовано: May 12 2017, 9:18
Ответы: 0
Вид: 1805, сегодня: 1, неделю: 1, месяц: 12
1 0 5.0/5