Giter VIP home page Giter VIP logo

Comments (11)

Naktibalda avatar Naktibalda commented on July 17, 2024

@Abgaryan "not working" is not a useful issue description.
Please tell us more about what it is actually doing.
Do you get any errors?

from botkit-middleware-dialogflow.

Abgaryan avatar Abgaryan commented on July 17, 2024

There is no any error output ,it is not triggering actions from api ai , nothing is happening when i am typing keywords for actions .

from botkit-middleware-dialogflow.

Naktibalda avatar Naktibalda commented on July 17, 2024

That's correct, because you have skip_bot: true above, what happens if you set skip_bot to false?

from botkit-middleware-dialogflow.

Abgaryan avatar Abgaryan commented on July 17, 2024

I already tried to set skip_bot: false still not working.

from botkit-middleware-dialogflow.

robertkarlsson avatar robertkarlsson commented on July 17, 2024

@Abgaryan Have you confirmed that your facebook app have a functioning webhook with your dialogflow agent?

from botkit-middleware-dialogflow.

robertkarlsson avatar robertkarlsson commented on July 17, 2024

Tested it out and it seems to be working fine together with dialogflow. I don't really understand what you mean by "facebook". There is a facebook integration in dialogflow, but botkit also has a facebook middleware. If you can explain the problem i might be able to help you.

from botkit-middleware-dialogflow.

jschnurr avatar jschnurr commented on July 17, 2024

Added a complete working example for Facebook as part of v1.1.0. @Abgaryan please review that and see if it resolves the problem.

from botkit-middleware-dialogflow.

Abgaryan avatar Abgaryan commented on July 17, 2024

@jschnurr Thank you i will take a look and will let you know.

from botkit-middleware-dialogflow.

Abgaryan avatar Abgaryan commented on July 17, 2024

@jschnurr
It doesn't work . I set dialogflow an agent with smalltalk.greetings.hello intent.
You can find the code below, Please tell me what is wrong?

const dialogflow = require('botkit-middleware-dialogflow')({
    token:process.env.DIALOGFLOW_ACCESS_TOKEN
   });

  controller.middleware.receive.use(dialogflow.receive);

  controller.hears(['smalltalk.greetings.hello'],'message_received',dialogflow.hears,function(bot, 
    message) {
       console.log("api .ai detected entities", message.entities);
  });

the bot is live and working well

from botkit-middleware-dialogflow.

jschnurr avatar jschnurr commented on July 17, 2024

Please run with debug and paste the result.

DEBUG=dialogflow-middleware node your_awesome_bot.js

from botkit-middleware-dialogflow.

Abgaryan avatar Abgaryan commented on July 17, 2024

@jschnurr you can close the issue now is working the issue was module version I updated it from 1.0.1 to 1.1.0
@jschnurr Thank you.

from botkit-middleware-dialogflow.

Related Issues (20)

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.