QueryTool class
Constructors
- QueryTool({String name = "query", String description = "Search all entries across all records in multiple queries across a vector database. Your queries should be full text questions. The more specific the better. The user will be shown the most relevant entries to their queries.", required VectorSpace vectorSpace})
Properties
- description → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Map<
String, dynamic> -
no setteroverride
- toolSchema → ToolSchema
-
no setterinherited
- vectorSpace → VectorSpace
-
final
Methods
-
call(
{required Agent agent, required Map< String, dynamic> arguments}) → Future<String> -
override
-
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