Interface: ToolCallGenerationStartedEvent
Hierarchy
-
↳
ToolCallGenerationStartedEvent
Properties
callId
• callId: undefined
| string
Unique identifier for the function call.
Inherited from
BaseModelCallStartedEvent.callId
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:38
eventType
• eventType: "started"
Type of the event. Defined in the subclasses.
Inherited from
BaseModelCallStartedEvent.eventType
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:85
functionId
• Optional
functionId: string
Optional unique identifier for the function.
Inherited from
BaseModelCallStartedEvent.functionId
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:48
functionType
• functionType: "generate-tool-call"
Type of the function. Defined in the subclasses.
Overrides
BaseModelCallStartedEvent.functionType
Defined in
packages/modelfusion/src/tool/generate-tool-call/ToolCallGenerationEvent.ts:8
input
• input: unknown
The main input to the model call. The type depends on the call type or model.
Inherited from
BaseModelCallStartedEvent.input
Defined in
packages/modelfusion/src/model-function/ModelCallEvent.ts:57
model
• model: ModelInformation
Inherited from
BaseModelCallStartedEvent.model
Defined in
packages/modelfusion/src/model-function/ModelCallEvent.ts:52
parentCallId
• Optional
parentCallId: string
Unique identifier of the call id of the parent function.
Inherited from
BaseModelCallStartedEvent.parentCallId
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.
Inherited from
BaseModelCallStartedEvent.runId
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.
Inherited from
BaseModelCallStartedEvent.sessionId
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:60
settings
• settings: unknown
The model settings used for the call. The type depends on the model.
Inherited from
BaseModelCallStartedEvent.settings
Defined in
packages/modelfusion/src/model-function/ModelCallEvent.ts:62
startTimestamp
• startTimestamp: Date
Timestamp when the function call started.
Inherited from
BaseModelCallStartedEvent.startTimestamp
Defined in
packages/modelfusion/src/core/FunctionEvent.ts:90
timestamp
• timestamp: Date
Timestamp of the event.
Inherited from
BaseModelCallStartedEvent.timestamp
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.
Inherited from
BaseModelCallStartedEvent.userId