forked from watson-developer-cloud/node-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for new tone-chat endpoint (watson-developer-cloud#429)
* Changed ToneAnalyzerV3.URL to the dev staging url and added in a new function for tone_chat. * added sample call to tone_chat endpoint for customer care * temp fix * updating params check to use requiredParams and originalParams as per watson-developer-cloud#429 * removing URL from ToneAnalyzerV3 function as per watson-developer-cloud#429 * changing require statement back to watson-developer-cloud/tone-analyzer/v3 as per watson-developer-cloud#429 * updating sample utterances in tone_analyzer examples to match that of the new Customer Engagement demo * adding jsdoc to tone-chat function as per watson-developer-cloud#429 * adding back the URL for tone analyzer as per watson-developer-cloud#429 * cleaning up lint errors * adding unit test for tone_chat endpoint to tone_analyzer * adding a unit test to tone_analyzer_v3 to check that the tone_chat endpoint generates a valid payload
- Loading branch information
1 parent
54db6ad
commit 971f4b6
Showing
4 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters