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
14 changes: 12 additions & 2 deletions .mock/definition/tts/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,12 @@ service:
docs: Specifies the output audio file format.
include_timestamp_types:
type: optional<list<TimestampType>>
docs: The set of timestamp types to include in the response.
docs: >-
The set of timestamp types to include in the response. When used
in multipart/form-data, specify each value using bracket
notation:
`include_timestamp_types[0]=word&include_timestamp_types[1]=phoneme`.
Only supported for Octave 2 requests.
content-type: multipart/form-data
response:
docs: Successful Response
Expand Down Expand Up @@ -251,7 +256,12 @@ service:
docs: Specifies the output audio file format.
include_timestamp_types:
type: optional<list<TimestampType>>
docs: The set of timestamp types to include in the response.
docs: >-
The set of timestamp types to include in the response. When used
in multipart/form-data, specify each value using bracket
notation:
`include_timestamp_types[0]=word&include_timestamp_types[1]=phoneme`.
Only supported for Octave 2 requests.
content-type: multipart/form-data
response-stream:
docs: Successful Response
Expand Down
163 changes: 73 additions & 90 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hume"

[tool.poetry]
name = "hume"
version = "0.13.5"
version = "0.13.6"
description = "A Python SDK for Hume AI"
readme = "README.md"
authors = []
Expand Down Expand Up @@ -68,7 +68,7 @@ pydantic = ">= 1.9.2"
pydantic-core = ">=2.18.2"
sounddevice = { version = "^0.4.6", optional = true}
typing_extensions = ">= 4.0.0"
websockets = "^13.1"
websockets = ">=12.0"

[tool.poetry.group.dev.dependencies]
mypy = "==1.13.0"
Expand Down
2 changes: 1 addition & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ typing.Optional[core.File]` — See core.File for more documentation
<dl>
<dd>

**include_timestamp_types:** `typing.Optional[typing.List[TimestampType]]` — The set of timestamp types to include in the response.
**include_timestamp_types:** `typing.Optional[typing.List[TimestampType]]` — The set of timestamp types to include in the response. When used in multipart/form-data, specify each value using bracket notation: `include_timestamp_types[0]=word&include_timestamp_types[1]=phoneme`. Only supported for Octave 2 requests.

</dd>
</dl>
Expand Down
4 changes: 2 additions & 2 deletions src/hume/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "hume/0.13.5",
"User-Agent": "hume/0.13.6",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.13.5",
"X-Fern-SDK-Version": "0.13.6",
**(self.get_custom_headers() or {}),
}
if self.api_key is not None:
Expand Down
Loading
Loading