Member Junction
Preparing search index...
@memberjunction/unit-testing
OpenAICompatibleChunkPayload
Interface OpenAICompatibleChunkPayload
OpenAI-wire streaming chunk payload (the subset MJ drivers consume).
interface
OpenAICompatibleChunkPayload
{
choices
:
{
delta
:
{
content
?:
string
}
;
finish_reason
:
string
|
null
;
index
:
number
;
}
[]
;
id
:
string
;
model
:
string
;
object
:
"chat.completion.chunk"
;
usage
?:
OpenAICompatibleUsagePayload
;
x_groq
?:
{
usage
:
OpenAICompatibleUsagePayload
}
;
}
Index
Properties
choices
id
model
object
usage?
x_
groq?
Properties
choices
choices
:
{
delta
:
{
content
?:
string
}
;
finish_reason
:
string
|
null
;
index
:
number
;
}
[]
id
id
:
string
model
model
:
string
object
object
:
"chat.completion.chunk"
Optional
usage
usage
?:
OpenAICompatibleUsagePayload
Optional
x_
groq
x_groq
?:
{
usage
:
OpenAICompatibleUsagePayload
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
choices
id
model
object
usage
x_
groq
Member Junction
Loading...
OpenAI-wire streaming chunk payload (the subset MJ drivers consume).