OpenAIFileSearchTool class

File search built-in tool

Enables the model to search through documents in vector stores. Supports multiple file types, query optimization, and metadata filtering.

Implemented types

Constructors

OpenAIFileSearchTool.new({List<String>? vectorStoreIds, Map<String, dynamic>? parameters})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
parameters Map<String, dynamic>?
Additional parameters for file search
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type OpenAIBuiltInToolType
The type of built-in tool
no setteroverride
vectorStoreIds List<String>?
Vector store IDs to search through
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert tool to JSON format for API requests
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override