watson-conversation

How to tie a backend to Watson's Conversation service?

断了今生、忘了曾经 提交于 2019-12-06 12:58:59
I am using Conversation service in my application, at the backend I want to use the corpus I have setup so that I can ask deep technical questions since my corpus has been populated with Technical videos and articles spanning 20+ years. Can you please point me to examples where Conversation service has been integrated with backend Watson services ? There is an example of integrating Retrieve and Rank at http://conversation-enhanced.mybluemix.net/ The code to show this integration is housed at https://github.com/watson-developer-cloud/conversation-enhanced I did find the code where the query is

Watson Conversation Dialogue, how to save user input using slot

亡梦爱人 提交于 2019-12-06 04:58:09
In my Watson conversation dialogue am trying to read user input using slot, my requirement is to prompt user for enter an issue description and save it in a variable named issue_description. but in slot, watson check for intent or entity before saving it into a variable. in my case i have put an intent to check with, but it is not saved into variable after the check, i always get true as issue_description. how can i save the issue _description into a variable? what should be the possible intent and entity for this? If you want to save user input then you can use to save the input in any

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

心已入冬 提交于 2019-12-04 18:52:07
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_asked intent ": me: Weather please Watson (detected #weather_asked): Where [...]? me: Paris Watson

How to add a new line in IBM Watson chatbot conversation?

こ雲淡風輕ζ 提交于 2019-12-04 06:31:01
问题 Currently I'm working with the chatbot service provided by the IBM Watson Coversation api. Now I'm facing a problem, related to adding a new line in the text reply from the chatbot. Can anyone tell me how to do this? 回答1: in this case, you can use HTML for that, inside conversation flow with <br> . Check my example: You can see that does not work in "Try it out": But if you open with a browser, you see that work: Check JSON example: { "output": { "text": { "values": [ "Hey, <br>Can I help you

IBM Conversation API - What should be a endpoint URL and Parameters

依然范特西╮ 提交于 2019-12-04 06:03:05
问题 I try to access IBM conversation using Postman tool but getting 404 (Resource not found) error. EndPoint : https://gateway.watsonplatform.net/conversation/api/v1/workspaces/883c7704-02c4-41fc-b8a0-aea1d0325c5a/message?version=2016-09-20 my workspace id = 883c7704-02c4-41fc-b8a0-aea1d0325c5a Is there anything wrong in endpoint or parameter?. How to pass version? 回答1: Your endpoint looks correct if you're trying to send a message to conversation: https://www.ibm.com/watson/developercloud

Bluemix Watson Conversation API to manage intents, entities

丶灬走出姿态 提交于 2019-12-04 04:37:16
问题 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... 回答1: Good questions and we agree. We have plans shortly to expose a lower level set of APIs that will address your concerns. Brian 回答2: At this point in time the APIs for what you want to do are not publicly exposed. 回答3: Just to close out this question. The API for Watson Assistant (formerly

Watson Conversation_Error in Environment Variable

拜拜、爱过 提交于 2019-12-02 10:04:55
问题 I am trying to copy Watson conversation simple node js application from GitHub (https://github.com/watson-developer-cloud/conversation-simple) and running in my local. I have created service key and setup workspace. Next I have updated Workspace ID, User ID & Password in .env, app.js file. I have imported existing car_workspace.json file only and used corresponding Workspace ID. While running in local host I am getting "The app has not been configured with a environment variable." Please help

How to integrate Facebook with Watson conversation

旧时模样 提交于 2019-12-02 08:43:06
I can already connect my conversation to my Facebook page and the bot is working. My Problem is that i couldn't find a single tutorial on how to make calls to a server that is owned by a company and has information about accounts and payments, for example when i type to the Chat-bot that i want to see a list of accounts, the chat-bot would reply with a list from that API; Or i can login to that server with my account by typing the account's name and password in the chat-bot. I just wanted to know if anyone knows how to do that or if its even possible or knows a tutorial that explains it. I

How to add a new line in IBM Watson chatbot conversation?

女生的网名这么多〃 提交于 2019-12-02 08:13:17
Currently I'm working with the chatbot service provided by the IBM Watson Coversation api. Now I'm facing a problem, related to adding a new line in the text reply from the chatbot. Can anyone tell me how to do this? in this case, you can use HTML for that, inside conversation flow with <br> . Check my example: You can see that does not work in "Try it out": But if you open with a browser, you see that work: Check JSON example: { "output": { "text": { "values": [ "Hey, <br>Can I help you?", "", "" ], "selection_policy": "random" } } } You can use other tags, example: <button> , <id> , etc. 来源:

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); //