AssistantRequest class
Input request given to the Assistant Engine.
Constructors
- AssistantRequest({required String prompt, required AssistantMode mode, required String templateId, required PromptContext context, ConversationSession? session, AssistantConfiguration? configuration})
-
const
Properties
- configuration → AssistantConfiguration?
-
Optional overriding configuration.
final
- context → PromptContext
-
Structured prompt context.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mode → AssistantMode
-
Target assistant mode.
final
- prompt → String
-
The user-supplied or automated prompt instruction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → ConversationSession?
-
Optional conversation session context.
final
- templateId → String
-
Target template or package ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited