Share via


FileSearchToolDefinitionDetailsOutput interface

Options overrides for the file search tool.

Properties

maxNumResults

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.

Note that the file search tool may output fewer than maxNumResults results. See the file search tool documentation for more information.

rankingOptions

Ranking options for file search.

Property Details

maxNumResults

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.

Note that the file search tool may output fewer than maxNumResults results. See the file search tool documentation for more information.

maxNumResults?: number

Property Value

number

rankingOptions

Ranking options for file search.

rankingOptions?: FileSearchRankingOptionsOutput

Property Value