Coder Social home page Coder Social logo

Comments (6)

pedily avatar pedily commented on September 28, 2024

What does it do? What kind of format / content does the downloaded file have?

from webchatwidget.

kwinto avatar kwinto commented on September 28, 2024

What would be the use case for this?

from webchatwidget.

alexteusz avatar alexteusz commented on September 28, 2024

Hey dudes,

It would use our API to get the conversation and put this into a document. This could be a PDF file for business users. The use case could be the following:
Someone is chatting with their insurance or bank via the webchat. Since all included messages from the conversation could be important for the further process in the insurance or bank, the user might download this conversation. Then he/she could use this in order to tell the bank or insurance that he already did something with the bot.

from webchatwidget.

pedily avatar pedily commented on September 28, 2024

I'm still not quite sure what process you are describing.
As an end-user, i want to be able to have a download button on the webchat widget so i can save my conversation as a pdf-file?

From what you are describing, it is not clear to me who will see this button, the end-user in the webchat or the admin in the UI panel / livechat panel.

In case it is for the end-user, we cannot offer authentication credentials for the conversation api to end-users, that would have to be done in a different way.

from webchatwidget.

antonxt avatar antonxt commented on September 28, 2024

I agree with @alexteusz that this feature is nice to have.

@pedily, if PDF requires API authentication and we can't disclose API keys in the JS, can we generate some other file format on the fly? The user story can be the following:

As a webchat user, I want to be able to download my conversation with the bot, so I can refer to it in my future contacts with the company.

  • The downloaded file can be in any format supported by the popular office programs, e.g. text, HTML, CSV.
  • If possible, the format should prevent easy editing to somewhat guarantee authenticity (PDF).

from webchatwidget.

pedily avatar pedily commented on September 28, 2024

@antonxt it is possible to access the client-side conversation history of the webchat (using internal APIs, but we could build an official one!). From there, we could apply a "serialize this message" function to each message, merge that to one text string and "download" it locally using an anchor link.

from webchatwidget.

Related Issues (16)

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.