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 get_settings( self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetAudioNativeProjectSettingsResponseModel: """ Get player settings for the specific project. Parameters ---------- project_id : str The ID of t...
Get player settings for the specific project. Parameters ---------- project_id : str The ID of the Studio project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetAudioNativeP...
get_settings
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/client.py
MIT
async def update( self, project_id: str, *, file: typing.Optional[core.File] = OMIT, auto_convert: typing.Optional[bool] = OMIT, auto_publish: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AudioNativeEditContentRes...
Updates content for the specific AudioNative Project. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. file : typing.Option...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/client.py
MIT
def create( self, *, name: str, image: typing.Optional[str] = OMIT, author: typing.Optional[str] = OMIT, title: typing.Optional[str] = OMIT, small: typing.Optional[bool] = OMIT, text_color: typing.Optional[str] = OMIT, background_color: typing.Opti...
Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet. Parameters ---------- name : str Project name. image : typing.Optional[str] (Deprecated) Image URL used in the player. If not provided...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/raw_client.py
MIT
def get_settings( self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetAudioNativeProjectSettingsResponseModel]: """ Get player settings for the specific project. Parameters ---------- project_id : str The...
Get player settings for the specific project. Parameters ---------- project_id : str The ID of the Studio project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[Ge...
get_settings
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/raw_client.py
MIT
def update( self, project_id: str, *, file: typing.Optional[core.File] = OMIT, auto_convert: typing.Optional[bool] = OMIT, auto_publish: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[AudioNativeEditCon...
Updates content for the specific AudioNative Project. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. file : typing.Option...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/raw_client.py
MIT
async def create( self, *, name: str, image: typing.Optional[str] = OMIT, author: typing.Optional[str] = OMIT, title: typing.Optional[str] = OMIT, small: typing.Optional[bool] = OMIT, text_color: typing.Optional[str] = OMIT, background_color: typin...
Creates Audio Native enabled project, optionally starts conversion and returns project ID and embeddable HTML snippet. Parameters ---------- name : str Project name. image : typing.Optional[str] (Deprecated) Image URL used in the player. If not provided...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/raw_client.py
MIT
async def get_settings( self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetAudioNativeProjectSettingsResponseModel]: """ Get player settings for the specific project. Parameters ---------- project_id : str ...
Get player settings for the specific project. Parameters ---------- project_id : str The ID of the Studio project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpRespon...
get_settings
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/raw_client.py
MIT
async def update( self, project_id: str, *, file: typing.Optional[core.File] = OMIT, auto_convert: typing.Optional[bool] = OMIT, auto_publish: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[AudioNa...
Updates content for the specific AudioNative Project. Parameters ---------- project_id : str The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects. file : typing.Option...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/audio_native/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/audio_native/raw_client.py
MIT
def add_to_knowledge_base( self, *, name: typing.Optional[str] = OMIT, url: typing.Optional[str] = OMIT, file: typing.Optional[core.File] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AddKnowledgeBaseResponseModel: """ Upload a ...
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/conversational-ai/api-reference/agents/update-agent). </Note> Parameters ---------- name : typing.Optional[str] ...
add_to_knowledge_base
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
def get_document_rag_indexes( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> RagDocumentIndexesResponseModel: """ Provides information about all RAG indexes of the specified knowledgebase document. Parameters ---------- d...
Provides information about all RAG indexes of the specified knowledgebase document. 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_document_rag_indexes
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
def delete_document_rag_index( self, documentation_id: str, rag_index_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> RagDocumentIndexResponseModel: """ Delete RAG index for the knowledgebase document. Parameters ---------- documentation_id :...
Delete RAG index for the knowledgebase document. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. rag_index_id : str The id of RAG index of document from the knowledge base...
delete_document_rag_index
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
def rag_index_overview( self, *, request_options: typing.Optional[RequestOptions] = None ) -> RagIndexOverviewResponseModel: """ Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_options : typing.Op...
Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- RagIndexOverviewResponseModel ...
rag_index_overview
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
def update_secret( self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> PostWorkspaceSecretResponseModel: """ Update an existing secret for the workspace Parameters ---------- secret_id : str name : str...
Update an existing secret for the workspace Parameters ---------- secret_id : str name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- PostWorkspaceSecret...
update_secret
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
async def add_to_knowledge_base( self, *, name: typing.Optional[str] = OMIT, url: typing.Optional[str] = OMIT, file: typing.Optional[core.File] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AddKnowledgeBaseResponseModel: """ Upl...
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/conversational-ai/api-reference/agents/update-agent). </Note> Parameters ---------- name : typing.Optional[str] ...
add_to_knowledge_base
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
async def get_document_rag_indexes( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> RagDocumentIndexesResponseModel: """ Provides information about all RAG indexes of the specified knowledgebase document. Parameters ---------- ...
Provides information about all RAG indexes of the specified knowledgebase document. 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_document_rag_indexes
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
async def delete_document_rag_index( self, documentation_id: str, rag_index_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> RagDocumentIndexResponseModel: """ Delete RAG index for the knowledgebase document. Parameters ---------- documentatio...
Delete RAG index for the knowledgebase document. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. rag_index_id : str The id of RAG index of document from the knowledge base...
delete_document_rag_index
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
async def rag_index_overview( self, *, request_options: typing.Optional[RequestOptions] = None ) -> RagIndexOverviewResponseModel: """ Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_options : typ...
Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- RagIndexOverviewResponseModel ...
rag_index_overview
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
async def update_secret( self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> PostWorkspaceSecretResponseModel: """ Update an existing secret for the workspace Parameters ---------- secret_id : str name...
Update an existing secret for the workspace Parameters ---------- secret_id : str name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- PostWorkspaceSecret...
update_secret
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/client.py
MIT
def start(self): """Start the event loop in a separate thread for handling async operations.""" if self._running.is_set(): return def run_event_loop(): self._loop = asyncio.new_event_loop() asyncio.set_event_loop(self._loop) self._running.set() ...
Start the event loop in a separate thread for handling async operations.
start
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def stop(self): """Gracefully stop the event loop and clean up resources.""" if self._loop and self._running.is_set(): self._loop.call_soon_threadsafe(self._loop.stop) self._thread.join() self.thread_pool.shutdown(wait=False)
Gracefully stop the event loop and clean up resources.
stop
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def register( self, tool_name: str, handler: Union[Callable[[dict], Any], Callable[[dict], Awaitable[Any]]], is_async: bool = False, ) -> None: """Register a new tool that can be called by the AI agent. Args: tool_name: Unique identifier for the tool ...
Register a new tool that can be called by the AI agent. Args: tool_name: Unique identifier for the tool handler: Function that implements the tool's logic is_async: Whether the handler is an async function
register
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
async def handle(self, tool_name: str, parameters: dict) -> Any: """Execute a registered tool with the given parameters. Returns the result of the tool execution. """ with self.lock: if tool_name not in self.tools: raise ValueError(f"Tool '{tool_name}' is not...
Execute a registered tool with the given parameters. Returns the result of the tool execution.
handle
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def execute_tool(self, tool_name: str, parameters: dict, callback: Callable[[dict], None]): """Execute a tool and send its result via the provided callback. This method is non-blocking and handles both sync and async tools. """ if not self._running.is_set(): raise RuntimeErr...
Execute a tool and send its result via the provided callback. This method is non-blocking and handles both sync and async tools.
execute_tool
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def __init__( self, client: BaseElevenLabs, agent_id: str, *, requires_auth: bool, audio_interface: AudioInterface, config: Optional[ConversationInitiationData] = None, client_tools: Optional[ClientTools] = None, callback_agent_response: Optional[C...
Conversational AI session. BETA: This API is subject to change without regard to backwards compatibility. Args: client: The ElevenLabs client to use for the conversation. agent_id: The ID of the agent to converse with. requires_auth: Whether the agent requires authe...
__init__
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def start_session(self): """Starts the conversation session. Will run in background thread until `end_session` is called. """ ws_url = self._get_signed_url() if self.requires_auth else self._get_wss_url() self._thread = threading.Thread(target=self._run, args=(ws_url,)) ...
Starts the conversation session. Will run in background thread until `end_session` is called.
start_session
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def end_session(self): """Ends the conversation session and cleans up resources.""" self.audio_interface.stop() self.client_tools.stop() self._ws = None self._should_stop.set()
Ends the conversation session and cleans up resources.
end_session
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def wait_for_session_end(self) -> Optional[str]: """Waits for the conversation session to end. You must call `end_session` before calling this method, otherwise it will block. Returns the conversation ID, if available. """ if not self._thread: raise RuntimeError("Se...
Waits for the conversation session to end. You must call `end_session` before calling this method, otherwise it will block. Returns the conversation ID, if available.
wait_for_session_end
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def send_user_message(self, text: str): """Send a text message from the user to the agent. Args: text: The text message to send to the agent. Raises: RuntimeError: If the session is not active or websocket is not connected. """ if not...
Send a text message from the user to the agent. Args: text: The text message to send to the agent. Raises: RuntimeError: If the session is not active or websocket is not connected.
send_user_message
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def register_user_activity(self): """Register user activity to prevent session timeout. This sends a ping to the orchestrator to reset the timeout timer. Raises: RuntimeError: If the session is not active or websocket is not connected. """ if not sel...
Register user activity to prevent session timeout. This sends a ping to the orchestrator to reset the timeout timer. Raises: RuntimeError: If the session is not active or websocket is not connected.
register_user_activity
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def send_contextual_update(self, content: str): """Send a contextual update to the conversation. Contextual updates are non-interrupting content that is sent to the server to update the conversation state without directly prompting the agent. Args: content: ...
Send a contextual update to the conversation. Contextual updates are non-interrupting content that is sent to the server to update the conversation state without directly prompting the agent. Args: content: The contextual information to send to the conversation. ...
send_contextual_update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversation.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversation.py
MIT
def add_to_knowledge_base( self, *, name: typing.Optional[str] = OMIT, url: typing.Optional[str] = OMIT, file: typing.Optional[core.File] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[AddKnowledgeBaseResponseModel]: """ ...
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/conversational-ai/api-reference/agents/update-agent). </Note> Parameters ---------- name : typing.Optional[str] ...
add_to_knowledge_base
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
def get_document_rag_indexes( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[RagDocumentIndexesResponseModel]: """ Provides information about all RAG indexes of the specified knowledgebase document. Parameters ------...
Provides information about all RAG indexes of the specified knowledgebase document. 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_document_rag_indexes
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
def delete_document_rag_index( self, documentation_id: str, rag_index_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[RagDocumentIndexResponseModel]: """ Delete RAG index for the knowledgebase document. Parameters ---------- docu...
Delete RAG index for the knowledgebase document. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. rag_index_id : str The id of RAG index of document from the knowledge base...
delete_document_rag_index
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
def rag_index_overview( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[RagIndexOverviewResponseModel]: """ Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_optio...
Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[RagIndexOverviewResponseMod...
rag_index_overview
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
def update_secret( self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[PostWorkspaceSecretResponseModel]: """ Update an existing secret for the workspace Parameters ---------- secret_id : str ...
Update an existing secret for the workspace Parameters ---------- secret_id : str name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[PostWo...
update_secret
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
async def add_to_knowledge_base( self, *, name: typing.Optional[str] = OMIT, url: typing.Optional[str] = OMIT, file: typing.Optional[core.File] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[AddKnowledgeBaseResponseModel]: ...
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/conversational-ai/api-reference/agents/update-agent). </Note> Parameters ---------- name : typing.Optional[str] ...
add_to_knowledge_base
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
async def get_document_rag_indexes( self, documentation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[RagDocumentIndexesResponseModel]: """ Provides information about all RAG indexes of the specified knowledgebase document. Parameters ...
Provides information about all RAG indexes of the specified knowledgebase document. 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_document_rag_indexes
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
async def delete_document_rag_index( self, documentation_id: str, rag_index_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[RagDocumentIndexResponseModel]: """ Delete RAG index for the knowledgebase document. Parameters ---------- ...
Delete RAG index for the knowledgebase document. Parameters ---------- documentation_id : str The id of a document from the knowledge base. This is returned on document addition. rag_index_id : str The id of RAG index of document from the knowledge base...
delete_document_rag_index
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
async def rag_index_overview( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[RagIndexOverviewResponseModel]: """ Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- re...
Provides total size and other information of RAG indexes used by knowledgebase documents Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[RagIndexOverviewRespon...
rag_index_overview
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
async def update_secret( self, secret_id: str, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[PostWorkspaceSecretResponseModel]: """ Update an existing secret for the workspace Parameters ---------- secret_id ...
Update an existing secret for the workspace Parameters ---------- secret_id : str name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[P...
update_secret
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/raw_client.py
MIT
def create( self, *, conversation_config: ConversationalConfig, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[Re...
Create an agent from a config object Parameters ---------- conversation_config : ConversationalConfig Conversation configuration for an agent platform_settings : typing.Optional[AgentPlatformSettingsRequestModel] Platform settings for the agent are all ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
def update( self, agent_id: str, *, conversation_config: typing.Optional[ConversationalConfig] = OMIT, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]] = OM...
Patches an Agent settings Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_config : typing.Optional[ConversationalConfig] Conversation configuration for an agent platform_settings : typin...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, search: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> GetAgentsPageResponseModel: """ Returns a list of your ag...
Returns a list of your agents and their metadata. Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many Agents to return at maximum. Can not exceed ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
def simulate_conversation( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Run a conversation between the agent and a simulated user. Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. simulation_specification : ConversationSimulationSpecification A specification detailing how the conv...
simulate_conversation
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
def simulate_conversation_stream( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent. Parameters -----...
simulate_conversation_stream
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def create( self, *, conversation_config: ConversationalConfig, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optio...
Create an agent from a config object Parameters ---------- conversation_config : ConversationalConfig Conversation configuration for an agent platform_settings : typing.Optional[AgentPlatformSettingsRequestModel] Platform settings for the agent are all ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetAgentResponseModel: """ Retrieve config for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. ...
Retrieve config for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetAgent...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def delete(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None: """ Delete an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[Requ...
Delete an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- None Example...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def update( self, agent_id: str, *, conversation_config: typing.Optional[ConversationalConfig] = OMIT, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]...
Patches an Agent settings Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_config : typing.Optional[ConversationalConfig] Conversation configuration for an agent platform_settings : typin...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, search: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> GetAgentsPageResponseModel: """ Returns a list of y...
Returns a list of your agents and their metadata. Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many Agents to return at maximum. Can not exceed ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def simulate_conversation( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Run a conversation between the agent and a simulated user. Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. simulation_specification : ConversationSimulationSpecification A specification detailing how the conv...
simulate_conversation
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
async def simulate_conversation_stream( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = ...
Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent. Parameters -----...
simulate_conversation_stream
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/client.py
MIT
def create( self, *, conversation_config: ConversationalConfig, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[Re...
Create an agent from a config object Parameters ---------- conversation_config : ConversationalConfig Conversation configuration for an agent platform_settings : typing.Optional[AgentPlatformSettingsRequestModel] Platform settings for the agent are all ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetAgentResponseModel]: """ Retrieve config for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation...
Retrieve config for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResp...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def delete(self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: """ Delete an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optio...
Delete an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[None] ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def update( self, agent_id: str, *, conversation_config: typing.Optional[ConversationalConfig] = OMIT, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]] = OM...
Patches an Agent settings Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_config : typing.Optional[ConversationalConfig] Conversation configuration for an agent platform_settings : typin...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, search: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[GetAgentsPageResponseModel]: """ Returns a l...
Returns a list of your agents and their metadata. Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many Agents to return at maximum. Can not exceed ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def simulate_conversation( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Run a conversation between the agent and a simulated user. Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. simulation_specification : ConversationSimulationSpecification A specification detailing how the conv...
simulate_conversation
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def simulate_conversation_stream( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent. Parameters -----...
simulate_conversation_stream
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def create( self, *, conversation_config: ConversationalConfig, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optio...
Create an agent from a config object Parameters ---------- conversation_config : ConversationalConfig Conversation configuration for an agent platform_settings : typing.Optional[AgentPlatformSettingsRequestModel] Platform settings for the agent are all ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetAgentResponseModel]: """ Retrieve config for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on age...
Retrieve config for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHtt...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def delete( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[None]: """ Delete an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. reque...
Delete an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[Non...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def update( self, agent_id: str, *, conversation_config: typing.Optional[ConversationalConfig] = OMIT, platform_settings: typing.Optional[AgentPlatformSettingsRequestModel] = OMIT, name: typing.Optional[str] = OMIT, tags: typing.Optional[typing.Sequence[str]...
Patches an Agent settings Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_config : typing.Optional[ConversationalConfig] Conversation configuration for an agent platform_settings : typin...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def list( self, *, cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, search: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[GetAgentsPageResponseModel]: """ ...
Returns a list of your agents and their metadata. Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. page_size : typing.Optional[int] How many Agents to return at maximum. Can not exceed ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def simulate_conversation( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Run a conversation between the agent and a simulated user. Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. simulation_specification : ConversationSimulationSpecification A specification detailing how the conv...
simulate_conversation
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
async def simulate_conversation_stream( self, agent_id: str, *, simulation_specification: ConversationSimulationSpecification, extra_evaluation_criteria: typing.Optional[typing.Sequence[PromptEvaluationCriteria]] = OMIT, request_options: typing.Optional[RequestOptions] = ...
Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent. Parameters -----...
simulate_conversation_stream
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/raw_client.py
MIT
def size( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetAgentKnowledgebaseSizeResponseModel: """ Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_options : typin...
Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetAgentKnowledgebaseSizeResponseModel ...
size
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/knowledge_base/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/knowledge_base/client.py
MIT
async def size( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetAgentKnowledgebaseSizeResponseModel: """ Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_options :...
Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetAgentKnowledgebaseSizeResponseModel ...
size
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/knowledge_base/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/knowledge_base/client.py
MIT
def size( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetAgentKnowledgebaseSizeResponseModel]: """ Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_o...
Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[GetAgentKnowledgebaseSizeResponse...
size
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py
MIT
async def size( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetAgentKnowledgebaseSizeResponseModel]: """ Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str ...
Returns the number of pages in the agent's knowledge base. Parameters ---------- agent_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[GetAgentKnowledgebaseSizeRes...
size
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/knowledge_base/raw_client.py
MIT
def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetAgentLinkResponseModel: """ Get the current link used to share the agent with others Parameters ---------- agent_id : str The id of an agent. This is returned...
Get the current link used to share the agent with others Parameters ---------- agent_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/agents/link/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/link/client.py
MIT
async def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetAgentLinkResponseModel: """ Get the current link used to share the agent with others Parameters ---------- agent_id : str The id of an agent. This is re...
Get the current link used to share the agent with others Parameters ---------- agent_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/agents/link/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/link/client.py
MIT
def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetAgentLinkResponseModel]: """ Get the current link used to share the agent with others Parameters ---------- agent_id : str The id of an agent. Th...
Get the current link used to share the agent with others Parameters ---------- agent_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/agents/link/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/link/raw_client.py
MIT
async def get( self, agent_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetAgentLinkResponseModel]: """ Get the current link used to share the agent with others Parameters ---------- agent_id : str The id of a...
Get the current link used to share the agent with others Parameters ---------- agent_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/agents/link/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/link/raw_client.py
MIT
def calculate( self, agent_id: str, *, prompt_length: typing.Optional[int] = OMIT, number_of_pages: typing.Optional[int] = OMIT, rag_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LlmUsageCalculatorResponse...
Calculates expected number of LLM tokens needed for the specified agent. Parameters ---------- agent_id : str prompt_length : typing.Optional[int] Length of the prompt in characters. number_of_pages : typing.Optional[int] Pages of content in pd...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/llm_usage/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/llm_usage/client.py
MIT
async def calculate( self, agent_id: str, *, prompt_length: typing.Optional[int] = OMIT, number_of_pages: typing.Optional[int] = OMIT, rag_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LlmUsageCalculatorRe...
Calculates expected number of LLM tokens needed for the specified agent. Parameters ---------- agent_id : str prompt_length : typing.Optional[int] Length of the prompt in characters. number_of_pages : typing.Optional[int] Pages of content in pd...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/llm_usage/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/llm_usage/client.py
MIT
def calculate( self, agent_id: str, *, prompt_length: typing.Optional[int] = OMIT, number_of_pages: typing.Optional[int] = OMIT, rag_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LlmUsageCalcu...
Calculates expected number of LLM tokens needed for the specified agent. Parameters ---------- agent_id : str prompt_length : typing.Optional[int] Length of the prompt in characters. number_of_pages : typing.Optional[int] Pages of content in pd...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py
MIT
async def calculate( self, agent_id: str, *, prompt_length: typing.Optional[int] = OMIT, number_of_pages: typing.Optional[int] = OMIT, rag_enabled: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[Ll...
Calculates expected number of LLM tokens needed for the specified agent. Parameters ---------- agent_id : str prompt_length : typing.Optional[int] Length of the prompt in characters. number_of_pages : typing.Optional[int] Pages of content in pd...
calculate
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/llm_usage/raw_client.py
MIT
def get( self, agent_id: str, *, conversation_signature: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> GetAgentEmbedResponseModel: """ Retrieve the widget configuration for an agent Parameters -----...
Retrieve the widget configuration for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_signature : typing.Optional[str] An expiring token that enables a websocket conversation to start. T...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/client.py
MIT
async def get( self, agent_id: str, *, conversation_signature: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> GetAgentEmbedResponseModel: """ Retrieve the widget configuration for an agent Parameters ...
Retrieve the widget configuration for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_signature : typing.Optional[str] An expiring token that enables a websocket conversation to start. T...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/client.py
MIT
def get( self, agent_id: str, *, conversation_signature: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[GetAgentEmbedResponseModel]: """ Retrieve the widget configuration for an agent Parameters...
Retrieve the widget configuration for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_signature : typing.Optional[str] An expiring token that enables a websocket conversation to start. T...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/raw_client.py
MIT
async def get( self, agent_id: str, *, conversation_signature: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[GetAgentEmbedResponseModel]: """ Retrieve the widget configuration for an agent ...
Retrieve the widget configuration for an agent Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. conversation_signature : typing.Optional[str] An expiring token that enables a websocket conversation to start. T...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/raw_client.py
MIT
def create( self, agent_id: str, *, avatar_file: core.File, request_options: typing.Optional[RequestOptions] = None ) -> PostAgentAvatarResponseModel: """ Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str The id of ...
Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. avatar_file : core.File See core.File for more documentation request_options : typing.Optional[Req...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/avatar/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/avatar/client.py
MIT
async def create( self, agent_id: str, *, avatar_file: core.File, request_options: typing.Optional[RequestOptions] = None ) -> PostAgentAvatarResponseModel: """ Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str The ...
Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. avatar_file : core.File See core.File for more documentation request_options : typing.Optional[Req...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/avatar/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/avatar/client.py
MIT
def create( self, agent_id: str, *, avatar_file: core.File, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[PostAgentAvatarResponseModel]: """ Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str ...
Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. avatar_file : core.File See core.File for more documentation request_options : typing.Optional[Req...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py
MIT
async def create( self, agent_id: str, *, avatar_file: core.File, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[PostAgentAvatarResponseModel]: """ Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : s...
Sets the avatar for an agent displayed in the widget Parameters ---------- agent_id : str The id of an agent. This is returned on agent creation. avatar_file : core.File See core.File for more documentation request_options : typing.Optional[Req...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/agents/widget/avatar/raw_client.py
MIT
def get( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> BatchCallDetailedResponse: """ Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_options : typing.O...
Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- BatchCallDetailedResponse ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/client.py
MIT
async def get( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> BatchCallDetailedResponse: """ Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_options : ty...
Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- BatchCallDetailedResponse ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/client.py
MIT
async def cancel( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> BatchCallResponse: """ Cancel a running batch call and set all recipients to cancelled status. Parameters ---------- batch_id : str request_options : typin...
Cancel a running batch call and set all recipients to cancelled status. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- BatchCallResponse Suc...
cancel
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/client.py
MIT
async def retry( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> BatchCallResponse: """ Retry a batch call by setting completed recipients back to pending status. Parameters ---------- batch_id : str request_options : typ...
Retry a batch call by setting completed recipients back to pending status. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- BatchCallResponse ...
retry
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/client.py
MIT
def get( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[BatchCallDetailedResponse]: """ Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_opti...
Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[BatchCallDetailedRespo...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/raw_client.py
MIT
def cancel( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[BatchCallResponse]: """ Cancel a running batch call and set all recipients to cancelled status. Parameters ---------- batch_id : str request_options...
Cancel a running batch call and set all recipients to cancelled status. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[BatchCallResponse] ...
cancel
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/raw_client.py
MIT
def retry( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[BatchCallResponse]: """ Retry a batch call by setting completed recipients back to pending status. Parameters ---------- batch_id : str request_optio...
Retry a batch call by setting completed recipients back to pending status. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[BatchCallResponse...
retry
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/raw_client.py
MIT
async def get( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[BatchCallDetailedResponse]: """ Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str r...
Get detailed information about a batch call including all recipients. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[BatchCallDetailed...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/raw_client.py
MIT
async def cancel( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[BatchCallResponse]: """ Cancel a running batch call and set all recipients to cancelled status. Parameters ---------- batch_id : str requ...
Cancel a running batch call and set all recipients to cancelled status. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[BatchCallRespon...
cancel
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/raw_client.py
MIT
async def retry( self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[BatchCallResponse]: """ Retry a batch call by setting completed recipients back to pending status. Parameters ---------- batch_id : str re...
Retry a batch call by setting completed recipients back to pending status. Parameters ---------- batch_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[BatchCallRes...
retry
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/batch_calls/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/batch_calls/raw_client.py
MIT
def get_signed_url( self, *, agent_id: str, request_options: typing.Optional[RequestOptions] = None ) -> ConversationSignedUrlResponseModel: """ Get a signed url to start a conversation with an agent with an agent that requires authorization Parameters ---------- age...
Get a signed url to start a conversation with an agent with an agent that requires authorization Parameters ---------- agent_id : str The id of the agent you're taking the action on. request_options : typing.Optional[RequestOptions] Request-specific con...
get_signed_url
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversations/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversations/client.py
MIT
def list( self, *, cursor: typing.Optional[str] = None, agent_id: typing.Optional[str] = None, call_successful: typing.Optional[EvaluationSuccessResult] = None, call_start_before_unix: typing.Optional[int] = None, call_start_after_unix: typing.Optional[int] = None...
Get all conversations of agents that user owns. With option to restrict to a specific agent. Parameters ---------- cursor : typing.Optional[str] Used for fetching next page. Cursor is returned in the response. agent_id : typing.Optional[str] The id of t...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversations/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversations/client.py
MIT
def get( self, conversation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> GetConversationResponseModel: """ Get the details of a particular conversation Parameters ---------- conversation_id : str The id of the conversation you'...
Get the details of a particular conversation Parameters ---------- conversation_id : str The id of the conversation you're taking the action on. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns -...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversations/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversations/client.py
MIT
def delete( self, conversation_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Optional[typing.Any]: """ Delete a particular conversation Parameters ---------- conversation_id : str The id of the conversation you're taking ...
Delete a particular conversation Parameters ---------- conversation_id : str The id of the conversation you're taking the action on. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/conversations/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/conversations/client.py
MIT