Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.2.0"
".": "1.3.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
26 changes: 14 additions & 12 deletions src/parallel/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/parallel/_version.py
Original file line number Diff line number Diff line change
@@ -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
15 changes: 8 additions & 7 deletions src/parallel/types/client_search_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down