Conversation Customization
Learn how to customize your AI agent for each conversation & pass additional metadata to the agent.
Learn how to customize your AI agent for each conversation by adding personalized details and passing custom parameters. For example, greet users by their name, adjust responses based on account-specific data, or include metadata to enhance interactions.
What You’ll Need
- An ElevenLabs account
- A configured ElevenLabs Conversational Agent (create one here)
- Python 3.7+ or Node.js 16+
Agent Conversation Overrides
In ElevenLabs Conversational AI, you typically define a top-level agent with default settings. This feature allows you to create tailored voice experiences, without creating new agents.
The following steps will show you how to configure the prompt
& first_message
on setup to greet the user by their name.
Ensure you have the latest Javascript/React SDK installed.
With this agent override feature, you can now create a single agent and customize it with every customer conversation.
Custom LLM Parameters
Similarly, you may pass additional parameters to your custom LLM implementation.
Define the Extra Parameters
Create an object containing your custom parameters:
Update the LLM Implementation
Modify your custom LLM code to handle the additional parameters:
Example Request
With this custom message setup, your LLM will receive requests in this format:
Troubleshooting
Was this page helpful?