Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

watson-developer-cloud

Package Overview
Dependencies
Maintainers
3
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

watson-developer-cloud - npm Package Compare versions

Comparing version 3.8.0 to 3.9.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [3.9.0](https://github.com/watson-developer-cloud/node-sdk/compare/v3.8.0...v3.9.0) (2018-08-15)
### Features
* **regenerate:** add methods for new discovery metrics endpoints ([f396eca](https://github.com/watson-developer-cloud/node-sdk/commit/f396eca))
# [3.8.0](https://github.com/watson-developer-cloud/node-sdk/compare/v3.7.1...v3.8.0) (2018-08-07)

@@ -2,0 +9,0 @@

8

natural-language-classifier/v1-generated.d.ts

@@ -55,3 +55,3 @@ /**

* @param {string} params.classifier_id - Classifier ID to use.
* @param {string} params.text - The submitted phrase.
* @param {string} params.text - The submitted phrase. The maximum length is 2048 characters.
* @param {Object} [params.headers] - Custom request headers

@@ -162,3 +162,3 @@ * @param {Function} [callback] - The callback that handles the response.

classifier_id: string;
/** The submitted phrase. */
/** The submitted phrase. The maximum length is 2048 characters. */
text: string;

@@ -255,3 +255,3 @@ headers?: Object;

interface ClassifyInput {
/** The submitted phrase. */
/** The submitted phrase. The maximum length is 2048 characters. */
text: string;

@@ -261,3 +261,3 @@ }

interface CollectionItem {
/** The submitted phrase. */
/** The submitted phrase. The maximum length is 2048 characters. */
text?: string;

@@ -264,0 +264,0 @@ /** The class with the highest confidence. */

@@ -65,3 +65,3 @@ "use strict";

* @param {string} params.classifier_id - Classifier ID to use.
* @param {string} params.text - The submitted phrase.
* @param {string} params.text - The submitted phrase. The maximum length is 2048 characters.
* @param {Object} [params.headers] - Custom request headers

@@ -68,0 +68,0 @@ * @param {Function} [callback] - The callback that handles the response.

{
"name": "watson-developer-cloud",
"version": "3.8.0",
"version": "3.9.0",
"description": "Client library to use the IBM Watson Services and AlchemyAPI",

@@ -5,0 +5,0 @@ "main": "./index",

@@ -91,6 +91,6 @@ # Watson APIs Node.js SDK

1. Go to the IBM Cloud **[Dashboard][watson-dashboard]** page.
1. Either click an existing Watson service instance or click **Create**.
1. Click **Show** to view your service credentials.
1. Copy the `url` and either `apikey` or `username` and `password`.
1. Go to the IBM Cloud [Dashboard](https://console.bluemix.net/dashboard/apps?category=ai) page.
1. Either click an existing Watson service instance or click [**Create resource > AI**](https://console.bluemix.net/catalog/?category=ai) and create a service instance.
1. Click **Show** to view your service credentials.
1. Copy the `url` and either `apikey` or `username` and `password`.

@@ -287,3 +287,3 @@ ### IAM

Note: you must first create a workspace via Bluemix. See [the documentation](https://console.bluemix.net/docs/services/conversation/index.html#about) for details.
Note: You must first create a workspace via IBM Cloud. See [the documentation](https://console.bluemix.net/docs/services/conversation/index.html#about) for details.

@@ -290,0 +290,0 @@ ```js

@@ -85,4 +85,4 @@ /**

* - `default`: Returns classes from thousands of general tags.
* - `food`: (Beta) Enhances specificity and accuracy for images of food items.
* - `explicit`: (Beta) Evaluates whether the image might be pornographic.
* - `food`: Enhances specificity and accuracy for images of food items.
* - `explicit`: Evaluates whether the image might be pornographic.
* @param {string} [params.images_file_content_type] - The content type of images_file.

@@ -310,3 +310,3 @@ * @param {Object} [params.headers] - Custom request headers

owners?: string[];
/** Which classifiers to apply. Overrides the **owners** parameter. You can specify both custom and built-in classifier IDs. The built-in `default` classifier is used if both **classifier_ids** and **owners** parameters are empty. The following built-in classifier IDs require no training: - `default`: Returns classes from thousands of general tags. - `food`: (Beta) Enhances specificity and accuracy for images of food items. - `explicit`: (Beta) Evaluates whether the image might be pornographic. */
/** Which classifiers to apply. Overrides the **owners** parameter. You can specify both custom and built-in classifier IDs. The built-in `default` classifier is used if both **classifier_ids** and **owners** parameters are empty. The following built-in classifier IDs require no training: - `default`: Returns classes from thousands of general tags. - `food`: Enhances specificity and accuracy for images of food items. - `explicit`: Evaluates whether the image might be pornographic. */
classifier_ids?: string[];

@@ -313,0 +313,0 @@ /** The content type of images_file. */

@@ -101,4 +101,4 @@ "use strict";

* - `default`: Returns classes from thousands of general tags.
* - `food`: (Beta) Enhances specificity and accuracy for images of food items.
* - `explicit`: (Beta) Evaluates whether the image might be pornographic.
* - `food`: Enhances specificity and accuracy for images of food items.
* - `explicit`: Evaluates whether the image might be pornographic.
* @param {string} [params.images_file_content_type] - The content type of images_file.

@@ -105,0 +105,0 @@ * @param {Object} [params.headers] - Custom request headers

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc