nluxai / nlux

The ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ๐—ณ๐˜‚๐—น Conversational AI JavaScript Library

Home Page:https://docs.nlkit.com/nlux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The project adopts the transit API, can you customize the configuration host?

wkABXY opened this issue ยท comments

import {DataTransferMode} from '@nlux/core';
import {OpenAiModel} from './model';

export type ChatAdapterOptions = {
dataTransferMode?: DataTransferMode;
model?: OpenAiModel;
apiKey: string;
systemMessage?: string;
host?: string;
};

OPENAI_PROXY_URL