five-on-it / apps/creator/src/runner / Outcome
Interface: Outcome
Defined in: apps/creator/src/runner.ts:55
How a creation ended: what the API is told at its finish.
Properties
calls
calls:
number
Defined in: apps/creator/src/runner.ts:66
The model's calls and tokens.
cost
cost:
number
Defined in: apps/creator/src/runner.ts:58
What it spent (USD).
error?
optionalerror?:string
Defined in: apps/creator/src/runner.ts:62
Why it failed.
inputTokens
inputTokens:
number
Defined in: apps/creator/src/runner.ts:67
outputTokens
outputTokens:
number
Defined in: apps/creator/src/runner.ts:68
state
state:
"done"|"failed"|"cancelled"
Defined in: apps/creator/src/runner.ts:56
summary?
optionalsummary?:string
Defined in: apps/creator/src/runner.ts:60
The model's last words, when it made the game.
system?
optionalsystem?:boolean
Defined in: apps/creator/src/runner.ts:64
No fault of the brief: its creation is given back.
transcript?
optionaltranscript?:Transcript
Defined in: apps/creator/src/runner.ts:70
The conversation, for the moderators.