PubMindAgent class
Constructors
Properties
- apiKey → String
-
final
-
conversationHistory
→ List<
ChatMessage> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- iterationCount → int
-
no setter
- maxIterations → int
-
final
- maxTokens → int
-
final
- model → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- temperature → double
-
final
-
tools
→ List<
Tool< Object, ToolOptions, Object> > -
final
Methods
-
clearHistory(
) → void -
execute(
{required String task, required String systemPrompt, Map< String, dynamic> ? context}) → Future<String> -
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