Git Product home page Git Product logo

Comments (6)

jolzee avatar jolzee commented on May 23, 2024

Hi Marc - Leopard is specifically built to talk to Teneo in that it calls Teneo endpoints and then parses its JSON responses. Now that's not to say it couldn't work for DialogFlow. It would just require some development effort to switch out the API calls to Teneo with ones to DialogFlow.

Look in the actions section of store.js for the areas where requests are made out to Teneo - specifically "login", "sendUserInput" and "logout" and work out from there. Currently all Teneo requests start with "Vue.jsonp(....."

If that's too much of task then you might want to check out Teneo Developers . Try sign up and you will get a developer sandbox for Teneo.

from leopard-chat-ui-teneo.

msolefonte avatar msolefonte commented on May 23, 2024

I have taken a look to the Vue.jsonp() calls and now it seems much more clearer. I think I can redo that to directly call to DialogFlow. If I am able to do it, would you like me to send a PR? Of course, I would try to keep it as optional as possible (config option, for example), without interfering with the Teneo common use.

from leopard-chat-ui-teneo.

jolzee avatar jolzee commented on May 23, 2024

Absolutely welcomed - If you get a working version it would be great to have a PR to the following branch https://github.com/jolzee/chat-teneo-vue/tree/dialogflow .

from leopard-chat-ui-teneo.

msolefonte avatar msolefonte commented on May 23, 2024

I have been working and have find a functional solution, but code is too much hardcoded to work with Teneo and it is hard to have a compatible solution for both options. I am going to try it but it seems to require a lot of job.

from leopard-chat-ui-teneo.

jolzee avatar jolzee commented on May 23, 2024

Agreed having both CAI platforms in a single codebase might be a bit overkill in that they function slightly differently in their capabilities. A fork or branch might be the way to go.

from leopard-chat-ui-teneo.

msolefonte avatar msolefonte commented on May 23, 2024

I thought you wanted it in a branch but with the objective of merging it. It is clear now.

from leopard-chat-ui-teneo.

Related Issues (7)

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.