Logo GenPRES

CompletionInput Type

Record fields

Record Field Description

context_length_exceeded_behavior

Full Usage: context_length_exceeded_behavior

Field type: string
Field type: string

echo

Full Usage: echo

Field type: bool
Field type: bool

frequency_penalty

Full Usage: frequency_penalty

Field type: float
Field type: float

images

Full Usage: images

Field type: string list
Field type: string list

logprobs

Full Usage: logprobs

Field type: int
Field type: int

max_tokens

Full Usage: max_tokens

Field type: int
Field type: int

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

Full Usage: prompt

Field type: string
Field type: string

response_format

Full Usage: response_format

Field type: ResponseFormat
Field type: ResponseFormat

stop

Full Usage: stop

Field type: string
Field type: string

stream

Full Usage: stream

Field type: bool
Field type: bool

temperature

Full Usage: temperature

Field type: float
Field type: float

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.