@@ -129,8 +129,8 @@ type Assistant struct {
129129 // ID of the model to use. You can use the
130130 // [List models](https://platform.openai.com/docs/api-reference/models/list) API to
131131 // see all of your available models, or see our
132- // [Model overview](https://platform.openai.com/docs/models/overview ) for
133- // descriptions of them.
132+ // [Model overview](https://platform.openai.com/docs/models) for descriptions of
133+ // them.
134134 Model string `json:"model,required"`
135135 // The name of the assistant. The maximum length is 256 characters.
136136 Name string `json:"name,required,nullable"`
@@ -1572,7 +1572,7 @@ func (r AssistantStreamEventThreadMessageIncompleteEvent) IsKnown() bool {
15721572}
15731573
15741574// Occurs when an
1575- // [error](https://platform.openai.com/docs/guides/error-codes/ api-errors) occurs.
1575+ // [error](https://platform.openai.com/docs/guides/error-codes# api-errors) occurs.
15761576// This can happen due to an internal server error or a timeout.
15771577type AssistantStreamEventErrorEvent struct {
15781578 Data shared.ErrorObject `json:"data,required"`
@@ -1867,14 +1867,14 @@ type FileSearchToolFileSearch struct {
18671867 //
18681868 // Note that the file search tool may output fewer than `max_num_results` results.
18691869 // See the
1870- // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search/ customizing-file-search-settings)
1870+ // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search# customizing-file-search-settings)
18711871 // for more information.
18721872 MaxNumResults int64 `json:"max_num_results"`
18731873 // The ranking options for the file search. If not specified, the file search tool
18741874 // will use the `auto` ranker and a score_threshold of 0.
18751875 //
18761876 // See the
1877- // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search/ customizing-file-search-settings)
1877+ // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search# customizing-file-search-settings)
18781878 // for more information.
18791879 RankingOptions FileSearchToolFileSearchRankingOptions `json:"ranking_options"`
18801880 JSON fileSearchToolFileSearchJSON `json:"-"`
@@ -1901,7 +1901,7 @@ func (r fileSearchToolFileSearchJSON) RawJSON() string {
19011901// will use the `auto` ranker and a score_threshold of 0.
19021902//
19031903// See the
1904- // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search/ customizing-file-search-settings)
1904+ // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search# customizing-file-search-settings)
19051905// for more information.
19061906type FileSearchToolFileSearchRankingOptions struct {
19071907 // The score threshold for the file search. All values must be a floating point
@@ -1970,14 +1970,14 @@ type FileSearchToolFileSearchParam struct {
19701970 //
19711971 // Note that the file search tool may output fewer than `max_num_results` results.
19721972 // See the
1973- // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search/ customizing-file-search-settings)
1973+ // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search# customizing-file-search-settings)
19741974 // for more information.
19751975 MaxNumResults param.Field [int64 ] `json:"max_num_results"`
19761976 // The ranking options for the file search. If not specified, the file search tool
19771977 // will use the `auto` ranker and a score_threshold of 0.
19781978 //
19791979 // See the
1980- // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search/ customizing-file-search-settings)
1980+ // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search# customizing-file-search-settings)
19811981 // for more information.
19821982 RankingOptions param.Field [FileSearchToolFileSearchRankingOptionsParam ] `json:"ranking_options"`
19831983}
@@ -1990,7 +1990,7 @@ func (r FileSearchToolFileSearchParam) MarshalJSON() (data []byte, err error) {
19901990// will use the `auto` ranker and a score_threshold of 0.
19911991//
19921992// See the
1993- // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search/ customizing-file-search-settings)
1993+ // [file search tool documentation](https://platform.openai.com/docs/assistants/tools/file-search# customizing-file-search-settings)
19941994// for more information.
19951995type FileSearchToolFileSearchRankingOptionsParam struct {
19961996 // The score threshold for the file search. All values must be a floating point
@@ -2063,8 +2063,8 @@ type BetaAssistantNewParams struct {
20632063 // ID of the model to use. You can use the
20642064 // [List models](https://platform.openai.com/docs/api-reference/models/list) API to
20652065 // see all of your available models, or see our
2066- // [Model overview](https://platform.openai.com/docs/models/overview ) for
2067- // descriptions of them.
2066+ // [Model overview](https://platform.openai.com/docs/models) for descriptions of
2067+ // them.
20682068 Model param.Field [ChatModel ] `json:"model,required"`
20692069 // The description of the assistant. The maximum length is 512 characters.
20702070 Description param.Field [string ] `json:"description"`
@@ -2177,8 +2177,8 @@ type BetaAssistantUpdateParams struct {
21772177 // ID of the model to use. You can use the
21782178 // [List models](https://platform.openai.com/docs/api-reference/models/list) API to
21792179 // see all of your available models, or see our
2180- // [Model overview](https://platform.openai.com/docs/models/overview ) for
2181- // descriptions of them.
2180+ // [Model overview](https://platform.openai.com/docs/models) for descriptions of
2181+ // them.
21822182 Model param.Field [string ] `json:"model"`
21832183 // The name of the assistant. The maximum length is 256 characters.
21842184 Name param.Field [string ] `json:"name"`
@@ -2252,8 +2252,8 @@ type BetaAssistantListParams struct {
22522252 After param.Field [string ] `query:"after"`
22532253 // A cursor for use in pagination. `before` is an object ID that defines your place
22542254 // in the list. For instance, if you make a list request and receive 100 objects,
2255- // ending with obj_foo, your subsequent call can include before=obj_foo in order to
2256- // fetch the previous page of the list.
2255+ // starting with obj_foo, your subsequent call can include before=obj_foo in order
2256+ // to fetch the previous page of the list.
22572257 Before param.Field [string ] `query:"before"`
22582258 // A limit on the number of objects to be returned. Limit can range between 1 and
22592259 // 100, and the default is 20.
0 commit comments