OpenAI::FileSearchToolCall
Inherits JSON::Serializable < Reference < Object
The results of a file search tool call. See the file search guide for more information.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String = "", type_value : FileSearchToolCallType = FileSearchToolCallType::FileSearchCall, status : FileSearchToolCallStatus = FileSearchToolCallStatus::InProgress, queries : Array(String) = [] of String, results : FileSearchToolCallResults | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
results
Sourceresults=(results : FileSearchToolCallResults | Nil)
Sourcestatus
The status of the file search tool call. One of in_progress,
searching, incomplete or failed,
status=(status : FileSearchToolCallStatus)
The status of the file search tool call. One of in_progress,
searching, incomplete or failed,
type_value=(type_value : FileSearchToolCallType)
The type of the file search tool call. Always file_search_call.