ToolDataStoreTool class
Constructors
-
ToolDataStoreTool({Input<
List< ? boostSpecs, Input<ToolDataStoreToolBoostSpec> ?>ToolDataStoreToolDataStoreSource?> ? dataStoreSource, Input<String?> ? description, Input<ToolDataStoreToolEngineSource?> ? engineSource, Input<String?> ? filterParameterBehavior, Input<int?> ? maxResults, Input<List< ? modalityConfigs, required Input<ToolDataStoreToolModalityConfig> ?>String> name}) -
Creates a new ToolDataStoreTool.
boostSpecsBoost specification to boost certain documents.dataStoreSourceOptional. Search within a single specific DataStore.descriptionThe tool description.engineSourceConfiguration for searching within an Engine, potentially targetingfilterParameterBehaviorOptional. The filter parameter behavior.maxResults(Optional, Deprecated)modalityConfigsThe modality configs for the data store.nameThe data store tool name.const -
ToolDataStoreTool.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
boostSpecs
→ Input<
List< ?ToolDataStoreToolBoostSpec> ?> -
Boost specification to boost certain documents.
Structure is documented below.
final
-
dataStoreSource
→ Input<
ToolDataStoreToolDataStoreSource?> ? -
Optional. Search within a single specific DataStore.
Structure is documented below.
final
-
description
→ Input<
String?> ? -
The tool description.
final
-
engineSource
→ Input<
ToolDataStoreToolEngineSource?> ? -
Configuration for searching within an Engine, potentially targeting
specific DataStores.
Structure is documented below.
final
-
filterParameterBehavior
→ Input<
String?> ? -
Optional. The filter parameter behavior.
Possible values:
FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED
ALWAYS_INCLUDE
NEVER_INCLUDE
Possible values are:
FILTER_PARAMETER_BEHAVIOR_UNSPECIFIED,ALWAYS_INCLUDE,NEVER_INCLUDE.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
maxResults
→ Input<
int?> ? -
(Optional, Deprecated)
Number of search results to return per query.
The default value is 10. The maximum allowed value is 10.
final
-
modalityConfigs
→ Input<
List< ?ToolDataStoreToolModalityConfig> ?> -
The modality configs for the data store.
Structure is documented below.
final
-
name
→ Input<
String> -
The data store tool name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited