Interface: BaseFunctionEvent
Hierarchy
-
BaseFunctionEvent
Properties
callId
• callId: undefined
| string
Unique identifier for the function call.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:38
eventType
• eventType: "started"
| "finished"
Type of the event. Defined in the subclasses.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:76
functionId
• Optional
functionId: string
Optional unique identifier for the function.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:48
functionType
• functionType: string
Type of the function. Defined in the subclasses.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:81
parentCallId
• Optional
parentCallId: string
Unique identifier of the call id of the parent function.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:43
runId
• Optional
runId: string
Unique identifier for the run. Only available if the function is part of a run.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:54
sessionId
• Optional
sessionId: string
Unique identifier for the session. Only available if the function is part of a run with a session.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:60
timestamp
• timestamp: Date
Timestamp of the event.
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:71
userId
• Optional
userId: string
Unique identifier for the user. Only available if the function is part of a run with a user.