Is it possible to get the Watson agent version associated with a given workspace_id? - ibm-watson

I am using v1 of the Watson API. It's possible I am missing something in the documentation, but I can't see to figure out how to determine the version of an agent for a given workspace_id.
I'm interested in doing this so that I can log the Watson response server-side, with the associated agent version, which changes as the agent evolves and new content is added.

It turns out that the concept of Watson assistant versions is only supported by the Watson V2 API. Additionally, that API does not presently expose the current version of the assistant being called.

Related

Sending User Input from IBM Watson Assistant to Database or via E-Mail

I want to implement an evaluation feature to my chatbot. User would be able to rate service on a scale of 1 to 5 and make suggestions.
I guess I would use slots for that and store the provided data in a variable.
What would be the easiest way for me to save and access that data later?
Somehow I need to write it to a database and make that database easily accessible. Or ideally having Watson sending an email with the feedback to myself.
Is there an IBM Cloud Database service available for that?
What would be my first steps in order to achieve this? Maybe you have some tips or documentation links, or even code snippets if it's not to much work for you.
I used IBM Cloud functions to get a joke from an API to Watson via webhook. I used code from the internet. So I am somewhat familiar with the concept, but I need more guidance and couldn’t find anything helpful. Basically I know nothing about NODE.
I would recommend the tutorial and its code on how to build a database-driven Slackbot with Watson Assistant. It uses a webhook and Cloud Functions to interact with a database for various actions. You could use that as blueprint for setting up the webhook and see how the database is invoked.
Make sure to secure the webhook. This can only be done using the command line (CLI), see the Cloud Functions doc on securing web actions.

Possible to upload documents to Watson discovery via Watson Assistant?

I have been trying to find an answer to this question, but can't seem to have any luck.
Is it possible to upload a document to Watson Discovery via Watson Assistant?
If so, could anyone point me in the right direction?
There is nothing out of the box that could do as you ask. Discovery does now come with a number of mechanisms to populate collections, i.e. Box, Web and sharepoint crawlers along with a manual upload. Non of these are integrated with Watson assistant.
That's not to say what you are looking for cannot be done, but you would need to build the mechanism yourself. As an example you could create a response payload (json packet ) within Watson Assistant that triggers some client code which performs an upload. This upload could then directly push the document into a discovery collection via discovery's API methods.

Salesforce integration - categorisation based on pricing plans

I am stuck as a developer trying to explore Salesforce for integrating with my CRM which is used by our clients as SaaS.
Background of what i want to achieve in the integration
The idea is that my CRM software allows many features that Salesforce does not and vice-versa. Due to this a typical client who is using my CRM (Saas) ends up using both the softwares. This ends into duplication of efforts where for eg: a customer created in my CRM has to be copied over to Salesforce manually from Salesforce UI.
The integration that i wish to provide will work like a 2 way integration where a customer created from my CRM gets created as Accounts in Salesforce and vice-versa. Same way sync of edits and deletes across the 2 system should work.
Problem that i am having
When i started exploring Salesforce integration, i found that Salesforce allows integration to be done in below ways
Apex trigger based system - I was able to achieve 2 way syncing with Salesforce and my CRM using Apex approach. But the problem is it requires me to access their web api's to send data from my CRM to Salesforce. This feature is only supported in higher pricing plans of Salesforce (Enterprise, Unlimited, Professional - you have to pay extra if you are using professional)
App based approach (eg: Slack): I am looking more towards this approach. As Slack integration works for almost all pricing plans and is supported well. What i could not conclude clearly is - how can i create an App for my CRM and get it listed on Salesforce? How does Salesforce allow an App based access from Slack to submit data into Salesforce system for lower pricing plans. Their documentation says that Api access is only available for higher pricing plans. Then how is this achieved? For eg: you can install Salesforce app into Slack and there after you can send messages to chatter service under individual accounts of Salesforce from Slack.
I am really not sure if i have given enough insight into the problem i am having. But i tried explaining as much as possible. In short i want to integrate 2 way with Salesforce and i am looking for possible solution that is supported at lower pricing plans as well. What type of integration should i go forward with?
Look into using an ETL provider that already is a salesforce technology partner (Boomi, Jitterbit, etc...).
These are already on appexchange.com, and as certified appexchange apps, can access data in salesforce Professional Edition (which does not allow open API access).

How is the API version done for https://graph.windows.net

How is the versioning done for https://graph.windows.net and https://graph.windows.net/$tenantdomain/activities
I see the https://graph.windows.net/ has versions [latest is 1.6] ref: https://msdn.microsoft.com/en-us/library/azure/ad/graph/howto/azure-ad-graph-api-versioning#2013-11-08
but https://graph.windows.net/$tenantdomain/activities is still referred as beta version. The same holds good for /reports as well[https://graph.windows.net/$tenantdomain/reports].
Kindly let me know the difference in version of the above mentioned APIs
Thanks
Karthick
graph.windows.net is the older Azure Active Directory Graph API. graph.microsoft.com is the newer Microsoft Graph API.
I don't think that they will be making updates to the AAD Graph API, it seems all new development is focused on the MS Graph API. You can find documentation about it on https://graph.microsoft.io.
But even though, there doesn't seem to be an equivalent to the activities API in the MS Graph API.

Sonarqube plugin development 'Decorator' alternative?

With the release of sonarqube 5.2, the decorator and batch components have been deprecated. Going through the code I found that they want us to use MeasureComputer instead.
Now, I had a plugin which needs the email settings of the sonar setup, fetch some basic user information and the assignee of each issue.
How do I access the email settings and user information?
Update
As per this JIRA ticket, the data associated to the analysis is sent to some compute engine which resides at the sonar server. This is where the issues are created, assigned e.t.c. So, the information regarding the issue will no longer be available even in some PostJob.
User finder alternative: I am now using the user web service to fetch information I require as far the author of the issue is concerned.
IssueFilter helps me lay my hands on each issue that is reported.
My purpose here is to create a custom report immediately after the analysis where a link to each issue is shown. I don't think I'll be able to achieve this using the sonar plugin.

Resources