-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,7 +218,7 @@ payload = { | |
|
||
"confidenceThreshold": 0.6, # <Optional,double| Minimum required confidence for the insight to be recognized. Value ranges between 0.0 to 1.0. Default value is 0.5.> | ||
|
||
"detectPhrases": true, # <Optional,boolean| It shows Actionable Phrases in each sentence of conversation. These sentences can be found using the Conversation's Messages API. Default value is false.> | ||
"detectPhrases": "true", # <Optional,boolean| It shows Actionable Phrases in each sentence of conversation. These sentences can be found using the Conversation's Messages API. Default value is false.> | ||
"messages": [ | ||
{ | ||
"payload": { | ||
|
@@ -269,7 +269,7 @@ responses = { | |
500: 'Something went wrong! Please contact [email protected]' | ||
} | ||
|
||
response = requests.request("PUT", url, headers=headers, data=json.dumps(payload), params=json.dumps(params))) | ||
response = requests.request("PUT", url, headers=headers, data=json.dumps(payload)) | ||
|
||
if response.status_code == 201: | ||
# Successful API execution | ||
|
@@ -483,4 +483,4 @@ Here, the value of `X` can be found in [FAQ](/docs/faq). | |
|
||
:::caution | ||
You must wait for the job to complete processing before you proceed with getting the Conversation Intelligence. If you immediately make a GET request to Conversation API, it is possible that you'll receive incomplete insights. Therefore, ensure that you wait for the job to complete. | ||
::: | ||
::: |