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
58 changes: 58 additions & 0 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"cliVersion": "0.107.3",
"generatorName": "fernapi/fern-python-sdk",
"generatorVersion": "4.36.1",
"generatorConfig": {
"timeout_in_seconds": 240,
"default_bytes_stream_chunk_size": 1024,
"inline_request_params": false,
"follow_redirects_by_default": true,
"recursion_limit": 5000,
"pydantic_config": {
"skip_validation": true
},
"client": {
"class_name": "BaseElevenLabs",
"filename": "base_client.py",
"exported_class_name": "ElevenLabs",
"exported_filename": "client.py"
},
"extra_dependencies": {
"requests": ">=2.20",
"websockets": ">=11.0",
"pyaudio": {
"version": ">=0.2.14",
"optional": true
}
},
"extra_dev_dependencies": {
"types-pyaudio": "^0.2.16.20240516"
},
"extras": {
"pyaudio": [
"pyaudio"
]
},
"additional_init_exports": [
{
"from": "play",
"imports": [
"play",
"save",
"stream"
]
},
{
"from": "realtime",
"imports": [
"RealtimeEvents",
"RealtimeAudioOptions",
"RealtimeUrlOptions",
"AudioFormat",
"CommitStrategy",
"RealtimeConnection"
]
}
]
}
}
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 = "elevenlabs"

[tool.poetry]
name = "elevenlabs"
version = "v2.22.1"
version = "0.0.0"
description = ""
readme = "README.md"
authors = []
Expand Down Expand Up @@ -31,7 +31,7 @@ packages = [
{ include = "elevenlabs", from = "src"}
]

[project.urls]
[tool.poetry.urls]
Repository = 'https://github.com/elevenlabs/elevenlabs-python'

[tool.poetry.dependencies]
Expand Down
114 changes: 112 additions & 2 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7009,6 +7009,8 @@ client.conversational_ai.conversations.list(
call_successful="success",
call_start_before_unix=1,
call_start_after_unix=1,
call_duration_min_secs=1,
call_duration_max_secs=1,
user_id="user_id",
page_size=1,
summary_mode="exclude",
Expand Down Expand Up @@ -7069,6 +7071,22 @@ client.conversational_ai.conversations.list(
<dl>
<dd>

**call_duration_min_secs:** `typing.Optional[int]` — Minimum call duration in seconds.

</dd>
</dl>

<dl>
<dd>

**call_duration_max_secs:** `typing.Optional[int]` — Maximum call duration in seconds.

</dd>
</dl>

<dl>
<dd>

**user_id:** `typing.Optional[str]` — Filter conversations by the user ID who initiated them.

</dd>
Expand All @@ -7077,6 +7095,30 @@ client.conversational_ai.conversations.list(
<dl>
<dd>

**evaluation_params:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success

</dd>
</dl>

<dl>
<dd>

**data_collection_params:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values.

</dd>
</dl>

<dl>
<dd>

**tool_names:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — Filter conversations by tool names used during the call.

</dd>
</dl>

<dl>
<dd>

**page_size:** `typing.Optional[int]` — How many conversations to return at maximum. Can not exceed 100, defaults to 30.

</dd>
Expand Down Expand Up @@ -8185,6 +8227,14 @@ client.conversational_ai.agents.run_tests(
<dl>
<dd>

**branch_id:** `typing.Optional[str]` — ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down Expand Up @@ -9522,8 +9572,12 @@ Add a new tool to the available tools in the workspace.
```python
from elevenlabs import (
ElevenLabs,
LiteralJsonSchemaProperty,
ObjectJsonSchemaPropertyInput,
QueryParamsJsonSchema,
ToolRequestModel,
ToolRequestModelToolConfig_ApiIntegrationWebhook,
WebhookToolApiSchemaConfigInput,
)

client = ElevenLabs(
Expand All @@ -9536,6 +9590,28 @@ client.conversational_ai.tools.create(
description="description",
api_integration_id="api_integration_id",
api_integration_connection_id="api_integration_connection_id",
base_api_schema=WebhookToolApiSchemaConfigInput(
url="https://example.com/agents/{agent_id}",
method="GET",
path_params_schema={
"agent_id": LiteralJsonSchemaProperty(
type="string",
)
},
query_params_schema=QueryParamsJsonSchema(
properties={
"key": LiteralJsonSchemaProperty(
type="string",
description="My property",
is_system_provided=False,
dynamic_variable="",
constant_value="",
)
},
),
request_body_schema=ObjectJsonSchemaPropertyInput(),
request_headers={"Authorization": "Bearer {api_key}"},
),
),
),
)
Expand Down Expand Up @@ -9743,8 +9819,12 @@ Update tool that is available in the workspace.
```python
from elevenlabs import (
ElevenLabs,
LiteralJsonSchemaProperty,
ObjectJsonSchemaPropertyInput,
QueryParamsJsonSchema,
ToolRequestModel,
ToolRequestModelToolConfig_ApiIntegrationWebhook,
WebhookToolApiSchemaConfigInput,
)

client = ElevenLabs(
Expand All @@ -9758,6 +9838,28 @@ client.conversational_ai.tools.update(
description="description",
api_integration_id="api_integration_id",
api_integration_connection_id="api_integration_connection_id",
base_api_schema=WebhookToolApiSchemaConfigInput(
url="https://example.com/agents/{agent_id}",
method="GET",
path_params_schema={
"agent_id": LiteralJsonSchemaProperty(
type="string",
)
},
query_params_schema=QueryParamsJsonSchema(
properties={
"key": LiteralJsonSchemaProperty(
type="string",
description="My property",
is_system_provided=False,
dynamic_variable="",
constant_value="",
)
},
),
request_body_schema=ObjectJsonSchemaPropertyInput(),
request_headers={"Authorization": "Bearer {api_key}"},
),
),
),
)
Expand Down Expand Up @@ -11714,7 +11816,7 @@ client.conversational_ai.conversations.feedback.create(
<dl>
<dd>

**feedback:** `UserFeedbackScore` — Either 'like' or 'dislike' to indicate the feedback for the conversation.
**feedback:** `typing.Optional[UserFeedbackScore]` — Either 'like' or 'dislike' to indicate the feedback for the conversation.

</dd>
</dl>
Expand Down Expand Up @@ -12881,7 +12983,7 @@ client.conversational_ai.mcp_servers.tool_approvals.create(
<dl>
<dd>

**input_schema:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — The input schema of the MCP tool (the schema defined on the MCP server before ElevenLabs does any extra processing)
**input_schema:** `typing.Optional[typing.Dict[str, typing.Any]]` — The input schema of the MCP tool (the schema defined on the MCP server before ElevenLabs does any extra processing)

</dd>
</dl>
Expand Down Expand Up @@ -13644,6 +13746,14 @@ client.conversational_ai.tests.invocations.resubmit(
<dl>
<dd>

**branch_id:** `typing.Optional[str]` — ID of the branch to run the tests on. If not provided, the tests will be run on the agent default configuration.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down
Loading
Loading