Skip to content

Function: flattenChoiceDeltaContent()

flattenChoiceDeltaContent(payload): boolean

Flatten Chat Completions choices[].delta.content arrays to strings.

Record<string, unknown>

boolean