Tela SDK for JavaScript
NPM
Preparing search index...
Resources
SyncCompletionResult
Type Alias SyncCompletionResult<TContent>
Result returned from a synchronous canvas execution.
type
SyncCompletionResult
<
TContent
>
=
{
choices
:
{
message
:
{
content
:
TContent
;
function_call
:
any
;
role
:
string
;
tool_calls
:
any
[]
;
}
;
}
[]
;
created
:
number
;
id
:
string
;
object
:
string
;
}
Type Parameters
TContent
Index
Properties
choices
created
id
object
Properties
choices
choices
:
{
message
:
{
content
:
TContent
;
function_call
:
any
;
role
:
string
;
tool_calls
:
any
[]
;
}
;
}
[]
created
created
:
number
id
id
:
string
object
object
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
choices
created
id
object
Class Hierarchy
NPM
Tela SDK for JavaScript
Loading...
Result returned from a synchronous canvas execution.