Skip to main content

Install the SDK

npm install edgee

Quick Example

import Edgee from 'edgee';

const edgee = new Edgee(process.env.EDGEE_API_KEY);

const response = await edgee.send({
  model: 'gpt-4o',
  input: 'What is the capital of France?',
});

console.log(response.content);
// "The capital of France is Paris."

What’s Next?