You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Conversation and Tone Analyzer Integration Example
2
+
3
+
This example provides sample code for integrating [Tone Analyzer][tone_analyzer] and [Conversation][conversation].
4
+
5
+
*[tone_detection.py][tone_conversation_integration_example_tone_detection] - sample code to initialize a user object in the conversation payload's context (initUser), and to update tone in the user object in the conversation payload's context (updateUserTone).
6
+
7
+
*[tone_conversation_integration.v1.py][tone_conversation_integration_example] - sample code to use tone_detection.py to get and add tone to the payload and send a request to the Conversation Service's message endpoint.
8
+
9
+
10
+
Requirements to run the sample code
11
+
12
+
*[Tone Analyzer Service credentials][bluemix_tone_analyzer_service]
13
+
*[Conversation Service credentials][bluemix_conversation_service]
0 commit comments