watson-conversation

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 ,

IBM Watson Conversation API: “Request header field Authorization is not allowed by Access-Control-Allow-Headers in preflight response”

我只是一个虾纸丫 提交于 2019-12-02 04:04:15
I created a React-Native app that connected to the Watson REST APIs. Using the fetch library that is part of the ReactNative, everything was working well for getting the Workspaces list, like this: const myAuth = new Buffer(USR+':'+PWD).toString('base64'); const myInit = { method: 'GET', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', 'Origin': '', 'Authorization': 'Basic ' + myAuth, } }; return fetch(URL, myInit) .then((response) => response.json()) .then((responseJson) => { ... } I am now moving to React (rather than ReactNative) and the whatwg-fetch library. The

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

How to give personalised greeting in Watson Conversation?

一笑奈何 提交于 2019-12-01 18:58:09
While Defining the Dialog in the Watson Conversation I'm not able to greet user with his/her name or I'm not able to detect contact number sent by the user and rephrase it to the user. Is it possible to do it in the Watson Conversation Api or not. Do you already have access to this information? You can send these values through as context, and refer to them using $context_variable The same goes for collecting information from a user. You can capture things using regular expressions via your application, or using some Spring Expressions, you can see the text.matches here: https://www.ibm.com

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

How to make Watson capture a sequence of numbers (input.text.extract)

房东的猫 提交于 2019-12-01 05:49:19
问题 In my example, I ask for a personal documentation number, the number has 11 digits, and I need that in case the user type the 11 numbers correctly the watson continue with the conversation, and if not, the watson will inform a message defined by me. How to do this? My case: Watson says: All right, I'll check. What is your protocol number? I says: Ex: 35158811233 Watson says: Would you like to finish the service? Watson dont reconigze the number and my conversation flows to the finish. Does

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" }

Best practices for creating intents/entities with IBM Conversation Service

こ雲淡風輕ζ 提交于 2019-11-27 16:39:57
问题 I am currently working with the IBM Conversation Service. Does there exist any best practices for creating intents other than the information in the official docs or the ones documented here: https://github.com/watson-developer-cloud/text-bot#best-practices? Are there other demos out there I could look at? I have seen the car dashboard and the Weather bot from IBM. Regards, Kjetil 回答1: INTENTS Intents are the machine learning component of conversation. They work best when you train the system

How to make Watson Conversation Api Invoke a web Application Url when User Enters an Input?

血红的双手。 提交于 2019-11-27 14:53:33
I have a spring mvc application and I would like to make my user call a bot and the bot based on user input should access a url and based on the response provide an answer.How could I achieve this in Java? There is no direct way to do it. However, Watson Conversation does provide a mechanism to handle such requests. You will need to tell the calling Java app that a url needs to be invoked. This is done by using two features: Context.request skip_user_input A request is a special context variable that has args, name and result. It is used to tell the calling app that it should do some action