watson-conversation

From Dialog to Conversation: how to do what <folder label=“Global”> do?

人盡茶涼 提交于 2019-12-12 23:03:58
问题 In Watson Dialog, <folder label="Global"> could be used to handle objections. If in middle of some dialog user type an objection, folder Global could answer and after that keep the dialog at the same point. I trying to do the same with Watson Conversation but I'm lost. Apparently it is not possible or not easy. The node everything_else don't solve the problem. It breaks the conversation. Watson Conversation is or not is a evolution of Watson Dialog? It has less features? 回答1: Conversation and

Watson Conversation - Retrieving specific data from nested context

陌路散爱 提交于 2019-12-12 21:24:00
问题 I'd like the interaction to look like this: Bot: Name a country User: Mexico Bot: The population of Mexico is approximately 120M. For now, I've got the populations hard-coded and looks like below: { "context": { "inputcountry": "<?@Country?>", "populations": { "USA": "300M", "Mexico": "100M", "Japan": "127M" } }, "output": { "text": { "append": true, "values": [ "The population of $inputcountry is approximately $populations.$inputcountry" ] } } } What is the syntax to provide the specific

How do I use a Watson Conversation service in Frankfurt using Node-RED or the node-sdk for Watson?

独自空忆成欢 提交于 2019-12-12 19:16:00
问题 I'm able to use the node-red-node-watson library to call an instance of Watson Conversation hosted in the US-South region of IBM Cloud. If I try it in the Germany region, it does not work. In github I spotted the following line ConversationV1.URL = 'https://gateway.watsonplatform.net/conversation/api'; which is the URL for Conversation in US-South. The URL shown in Bluemix VCAP_SERVICES for the Frankfurt instance is different: "https://gateway-fra.watsonplatform.net/conversation/api" I'm not

Formula in Watson Conversation

十年热恋 提交于 2019-12-12 13:06:35
问题 I have been using Watson Conversation for quite some time. But recently I needed to put up formulas in my Watson Response . How do I achieve it? Is there a way to represent formula/equations in my Dialog flow? 回答1: @athif-shaffy's answer is basically correct- I think you should try to include math formula in HTML,and add the HTML to the response.check this like for example to get to a new line I had to use <br> in the response.It didn't show the result in the conversation service try it out

IBM Watson Assistant: How to enable user metrics

♀尐吖头ヾ 提交于 2019-12-12 12:39:57
问题 We want know how many times each user calls IBM Watson Assistant service from client application and its billing details per user. I am trying to enable user metrics for watson assistant service based on this URL(https://console.bluemix.net/docs/services/assistant/logs_oview.html#user_id) and added the headers and metadata in my node.js code. But when I check the Improve tab in conversation its not showing the user details, its showing count 0. I am using LITE plan and below is the code. //

Unknown pattern character 'X' Exception occurs connecting to IBM Watson conversation API from Android

℡╲_俬逩灬. 提交于 2019-12-12 06:22:09
问题 I am working with some chat bot application on Android. Everything was working perfect before. But the same application that worked before, now shows an error. "Unknown pattern character 'X' " . Don't know what i did wrong. I tried a lot to find the bug but failed. I am attaching my code here.. package com.example.rove2.conversation; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText

Task.Factory.StarNew and ApplicationDbContext Update

╄→尐↘猪︶ㄣ 提交于 2019-12-12 04:06:44
问题 I need to update a table of my ApplicationDbContext within a Task; however, I'm not getting it done. Here is the error message I've got: ex.Message = "Cannot access a disposed object. A common cause of this error is disposing a context that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling Dispose... I understand it has something to do with threading which I'm not so familiar. Here's

Recognize undefined Entities in Watson Conversation

北战南征 提交于 2019-12-12 03:34:31
问题 Please, I wanted to know if it is possible to catch different entities on Watson conversation without defining their values. For example, I am working on a Mobile up for room booking in my company and I can't define all the room's names so I want that my Bot recognize the name just according to the used pattern for example "Book @room for tomorrow" and whatever I put in place of @room it takes it as a room name. thank you 回答1: Its now available check out https://console.bluemix.net/docs

Update conversation service workspace without changing workspace ID

帅比萌擦擦* 提交于 2019-12-12 02:13:30
问题 Is there a way to update my conversation workspace without changing the workspace ID? I need to refresh my stage and prod workspaces every now and then. I use the Import option, but that creates a new workspace with a different workspace ID. This means I need to go and update the same in my app as well. I know I can potentially have it as an external environment variable. But ideally, I would want to avoid that as well. I just want a way to "update" an existing workspace without changing its

How to deploy ibm watson assistant chat bot to my already hosted website? [closed]

吃可爱长大的小学妹 提交于 2019-12-11 18:28:09
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . I have created a chat bot using Watson assistant in IBM cloud and I want to add that chat bot to my website which is written using html. Can anyone please help me in solving this out? Thank you. 回答1: You can use Watson Assistant API's/SDK to deploy it to your existing HTML Website.