diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d0ab664..2a8f4ff 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.2.0" + ".": "1.3.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 00c360c..b92f0eb 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 33 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-e72f6dcf18ffc713480444feef670bbbe754221e0a68336823642b474c20ec93.yml -openapi_spec_hash: ae8c3c62a78f2413f52c240c2a5d68a8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/parallel-web/parallel-sdk-bc41f3e04b7d50e2bc4cc7844a81b5e2035c0409506d34af6f9722aebe5561bf.yml +openapi_spec_hash: 305d7d32c612fc989f722b21ddeb9da5 config_hash: d4f69197dba970d05757624fe3f7b373 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ca2afd..ede8914 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.3.0 (2026-08-12) + +Full Changelog: [v1.2.0...v1.3.0](https://github.com/parallel-web/parallel-sdk-python/compare/v1.2.0...v1.3.0) + +### Features + +* **api:** manual updates ([200c975](https://github.com/parallel-web/parallel-sdk-python/commit/200c975def7f5a2576e07262b296ff1adeb02ab2)) + ## 1.2.0 (2026-08-10) Full Changelog: [v1.1.0...v1.2.0](https://github.com/parallel-web/parallel-sdk-python/compare/v1.1.0...v1.2.0) diff --git a/pyproject.toml b/pyproject.toml index e9ff6e6..f63d1c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "parallel-web" -version = "1.2.0" +version = "1.3.0" description = "The official Python library for the Parallel API" dynamic = ["readme"] license = "MIT" diff --git a/src/parallel/_client.py b/src/parallel/_client.py index 8ecaaaf..f442234 100644 --- a/src/parallel/_client.py +++ b/src/parallel/_client.py @@ -355,7 +355,7 @@ def search( advanced_settings: Optional[AdvancedSearchSettingsParam] | Omit = omit, client_model: Optional[str] | Omit = omit, max_chars_total: Optional[int] | Omit = omit, - mode: Optional[Literal["turbo", "basic", "advanced"]] | Omit = omit, + mode: Optional[Literal["turbo", "fast", "basic", "advanced"]] | Omit = omit, objective: Optional[str] | Omit = omit, session_id: Optional[str] | Omit = omit, # 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( max_chars_total: Upper bound on total characters across excerpts from all results. - mode: Search mode preset: supported values are `turbo`, `basic`, and `advanced`. Turbo - mode is optimized for the fastest responses. Basic mode offers low latency and - works best with 2-3 high-quality search_queries. Advanced mode provides higher - quality with more advanced retrieval and compression. Defaults to `advanced` - when omitted. + mode: Search mode preset: supported values are `turbo`, `fast`, `basic`, and + `advanced`. Turbo mode is optimized for the fastest responses. Use Fast mode for + high quality search within a 1-second latency budget. Basic mode offers low + latency and works best with 2-3 high-quality search_queries. Advanced mode + provides higher quality with more advanced retrieval and compression. Defaults + to `advanced` when omitted. objective: Natural-language description of the underlying question or goal driving the search. Used together with search_queries to focus results on the most relevant @@ -748,7 +749,7 @@ async def search( advanced_settings: Optional[AdvancedSearchSettingsParam] | Omit = omit, client_model: Optional[str] | Omit = omit, max_chars_total: Optional[int] | Omit = omit, - mode: Optional[Literal["turbo", "basic", "advanced"]] | Omit = omit, + mode: Optional[Literal["turbo", "fast", "basic", "advanced"]] | Omit = omit, objective: Optional[str] | Omit = omit, session_id: Optional[str] | Omit = omit, # 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( max_chars_total: Upper bound on total characters across excerpts from all results. - mode: Search mode preset: supported values are `turbo`, `basic`, and `advanced`. Turbo - mode is optimized for the fastest responses. Basic mode offers low latency and - works best with 2-3 high-quality search_queries. Advanced mode provides higher - quality with more advanced retrieval and compression. Defaults to `advanced` - when omitted. + mode: Search mode preset: supported values are `turbo`, `fast`, `basic`, and + `advanced`. Turbo mode is optimized for the fastest responses. Use Fast mode for + high quality search within a 1-second latency budget. Basic mode offers low + latency and works best with 2-3 high-quality search_queries. Advanced mode + provides higher quality with more advanced retrieval and compression. Defaults + to `advanced` when omitted. objective: Natural-language description of the underlying question or goal driving the search. Used together with search_queries to focus results on the most relevant diff --git a/src/parallel/_version.py b/src/parallel/_version.py index 6013d9c..a812ede 100644 --- a/src/parallel/_version.py +++ b/src/parallel/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "parallel" -__version__ = "1.2.0" # x-release-please-version +__version__ = "1.3.0" # x-release-please-version diff --git a/src/parallel/types/client_search_params.py b/src/parallel/types/client_search_params.py index b45988b..0f39625 100644 --- a/src/parallel/types/client_search_params.py +++ b/src/parallel/types/client_search_params.py @@ -35,13 +35,14 @@ class ClientSearchParams(TypedDict, total=False): max_chars_total: Optional[int] """Upper bound on total characters across excerpts from all results.""" - mode: Optional[Literal["turbo", "basic", "advanced"]] - """Search mode preset: supported values are `turbo`, `basic`, and `advanced`. - - Turbo mode is optimized for the fastest responses. Basic mode offers low latency - and works best with 2-3 high-quality search_queries. Advanced mode provides - higher quality with more advanced retrieval and compression. Defaults to - `advanced` when omitted. + mode: Optional[Literal["turbo", "fast", "basic", "advanced"]] + """ + Search mode preset: supported values are `turbo`, `fast`, `basic`, and + `advanced`. Turbo mode is optimized for the fastest responses. Use Fast mode for + high quality search within a 1-second latency budget. Basic mode offers low + latency and works best with 2-3 high-quality search_queries. Advanced mode + provides higher quality with more advanced retrieval and compression. Defaults + to `advanced` when omitted. """ objective: Optional[str]