diff --git a/docs/async-api/overview/text/post-text.md b/docs/async-api/overview/text/post-text.md index e64403ab..0dc465ac 100644 --- a/docs/async-api/overview/text/post-text.md +++ b/docs/async-api/overview/text/post-text.md @@ -201,7 +201,7 @@ payload = { "confidenceThreshold": 0.6, # - "detectPhrases": true, + "detectPhrases": "true", # "messages": [ @@ -238,7 +238,7 @@ responses = { 500: 'Something went wrong! Please contact support@symbl.ai' } -response = requests.request("POST", url, headers=headers, data=json.dumps(payload), params=json.dumps(params))) +response = requests.request("POST", url, headers=headers, data=json.dumps(payload)) if response.status_code == 201: # Successful API execution @@ -435,4 +435,4 @@ Here 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. -::: \ No newline at end of file +:::