-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(conversation): remove conversation service and all associated code
BREAKING CHANGE: The Conversation service will no longer be available To migrate your code, use the Assistant v1 or v2 service.
- Loading branch information
Showing
30 changed files
with
114 additions
and
8,349 deletions.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...on_tone_analyzer_integration/.env.example → ...nt_tone_analyzer_integration/.env.example
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Assistant and Tone Analyzer Integration Example | ||
|
||
This example provides sample code for integrating [Tone Analyzer][tone_analyzer] and [Assistant][assistant]. | ||
|
||
* [tone_detection.js][tone_assistant_integration_example_tone_detection] - sample code to initialize a user object in the assistant payload's context (initUser), to call Tone Analyzer to retrieve tone for a user's input (invokeToneAsync), and to update tone in the user object in the assistant payload's context (updateUserTone). | ||
|
||
* [tone_assistant_integration.v1.js][tone_assistant_integration_example] - sample code to use tone_detection.js to get and add tone to the payload and send a request to the Assistant Service's message endpoint. | ||
|
||
|
||
Requirements to run the sample code | ||
|
||
* [Tone Analyzer Service credentials][bluemix_tone_analyzer_service] | ||
* [Assistant Service credentials][bluemix_assistant_service] | ||
* [Assistant Workspace ID][assistant_simple_workspace] | ||
|
||
Credentials & the Workspace ID can be set in environment properties, a .env file, or directly in the code. | ||
|
||
|
||
Command to run the sample code | ||
|
||
`npm install # just once, to download dependencies` | ||
`node tone_assistant_integration.v1.js` | ||
|
||
[assistant]: https://www.ibm.com/watson/services/conversation/ | ||
[tone_analyzer]: https://www.ibm.com/watson/services/tone-analyzer/ | ||
[bluemix_assistant_service]: https://console.bluemix.net/catalog/services/watson-assistant-formerly-conversation | ||
[bluemix_tone_analyzer_service]: https://console.ng.bluemix.net/catalog/services/tone-analyzer/ | ||
[assistant_simple_workspace]: https://github.com/watson-developer-cloud/assistant-simple#workspace | ||
[tone_assistant_integration_example]: https://github.com/watson-developer-cloud/node-sdk/blob/master/examples/assistant_tone_analyzer_integration/tone_assistant_integration.v1.js | ||
[tone_assistant_integration_example_tone_detection]: https://github.com/watson-developer-cloud/node-sdk/blob/master/examples/assistant_tone_analyzer_integration/tone_detection.js |
File renamed without changes.
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
Oops, something went wrong.