watson

How do i display a video using IBM Watson Assistant

别来无恙 提交于 2019-12-02 12:36:59
问题 I have create a Chat bot using IBM Watson Assistant and i need to load an video for some responses. How do i embed a video into the chat bots' response? 回答1: You can use HTML tags to embed a video into the response box as shown below: Please note that HTML tags won't work in the Try It Out panel but will definitely be rendered in the application. If you are looking for dynamic content, then you will have to pass context to the application side and then render video from there. 回答2: Appreciate

Using Watson conversation, how to handle customer, account number etc

别来无恙 提交于 2019-12-02 06:36:08
问题 I'm creating sample application using Watson conversation API in nodejs. I'm trying to get username and send them to Watson and then I want to say hello "$username", also I want to keep that throughout the conversation so that I can if the user ask if I remember the name, Watson can say "yes, "$username"". Can someone help me with sample code, how to use intent in this use case. // Start conversation with Hello message. conversation.message({ input: { text: "Hello" }, }, processResponse); //

Does watson conversation intents and entities support regular expressions?

∥☆過路亽.° 提交于 2019-12-02 06:00:22
I'm testing Watson Conversation API with a possible dialog my company wants to create. We are developing with Brazilian Portuguese. Given the portugues is a rich language and sometimes the users can make mistakes, we want to predict these possible errors, mainly with special chars and accents. For sample, the word produção can be written by users like: produção , producao , produçao , producão . Is possible to have a regular expression on the intents and entities to have something like the picture bellow? Sometimes we have another word to make a sense liek produção final , produção geral ,

Bluemix Watson Conversation API to manage intents, entities

大兔子大兔子 提交于 2019-12-01 23:41:14
The documented API only allows interaction with the Watson Conversation service once it is configured. Is there any API which will allow the configuration. For example create intents, entities etc... Good questions and we agree. We have plans shortly to expose a lower level set of APIs that will address your concerns. Brian At this point in time the APIs for what you want to do are not publicly exposed. Just to close out this question. The API for Watson Assistant (formerly Watson Conversation) can be seen here . The Watson Developer SDKs support that API. To see the API in action there are

Using Watson conversation, how to handle customer, account number etc

北慕城南 提交于 2019-12-01 23:40:47
I'm creating sample application using Watson conversation API in nodejs. I'm trying to get username and send them to Watson and then I want to say hello "$username", also I want to keep that throughout the conversation so that I can if the user ask if I remember the name, Watson can say "yes, "$username"". Can someone help me with sample code, how to use intent in this use case. // Start conversation with Hello message. conversation.message({ input: { text: "Hello" }, }, processResponse); // Process the conversation response. function processResponse(err, response) { if (err) { console.error

IBM Watson - Conversation API integration returns Resource Not Found error (404)

 ̄綄美尐妖づ 提交于 2019-12-01 10:27:05
I am trying to integrate watson from salesforce (Http Callout) and received 404 error. Then I tried the sameusing Postman tool but getting the same result Added conversation credentials in request header Request Endpoint https://gateway.watsonplatform.net/conversation/api/v1/workspaces/883c7704-02c4-41fc-b8a0-aea1d0325c5a/message?version=2016-09-20 Request Body { "application/json": { "input": { "text": "Hi" }, "alternate_intents": true } } Response Body { "error": "Resource not found" } Status 404 Not found Please let me know what is the issue here. I am not sure whether the way I added

IBM Watson - Conversation API integration returns Resource Not Found error (404)

a 夏天 提交于 2019-12-01 05:48:57
问题 I am trying to integrate watson from salesforce (Http Callout) and received 404 error. Then I tried the sameusing Postman tool but getting the same result Added conversation credentials in request header Request Endpoint https://gateway.watsonplatform.net/conversation/api/v1/workspaces/883c7704-02c4-41fc-b8a0-aea1d0325c5a/message?version=2016-09-20 Request Body { "application/json": { "input": { "text": "Hi" }, "alternate_intents": true } } Response Body { "error": "Resource not found" }

How can I improve Watson Speech to Text accuracy?

心已入冬 提交于 2019-12-01 00:36:30
I understand that Watson Speech To Text is somewhat calibrated for colloquial conversation and for 1 or 2 speakers. I also know that it can deal with FLAC better than WAV and OGG. I would like to know how could I improve the algorithm recognition, acoustically speaking. I mean, does increasing volume help? Maybe using some compression filter? Noise reduction? What kind of pre processing could help for this service? the best way to improve the accuracy of the base models (which are very accurate but also very general) is by using the Watson STT customization service: https://www.ibm.com/watson