Skip to content

Commit e726e10

Browse files
feat(api): manual updates
1 parent 15f1f47 commit e726e10

3 files changed

Lines changed: 21 additions & 24 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: 33
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-dcb1605f4878ba899f427518b5f86d2bb79fc37820caa27392695fe8b7f5295c.yml
3-
openapi_spec_hash: 6c7d3db50b53be72d8b35c260f771004
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-e72f6dcf18ffc713480444feef670bbbe754221e0a68336823642b474c20ec93.yml
3+
openapi_spec_hash: ae8c3c62a78f2413f52c240c2a5d68a8
44
config_hash: d4f69197dba970d05757624fe3f7b373

src/parallel/_client.py

Lines changed: 12 additions & 14 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["turbo", "basic", "advanced", "fast"]] | Omit = omit,
358+
mode: Optional[Literal["turbo", "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,12 +388,11 @@ 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 `turbo`, `fast`, `basic`, and
392-
`advanced`. Turbo mode is optimized for the fastest responses. Fast mode trades
393-
some quality for low latency, and works best with concise, high-quality
394-
objective and search_queries. Basic mode offers low latency and works best with
395-
2-3 high-quality search_queries. Advanced mode provides higher quality with more
396-
advanced retrieval and compression. Defaults to `advanced` when omitted.
391+
mode: Search mode preset: supported values are `turbo`, `basic`, and `advanced`. Turbo
392+
mode is optimized for the fastest responses. Basic mode offers low latency and
393+
works best with 2-3 high-quality search_queries. Advanced mode provides higher
394+
quality with more advanced retrieval and compression. Defaults to `advanced`
395+
when omitted.
397396
398397
objective: Natural-language description of the underlying question or goal driving the
399398
search. Used together with search_queries to focus results on the most relevant
@@ -749,7 +748,7 @@ async def search(
749748
advanced_settings: Optional[AdvancedSearchSettingsParam] | Omit = omit,
750749
client_model: Optional[str] | Omit = omit,
751750
max_chars_total: Optional[int] | Omit = omit,
752-
mode: Optional[Literal["turbo", "basic", "advanced", "fast"]] | Omit = omit,
751+
mode: Optional[Literal["turbo", "basic", "advanced"]] | Omit = omit,
753752
objective: Optional[str] | Omit = omit,
754753
session_id: Optional[str] | Omit = omit,
755754
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -782,12 +781,11 @@ async def search(
782781
783782
max_chars_total: Upper bound on total characters across excerpts from all results.
784783
785-
mode: Search mode preset: supported values are `turbo`, `fast`, `basic`, and
786-
`advanced`. Turbo mode is optimized for the fastest responses. Fast mode trades
787-
some quality for low latency, and works best with concise, high-quality
788-
objective and search_queries. Basic mode offers low latency and works best with
789-
2-3 high-quality search_queries. Advanced mode provides higher quality with more
790-
advanced retrieval and compression. Defaults to `advanced` when omitted.
784+
mode: Search mode preset: supported values are `turbo`, `basic`, and `advanced`. Turbo
785+
mode is optimized for the fastest responses. Basic mode offers low latency and
786+
works best with 2-3 high-quality search_queries. Advanced mode provides higher
787+
quality with more advanced retrieval and compression. Defaults to `advanced`
788+
when omitted.
791789
792790
objective: Natural-language description of the underlying question or goal driving the
793791
search. Used together with search_queries to focus results on the most relevant

src/parallel/types/client_search_params.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,13 @@ 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["turbo", "basic", "advanced", "fast"]]
39-
"""
40-
Search mode preset: supported values are `turbo`, `fast`, `basic`, and
41-
`advanced`. Turbo mode is optimized for the fastest responses. Fast mode trades
42-
some quality for low latency, and works best with concise, high-quality
43-
objective and search_queries. Basic mode offers low latency and works best with
44-
2-3 high-quality search_queries. Advanced mode provides higher quality with more
45-
advanced retrieval and compression. Defaults to `advanced` when omitted.
38+
mode: Optional[Literal["turbo", "basic", "advanced"]]
39+
"""Search mode preset: supported values are `turbo`, `basic`, and `advanced`.
40+
41+
Turbo mode is optimized for the fastest responses. Basic mode offers low latency
42+
and works best with 2-3 high-quality search_queries. Advanced mode provides
43+
higher quality with more advanced retrieval and compression. Defaults to
44+
`advanced` when omitted.
4645
"""
4746

4847
objective: Optional[str]

0 commit comments

Comments
 (0)