Skip to content

Commit 200c975

Browse files
feat(api): manual updates
1 parent 2abeeda commit 200c975

3 files changed

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

src/parallel/_client.py

Lines changed: 14 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["turbo", "basic", "advanced"]] | Omit = omit,
358+
mode: Optional[Literal["turbo", "fast", "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,12 @@ 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`, `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.
391+
mode: Search mode preset: supported values are `turbo`, `fast`, `basic`, and
392+
`advanced`. Turbo mode is optimized for the fastest responses. Use Fast mode for
393+
high quality search within a 1-second latency budget. Basic mode offers low
394+
latency and works best with 2-3 high-quality search_queries. Advanced mode
395+
provides higher quality with more advanced retrieval and compression. Defaults
396+
to `advanced` when omitted.
396397
397398
objective: Natural-language description of the underlying question or goal driving the
398399
search. Used together with search_queries to focus results on the most relevant
@@ -748,7 +749,7 @@ async def search(
748749
advanced_settings: Optional[AdvancedSearchSettingsParam] | Omit = omit,
749750
client_model: Optional[str] | Omit = omit,
750751
max_chars_total: Optional[int] | Omit = omit,
751-
mode: Optional[Literal["turbo", "basic", "advanced"]] | Omit = omit,
752+
mode: Optional[Literal["turbo", "fast", "basic", "advanced"]] | Omit = omit,
752753
objective: Optional[str] | Omit = omit,
753754
session_id: Optional[str] | Omit = omit,
754755
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -781,11 +782,12 @@ async def search(
781782
782783
max_chars_total: Upper bound on total characters across excerpts from all results.
783784
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.
785+
mode: Search mode preset: supported values are `turbo`, `fast`, `basic`, and
786+
`advanced`. Turbo mode is optimized for the fastest responses. Use Fast mode for
787+
high quality search within a 1-second latency budget. Basic mode offers low
788+
latency and works best with 2-3 high-quality search_queries. Advanced mode
789+
provides higher quality with more advanced retrieval and compression. Defaults
790+
to `advanced` when omitted.
789791
790792
objective: Natural-language description of the underlying question or goal driving the
791793
search. Used together with search_queries to focus results on the most relevant

src/parallel/types/client_search_params.py

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

4748
objective: Optional[str]

0 commit comments

Comments
 (0)