Closed wkABXY closed 3 weeks ago
OPENAI_PROXY_URL
Hi @wkABXY We will not be maintaining the OpenAI adapter, as we recommend using custom adapters.
You can easily create a custom adapter that simply uses the OpenAI NPM and your preferred config.
Ref doc here: https://docs.nlkit.com/nlux/reference/adapters/custom-adapters
import {DataTransferMode} from '@nlux/core'; import {OpenAiModel} from './model';
export type ChatAdapterOptions = { dataTransferMode?: DataTransferMode; model?: OpenAiModel; apiKey: string; systemMessage?: string; host?: string; };