Skip to content

Commit 503baf4

Browse files
release: 2.0.0-alpha.2 (#177)
* feat(api): Change TTS call signature BREAKING CHANGE: Change call signature for `audio.create` to `audio.speech.create` to match spec with python library and add space for future APIs * feat(api): api update * release: 2.0.0-alpha.2 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent fb3cea1 commit 503baf4

File tree

13 files changed

+756
-625
lines changed

13 files changed

+756
-625
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "2.0.0-alpha.1"
2+
".": "2.0.0-alpha.2"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 44
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-b86f8e6c4674d1a7829ffa8ddff4bc93d21334d231e6a4d0fd734d411c07a4eb.yml
3-
openapi_spec_hash: 8af4975be6ae8f4655fa92fd26af9682
4-
config_hash: b337cdd3c62dbd3383529592a029b347
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-e9e60279414ac3279c025d6318b5f67a8f6d01170e365612e791f3a1f259b94f.yml
3+
openapi_spec_hash: 26c59292808c5ae9f222f95f056430cf
4+
config_hash: afbbabb8eb5bfbbf8139546a13addd9a

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 2.0.0-alpha.2 (2025-11-21)
4+
5+
Full Changelog: [v2.0.0-alpha.1...v2.0.0-alpha.2](https://github.com/togethercomputer/together-py/compare/v2.0.0-alpha.1...v2.0.0-alpha.2)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **api:** Change call signature for `audio.create` to `audio.speech.create` to match spec with python library and add space for future APIs
10+
11+
### Features
12+
13+
* **api:** api update ([9d5e1a2](https://github.com/togethercomputer/together-py/commit/9d5e1a2a8fe09f01ac9ed984361139064d42a2d8))
14+
* **api:** Change TTS call signature ([251c911](https://github.com/togethercomputer/together-py/commit/251c911e4b6562fb1751ae2a880e7ff6bb2e7bd2))
15+
316
## 2.0.0-alpha.1 (2025-11-21)
417

518
Full Changelog: [v0.1.0-alpha.28...v2.0.0-alpha.1](https://github.com/togethercomputer/together-py/compare/v0.1.0-alpha.28...v2.0.0-alpha.1)

api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,11 @@ Types:
156156
from together.types import AudioFile, AudioSpeechStreamChunk
157157
```
158158

159+
## Speech
160+
159161
Methods:
160162

161-
- <code title="post /audio/speech">client.audio.<a href="./src/together/resources/audio/audio.py">create</a>(\*\*<a href="src/together/types/audio_create_params.py">params</a>) -> BinaryAPIResponse</code>
163+
- <code title="post /audio/speech">client.audio.speech.<a href="./src/together/resources/audio/speech.py">create</a>(\*\*<a href="src/together/types/audio/speech_create_params.py">params</a>) -> BinaryAPIResponse</code>
162164

163165
## Voices
164166

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "together"
3-
version = "2.0.0-alpha.1"
3+
version = "2.0.0-alpha.2"
44
description = "The official Python library for the together API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/together/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "together"
4-
__version__ = "2.0.0-alpha.1" # x-release-please-version
4+
__version__ = "2.0.0-alpha.2" # x-release-please-version

src/together/resources/audio/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
AudioResourceWithStreamingResponse,
99
AsyncAudioResourceWithStreamingResponse,
1010
)
11+
from .speech import (
12+
SpeechResource,
13+
AsyncSpeechResource,
14+
SpeechResourceWithRawResponse,
15+
AsyncSpeechResourceWithRawResponse,
16+
SpeechResourceWithStreamingResponse,
17+
AsyncSpeechResourceWithStreamingResponse,
18+
)
1119
from .voices import (
1220
VoicesResource,
1321
AsyncVoicesResource,
@@ -34,6 +42,12 @@
3442
)
3543

3644
__all__ = [
45+
"SpeechResource",
46+
"AsyncSpeechResource",
47+
"SpeechResourceWithRawResponse",
48+
"AsyncSpeechResourceWithRawResponse",
49+
"SpeechResourceWithStreamingResponse",
50+
"AsyncSpeechResourceWithStreamingResponse",
3751
"VoicesResource",
3852
"AsyncVoicesResource",
3953
"VoicesResourceWithRawResponse",

0 commit comments

Comments
 (0)