SmartRedis icon indicating copy to clipboard operation
SmartRedis copied to clipboard

Update ScriptStore/ScriptExecute API to conform with RedisAI changes

Open billschereriii opened this issue 2 years ago • 0 comments

Description

RedisAI has deprecated the AI.SCRIPTSET and AI.SCRIPTRUN API functions and added some additional functionality to the replacement AI.SCRIPTSTORE and AI.SCRIPTEXECUTE functions. The SmartRedis API should be updated to conform with these changes.

Justification

The additional features of the API are useful for users, and the existing RedisAI API will be removed in future releases.

Implementation Strategy

The following changes are needed:

  • [ ] ScriptSet changed to ScriptStore. ScriptStore has an additional parameter ENTRY_POINTS which will need to be added to the SmartRedis API.
  • [ ] Update unit tests to comply with the new script API
  • [ ] Update examples to comply with the new script API

billschereriii avatar Mar 28 '22 03:03 billschereriii