Optional
callableOptional
functions?: ({ name: string; id?: string | undefined; description?: string | undefined; parameters?: { type: "object"; title?: string | undefined; description?: string | undefined; default?: any; examples?: any[] | undefined; ... 10 more ...; additionalProperties?: boolean | ... 1 more ... | undefined; } | undefined; })[]Optional
configOptional
apiOptional
context?: stringOptional
disableOptional
dry?: booleanOptional
frequency_Optional
function_Optional
logit_Optional
max_Optional
model?: stringOptional
presence_Optional
stop?: null | string | string[]Optional
stream?: booleanOptional
temperature?: numberOptional
top_Optional
user?: stringOptional
historyOptional
messages?: ({ role: "function" | "user" | "assistant" | "system"; content: string | null; id?: string | undefined; name?: string | undefined; function_call?: { name: string; arguments: Record<string, any>; } | undefined; model?: string | undefined; flags?: string[] | ... 1 more ... | undefined; })[]Optional
idOptional
pluginsPlugins to be used in the conversation.
Note that the order of the plugins is important. Each plugin are called in the order they are defined.
Optional
pluginsOptional
requestOptional
headers?: Record<string, string>Optional
proxy?: { host: string; port?: number | undefined; protocol?: "http" | "https" | undefined; auth?: { username: string; password: string; } | undefined; }Generated using TypeDoc
A JSON representation of a Conversation instance.