Skip to content

ModelAfterEvent

Generated by TypeDoc. Do not edit this page directly.

API Reference


Defined in: packages/core/src/runtime/events.ts:55

  • HarnessEvent<{ content: string; finishReason?: string; model: string; usage?: unknown; }>
new ModelAfterEvent(record): ModelAfterEvent;

Defined in: packages/core/src/runtime/types/events.ts:35

ParameterType
recordHarnessEventRecord<{ content: string; finishReason?: string; model: string; usage?: unknown; }>

ModelAfterEvent

HarnessEvent.constructor

PropertyModifierTypeDefault valueOverridesInherited fromDefined in
recordreadonlyHarnessEventRecord<{ content: string; finishReason?: string; model: string; usage?: unknown; }>undefined-HarnessEvent.recordpackages/core/src/runtime/types/events.ts:35
schemastaticObjectSchema<{ content: StringSchema; finishReason: OptionalSchema<unknown, string | undefined>; model: StringSchema; usage: OptionalSchema<unknown, unknown>; }>undefinedHarnessEvent.schema-packages/core/src/runtime/events.ts:62
typestaticstring"model:after"HarnessEvent.type-packages/core/src/runtime/events.ts:61
get at(): string;

Defined in: packages/core/src/runtime/types/events.ts:49

string

HarnessEvent.at


get id(): string;

Defined in: packages/core/src/runtime/types/events.ts:37

string

HarnessEvent.id


get payload(): TPayload;

Defined in: packages/core/src/runtime/types/events.ts:45

TPayload

HarnessEvent.payload


get type(): string;

Defined in: packages/core/src/runtime/types/events.ts:41

string

HarnessEvent.type