@gradientai/nodejs-sdk
v1.12.1
Published
JavaScript and TypeScript client for Gradient AI
Downloads
2,793
Readme
Gradient AI SDK for JavaScript
A JavaScript client with TypeScript types definitions for gradient
Installation
npm install --save @gradientai/nodejs-sdk
Usage
Refer to SDK quickstart page for more examples. The gradient-sdk-typescript-example repository has a complete working example!
import { Gradient } from "@gradientai/nodejs-sdk";
const gradient = new Gradient({});
const models = await gradient.listModels();
See the complete list of endpoints in the API reference.
Requirements
This package requires NodeJS at least in version 18.
Getting help
To report issues with the SDK, it is possible to submit an issue in the package repo.