Skip to content

createNVIDIAAdapter

createNVIDIAAdapter(config): NVIDIABackendAdapter

Defined in: backend/src/providers/nvidia.ts:170

Create an NVIDIA NIM backend adapter.

BackendAdapterConfig

Adapter configuration

NVIDIABackendAdapter

NVIDIA backend adapter

import { createNVIDIAAdapter } from 'ai.matey';
const adapter = createNVIDIAAdapter({
apiKey: process.env.NVIDIA_API_KEY,
});
const adapter = createNVIDIAAdapter({
baseURL: 'http://localhost:8000/v1',
apiKey: 'not-needed', // Self-hosted may not need API key
});