chatgpt-optimized-official
Version:
ChatGPT Client using official OpenAI API
23 lines (21 loc) • 497 B
text/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;