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
5 changes: 3 additions & 2 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cliVersion": "3.91.2",
"cliVersion": "4.42.1",
"generatorName": "fernapi/fern-python-sdk",
"generatorVersion": "4.61.0",
"generatorConfig": {
Expand Down Expand Up @@ -64,5 +64,6 @@
}
]
},
"sdkVersion": "0.13.10"
"originGitCommit": "9ee9e2c86d9ae9a799abea46e4c03e024bb84d5a",
"sdkVersion": "0.13.11"
}
394 changes: 204 additions & 190 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]

[tool.poetry]
name = "hume"
version = "0.13.10"
version = "0.13.11"
description = "A Python SDK for Hume AI"
readme = "README.md"
authors = []
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 @@ -28,12 +28,12 @@ def get_headers(self) -> typing.Dict[str, str]:
import platform

headers: typing.Dict[str, str] = {
"User-Agent": "hume/0.13.10",
"User-Agent": "hume/0.13.11",
"X-Fern-Language": "Python",
"X-Fern-Runtime": f"python/{platform.python_version()}",
"X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "0.13.10",
"X-Fern-SDK-Version": "0.13.11",
**(self.get_custom_headers() or {}),
}
if self.api_key is not None:
Expand Down
10 changes: 10 additions & 0 deletions src/hume/tts/voices/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ def list(
ascending_order : typing.Optional[bool]

filter_tag : typing.Optional[typing.Union[str, typing.Sequence[str]]]
Filter voices by tag using `TAG:TAG_VALUE` syntax.

For example, `GENDER:Male` returns only voices with the `GENDER` tag set to `Male`. Tag types are case-insensitive; tag values are case-sensitive.

Multiple values are ANDed together; for example, `[GENDER:Male, LANGUAGE:Japanese]` returns only voices matching both criteria.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down Expand Up @@ -216,6 +221,11 @@ async def list(
ascending_order : typing.Optional[bool]

filter_tag : typing.Optional[typing.Union[str, typing.Sequence[str]]]
Filter voices by tag using `TAG:TAG_VALUE` syntax.

For example, `GENDER:Male` returns only voices with the `GENDER` tag set to `Male`. Tag types are case-insensitive; tag values are case-sensitive.

Multiple values are ANDed together; for example, `[GENDER:Male, LANGUAGE:Japanese]` returns only voices matching both criteria.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down
10 changes: 10 additions & 0 deletions src/hume/tts/voices/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ def list(
ascending_order : typing.Optional[bool]

filter_tag : typing.Optional[typing.Union[str, typing.Sequence[str]]]
Filter voices by tag using `TAG:TAG_VALUE` syntax.

For example, `GENDER:Male` returns only voices with the `GENDER` tag set to `Male`. Tag types are case-insensitive; tag values are case-sensitive.

Multiple values are ANDed together; for example, `[GENDER:Male, LANGUAGE:Japanese]` returns only voices matching both criteria.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down Expand Up @@ -266,6 +271,11 @@ async def list(
ascending_order : typing.Optional[bool]

filter_tag : typing.Optional[typing.Union[str, typing.Sequence[str]]]
Filter voices by tag using `TAG:TAG_VALUE` syntax.

For example, `GENDER:Male` returns only voices with the `GENDER` tag set to `Male`. Tag types are case-insensitive; tag values are case-sensitive.

Multiple values are ANDed together; for example, `[GENDER:Male, LANGUAGE:Japanese]` returns only voices matching both criteria.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Expand Down
4 changes: 2 additions & 2 deletions tests/wire/test_empathicVoice_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ def test_empathicVoice_tools_delete_tool_version() -> None:
"""Test delete-tool-version endpoint with WireMock"""
test_id = "empathic_voice.tools.delete_tool_version.0"
client = get_client(test_id)
client.empathic_voice.tools.delete_tool_version(id="your-tool-id", version=1)
verify_request_count(test_id, "DELETE", "/v0/evi/tools/your-tool-id/version/1", None, 1)
client.empathic_voice.tools.delete_tool_version(id="", version=1)
verify_request_count(test_id, "DELETE", "/v0/evi/tools/{id}/version/1", None, 1)


def test_empathicVoice_tools_update_tool_description() -> None:
Expand Down
Loading