watson-conversation

How can I link IBM Watson Assistant with Watson Discovery

梦想的初衷 提交于 2021-02-20 02:53:07
问题 I wish to make a chatbot using the two services listed in the title. Watson assistant is used to make the dialog for the chatbot while watson discovery allows for finding information in a large variety of documents such as .html, .pdf files. I want to make a chatbot that uses these two services. The way the chatbot would work is that when a user says something into the chatbot, it will go through watson discovery and run that query which will then return results back to the user. I currently

Comparing context variable with entity in IBM Watson Conversation

喜夏-厌秋 提交于 2021-02-10 06:58:50
问题 In watson conversation dialog I have created a condition; something like if $stored_state == @states:(Florida) AND $preferred_joint == @joint:(KFC) then some response where $stored_state is a context variable, which was stored at a previous node from user input. Same goes for $preferred_joint . @states and @joint are just two entities with fuzzy matching. But condition like this never works. I also tried to use @states:(Florida) entity after converting it to a context variable. But still

How to capture the multiple values of one entity in IBM watson assistant after asking slot?

∥☆過路亽.° 提交于 2021-02-10 04:16:18
问题 In my Watson Assistant app, I want to capture the multiple entities in the context and also have a slot to ask a question to user. Here is an example: User: I want to fly from Toronto to Boston And the Watson correctly detects: intent: 'booking', @city:'Toronto', @city:'Boston' Now I have a slot which asks for booking class: Watson(Slot): Which class would you like? User: Economy At this point, the context only have first value for the @city entity i.e. Toronto. I understand from my googling

How to capture the multiple values of one entity in IBM watson assistant after asking slot?

拥有回忆 提交于 2021-02-10 04:14:15
问题 In my Watson Assistant app, I want to capture the multiple entities in the context and also have a slot to ask a question to user. Here is an example: User: I want to fly from Toronto to Boston And the Watson correctly detects: intent: 'booking', @city:'Toronto', @city:'Boston' Now I have a slot which asks for booking class: Watson(Slot): Which class would you like? User: Economy At this point, the context only have first value for the @city entity i.e. Toronto. I understand from my googling

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

做~自己de王妃 提交于 2020-02-02 10:10:22
问题 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 ? 回答1: There is an example of integrating Retrieve and Rank at http://conversation-enhanced.mybluemix.net/ The code to show this integration is

How to integrate Facebook with Watson conversation

拈花ヽ惹草 提交于 2020-01-30 11:16:42
问题 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

How to integrate Facebook with Watson conversation

China☆狼群 提交于 2020-01-30 11:12:50
问题 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

Request confirmation on lower confidence levels in Watson Conversation

我与影子孤独终老i 提交于 2020-01-17 10:19:06
问题 I know how to set conditions based on intent match and confidence level. I would like to proceed with a flow if the confidence is above a certain threshold, and request confirmation if it is in a mid-range before proceeding with the flow. I can do this by doubling the nodes: Create one node that matches at high confidence Create a node underneath that matches at a lower level. If I get confirmation, route back to first node, bypassing the condition. Is there a better pattern that doesn't

Watson conversation - context - previous input text

霸气de小男生 提交于 2020-01-17 08:14:27
问题 During a conversation sequence, when an user provides an input for a response coming from the conversation service based on his/her previous question, I am building a new request to the conversation service by passing the previous question as input text and the previous context. The previous context is to let the Conversation service know the conversation id. The previous input text (question) is to let the Conversation service identify and resume from where it was left (the right dialog node

IBM Watson Conversation & IBM Cloud Functions : User Input For Parameters

不打扰是莪最后的温柔 提交于 2020-01-10 06:10:09
问题 I have already created a function in IBM Cloud Functions , but how would I implement the parameters from user input? What I'm trying to do is For example: When a user types in "I need product " / "Buy product now" / Show me products . The product input is taken as a parameter and implements it into my Cloud Function, which displays all products that uses product as a keyword. The response text would get info from the Cloud Function return output (which is a JSON array) (res.body.items[?].name