Git Product home page Git Product logo

Comments (11)

jameskauczka avatar jameskauczka commented on August 16, 2024 1
  1. Cd C:\Users\xxxxx\Documents\GitHub\dialogflow-integrations

  2. For Twitter I ran: (Your platform will be twillio, same as the subfolder named in above.
    gcloud builds submit --tag gcr.io/dol-chatbot-test-oarsaj/dialogflow-twitter

gcloud beta run deploy --image gcr.io/dol-chatbot-test-oarsaj/dialogflow-twitter --update-env-vars GOOGLE_APPLICATION_CREDENTIALS=dol-chatbot-test-oarsaj-787814d665cc.json --memory 1Gi

from dialogflow-integrations.

Animesh2ui avatar Animesh2ui commented on August 16, 2024

@jameskauczka did you create Dialogflow - Twitter open source integrations? Actually I tried implementing several times following all the steps from this link: https://github.com/GoogleCloudPlatform/dialogflow-integrations/tree/master/twitter but got no success. Can you try helping me on this.

from dialogflow-integrations.

jameskauczka avatar jameskauczka commented on August 16, 2024

@Animesh2ui That is the same instructions we followed. Although I was able to get it working, it was very unreliable. The issue is mostly on the Twitter side, where the API call out to DialogFlow only waits 3 seconds for a reply. Even with little to no processing in DialogFlow it was taking longer than the timeout to receive the reply DialogFlow continued it's processing and replied but, Twitter was no longer waiting for it. Our solution was to just use Twitter to do an automatic reply with a link to a Google Form that gathered all the information we needed. Until Google and/or Twitter figures out a real integration that works, it's really not viable.

from dialogflow-integrations.

SAKASHITA-YOSHITAKA avatar SAKASHITA-YOSHITAKA commented on August 16, 2024

SAKAMOTO
Is it possible to integrate dialogflow and skype? There was an example of twitter, but skype doesn't seem to be waiting for a response either.
By the way, it says PLATFORM with the platform subdirectory name., But I asked the dialogflow support center what to specify for this PLATFORM. The answer was that I'm using Skype integration, so I need to replace PLATFORM with skype (the folder name in the Skype integration subdirectory). ..
I adopted the skype presented as a sample and entered the following command, but it is an error.
gcloud builds submit --tag gcr.io/strategist-demo-qoao/dialogflow-skype
Are you waiting for a response? What should I do instead of'skype'?
Please give me some advice.

from dialogflow-integrations.

jameskauczka avatar jameskauczka commented on August 16, 2024

About 18 months ago we got a test of Skype integration working following the guidelines at the time. Dialogflow has since changed their integrations and I have not looked at it. I suspect it is very similar to the Twitter. integration we did.

from dialogflow-integrations.

SAKASHITA-YOSHITAKA avatar SAKASHITA-YOSHITAKA commented on August 16, 2024

from dialogflow-integrations.

khouloud912 avatar khouloud912 commented on August 16, 2024
  1. Cd C:\Users\xxxxx\Documents\GitHub\dialogflow-integrations
  2. For Twitter I ran: (Your platform will be twillio, same as the subfolder named in above.
    gcloud builds submit --tag gcr.io/dol-chatbot-test-oarsaj/dialogflow-twitter

gcloud beta run deploy --image gcr.io/dol-chatbot-test-oarsaj/dialogflow-twitter --update-env-vars GOOGLE_APPLICATION_CREDENTIALS=dol-chatbot-test-oarsaj-787814d665cc.json --memory 1Gi

hello , how to test the chatbot after deploying to google cloud platform

from dialogflow-integrations.

epleskunas avatar epleskunas commented on August 16, 2024

What should we insert in 'PLATFORM' if we are integrating with Twilio?
gcloud builds submit --tag gcr.io/PROJECT-ID/dialogflow-PLATFORM

Currently we are in the directory where our JSON key file & Github files are located. The command we are running is:
gcloud builds submit --tag gcr.io/hackathon2021-ruuc/dialogflow-hackathon2021-ruuc-a0c5877fe414.json

We are getting the following error:
Step 4/8 : COPY ${INTEGRATION}/package.json ./
COPY failed: no source files were specified
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1
*

from dialogflow-integrations.

SAKASHITA-YOSHITAKA avatar SAKASHITA-YOSHITAKA commented on August 16, 2024

I looked at the khould912's comment on March 1st. Did you have a successful Twitter integration? Looking at this comment, I am trying to integrate Twitter from skype integration. I replaced "PLATFORM" in "gcloud builds submit --tag gcr.io/PROJECT-ID/dialogflow-PLATFORM" with "twitter" and executed it.
Unfortunately it was an error.
"Already have image(with digest):gcr.io/cloud-builders/docker
Unable to prepare context: unable to evaluate symlinks in Dockerfile path:
lstat /workspace/Dockerfile: no such file or directory
ERROR"
Now I am researching because there was a web article of a person who dealt with a similar error.
ex Azure/docker-login#11

from dialogflow-integrations.

Ayush1702 avatar Ayush1702 commented on August 16, 2024

@Animesh2ui That is the same instructions we followed. Although I was able to get it working, it was very unreliable. The issue is mostly on the Twitter side, where the API call out to DialogFlow only waits 3 seconds for a reply. Even with little to no processing in DialogFlow it was taking longer than the timeout to receive the reply DialogFlow continued it's processing and replied but, Twitter was no longer waiting for it. Our solution was to just use Twitter to do an automatic reply with a link to a Google Form that gathered all the information we needed. Until Google and/or Twitter figures out a real integration that works, it's really not viable.

Is there any update on Twitter? Want to check the same if someone has managed to integrate successfully.
If yes please do ping me on Twitter!

from dialogflow-integrations.

toshiphar avatar toshiphar commented on August 16, 2024

I tried to integrate dialogflow with twitter, but the same error has happened. Now that is it impossible to integrate by Dockerfile?

from dialogflow-integrations.

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.