Pobierz bot Libre pulpicie, twój osobisty bot do komputera PC lub Mac
Bot Libre Forum : Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

RE: Connect your Bot to the World - XML, JSON, Web Services, HTML Scraping, Twitter, Facebook, Telegram, Email

w admin wysłany Sep 19 2017, 9:10

Each bot interaction occurs in the context of a conversation. Bots store all their conversations in their knowledge base.

There is a web API "get-conversations" that will let you query the bot's conversations using a "response-search" XML argument.

If you want to display a users conversation history you would need to ensure the user is connected as the same unique user each time. Currently there is no way to filter the conversations by user, so you would need to search the conversations to find ones for that user.

We are looking into enhancing this, and providing a direct-message style chat interface into bots. So maybe better to keep a local history for now.


Identyfikator: 19132374
Wysłany: Sep 19 2017, 9:10
Odpowiedzi: 0
Widok: 4250, dziś: 1, tydzień: 4, miesiąc: 55
0 0 0.0/5