baseURL. Access every model in the catalog through the familiar OpenAI TypeScript/JavaScript interface.
Installation
Usage
Streaming
Using Different Models
Swap themodel parameter to use any provider — no other changes needed:
Use the official OpenAI Node.js SDK with Lightweight.
baseURL. Access every model in the catalog through the familiar OpenAI TypeScript/JavaScript interface.
model parameter to use any provider — no other changes needed: