Kory
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kory
openai
/
io.kory.openai.completions.dto
/
OpenAIChatCompletionResponse
/
toChatResponse
to
Chat
Response
fun
toChatResponse
(
)
:
ChatResponse
Converts this response to a provider-agnostic
ChatResponse
.
Return
A
ChatResponse
with mapped choices.