watson

Request two or more intentions inside Watson Conversation

泄露秘密 提交于 2019-12-24 02:55:08
问题 I have 5 intents in my conversation. If user types for request 2 or more intents, how do I know that he has typed two intentions and how do I inform him that he can only request one intention at a time? My example have 2 intents, and Watson dont reconigze the second intent: I want pizza and I want cuisine Intents #pizza : I want pizza Intents # cuisine : I want cuisine Thanks. 回答1: The Watson Conversation Service evaluates all your intents when it process the input text. However, by default

Can Watson Visual Recognition determine density?

我的未来我决定 提交于 2019-12-13 20:19:17
问题 Bouquets of flowers are a fairly accurate analogy for our problem domain. For an example, let's assume a test image of thirty flowers: - Roses: 10 - Poppies: 9 - Daisies: 5 - Lillies: 5 - Sunflowers: 1 Is there a training approach that might get Watson to look at pictures of bouquets and be able to reply with a density of a given flower type, or even a ratio or something? If there are any ideas, should we train with images of single/isolated or multiple/grouped of each type of flower? ...or a

IBM Watson: How do I add a hyperlink to Watson Responses?

强颜欢笑 提交于 2019-12-13 18:26:13
问题 I've tried other responses mentioned on other forums but I'm still not able to get the right result. As of this moment, this is what the layout looks like Any help would be much appreciated! 回答1: Add in your Watson response the HTML tag, the browser will render: The link to go to google is: click <a target="_blank" href="https://google.com.br">Google</a>.<br/><br/> Add inside Watson response: Tested hyperlink: Obs.: Check inside Try it out, this does not work, but inside your Web application,

IBM Watson Knowledge Studio 2.0 - deploying a rule-based model is experimental. What does that mean?

廉价感情. 提交于 2019-12-13 10:38:00
问题 When building a rule-based model in Watson Knowledge Studio, a reminder appears saying:- The rule-based model that you build here can be deployed and used by other Watson services for experimental purposes only. In the online documentation, at the beginning of chapter "Deploying a rule-based annotator to IBM Watson Discovery", another similar mention appears:- Attention: This is currently an experimental feature of the service. I started building an application based on a WKS custom rule

Node JS API: Return JSON to user, after service is done.

老子叫甜甜 提交于 2019-12-13 07:47:07
问题 I'm currently using node.js to create a post-upload API, to upload an image, which is processed by the Watson Visual Recognition Service. This returns a JSON, which is currently logged to the console. Is there a way to send this JSON back to the user, after the process is done? I'm a total newbie to Node.js, so I really appreciate your help. This is my code: // initialising ... app.post( '/detectFaces', avatarUpload, ( req, res ) => { avatarUpload( req, res, ( err ) => { if ( err || !req.file

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

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

Conditionally return from digression in watson assistant

白昼怎懂夜的黑 提交于 2019-12-11 13:25:12
问题 I have been reading through the documentation and cannot find the answer to this question for Watson Assistant. I have a digression that I only sometimes want to return back to the previous place in the dialog. Specifically, after the user enters the digression, if the user responds "Yes" then I do not want the digression to return back, but if the user responds "No" then I do want the digression to return to the previous place. Is there a way to do this? Perhaps by manually editing the JSON

Upload a file but set Content-Type

眉间皱痕 提交于 2019-12-11 10:39:11
问题 I got Watson Speech-to-Text working on the web. I am now trying to do it on react native but am getting errors on the file upload part. I am using the HTTPS Watson API. I need to set the Content-Type otherwise Watson returns a error response. However in react-native, for the file upload to work, we seem to need to set 'Content-Type' to 'multipart/form-data' . Is there anyway to upload a file in react-native while setting Content-Type to 'audio/aac' ? The error Watson API gives me if I set

Watson Conversation Logs by Date

天涯浪子 提交于 2019-12-11 07:35:20
问题 I wanted to know if there is a way to pull Watson conversation logs for a specific time period using Watson Python SDK? Also is there a way to avoid the pagination added at the end of the logs? I want to pull all the logs for a given time period. Below is the code I am currently using which pulls logs for a specific workspace: import json import watson_developer_cloud conversation = watson_developer_cloud.ConversationV1( username='xxxxxxxxxx', password- 'xxxxxxxx', version='2017-05-26' )