Interface ChatInput

ChatInput represents the full potential input options for chat.

interface ChatInput {
    inputExtension: InputExtension;
    maxTokens: number;
    messages: string;
    model: string;
    outputExtension: OutputExtension;
    temperature: number;
    topK: number;
    topP: number;
}

Properties

inputExtension: InputExtension

inputExtension represents a set of optional pre-processing integrations.

maxTokens: number

maxTokens represents the max number of tokens to return.

messages: string

message represents a message to process.

model: string

model represents the model to use.

outputExtension: OutputExtension

inputExtension represents a set of optional post-processing integrations.

temperature: number

temperature represents the randomness in GPT's output.

topK: number

topK represents the variability of the generated text.

topP: number

topP represents the diversity of the generated text.