Kory
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kory
openai
/
io.kory.openai.completions.dto.chunk
/
OpenAIChatCompletionChunk
/
toChatChunk
to
Chat
Chunk
fun
toChatChunk
(
)
:
ChatChunk
Converts this chunk to a core
ChatChunk
.
Return
A
ChatChunk
with mapped choices.