下载的开放源 的机器人自由社会版 和安装机器人自由于你自己的服务器
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

 

 

 

 



 

 

 


Id: 17010095
标签: bot persistence persistency postgres postgresql createinstancefrompool createinstance databasememory pool pooling
发布: May 12 2017, 9:18
答复: 0
的风景: 1806, 今天: 1, 周: 2, 一个月: 13
1 0 5.0/5