watson-conversation

How is the RestKit related to the new Watson Conversation SDK? Linker Error?

最后都变了- 提交于 2020-01-05 09:14:10
问题 I am going to update my customised sample based on Build a home assistant mobile application with Watson and IoT Platform services I did: carthage update --platform iOS did the pod install Using the autofix for the API Changes of the Watson Conversation Parameter inside xCode Asking a question about: How to handle a concrete situation with a parameter, here on Stack Overflow And now I got a linker error and I do not now is the error related to the update of the API or is it related to a newer

Show images or PDFs files in a response in IBM watson conversation service

北城以北 提交于 2020-01-05 09:01:46
问题 I built a watson conversation service and I connected it to Slack using the provided wizard in Bluemix. This is not connected to an application yet (such as Java, etc), it was built using the bluemix dialog tool. My question is: How can I show images or pdf files as a response? 回答1: Within the dialog tool itself you will not be able to view any other type of media other than text. The output in the test panel will simply show the output from the node. When deployed to an application such as a

IBM Watson conversation service error : cannot convert from 'method group' to 'conversation.onMessage'

自作多情 提交于 2020-01-03 19:32:22
问题 I am trying to running IBM Watson conversation service in unity and following here, code snippet private Conversation m_Conversation = new Conversation(); private string m_WrokspaceID = "xyz"; private string m_input = "help"; // Use this for initialization void Start () { Debug.Log("user : " + m_input); m_Conversation.Message(OnMessage, m_WrokspaceID, m_input); } void OnMessage(MessageResponse resp, string customData) { foreach (Intent mi in resp.intents) { Debug.Log("intent : " + mi.intent +

IBM Watson conversation service error : cannot convert from 'method group' to 'conversation.onMessage'

心不动则不痛 提交于 2020-01-03 19:32:14
问题 I am trying to running IBM Watson conversation service in unity and following here, code snippet private Conversation m_Conversation = new Conversation(); private string m_WrokspaceID = "xyz"; private string m_input = "help"; // Use this for initialization void Start () { Debug.Log("user : " + m_input); m_Conversation.Message(OnMessage, m_WrokspaceID, m_input); } void OnMessage(MessageResponse resp, string customData) { foreach (Intent mi in resp.intents) { Debug.Log("intent : " + mi.intent +

Slack-App-Watson: Watson looses intent from previous message received

人盡茶涼 提交于 2020-01-01 19:21:45
问题 I am writing a simple Slack bot which can look for weather conditions for a given location. In the Watson conversation chat box, Watson is doing good: me: Weather please Watson (detected #weather_asked): Where do you want to know the weather conditions? me: Paris Watson (detected @location for intent #weather_asked): Finding weather conditions for Paris... But in my node.js app (connected to Slack), it seems that Watson is " not keeping in mind that I am providing a location for the #weather

Does watson conversation intents and entities support regular expressions?

只谈情不闲聊 提交于 2019-12-31 04:59:45
问题 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

How to give personalised greeting in Watson Conversation?

不想你离开。 提交于 2019-12-31 00:44:12
问题 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. 回答1: 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

watson conversation API giving Gateway Error Code : ERCD04-INVLDCHR-USERID from curl

半腔热情 提交于 2019-12-25 09:14:04
问题 I am getting an invalid userid error regardless of having checked everything carefully. I am posting a very simple call with service credentials taken from the conversation service in Bluemix and workspace ID taken from the specific workspace within the conversation service. What am I missing? curl -X POST \ -u "{XXXXXXXXXXXXXXXXXXXXXXX}":"{XXXXXXXXX}" \ -H "Content-Type:application/json" \ -d "{\"input\": {\"text\": \”Hello\”}}" "https://gateway.watsonplatform.net/conversation/api/v1

insert hyperlink inside watson dialog conversation

笑着哭i 提交于 2019-12-25 08:23:01
问题 I'm programming a dialog with watson conversation api. And now i want to insert a hyperlink inside the dialog box. I tried these solutions here and here. but them don't work for me. any helps? thanks in advance. 回答1: In the case you can do this inside Conversation flow . Add or replace the text inside JSON. Add the url with tag <a target> and href= your URL inside flows. Check my example (EDIT with example inside conversation flow): { "output": { "text": { "values": [ "This is a link <a

Api Watson : Conversation, internal error

依然范特西╮ 提交于 2019-12-25 06:35:05
问题 I am trying to use the updateWorkspace function of the Conversation API of Watson but I always get this error : {"error":"Internal Error"} My request looks like this : curl -H "Content-Type: application/json" -X POST -u "username":"password" -d "{\"name\":\"Edubot\",\"dialog_nodes\": [{\"dialog_node\":\"bonjour\",\"conditions\":\"#Bonjour\",\"output\": {\"text\":{\"values\":[\"bonjour\"],\"selection_policy\":\"sequential\"}}}, {\"\dialog_node\":\"Aurevoir\",\"conditions\":\"#Aurevoir\",\