You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-25Lines changed: 7 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,9 @@ APIs and SDKs that use cognitive computing to solve complex problems.
50
50
The order of preference is now:
51
51
52
52
1) User-supplied credentials passed to the service constructor
53
-
53
+
54
54
2)`SERVICE_NAME_USERNAME` and `SERVICE_NAME_PASSWORD` environment properties (or `SERVICE_NAME_API_KEY` when appropriate)
55
-
55
+
56
56
3) Bluemix-supplied credentials (via the `VCAP_SERVICES` JSON-encoded environment property)
57
57
58
58
* Client-side support via [Browserify](http://browserify.org/)
@@ -241,7 +241,9 @@ authorization.getToken(params, function (err, token) {
241
241
```
242
242
243
243
### Concept Insights
244
-
Concept Insights is deprecated as of July 12, 2016. The service will be removed on August 19th, 2016.
244
+
245
+
The [Concept Insights][concept_insights] has been deprecated, AlchemyLanguage's concept function can be used as a replacement for most Concept Insights use cases; therefore, we encourage existing Concept Insights service users to migrate to AlchemyLanguage.
var relationship_extraction =watson.relationship_extraction({
429
-
username:'<username>',
430
-
password:'<password>',
431
-
version:'v1-beta'
432
-
});
423
+
Relationship Extraction has been deprecated. If you want to continue using Relationship Extraction models, you can now access them with AlchemyLanguage. See the [migration guide][re_migration] for details.
433
424
434
-
relationship_extraction.extract({
435
-
text:'IBM Watson developer cloud',
436
-
dataset:'ie-en-news' },
437
-
function (err, response) {
438
-
if (err)
439
-
console.log('error:', err);
440
-
else
441
-
console.log(JSON.stringify(response, null, 2));
442
-
});
443
-
```
444
425
445
426
### Retrieve and Rank
446
427
Use the [Retrieve and Rank][retrieve_and_rank] service to enhance search results with machine learning.
@@ -683,6 +664,7 @@ See [CONTRIBUTING](https://github.com/watson-developer-cloud/node-sdk/blob/maste
0 commit comments