Properties
Optional
apiKey
apiKey?: string
Optional
frequency_penalty
frequency_penalty?: number
Optional
logit_bias
logit_bias?: {
[k: string]: unknown;
}
Optional
max_tokens
max_tokens?: number
Optional
messages
messages?: {
content: string;
role: "user" | "assistant";
[k: string]: unknown;
}[]
Type declaration
[k: string]: unknown
content: string
role: "user" | "assistant"
Optional
model
model?: string
Optional
presence_penalty
presence_penalty?: number
Optional
project_id
project_id?: string | number
Optional
response_format
response_format?: {
[k: string]: unknown;
}
Optional
seed
seed?: number
Optional
session_id
session_id?: string
Optional
stop
stop?: string
Optional
streaming
streaming?: boolean
Optional
system_prompt
system_prompt?: string
Optional
temperature
temperature?: number
Optional
tools
tools?: {
[k: string]: unknown;
}[]
Optional
top_p
top_p?: number
Optional
user
user?: string
Input to chat model class.