PromptHook class

Prompt hook — sends prompt to LLM.

Inheritance

Constructors

PromptHook({required String prompt, String? model, String? condition, int? timeoutSeconds, bool async_ = false, bool once = false})
const

Properties

async_ → bool
finalinherited
condition → String?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
model → String?
final
once → bool
finalinherited
prompt → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeoutSeconds → int?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited