npm install @outropy/ts-sdk
Add environment variables to your project.
OUTROPY_API_KEY=your-api-key
OUTROPY_API_ENDPOINT=you-outropy-endpoint
Your endpoint should look something like https://XXXXX.outropy.ai
Setup the Outropy client.
import { outropyClient } from '@outropy/ts-sdk';
const outropy = outropyClient();
By default, outropyClient
uses the environment variables OUTROPY_API_KEY
and OUTROPY_API_ENDPOINT
for configuration. However, you can override these values by passing an options object directly to the client.
import { outropyClient } from '@outropy/ts-sdk';
const outropy = outropyClient({
apiKey: 'your-api-key',
endPoint: 'your-outropy-endpoint',
});
Check the API reference for more information.
This project uses changesets to manage versioning and changelog.
After developing, run the following command to generate a changeset for your changes.
npx changeset
This will create a changeset file in the .changeset
folder where you can add more details about your changes. Once you're done, commit and push the changes to the repository.