-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EXTEND] Parse partial responses #132
base: master
Are you sure you want to change the base?
Conversation
@@ -1,6 +1,6 @@ | |||
{ | |||
"devDependencies": { | |||
"@rocket.chat/apps-engine": "WideChat/Rocket.Chat.Apps-engine.git#v1.29.2", | |||
"@rocket.chat/apps-engine": "git+https://github.com/WideChat/Rocket.Chat.Apps-engine.git#dialogflow_branch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: this is fine for testing, but we need to be careful that we revert or fix this before we merge.
@@ -28,11 +28,116 @@ | |||
"js-tokens": "^4.0.0" | |||
} | |||
}, | |||
"@google-cloud/dialogflow-cx": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do all of these things need to also go into package.json?
I'm seeing this error when I try to deploy with rc-apps:
Error: Cannot find module '@rocket.chat/apps-engine/node_modules/@google-cloud/dialogflow-cx'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not found a way to remove that error. If I point the app to the correct location of the module, the app will not deploy.
With the current set-up we get the error, but the app can deploy.
Instructions
Make sure that the correct version of apps-engine is installed by running
npm install @rocket.chat/apps-dialogflow
Custom Payloads:
Partial responses will not be able to handle payloads that require sending additional requests to the DF agent for any non-FINAL responses (the final message of a stream).
Currently supported Custom Payloads: