@@ -129,8 +129,8 @@ type Assistant struct {
129
129
// ID of the model to use. You can use the
130
130
// [List models](https://platform.openai.com/docs/api-reference/models/list) API to
131
131
// 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.
134
134
Model string `json:"model,required"`
135
135
// The name of the assistant. The maximum length is 256 characters.
136
136
Name string `json:"name,required,nullable"`
@@ -1572,7 +1572,7 @@ func (r AssistantStreamEventThreadMessageIncompleteEvent) IsKnown() bool {
1572
1572
}
1573
1573
1574
1574
// 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.
1576
1576
// This can happen due to an internal server error or a timeout.
1577
1577
type AssistantStreamEventErrorEvent struct {
1578
1578
Data shared.ErrorObject `json:"data,required"`
@@ -1867,14 +1867,14 @@ type FileSearchToolFileSearch struct {
1867
1867
//
1868
1868
// Note that the file search tool may output fewer than `max_num_results` results.
1869
1869
// 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)
1871
1871
// for more information.
1872
1872
MaxNumResults int64 `json:"max_num_results"`
1873
1873
// The ranking options for the file search. If not specified, the file search tool
1874
1874
// will use the `auto` ranker and a score_threshold of 0.
1875
1875
//
1876
1876
// 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)
1878
1878
// for more information.
1879
1879
RankingOptions FileSearchToolFileSearchRankingOptions `json:"ranking_options"`
1880
1880
JSON fileSearchToolFileSearchJSON `json:"-"`
@@ -1901,7 +1901,7 @@ func (r fileSearchToolFileSearchJSON) RawJSON() string {
1901
1901
// will use the `auto` ranker and a score_threshold of 0.
1902
1902
//
1903
1903
// 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)
1905
1905
// for more information.
1906
1906
type FileSearchToolFileSearchRankingOptions struct {
1907
1907
// The score threshold for the file search. All values must be a floating point
@@ -1970,14 +1970,14 @@ type FileSearchToolFileSearchParam struct {
1970
1970
//
1971
1971
// Note that the file search tool may output fewer than `max_num_results` results.
1972
1972
// 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)
1974
1974
// for more information.
1975
1975
MaxNumResults param.Field [int64 ] `json:"max_num_results"`
1976
1976
// The ranking options for the file search. If not specified, the file search tool
1977
1977
// will use the `auto` ranker and a score_threshold of 0.
1978
1978
//
1979
1979
// 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)
1981
1981
// for more information.
1982
1982
RankingOptions param.Field [FileSearchToolFileSearchRankingOptionsParam ] `json:"ranking_options"`
1983
1983
}
@@ -1990,7 +1990,7 @@ func (r FileSearchToolFileSearchParam) MarshalJSON() (data []byte, err error) {
1990
1990
// will use the `auto` ranker and a score_threshold of 0.
1991
1991
//
1992
1992
// 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)
1994
1994
// for more information.
1995
1995
type FileSearchToolFileSearchRankingOptionsParam struct {
1996
1996
// The score threshold for the file search. All values must be a floating point
@@ -2063,8 +2063,8 @@ type BetaAssistantNewParams struct {
2063
2063
// ID of the model to use. You can use the
2064
2064
// [List models](https://platform.openai.com/docs/api-reference/models/list) API to
2065
2065
// 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.
2068
2068
Model param.Field [ChatModel ] `json:"model,required"`
2069
2069
// The description of the assistant. The maximum length is 512 characters.
2070
2070
Description param.Field [string ] `json:"description"`
@@ -2177,8 +2177,8 @@ type BetaAssistantUpdateParams struct {
2177
2177
// ID of the model to use. You can use the
2178
2178
// [List models](https://platform.openai.com/docs/api-reference/models/list) API to
2179
2179
// 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.
2182
2182
Model param.Field [string ] `json:"model"`
2183
2183
// The name of the assistant. The maximum length is 256 characters.
2184
2184
Name param.Field [string ] `json:"name"`
@@ -2252,8 +2252,8 @@ type BetaAssistantListParams struct {
2252
2252
After param.Field [string ] `query:"after"`
2253
2253
// A cursor for use in pagination. `before` is an object ID that defines your place
2254
2254
// 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.
2257
2257
Before param.Field [string ] `query:"before"`
2258
2258
// A limit on the number of objects to be returned. Limit can range between 1 and
2259
2259
// 100, and the default is 20.
0 commit comments