OpenAI::RunStepDetailsToolCallsFileSearchResultObject
Inherits JSON::Serializable < Reference < Object
A result instance of the file search.
Constructors
new(pull : JSON::PullParser)
Sourcenew(file_id : String = "", file_name : String = "", score : Float64 = 0.0, content : Array(RunStepDetailsToolCallsFileSearchResultObjectContentItem) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
content
The content of the result that was found. The content is only included if requested via the include query parameter.
The content of the result that was found. The content is only included if requested via the include query parameter.
score=(score : Float64)
The score of the result. All values must be a floating point number between 0 and 1.
validate!
Source