Closed DVBVV closed 7 years ago
Hi, thanks for the report. The knowledge_graph parameter was missing from the concepts method in AlchemyLanguage. It has been added (as knowledge_graph
, to match the casing of the other parameters) and will be in the next release.
See also the NaturalLanguageUnderstanding service, which is the successor to AlchemyLanguage.
Dear JS Stylos, Do you know when this release is available, and is AlchemyLanguage going to be phased out and it is going to be NaturalLanguageUnderstanding?
Thank a lot btw for reacting!
No problem. The deprecation date for AlchemyLanguage hasn't been announced yet, but users are encouraged to start looking at NaturalLanguageUnderstanding, which also has some lower costs.
Then rises the question, to what extend the knowledgeGraph is going to be still available? And if not what is replacing it. In the Alchemy API there is availability of taxonomy which translates into categories in the NaturalLanguageUnderstanding API, this is not necessarily the same as the knowledgeGraph, or is it?? I do not see the option of knowledgeGraph under concepts in the NLU API anymore....
AlchemyLanguage is now officially deprecated, AlchemyLanguage service instances will continue to work until March 2018 (https://www.ibm.com/watson/developercloud/doc/alchemylanguage/).
The Natural Language Understanding API concepts feature doesn't currently support the knowledge graph type-hierarchy.
Dear JS, to what extend do you expect IBM to come up with the knowledge-graph as a functionality, or is it not on the roadmap?
@DVBVV No plans yet, but based on demand it could get added, so I'll note your inquiry with the service team.
Dear Miss./Mr.,
When using the knowledgeGraph example in concepts request from the alchemy-language api.
See: https://www.ibm.com/watson/developercloud/alchemy-language/api/v1/?python#concepts
I get the following error: TypeError: concepts() got an unexpected keyword argument 'knowledgeGraph'
Code Example from the above URL: mport json from watson_developer_cloud import AlchemyLanguageV1
alchemy_language = AlchemyLanguageV1(api_key='API_KEY')
print(json.dumps( alchemy_language.concepts( url='https://www.ibm.com/watson/', knowledgeGraph=1), indent=2))
The node.js example works by the way, so it seems something is not working well in the python sdk.
Hope that this can be resolved soon!