npm install @shaped.ai/client
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);
}
npm run build