Skip to content

Commit a550ee9

Browse files
authored
Merge pull request #294 from watson-developer-cloud/deprecate-concept-insights
Deprecate Concept Insights and Relationship Extraction
2 parents 4f94f60 + d73fc4d commit a550ee9

7 files changed

Lines changed: 9 additions & 1441 deletions

File tree

README.md

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ APIs and SDKs that use cognitive computing to solve complex problems.
5050
The order of preference is now:
5151

5252
1) User-supplied credentials passed to the service constructor
53-
53+
5454
2) `SERVICE_NAME_USERNAME` and `SERVICE_NAME_PASSWORD` environment properties (or `SERVICE_NAME_API_KEY` when appropriate)
55-
55+
5656
3) Bluemix-supplied credentials (via the `VCAP_SERVICES` JSON-encoded environment property)
5757

5858
* Client-side support via [Browserify](http://browserify.org/)
@@ -241,7 +241,9 @@ authorization.getToken(params, function (err, token) {
241241
```
242242

243243
### 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.
246+
245247

246248
### Conversation
247249

@@ -418,29 +420,8 @@ personality_insights.profile({
418420

419421

420422
### Relationship Extraction
421-
Analyze an English news article and get the relationships between sentence
422-
components (nouns, verbs, subjects, objects, etc.) by using the
423-
[Relationship Extraction][relationship_extraction] service.
424-
425-
```javascript
426-
var watson = require('watson-developer-cloud');
427-
428-
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.
433424

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-
```
444425

445426
### Retrieve and Rank
446427
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
683664
[concept_insights]: http://www.ibm.com/watson/developercloud/doc/concept-insights/
684665
[tradeoff_analytics]: http://www.ibm.com/watson/developercloud/doc/tradeoff-analytics/
685666
[language_translator]: http://www.ibm.com/watson/developercloud/doc/language-translation/
667+
[re_migration]: http://www.ibm.com/watson/developercloud/doc/alchemylanguage/migration.shtml
686668

687669
[alchemy_language]: http://www.alchemyapi.com/products/alchemylanguage
688670
[sentiment_analysis]: http://www.alchemyapi.com/products/alchemylanguage/sentiment-analysis

0 commit comments

Comments
 (0)