Setup
You’ll need to install the official Gradient Node SDK as a peer dependency:npm
GRADIENT_ACCESS_TOKEN
GRADIENT_WORKSPACE_ID
gradientAccessKey
and workspaceId
respectively.
For example:
Usage
npm
Using Gradient’s Base Models
Using your own fine-tuned Adapters
The use your own custom adapter simply setadapterId
during setup.