AssistantToolsFileSearchFileSearch class
Overrides for the file search tool.
- Annotations
-
- @freezed
Constructors
- AssistantToolsFileSearchFileSearch({@JsonKey(name: 'max_num_results', includeIfNull: false) int? maxNumResults, @JsonKey(name: 'ranking_options', includeIfNull: false) FileSearchRankingOptions? rankingOptions})
-
Factory constructor for AssistantToolsFileSearchFileSearch
constfactory
-
AssistantToolsFileSearchFileSearch.fromJson(Map<
String, dynamic> json) -
Object construction from a JSON representation
factory
Properties
-
copyWith
→ $AssistantToolsFileSearchFileSearchCopyWith<
AssistantToolsFileSearchFileSearch> -
Create a copy of AssistantToolsFileSearchFileSearch
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxNumResults → int?
-
The maximum number of results the file search tool should output. The default is 20 for
gpt-4*
models and 5 for gpt-3.5-turbo. This number should be between 1 and 50 inclusive.no setterinherited - rankingOptions → FileSearchRankingOptions?
-
The ranking options for the file search. If not specified, the file search tool will use the
auto
ranker and a score_threshold of 0.no setterinherited - 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
-
toJson(
) → Map< String, dynamic> -
Serializes this AssistantToolsFileSearchFileSearch to a JSON map.
inherited
-
toMap(
) → Map< String, dynamic> - Map representation of object (not serialized)
-
toString(
) → String -
A string representation of this object.
inherited
-
validateSchema(
) → String? - Perform validations on the schema property values
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- maxNumResultsMaxValue → const int
- maxNumResultsMinValue → const int
- Validation constants
-
propertyNames
→ const List<
String> - List of all property names of schema