Logo GenPRES

ChatInput Type

Record fields

Record Field Description

context_length_exceeded_behavior

Full Usage: context_length_exceeded_behavior

Field type: string
Field type: string

frequency_penalty

Full Usage: frequency_penalty

Field type: float
Field type: float

max_tokens

Full Usage: max_tokens

Field type: int
Field type: int

messages

Full Usage: messages

Field type: (type) list
Field type: (type) list

model

Full Usage: model

Field type: string
Field type: string

n

Full Usage: n

Field type: int
Field type: int

presence_penalty

Full Usage: presence_penalty

Field type: float
Field type: float

prompt_truncate_len

Full Usage: prompt_truncate_len

Field type: int
Field type: int

response_format

Full Usage: response_format

Field type: ResponseFormat
Field type: ResponseFormat

stop

Full Usage: stop

Field type: string list
Field type: string list

stream

Full Usage: stream

Field type: bool
Field type: bool

temperature

Full Usage: temperature

Field type: float
Field type: float

tools

Full Usage: tools

Field type: obj list
Field type: obj list

top_k

Full Usage: top_k

Field type: int
Field type: int

top_p

Full Usage: top_p

Field type: float
Field type: float

user

Full Usage: user

Field type: string
Field type: string

Type something to start searching.