Skip to content

Commit f533161

Browse files
feat(api)!: clean up beta features
1 parent 3846726 commit f533161

3 files changed

Lines changed: 15 additions & 18 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-8b3d9456105d720835c1ccf6732b50be5febdd2976a74edb3568c198adcdecf4.yml
3-
openapi_spec_hash: 0968cb17e173adb9f82c4037311116b4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-ffc54f0dafed1e8e209559eee680a2c1968a9a17e7e74a49d2f45b6470449be2.yml
3+
openapi_spec_hash: d953a6e7b41db65161edc059ca84257b
44
config_hash: 8572a2d7a5ede9ade3be8ad4d8aafd7d

src/parallel/_client.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def search(
355355
advanced_settings: Optional[AdvancedSearchSettingsParam] | Omit = omit,
356356
client_model: Optional[str] | Omit = omit,
357357
max_chars_total: Optional[int] | Omit = omit,
358-
mode: Optional[Literal["basic", "advanced", "turbo"]] | Omit = omit,
358+
mode: Optional[Literal["basic", "advanced"]] | Omit = omit,
359359
objective: Optional[str] | Omit = omit,
360360
session_id: Optional[str] | Omit = omit,
361361
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -388,11 +388,10 @@ def search(
388388
389389
max_chars_total: Upper bound on total characters across excerpts from all results.
390390
391-
mode: Search mode preset: supported values are `basic`, `advanced`, and `turbo`. Basic
392-
mode offers the lowest latency and works best with 2-3 high-quality
393-
search_queries. Advanced mode provides higher quality with more advanced
394-
retrieval and compression. Turbo mode is optimized for the fastest responses.
395-
Defaults to `advanced` when omitted.
391+
mode: Search mode preset: supported values are `basic` and `advanced`. Basic mode
392+
offers the lowest latency and works best with 2-3 high-quality search_queries.
393+
Advanced mode provides higher quality with more advanced retrieval and
394+
compression. Defaults to `advanced` when omitted.
396395
397396
objective: Natural-language description of the underlying question or goal driving the
398397
search. Used together with search_queries to focus results on the most relevant
@@ -748,7 +747,7 @@ async def search(
748747
advanced_settings: Optional[AdvancedSearchSettingsParam] | Omit = omit,
749748
client_model: Optional[str] | Omit = omit,
750749
max_chars_total: Optional[int] | Omit = omit,
751-
mode: Optional[Literal["basic", "advanced", "turbo"]] | Omit = omit,
750+
mode: Optional[Literal["basic", "advanced"]] | Omit = omit,
752751
objective: Optional[str] | Omit = omit,
753752
session_id: Optional[str] | Omit = omit,
754753
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -781,11 +780,10 @@ async def search(
781780
782781
max_chars_total: Upper bound on total characters across excerpts from all results.
783782
784-
mode: Search mode preset: supported values are `basic`, `advanced`, and `turbo`. Basic
785-
mode offers the lowest latency and works best with 2-3 high-quality
786-
search_queries. Advanced mode provides higher quality with more advanced
787-
retrieval and compression. Turbo mode is optimized for the fastest responses.
788-
Defaults to `advanced` when omitted.
783+
mode: Search mode preset: supported values are `basic` and `advanced`. Basic mode
784+
offers the lowest latency and works best with 2-3 high-quality search_queries.
785+
Advanced mode provides higher quality with more advanced retrieval and
786+
compression. Defaults to `advanced` when omitted.
789787
790788
objective: Natural-language description of the underlying question or goal driving the
791789
search. Used together with search_queries to focus results on the most relevant

src/parallel/types/client_search_params.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ class ClientSearchParams(TypedDict, total=False):
3535
max_chars_total: Optional[int]
3636
"""Upper bound on total characters across excerpts from all results."""
3737

38-
mode: Optional[Literal["basic", "advanced", "turbo"]]
39-
"""Search mode preset: supported values are `basic`, `advanced`, and `turbo`.
38+
mode: Optional[Literal["basic", "advanced"]]
39+
"""Search mode preset: supported values are `basic` and `advanced`.
4040
4141
Basic mode offers the lowest latency and works best with 2-3 high-quality
4242
search_queries. Advanced mode provides higher quality with more advanced
43-
retrieval and compression. Turbo mode is optimized for the fastest responses.
44-
Defaults to `advanced` when omitted.
43+
retrieval and compression. Defaults to `advanced` when omitted.
4544
"""
4645

4746
objective: Optional[str]

0 commit comments

Comments
 (0)