Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@gradientai/nodejs-sdk

Preemo-Inc15.7kMIT1.12.1TypeScript support: included

JavaScript and TypeScript client for Gradient AI

@gradientai/nodejs-sdk, ai, artificial intelligence, fine-tuning, large language model, llm, gradient, gradient ai, typescript, @gradientai/nodejs-sdk

readme

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.