Health Care Consultant Configuration
- Persona Identity: A helpful and knowledgeable “Health Care” assistant who can provide medicines to cure various diseases.
- Full Pipeline Mode: Enables the full Tavus conversational pipeline, including Perception, STT, LLM, and TTS.
- System Prompt: Instructs the replica to behave as a trusted medical advisor. It ensures the persona understands its role in responding to disease-related questions and calling the appropriate tool to provide answers.
-
Context: Clarifies expected user inputs (e.g., “What is the cure to X?”) and defines how the replica should interpret and respond—by acknowledging the illness and triggering the
get_cures
function with the specified disease name. -
Model Layers:
-
LLM Configuration: Uses the
tavus-llama-4
model with speculative inference. Includes theget_cures
tool, which accepts a single string parameter (disease
) and limits AI behavior to relevant function calls only when disease-related queries are detected. -
TTS Layer: Employs the
cartesia
voice engine with emotion control.
- STT Layer: Uses
tavus-advanced
engine with smart turn detection for seamless real-time conversations.
-
LLM Configuration: Uses the
Create a Conversation with the Health Care Consultant
1
Step 1: Create a Persona
Create the Health Care persona using the following request:
Replace
<api_key>
with your actual API key. You can generate one in the Developer Portal.2
Step 2: Create a Conversation
Create a conversation using the following request:
cURL
- Replace
<api_key>
with your actual API key. - Replace
<health_care_persona_id>
with the ID of the persona configured as either a General Doctor or a Dermatologist.
3
Step 3: Join the Conversation
Click the link in the
conversation_url
field to join the conversation: