Learn how to use the Elixir SDKs
SDK | Examples | Requirements |
---|---|---|
Python SDK | Vapi Bot, Pipecat Bot | Must use Python 3 |
init
Usage Examples:
track_conversation
Parameters:
conversation_id
(String): ID of the conversation the current trace should be associated with.conversation_properties
(Object) [optional]: Custom properties to add to the conversation.track_user
Parameters:
user_id
(String): ID of the user the current trace should be associated with.user_properties
(Object) [optional]: Custom properties to add to the user.upload_audio
Async
Parameters:
conversation_id
(String): ID of the conversation the audio file should be tied to.audio_url
(String) [optional]: Publicly accessible link to hosted recording.audio_buffer
(Bytes) [optional]: Bytes object containing audio file. Use audio_buffer and audio_content_type if you can’t send an audio_url.audio_content_type
(String) [optional]: Content type of the provided audio_buffer.