-
Notifications
You must be signed in to change notification settings - Fork 38
Release Notes
seth-mg edited this page Nov 18, 2024
·
48 revisions
These are modifications since the previous release that may require changes in your calls to the binding.
- Rebranding Rosette -> Analytics
- Use new url and api key header.
- Drop 3.8 and add 3.13.
- Solved compatibility issue with requests >= 2.32.0
- record_similarity allows calls with
RecordSimilarityParameters
without fields and properties
- Adding support and example for
/record-similarity
- Adding line to
entities
example to show how to use Indoc Coref Server. - Branding, websites, email addresses, logos.
- Adding support for the
/events
endpoint (RCB-601) - Adding support for negation for
/events
(TEJ-2055) - Refactor parameter handling for Names endpoints. (RCB-622)
- Dropping support for Python 3.7
- Adding support for Python 3.12.
- Removed
genre
field - Fixed crash when trying to set debug header.
- Allow parameter overrides for
/name-similarity
and/address-similarity
. See theexamples
directory for an example. - Sonar updates.
- Jenkins updates.
- Adding warning log if the
genre
field is present - Removed
from __future__ import print_function
- Add
set_pool_size()
method
- Support unfielded addresses and update address example for /address-similarity
- New Address Similarity endpoint
/address-similarity
- New Address Similarity example
- New Similar Terms endpoint
/semantics/similar
- New Similar Terms example
-
/text-embedding
endpoint changed to/semantics/vector
-
/text-embedding
example changed to/semantics/vector
example - New URL in Categories example
- Comments added to examples demonstrating how to set options
- Multilingual language identification example
- User Agent includes runtime version
- No longer tested on 2.6 or 3.3
- Fixed an open file handle
- New Topics endpoint
- New Topics example
- New Endpoints, transliteration and name_deduplication
- MorphologyOutput class, used for setting the morphology output in the call to morphology has been refactored as api.morphology_output[''], where output type is 'COMPOUND_COMPONENTS', 'HAN_READINGS', 'LEMMAS', 'PARTS_OF_SPEECH', 'COMPLETE'
- Examples added for transliteration and name_deduplication
- Deprecated several API methods to conform to python snake_case
- Deprecated MorphologyOutput class, please use API.morphology_output
- Bug fix for file + setUrlParameter
- Api.setUrlParameter(name, value) added, NOTE: "name" can be removed by setting value = None
- Api.getUrlParameter(name) added
- Api.clearUrlParameters() added
- Api.syntax_dependencies added
- Api.text_embedding added
- Binding reflects unification of
/entities
and/entities/linked
endpoints;/entities
returns a new response model which includes QIDs by default - resolve_entities parameter is not available anymore (entities method returns QIDs by default)
- linkEntities option is available to turn off QIDs through
api.setOption("linkEntities", False)
- Added
api.setOption
,api.getOption
andapi.clearOptions
to allow users to manage options as needed - Removed
RelationshipParameters
. It's only purpose was to extendDocumentParameters
to accept an options parameter. With the advent of the api option methods, it is no longer needed. UseDocumentParameters
andapi.setOption('accuracyMode', 'RECALL|PRECISION')
instead.PRECISION
is the default if no options are specified.
- (optional) genre parameter added
- Functions
translate_name()
andmatched_name()
have been deprecated and replaced withname_translation()
andname_similarity()
to represent the respective RosetteAPI endpoint name changes. - All responses now include the response headers in the returned dict -- make sure to access or filter the desired JSON response object in your code. Related to Rosette API's new headers mentioned here.
These changes should not require modifications to your bindings calls, but represent major internal changes, often correlating to Rosette API functional changes indicated here.
- Resolved InsecureRequestWarning
- topics endpoint
- example code cleanup
- Code cleanup per pep8
- unit tests added for the new endpoints, transliteration and name_deduplication
- added setUrlParameter logic to multipart handling
- removed 429 loop. All non-200 codes will be reported as exceptions
- max connections set according to Concurrency returned from Rosette API
- Updated unit tests to test the option methods
- Updated the relationship example to use DocumentParameters and api.setOption
- Internal restructuring to remove obsolete code and encapsulate request operations
- Revised unit tests to be individual per endpoint and exception
- The
unit
,contentType
, andcontentBytes
input parameters have been removed. Base64-encoded input should be sent as an input file. - The
X-RosetteAPI-Request-Id
andX-RosetteAPI-ProcessedLanguage
values have been added as response headers.