class

OpenAI::RunStepDetailsToolCallsFileSearchRankingOptionsObject

Inherits JSON::Serializable < Reference < Object

The ranking options for the file search.

Constructors

new(ranker : FileSearchRanker = FileSearchRanker::Auto, score_threshold : Float64 = 0.0)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

ranker
Source
ranker=(ranker : FileSearchRanker)
Source
score_threshold

The score threshold for the file search. All values must be a floating point number between 0 and 1.

Source
score_threshold=(score_threshold : Float64)

The score threshold for the file search. All values must be a floating point number between 0 and 1.

Source
validate!
Source