Setup
You’ll need to install the official Gradient Node SDK as a peer dependency:npm
GRADIENT_ACCESS_TOKENGRADIENT_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.
Related
- LLM conceptual guide
- LLM how-to guides