Open ResidentMario opened 8 years ago
This would also (hopefully) address #6.
Once the SDK is released I can tackle an overhaul of the underlying framework that should address two outstanding performance issues:
ConceptModel
objects with more than 50 (hard limit? soft limit? not sure) concepts because the API refuses get_relation_scores()
calls with too many parameters. I should rewrite those methods to send those requests in batches of 50 (or whatever the limit is).Re: Batch requests
After some more experimentation it looks like this is a soft limit on the length of the URL string that is passed to Watson?
This library currently relies on the custom
event_insight_lib.py
for calling to the IBM Watson API. It would be more secure and more stable (and possibly also faster) to use instead the Concept Insights module in the IBM-underwritten Watson Developer Cloud Python SDK (which is not yet finished).