Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

3.0.0

Latest
Compare
Choose a tag to compare
@acrrd acrrd released this 04 Nov 22:10

Added

  • AI data is synchronizable between devices via the new functions syncdata_bytes and synchronize.
  • Add multi-threading support: Parallelism is always enabled for mobile targets and can optionally be enabled for web targets.
    An optional set of Features is introduced to pick the assets for the chosen target during the setup (see getInputData() in the example).
    Feature are currently only supported on the web: the caller needs to pass the set of available features on the browser to the getAssets
    function and the library automatically returns the most suitable WASM assets for the given features.
    For the AI to run in parallel on the web it is required that it runs on a WebWorker.
  • Add methods to instantiate the AI from a state: restore.
  • All methods of XaynAi have been made asynchronous.
  • The RerankModes of XaynAi.rerank() have been extended with unpersonalized variants.
  • MAB system is not executed anymore. Only the context value is used instead to rank the documents.
  • For standard search QA-mBert is used to rerank.
  • The AI does not fail at the first error but try to rerank the documents with the remaining systems.

Changed

  • The method create does not accept anymore a serialized state and it can only be used to create a clean AI.

Removed

  • Removed the optional features parameter in the SetupData constructor.
  • Removed the wasmParallelX AssetTypes. Both parallel and sequential WASM assets share now the same AssetType (wasmModule/wasmScript).