1+ # pylint: disable=line-too-long,useless-suppression,too-many-lines
12# coding=utf-8
23# --------------------------------------------------------------------------
34# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -922,12 +923,11 @@ class BingCustomSearchConfiguration(_Model):
922923 strings displayed in a different language.
923924 :vartype set_lang: str
924925 :ivar count: The number of search results to return in the response. The default is 5 and the
925- maximum value is 50. The actual number delivered may be less than requested.
926+ maximum value is 50. The actual number delivered may be less than requested.
926927
927928 * It is possible for multiple pages to include some overlap in results.
928- * This parameter affects only web page results. It's possible that AI model might not use all
929- search results returned by Bing.
930-
929+ * This parameter affects only web page results. It's possible that AI model might not use
930+ all search results returned by Bing.
931931 :vartype count: int
932932 :ivar freshness: Filter search results by the following case-insensitive age values:
933933
@@ -937,7 +937,6 @@ class BingCustomSearchConfiguration(_Model):
937937 discovered by Bing during a specific timeframe, specify a date range in the form:
938938 `YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
939939 to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`.
940-
941940 :vartype freshness: str
942941 """
943942
@@ -978,21 +977,19 @@ class BingCustomSearchConfiguration(_Model):
978977 count : Optional [int ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
979978 """The number of search results to return in the response. The default is 5 and the maximum value
980979 is 50. The actual number delivered may be less than requested.
981-
982- * It is possible for multiple pages to include some overlap in results.
983- * This parameter affects only web page results. It's possible that AI model might not use all
984- search results returned by Bing.
985- """
980+
981+ * It is possible for multiple pages to include some overlap in results.
982+ * This parameter affects only web page results. It's possible that AI model might not use
983+ all search results returned by Bing."""
986984 freshness : Optional [str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
987985 """Filter search results by the following case-insensitive age values:
988-
989- * Day: Return webpages that Bing discovered within the last 24 hours.
990- * Week: Return webpages that Bing discovered within the last 7 days.
991- * Month: Return webpages that Bing discovered within the last 30 days. To get articles
992- discovered by Bing during a specific timeframe, specify a date range in the form:
993- `YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
994- to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`.
995- """
986+
987+ * Day: Return webpages that Bing discovered within the last 24 hours.
988+ * Week: Return webpages that Bing discovered within the last 7 days.
989+ * Month: Return webpages that Bing discovered within the last 30 days. To get articles
990+ discovered by Bing during a specific timeframe, specify a date range in the form:
991+ `YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
992+ to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`."""
996993
997994 @overload
998995 def __init__ (
@@ -1123,12 +1120,11 @@ class BingGroundingSearchConfiguration(_Model):
11231120 strings displayed in a different language.
11241121 :vartype set_lang: str
11251122 :ivar count: The number of search results to return in the response. The default is 5 and the
1126- maximum value is 50. The actual number delivered may be less than requested.
1123+ maximum value is 50. The actual number delivered may be less than requested.
11271124
11281125 * It is possible for multiple pages to include some overlap in results.
1129- * This parameter affects only web page results. It's possible that AI model might not use all
1130- search results returned by Bing.
1131-
1126+ * This parameter affects only web page results. It's possible that AI model might not use
1127+ all search results returned by Bing.
11321128 :vartype count: int
11331129 :ivar freshness: Filter search results by the following case-insensitive age values:
11341130
@@ -1138,7 +1134,6 @@ class BingGroundingSearchConfiguration(_Model):
11381134 discovered by Bing during a specific timeframe, specify a date range in the form:
11391135 `YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
11401136 to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`.
1141-
11421137 :vartype freshness: str
11431138 """
11441139
@@ -1177,21 +1172,19 @@ class BingGroundingSearchConfiguration(_Model):
11771172 count : Optional [int ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
11781173 """The number of search results to return in the response. The default is 5 and the maximum value
11791174 is 50. The actual number delivered may be less than requested.
1180-
1181- * It is possible for multiple pages to include some overlap in results.
1182- * This parameter affects only web page results. It's possible that AI model might not use all
1183- search results returned by Bing.
1184- """
1175+
1176+ * It is possible for multiple pages to include some overlap in results.
1177+ * This parameter affects only web page results. It's possible that AI model might not use
1178+ all search results returned by Bing."""
11851179 freshness : Optional [str ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
11861180 """Filter search results by the following case-insensitive age values:
1187-
1188- * Day: Return webpages that Bing discovered within the last 24 hours.
1189- * Week: Return webpages that Bing discovered within the last 7 days.
1190- * Month: Return webpages that Bing discovered within the last 30 days. To get articles
1191- discovered by Bing during a specific timeframe, specify a date range in the form:
1192- `YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
1193- to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`.
1194- """
1181+
1182+ * Day: Return webpages that Bing discovered within the last 24 hours.
1183+ * Week: Return webpages that Bing discovered within the last 7 days.
1184+ * Month: Return webpages that Bing discovered within the last 30 days. To get articles
1185+ discovered by Bing during a specific timeframe, specify a date range in the form:
1186+ `YYYY-MM-DD..YYYY-MM-DD`. For example, `freshness=2019-02-01..2019-05-30. To limit the results
1187+ to a single date, set this parameter to a specific date. For example, freshness=2019-02-04`."""
11951188
11961189 @overload
11971190 def __init__ (
@@ -2388,22 +2381,22 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
23882381class FileSearchToolDefinitionDetails (_Model ):
23892382 """Options overrides for the file search tool.
23902383
2391- :ivar max_num_results: The maximum number of results the file search tool should output. The
2392- default is 20 for gpt-4* models and 5 for gpt-3.5-turbo. This number should be between 1 and 50
2393- inclusive.
2384+ :ivar max_num_results: The maximum number of results the file search tool should output. The
2385+ default is 20 for gpt-4* models and 5 for gpt-3.5-turbo. This number should be between 1 and 50
2386+ inclusive.
23942387
2395- Note that the file search tool may output fewer than ``max_num_results`` results. See the file
2396- search tool documentation for more information.
2397- :vartype max_num_results: int
2398- :ivar ranking_options: Ranking options for file search.
2399- :vartype ranking_options: ~azure.ai.agents.models.FileSearchRankingOptions
2388+ Note that the file search tool may output fewer than ``max_num_results`` results. See the file
2389+ search tool documentation for more information.
2390+ :vartype max_num_results: int
2391+ :ivar ranking_options: Ranking options for file search.
2392+ :vartype ranking_options: ~azure.ai.agents.models.FileSearchRankingOptions
24002393 """
24012394
24022395 max_num_results : Optional [int ] = rest_field (visibility = ["read" , "create" , "update" , "delete" , "query" ])
24032396 """The maximum number of results the file search tool should output. The default is 20 for gpt-4*
24042397 models and 5 for gpt-3.5-turbo. This number should be between 1 and 50 inclusive.
2405-
2406- Note that the file search tool may output fewer than ``max_num_results`` results. See the file
2398+
2399+ Note that the file search tool may output fewer than ``max_num_results`` results. See the file
24072400 search tool documentation for more information."""
24082401 ranking_options : Optional ["_models.FileSearchRankingOptions" ] = rest_field (
24092402 visibility = ["read" , "create" , "update" , "delete" , "query" ]
0 commit comments