Skip to content
Open
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 @@
{
".": "2.34.0"
".": "2.35.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 233
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai/openai-21ecab7aeb61612b9da5e52ea4c0cb75a33d443d975022934b9305e97d1a7d62.yml
openapi_spec_hash: cfc868a0bb3567183510c9b5629c510f
config_hash: dd484e2cc01206d26516338d0f4596b0
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai/openai-578515408e7ee6ac115f3768b358ff2cd4f5699cbfb527fe58b19806e7d1f713.yml
openapi_spec_hash: b2df68d6233a18b475590978f5682c04
config_hash: c6cf65d9b19a16ce4313602a2204d48f
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 2.35.0 (2026-05-06)

Full Changelog: [v2.34.0...v2.35.0](https://github.com/openai/openai-python/compare/v2.34.0...v2.35.0)

### Features

* **api:** launch realtime translate + update image 2 ([0ba55d7](https://github.com/openai/openai-python/commit/0ba55d7569565045426e1587906a70d5682a4bba))
* **api:** manual updates ([72bf67a](https://github.com/openai/openai-python/commit/72bf67acbc9f030c20db3d5a1a74ea6d67d55f51))


### Documentation

* **api:** update top_logprobs parameter description across chat and responses ([f9d339f](https://github.com/openai/openai-python/commit/f9d339fcea63feaa1bdf918a4599f2b032c83517))

## 2.34.0 (2026-05-04)

Full Changelog: [v2.33.0...v2.34.0](https://github.com/openai/openai-python/compare/v2.33.0...v2.34.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 = "openai"
version = "2.34.0"
version = "2.35.0"
description = "The official Python library for the openai API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/openai/_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__ = "openai"
__version__ = "2.34.0" # x-release-please-version
__version__ = "2.35.0" # x-release-please-version
30 changes: 18 additions & 12 deletions src/openai/resources/chat/completions/completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,9 @@ def create(
[custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools)
or [function tools](https://platform.openai.com/docs/guides/function-calling).

top_logprobs: An integer between 0 and 20 specifying the number of most likely tokens to
return at each token position, each with an associated log probability.
top_logprobs: An integer between 0 and 20 specifying the maximum number of most likely tokens
to return at each token position, each with an associated log probability. In
some cases, the number of returned tokens may be fewer than requested.
`logprobs` must be set to `true` if this parameter is used.

top_p: An alternative to sampling with temperature, called nucleus sampling, where the
Expand Down Expand Up @@ -822,8 +823,9 @@ def create(
[custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools)
or [function tools](https://platform.openai.com/docs/guides/function-calling).

top_logprobs: An integer between 0 and 20 specifying the number of most likely tokens to
return at each token position, each with an associated log probability.
top_logprobs: An integer between 0 and 20 specifying the maximum number of most likely tokens
to return at each token position, each with an associated log probability. In
some cases, the number of returned tokens may be fewer than requested.
`logprobs` must be set to `true` if this parameter is used.

top_p: An alternative to sampling with temperature, called nucleus sampling, where the
Expand Down Expand Up @@ -1128,8 +1130,9 @@ def create(
[custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools)
or [function tools](https://platform.openai.com/docs/guides/function-calling).

top_logprobs: An integer between 0 and 20 specifying the number of most likely tokens to
return at each token position, each with an associated log probability.
top_logprobs: An integer between 0 and 20 specifying the maximum number of most likely tokens
to return at each token position, each with an associated log probability. In
some cases, the number of returned tokens may be fewer than requested.
`logprobs` must be set to `true` if this parameter is used.

top_p: An alternative to sampling with temperature, called nucleus sampling, where the
Expand Down Expand Up @@ -2037,8 +2040,9 @@ async def create(
[custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools)
or [function tools](https://platform.openai.com/docs/guides/function-calling).

top_logprobs: An integer between 0 and 20 specifying the number of most likely tokens to
return at each token position, each with an associated log probability.
top_logprobs: An integer between 0 and 20 specifying the maximum number of most likely tokens
to return at each token position, each with an associated log probability. In
some cases, the number of returned tokens may be fewer than requested.
`logprobs` must be set to `true` if this parameter is used.

top_p: An alternative to sampling with temperature, called nucleus sampling, where the
Expand Down Expand Up @@ -2343,8 +2347,9 @@ async def create(
[custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools)
or [function tools](https://platform.openai.com/docs/guides/function-calling).

top_logprobs: An integer between 0 and 20 specifying the number of most likely tokens to
return at each token position, each with an associated log probability.
top_logprobs: An integer between 0 and 20 specifying the maximum number of most likely tokens
to return at each token position, each with an associated log probability. In
some cases, the number of returned tokens may be fewer than requested.
`logprobs` must be set to `true` if this parameter is used.

top_p: An alternative to sampling with temperature, called nucleus sampling, where the
Expand Down Expand Up @@ -2649,8 +2654,9 @@ async def create(
[custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools)
or [function tools](https://platform.openai.com/docs/guides/function-calling).

top_logprobs: An integer between 0 and 20 specifying the number of most likely tokens to
return at each token position, each with an associated log probability.
top_logprobs: An integer between 0 and 20 specifying the maximum number of most likely tokens
to return at each token position, each with an associated log probability. In
some cases, the number of returned tokens may be fewer than requested.
`logprobs` must be set to `true` if this parameter is used.

top_p: An alternative to sampling with temperature, called nucleus sampling, where the
Expand Down
Loading
Loading