chatgpt-optimized-official
Version:
ChatGPT Client using official OpenAI API
22 lines (21 loc) • 549 B
TypeScript
interface ChatGPTOptions {
model?: string;
temperature?: number;
max_tokens?: number;
top_p?: number;
frequency_penalty?: number;
presence_penalty?: number;
instructions?: string;
moderation?: boolean;
price?: number;
max_conversation_tokens?: number;
endpoint?: string;
functions?: [];
function_call?: string;
name_assistant?: string;
tools?: [];
tool_choice?: string;
parallel_tool_calls?: boolean;
response_format?: {};
}
export default ChatGPTOptions;