1.0.2 • Published 1 year ago

@shaped.ai/client v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Installation

npm install @shaped.ai/client


Usage

const shapedai = require('@shaped.ai/client');
async function retrieveRankResults() {
  const client = shapedai.Client('your_api_key');
  const model_name = 'my_first_model';
  const user_id = '1';
  const results = await client.rank({model_name, user_id});
  console.log(results);
}

Development

npm run build
1.0.2

1 year ago

1.0.1

1 year ago