code
stringlengths
66
870k
docstring
stringlengths
19
26.7k
func_name
stringlengths
1
138
language
stringclasses
1 value
repo
stringlengths
7
68
path
stringlengths
5
324
url
stringlengths
46
389
license
stringclasses
7 values
async def create_from_text( self, *, text: str, name: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[AddKnowledgeBaseResponseModel]: """ Create a knowledge base document containing the provided text. Parameters ---...
Create a knowledge base document containing the provided text. Parameters ---------- text : str Text content to be added to the knowledge base. name : typing.Optional[str] A custom, human-readable name for the document. request_options : typing...
create_from_text
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
MIT
async def get( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DocumentsGetResponse]: """ Get details about a specific documentation making up the agent's knowledge base Parameters ---------- documentatio...
Get details about a specific documentation making up the agent's knowledge base Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. request_options : typing.Optional[RequestOptions] ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
MIT
async def delete( self, documentation_id: str, *, force: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[typing.Optional[typing.Any]]: """ Delete a document from the knowledge base Paramete...
Delete a document from the knowledge base Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. force : typing.Optional[bool] If set to true, the document will be deleted regard...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
MIT
async def update( self, documentation_id: str, *, name: str, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DocumentsUpdateResponse]: """ Update the name of a document Parameters ---------- documentation_id : str The id of ...
Update the name of a document Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. name : str A custom, human-readable name for the document. request_options : typing....
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
MIT
async def get_agents( self, documentation_id: str, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[GetKnowledgeBaseDependentAgentsResponseModel]: ""...
Get a list of agents depending on this knowledge base document Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. cursor : typing.Optional[str] Used for fetching next page. C...
get_agents
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
MIT
async def get_content( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[None]: """ Get the entire content of a document from the knowledge base Parameters ---------- documentation_id : str The ...
Get the entire content of a document from the knowledge base Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. request_options : typing.Optional[RequestOptions] Request-spec...
get_content
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/raw_client.py
MIT
def get( self, documentation_id: str, chunk_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> KnowledgeBaseDocumentChunkResponseModel: """ Get details about a specific documentation part used by RAG. Parameters ---------- documentation_id : str...
Get details about a specific documentation part used by RAG. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. chunk_id : str The id of a document RAG chunk from the knowled...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/client.py
MIT
async def get( self, documentation_id: str, chunk_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> KnowledgeBaseDocumentChunkResponseModel: """ Get details about a specific documentation part used by RAG. Parameters ---------- documentation_id...
Get details about a specific documentation part used by RAG. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. chunk_id : str The id of a document RAG chunk from the knowled...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/client.py
MIT
def get( self, documentation_id: str, chunk_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[KnowledgeBaseDocumentChunkResponseModel]: """ Get details about a specific documentation part used by RAG. Parameters ---------- document...
Get details about a specific documentation part used by RAG. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. chunk_id : str The id of a document RAG chunk from the knowled...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py
MIT
async def get( self, documentation_id: str, chunk_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[KnowledgeBaseDocumentChunkResponseModel]: """ Get details about a specific documentation part used by RAG. Parameters ---------- ...
Get details about a specific documentation part used by RAG. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. chunk_id : str The id of a document RAG chunk from the knowled...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/knowledge_base/documents/chunk/raw_client.py
MIT
def calculate( self, *, prompt_length: int, number_of_pages: int, rag_enabled: bool, request_options: typing.Optional[RequestOptions] = None, ) -> LlmUsageCalculatorResponseModel: """ Returns a list of LLM models and the expected cost for using them ba...
Returns a list of LLM models and the expected cost for using them based on the provided values. Parameters ---------- prompt_length : int Length of the prompt in characters. number_of_pages : int Pages of content in PDF documents or URLs in the agent's ...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/llm_usage/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/llm_usage/client.py
MIT
async def calculate( self, *, prompt_length: int, number_of_pages: int, rag_enabled: bool, request_options: typing.Optional[RequestOptions] = None, ) -> LlmUsageCalculatorResponseModel: """ Returns a list of LLM models and the expected cost for using t...
Returns a list of LLM models and the expected cost for using them based on the provided values. Parameters ---------- prompt_length : int Length of the prompt in characters. number_of_pages : int Pages of content in PDF documents or URLs in the agent's ...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/llm_usage/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/llm_usage/client.py
MIT
def calculate( self, *, prompt_length: int, number_of_pages: int, rag_enabled: bool, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LlmUsageCalculatorResponseModel]: """ Returns a list of LLM models and the expected cost for...
Returns a list of LLM models and the expected cost for using them based on the provided values. Parameters ---------- prompt_length : int Length of the prompt in characters. number_of_pages : int Pages of content in PDF documents or URLs in the agent's ...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/llm_usage/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/llm_usage/raw_client.py
MIT
async def calculate( self, *, prompt_length: int, number_of_pages: int, rag_enabled: bool, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LlmUsageCalculatorResponseModel]: """ Returns a list of LLM models and the expect...
Returns a list of LLM models and the expected cost for using them based on the provided values. Parameters ---------- prompt_length : int Length of the prompt in characters. number_of_pages : int Pages of content in PDF documents or URLs in the agent's ...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/llm_usage/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/llm_usage/raw_client.py
MIT
def create( self, *, request: PhoneNumbersCreateRequestBody, request_options: typing.Optional[RequestOptions] = None ) -> CreatePhoneNumberResponseModel: """ Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- request : PhoneNu...
Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- request : PhoneNumbersCreateRequestBody request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- CreatePhon...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
def get( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> PhoneNumbersGetResponse: """ Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent...
Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
def delete( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Optional[typing.Any]: """ Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent cr...
Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- typi...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
def update( self, phone_number_id: str, *, agent_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> PhoneNumbersUpdateResponse: """ Update Phone Number details by ID Parameters ---------- pho...
Update Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. agent_id : typing.Optional[str] request_options : typing.Optional[RequestOptions] Request-specific configurati...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.List[PhoneNumbersListResponseItem]: """ Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuratio...
Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- typing.List[PhoneNumbersListResponseItem] Successful Response Examples --...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
async def create( self, *, request: PhoneNumbersCreateRequestBody, request_options: typing.Optional[RequestOptions] = None ) -> CreatePhoneNumberResponseModel: """ Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- request : P...
Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- request : PhoneNumbersCreateRequestBody request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- CreatePhon...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
async def get( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> PhoneNumbersGetResponse: """ Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on...
Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
async def delete( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Optional[typing.Any]: """ Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on ag...
Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- typi...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
async def update( self, phone_number_id: str, *, agent_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> PhoneNumbersUpdateResponse: """ Update Phone Number details by ID Parameters ---------- ...
Update Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. agent_id : typing.Optional[str] request_options : typing.Optional[RequestOptions] Request-specific configurati...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
async def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.List[PhoneNumbersListResponseItem]: """ Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific config...
Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- typing.List[PhoneNumbersListResponseItem] Successful Response Examples --...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/client.py
MIT
def create( self, *, request: PhoneNumbersCreateRequestBody, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[CreatePhoneNumberResponseModel]: """ Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- req...
Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- request : PhoneNumbersCreateRequestBody request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpRespon...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
def get( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[PhoneNumbersGetResponse]: """ Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is ret...
Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
def delete( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[typing.Optional[typing.Any]]: """ Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is return...
Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- Http...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
def update( self, phone_number_id: str, *, agent_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[PhoneNumbersUpdateResponse]: """ Update Phone Number details by ID Parameters --------...
Update Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. agent_id : typing.Optional[str] request_options : typing.Optional[RequestOptions] Request-specific configurati...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[typing.List[PhoneNumbersListResponseItem]]: """ Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specifi...
Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[typing.List[PhoneNumbersListResponseItem]] Successful Response
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
async def create( self, *, request: PhoneNumbersCreateRequestBody, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[CreatePhoneNumberResponseModel]: """ Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- ...
Import Phone Number from provider configuration (Twilio or SIP trunk) Parameters ---------- request : PhoneNumbersCreateRequestBody request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpR...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
async def get( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[PhoneNumbersGetResponse]: """ Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. ...
Retrieve Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
async def delete( self, phone_number_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[typing.Optional[typing.Any]]: """ Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. Thi...
Delete Phone Number by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- Asyn...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
async def update( self, phone_number_id: str, *, agent_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[PhoneNumbersUpdateResponse]: """ Update Phone Number details by ID Parameters ...
Update Phone Number details by ID Parameters ---------- phone_number_id : str The id of an agent. This is returned on agent creation. agent_id : typing.Optional[str] request_options : typing.Optional[RequestOptions] Request-specific configurati...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
async def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[typing.List[PhoneNumbersListResponseItem]]: """ Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Requ...
Retrieve all Phone Numbers Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[typing.List[PhoneNumbersListResponseItem]] Successful Response
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/phone_numbers/raw_client.py
MIT
def create( self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> PostWorkspaceSecretResponseModel: """ Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typin...
Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- PostWorkspaceSecretResponseModel Succe...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/client.py
MIT
async def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> GetWorkspaceSecretsResponseModel: """ Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific con...
Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetWorkspaceSecretsResponseModel Successful Response Examples ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/client.py
MIT
async def create( self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> PostWorkspaceSecretResponseModel: """ Create a new secret for the workspace Parameters ---------- name : str value : str request_options :...
Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- PostWorkspaceSecretResponseModel Succe...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/client.py
MIT
async def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Request-speci...
Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- None Examples -------- import asyn...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/client.py
MIT
def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetWorkspaceSecretsResponseModel]: """ Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] Request-spec...
Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[GetWorkspaceSecretsResponseModel] Successful Response
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
def create( self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[PostWorkspaceSecretResponseModel]: """ Create a new secret for the workspace Parameters ---------- name : str value : str request_o...
Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[PostWorkspaceSecretResponseModel] ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: """ Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Reque...
Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[None]
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
async def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetWorkspaceSecretsResponseModel]: """ Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] R...
Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[GetWorkspaceSecretsResponseModel] Successful Response ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
async def create( self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[PostWorkspaceSecretResponseModel]: """ Create a new secret for the workspace Parameters ---------- name : str value : str ...
Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[PostWorkspaceSecretResponseModel...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
async def delete( self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[None]: """ Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestO...
Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[None]
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Option...
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/client.py
MIT
async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetConvAiSettingsResponseModel: """ Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetConvAiSettingsResponseModel Successful Response Examples ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/client.py
MIT
async def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing....
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/client.py
MIT
def get( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetConvAiSettingsResponseModel]: """ Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-spe...
Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[GetConvAiSettingsResponseModel] Successful Response
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Option...
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
async def get( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetConvAiSettingsResponseModel]: """ Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] ...
Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[GetConvAiSettingsResponseModel] Successful Response ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
async def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing....
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SipT...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Http...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Twil...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Http...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/raw_client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/raw_client.py
MIT
def serialize_datetime(v: dt.datetime) -> str: """ Serialize a datetime including timezone info. Uses the timezone info provided if present, otherwise uses the current runtime's timezone info. UTC datetimes end in "Z" while all other timezones are represented as offset from UTC, e.g. +05:00. """ ...
Serialize a datetime including timezone info. Uses the timezone info provided if present, otherwise uses the current runtime's timezone info. UTC datetimes end in "Z" while all other timezones are represented as offset from UTC, e.g. +05:00.
serialize_datetime
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/datetime_utils.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/datetime_utils.py
MIT
def convert_file_dict_to_httpx_tuples( d: Dict[str, Union[File, List[File]]], ) -> List[Tuple[str, File]]: """ The format we use is a list of tuples, where the first element is the name of the file and the second is the file object. Typically HTTPX wants a dict, but to be able to send lists of files...
The format we use is a list of tuples, where the first element is the name of the file and the second is the file object. Typically HTTPX wants a dict, but to be able to send lists of files, you have to use the list approach (which also works for non-lists) https://github.com/encode/httpx/pull/1032...
convert_file_dict_to_httpx_tuples
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/file.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/file.py
MIT
def with_content_type(*, file: File, default_content_type: str) -> File: """ This function resolves to the file's content type, if provided, and defaults to the default_content_type value if not. """ if isinstance(file, tuple): if len(file) == 2: filename, content = cast(Tuple[Op...
This function resolves to the file's content type, if provided, and defaults to the default_content_type value if not.
with_content_type
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/file.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/file.py
MIT
def _parse_retry_after(response_headers: httpx.Headers) -> typing.Optional[float]: """ This function parses the `Retry-After` header in a HTTP response and returns the number of seconds to wait. Inspired by the urllib3 retry implementation. """ retry_after_ms = response_headers.get("retry-after-ms"...
This function parses the `Retry-After` header in a HTTP response and returns the number of seconds to wait. Inspired by the urllib3 retry implementation.
_parse_retry_after
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/http_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/http_client.py
MIT
def _retry_timeout(response: httpx.Response, retries: int) -> float: """ Determine the amount of time to wait before retrying a request. This function begins by trying to parse a retry-after header from the response, and then proceeds to use exponential backoff with a jitter to determine the number of s...
Determine the amount of time to wait before retrying a request. This function begins by trying to parse a retry-after header from the response, and then proceeds to use exponential backoff with a jitter to determine the number of seconds to wait.
_retry_timeout
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/http_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/http_client.py
MIT
def dict(self, **kwargs: Any) -> Dict[str, Any]: """ Override the default dict method to `exclude_unset` by default. This function patches `exclude_unset` to work include fields within non-None default values. """ # Note: the logic here is multiplexed given the levers exposed in ...
Override the default dict method to `exclude_unset` by default. This function patches `exclude_unset` to work include fields within non-None default values.
dict
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/pydantic_utilities.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/pydantic_utilities.py
MIT
def convert_and_respect_annotation_metadata( *, object_: typing.Any, annotation: typing.Any, inner_type: typing.Optional[typing.Any] = None, direction: typing.Literal["read", "write"], ) -> typing.Any: """ Respect the metadata annotations on a field, such as aliasing. This function effective...
Respect the metadata annotations on a field, such as aliasing. This function effectively manipulates the dict-form of an object to respect the metadata annotations. This is primarily used for TypedDicts, which cannot support aliasing out of the box, and can be extended for additional utilities, such as...
convert_and_respect_annotation_metadata
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/serialization.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/serialization.py
MIT
def construct_type(*, type_: typing.Type[typing.Any], object_: typing.Any) -> typing.Any: """ Here we are essentially creating the same `construct` method in spirit as the above, but for all types, not just Pydantic models. The idea is to essentially attempt to coerce object_ to type_ (recursively) ...
Here we are essentially creating the same `construct` method in spirit as the above, but for all types, not just Pydantic models. The idea is to essentially attempt to coerce object_ to type_ (recursively)
construct_type
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/unchecked_base_model.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/unchecked_base_model.py
MIT
def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DubbingMetadataResponse: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str I...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteDubbingResponseModel: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typi...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- DeleteDubbingResponseModel ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
async def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
async def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DubbingMetadataResponse: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
async def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteDubbingResponseModel: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options ...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- DeleteDubbingResponseModel ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DubbingMetadataResponse]: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DeleteDubbingResponseModel]: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[DeleteDubbingResponseMod...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
async def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
async def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DubbingMetadataResponse]: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbi...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
async def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DeleteDubbingResponseModel]: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[DeleteDubbingRespon...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[bytes]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this end...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/client.py
MIT
async def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[bytes]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint ...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/client.py
MIT
def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resou...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/raw_client.py
MIT
async def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you ...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/raw_client.py
MIT
def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranscriptionResponse: """ Regenerate the transcriptions for the specified segments. Does not automatically regenerat...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranslationResponse: """ Regenerate the translations ...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentDubResponse: """ Regenerate the dubs for either the entire ...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def get(self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> DubbingResource: """ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ...
Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configur...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranscriptionResponse: """ Regenerate the transcriptions for the specified segments. Does not automatically reg...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranslationResponse: """ Regenerate the transla...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentDubResponse: """ Regenerate the dubs for either the e...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DubbingResource]: """ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- du...
Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configur...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SegmentTranscriptionResponse]: """ Regenerate the transcriptions for the specified segments. Does not automatic...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SegmentTranslationResponse]: """ Regenerate the...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SegmentDubResponse]: """ Regenerate the dubs for eith...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DubbingResource]: """ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ----------...
Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configur...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SegmentTranscriptionResponse]: """ Regenerate the transcriptions for the specified segments. Does no...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SegmentTranslationResponse]: """ Reg...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SegmentDubResponse]: """ Regenerate the du...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LanguageAddedResponse: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically gene...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/client.py
MIT
async def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LanguageAddedResponse: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automaticall...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/client.py
MIT