Member Junction
Preparing search index...
@memberjunction/unit-testing
OpenAICompatibleResponsePayload
Interface OpenAICompatibleResponsePayload
OpenAI-wire non-streaming completion payload (the subset MJ drivers consume).
interface
OpenAICompatibleResponsePayload
{
choices
:
{
finish_reason
:
string
;
index
:
number
;
message
:
{
content
:
string
;
role
:
"assistant"
}
;
}
[]
;
created
:
number
;
id
:
string
;
model
:
string
;
object
:
"chat.completion"
;
usage
:
OpenAICompatibleUsagePayload
;
}
Index
Properties
choices
created
id
model
object
usage
Properties
choices
choices
:
{
finish_reason
:
string
;
index
:
number
;
message
:
{
content
:
string
;
role
:
"assistant"
}
;
}
[]
created
created
:
number
id
id
:
string
model
model
:
string
object
object
:
"chat.completion"
usage
usage
:
OpenAICompatibleUsagePayload
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
choices
created
id
model
object
usage
Member Junction
Loading...
OpenAI-wire non-streaming completion payload (the subset MJ drivers consume).