Updates to Watson Node.js SDK for Conversation Service - node.js

I am waiting for the IBM Watson Conversation updates to the Node.js API to add/update entities and workspaces. I see this https://www.ibm.com/watson/developercloud/conversation/api/v1/#create_value , but it has been saying "Coming soon" for a few months now. Any ETA on the npm package support ?

I had a similar issue, only for Python and my watson-conversation-tool project. The Watson Node SDK has already been updated and you can use the API to manage entities and workspaces.
The Node.js API for Watson Conversation: https://github.com/watson-developer-cloud/node-sdk/blob/master/conversation/v1.js

Related

How to test bot in different languages?

We have a bot on dialogflow. The bot is setup in both languages - french and english.
It is not a problem to configure our botium instance in order to test all the intents in english (default language).
How to configure our botium instance in order to test all the intents in french?
My botium.json file contains now the capability like
"DIALOGFLOW_LANGUAGE_CODE": "fr"
When I run the botium cli command like
botium-cli dialogflowimport --buildconvos=true
I received convos and utterances in english.
Any workaround to get convos/utterances in french?
Thank you in advance.
With the most recent Github commit it is now possible to import/export Botium data to and from Dialogflow in multiple languages - the DIALOGFLOW_LANGUAGE_CODE-capability is now respected. It is not part of the official release yet, so for now you have to install the latest version directly from Github:
npm install codeforequity-at/botium-connector-dialogflow#master

How to change Microsoft.Azure.CognitiveServices.FormRecognizer v0.8.0-preview API endpoint to v.2.0.0?

I'm currently training a custom model (manual labeling) using the OCR labeling tool
I noticed the model was stored on the https:///formrecognizer/v2.0-preview/custom/models endpoint.
The Form Recognizer .NET SDK (Microsoft.Azure.CognitiveServices.FormRecognizer v0.8.0-preview) are currently directed to the v1.0.0-endpoint because the model id is not available when I executed a GET request to https:///formrecognizer/v2.0-preview/custom/models and It did exists on https:///formrecognizer/v1.0-preview/custom/models. Does anybody know how to fix this problem without having to implement the REST API manually all over again or waiting for the next version of nuget package to come out?
Any help would be appreciated!
You can check out this website for the code snippets of how to use the v2.0 REST API:
aka.ms/Form-aka.ms/Form-Recognizer/api
The current SDK only supports v1.0 release, but the SDK for v2.0 release is coming soon. Stay tuned.
The new Azure SDK Azure.AI.FormRecognizer preview library supporting Form Recognizer service version 2.0-preview is now available. Details on how to use it can be found in the package README.

How to test a local bot with a test-bot in bot framework V4

I know version 3 of botbuilder SDK used the npm bot-tester module to send messages to the local bot, but I don't know if this will work for the newer version because you cannot create a UniversalBot to create those kinds of tests.
I am using Botframework V4 with Node.js, Mocha testing module, and Yarn package manager. I have successfully setup the test environment so I just call yarn test and the basic assertions I make (e.g. assert.equals(1,0,'this will not work);) run without unintended errors.
How can I implement testing so that I can pass a simulated conversation flow? It would essentially be two bots chatting with each other with expected results from each conversation.

IBM Watson connection not using server

Are there any way we can connect IBM Watson assistant without using node.js
to run the server?
Can I connect it like Firebase?
You can use the Watson Node SDK to connect with the Watson Assistant API directly from your React application, without the need for another server. This example shows you how to connect a service in the context of a client-side application.
That example includes a server, just so that a user can run that example on their own. It is not required - you can import and instantiate the Watson Assistant SDK in your React code as long as watson-developer-cloud is installed in your project dependencies.
Other links you may find helpful:
- Generic example for using Assistant
- Documentation for the Watson Assistant API, including Node request examples

Is there a way to access Windows APIs like CORTANA form electron / node.js apps?

I just got the "Creators Update" on winodws 10.
I've read a while back that Cortana speech apis will become available for developers trough an SDK in this update.
Given that the node.js run-time is not sandboxed like the browser - is there a way to get the native windows apis like Cortana working in node.js? and by extension in electron.. using something like
var cortana = require ('cortana');
I couldn't find any npm package at this point. But i can't tell if is because it's too soon - or because there is some incompatibility here.
Can someone provide an explanation of what is actually happening?
Sure there are ways to make APIs like Cortana works with your app, for example botbuilder is an excellent npm package you can use:
https://github.com/Microsoft/BotBuilder-Samples

Resources