Git Product home page Git Product logo

Comments (5)

smishra2 avatar smishra2 commented on July 17, 2024

Hi @mayankbhaskar007, sorry about that. Can you edit your Action Package to have "fulfillmentApiVersion": 2 in the conversation object? It should look like this

{
 "actions": [
   {
     "description": "Launch intent",
     "name": "MAIN",
     "fulfillment": {
       "conversationName": "mainConversation"
     },
     "intent": {
       "name": "actions.intent.MAIN"
     }
   }
 ],
 "conversations": {
   "mainConversation": {
     "name": "mainConversation",
     "url": "YOUR_HTTP_URL",
     "fulfillmentApiVersion": 2
   }
 }

We will update the sample to use this field shortly. Note that you don't need to do any of this if you're using API.AI and that is the path we recommend as easiest for building Assistant apps.

from dialogflow-conversation-components-nodejs.

cataluna84 avatar cataluna84 commented on July 17, 2024

Thanks for the input. Basically, I am using API.AI and a custom webhook on a local Node.js server and had the above validation issue. The above "conversations" key is not in the api.ai/package.json file. So, couldn't insert the "fulfillmentApiVersion": 2 in the code.

from dialogflow-conversation-components-nodejs.

acucciniello avatar acucciniello commented on July 17, 2024

is there a way around this for Dialogflow?

from dialogflow-conversation-components-nodejs.

acucciniello avatar acucciniello commented on July 17, 2024

I attempted to work around this by using the guide on helpers here:
https://developers.google.com/actions/assistant/helpers#list_and_carousel_option

This still caused the same problem, any ideas on how to get around this?

from dialogflow-conversation-components-nodejs.

maaaaaaaax avatar maaaaaaaax commented on July 17, 2024

Due to more than 3 months of inactivity, this issue is being closed.

If you think the resolution is in error, please re-open the request with fresh information.

from dialogflow-conversation-components-nodejs.

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.