Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.04 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.04 KB

Gradient AI SDK for JavaScript

A JavaScript client with TypeScript types definitions for gradient

npm version

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.