Git Product home page Git Product logo

Comments (15)

JPThorne avatar JPThorne commented on May 4, 2024 2

Hi @cristiancavalli thanks for getting back to me. I am aware of the 6hr gap as mentioned in the FAQs.

However, in our case we have never seen any of our data come through to the dashboard, except in the session flow. There are no 'sessions', no 'active users', no 'messages' even.

For example:
image

And:
image

Etc.

Will be good to see what an update brings, although at this point I feel there is an underlying issue with the data being processed.

Should the API return 200's but not display our data for some reason?

from chatbase-dotnet.

cristiancavalli avatar cristiancavalli commented on May 4, 2024

Hey @JPThorne! Currently our metrics are computed on a periodic basis (~6 hours). This is probably why you did not see your Chatbase dashboard immediately. We are rolling out an update which should shorten this turn-around in the very near-future and will include accompanying information in the documentation which describes the calculation timing. If you are getting 200's back though that means the API is getting your messages and your metrics should be available over the next 6 hour window. For posterity I won't close this issue until our next update system is rolled out and I will ping this thread with that update systems documentation.

from chatbase-dotnet.

vmkrish avatar vmkrish commented on May 4, 2024

Looking at the entities in the database, it seems like we're receiving the entities properly. However, I noticed that some of them have a non-UTC timezone set in our backend (which I didn't think was possible through the normal http endpoint?). @cristiancavalli Maybe this is an issue specific to this library?

Alternatively, right now we only support viewing metrics for data sent approximately realtime (with maybe up to ~15 minutes of delay). If you're sending the data with historical timestamps, that could also explain the issue you are encountering.

from chatbase-dotnet.

JPThorne avatar JPThorne commented on May 4, 2024

@vmkrish thanks for the reply. I followed the docs here: https://chatbase.com/documentation/generic and posted a timestamp according to:

"time_stamp: int, milliseconds since the UNIX epoch, used to sequence messages"

I think I am sending the data with current timestamps, as opposed to historical. I will re-investigate this and see if it helps. I only posted here as I had not yet received any responses from support channels anywhere else.

Referring to your mail - live-analytics are good for us, although of course the chatbase console does seem to support 'historical' data up to a month ago?

from chatbase-dotnet.

JPThorne avatar JPThorne commented on May 4, 2024

Perhaps worth noting - on not seeing the data after a day, I tried several approaches for the timestamps, all of which did return HTTP 200's.

  • Initially I cast my current DateTime to an int.
  • Then tried a string
  • Tried a long
  • Ended up on a Int64.

from chatbase-dotnet.

vmkrish avatar vmkrish commented on May 4, 2024

@JPThorne Looking more closely, I was able to verify that you are setting the timestamps correctly. So I suspect it's a bug with the library (and perhaps timezones?). I will ask Cris to investigate tomorrow during US working hours.

from chatbase-dotnet.

vmkrish avatar vmkrish commented on May 4, 2024

Also, regarding the live vs historical analytics - historical data will be displayed, but we must have received the data at the time. So for example, for the full 30-day graph to be populated, you would have to send data, live, for 30 days, as opposed to sending a batch of 30-days worth of data all at once.

from chatbase-dotnet.

JPThorne avatar JPThorne commented on May 4, 2024

Thanks @vmkrish looking forward to any possible feedback from @cristiancavalli. Yes, what you say re historical vs live makes sense.

from chatbase-dotnet.

cristiancavalli avatar cristiancavalli commented on May 4, 2024

@vmkrish @JPThorne Looking at the code again I don't think it's the time_stamp field -- just tested the timestamp code now on:
http://csharppad.com/gist/52bfd613f9e4dbfff71ad33c2a4289df

and it's generating valid integer data on that field which I then checked against:
https://www.epochconverter.com/

And it gave me the correct human-readable date back.

For reference here's the code:
https://github.com/google/chatbase-dotnet/blob/master/Chatbase/Message.cs#L62

Btw all timestamps are UTC from the client

from chatbase-dotnet.

cristiancavalli avatar cristiancavalli commented on May 4, 2024

@JPThorne thanks for working with us on this and apologies again for the issues with your data. The good news is that I am close to certain that we have identified the issue preventing your account from properly displaying data and you should start seeing data backfilled into your bots. Please tell me if you do not see at least some data having appeared in your account.

Thanks again,
Cris

from chatbase-dotnet.

JPThorne avatar JPThorne commented on May 4, 2024

Perfect, thank you for all the feedback. I am seeing all sorts of data now!

from chatbase-dotnet.

SergeyLobanov avatar SergeyLobanov commented on May 4, 2024

Hi everyone, it looks like I have the same issue as @JPThorne. I use Facebook MessageAPI and also receive 200 response. The first request was sent yesterday, more than 6 hours ago, but I still don't see any data on my dashboard (only the "not_handled" flag was updated in Integration Completeness list). Could you help me with this, please? @cristiancavalli @vmkrish

from chatbase-dotnet.

cristiancavalli avatar cristiancavalli commented on May 4, 2024

Hey @SergeyLobanov sorry to hear that your data is not showing up at the moment -- please reach out to [email protected] with your api-key and a quick description of your issue and we'll work on identifying the issue asap. Thanks!

from chatbase-dotnet.

SergeyLobanov avatar SergeyLobanov commented on May 4, 2024

Thank you a lot @cristiancavalli, I have sent the email, waiting for an answer.

from chatbase-dotnet.

Finocia avatar Finocia commented on May 4, 2024

Hai , am using the chatbase , i have used the code from this article:https://medium.com/google-developers/analytics-for-actions-d8212a6bf6a5, to integrate dialogflow chatbot with the chatbase ,but it is not showing me any analytics in the chatbase ,it is saying me that "Bot hasn't send data yet" , i have even set the API key ,Please advise me how to get the analytics in the chatbase.

Thanks in advance...

from chatbase-dotnet.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.