theopenconversationkit / tock

Tock, the open source conversational AI toolkit.
https://doc.tock.ai
Apache License 2.0
501 stars 131 forks source link

[Bot APi] Post call to custom analytics endpoint #1347

Open msansen-esncf opened 2 years ago

msansen-esncf commented 2 years ago

Hello Tock Team,

We don't find all we need with default analytics provided by tock. Is it possible to add an optional feature that allow to post a result Object after the answer to connector post.

If possible we would like to have theses items inside a Json Object: { timestamp, from, recipient, Question, { Answer, DestConnector } Intent, Entities, NlpStats, (and anything that could help analytics available at the botapi post :) ) }

The form is "as you prefer"

The post may be first send to a timeseries Database endpoint then we may develop a custom endpoint controler as the object would be designed

I think that this feature would be nice as it can be used by several users and make possible to have outputs with studio stories without having to code output to coded stories

Many Thanks for your help

Regards

Mat

msansen-esncf commented 2 years ago

Hi @vsct-jburet @francoisno, what do you think about this, is it hard to implement? Regards, Mat

msansen-esncf commented 2 years ago

Hi @vsct-jburet, @francoisno,

It would be nice if this feature could call a timeseries db to save each call to the bot, and make it possible to analyse and grab stories that match . what do you think of it?