@shaped.ai/client
v1.0.2
Published
Client SDK for Shaped AI
Downloads
740
Readme
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