http4k
Toggle table of contents
6.55.0.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
http4k
http4k-connect-ai-openai
/
org.http4k.connect.openai.action
/
Choice
Choice
@
JsonSerializable
data
class
Choice
(
val
index
:
Int
,
msg
:
ChoiceDetail
?
,
delta
:
ChoiceDetail
?
,
val
finish_reason
:
StopReason
?
,
val
logprobs
:
ChoiceLogProbs
?
=
null
)
(
source
)
Members
Constructors
Choice
Link copied to clipboard
constructor
(
index
:
Int
,
msg
:
ChoiceDetail
?
,
delta
:
ChoiceDetail
?
,
finish_reason
:
StopReason
?
,
logprobs
:
ChoiceLogProbs
?
=
null
)
Properties
finish_
reason
Link copied to clipboard
val
finish_reason
:
StopReason
?
index
Link copied to clipboard
val
index
:
Int
logprobs
Link copied to clipboard
val
logprobs
:
ChoiceLogProbs
?
message
Link copied to clipboard
val
message
:
ChoiceDetail