-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvapi_log_utf8.txt
More file actions
90 lines (90 loc) · 3.41 KB
/
Copy pathvapi_log_utf8.txt
File metadata and controls
90 lines (90 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"id": "019d6ec5-74c1-7000-851d-3cf4028543f1",
"phoneNumberId": "f310dbf8-1e15-4434-991c-1041538c500c",
"type": "outboundPhoneCall",
"createdAt": "2026-04-08T20:25:27.489Z",
"updatedAt": "2026-04-08T20:25:27.725Z",
"orgId": "c215ae5a-5b95-4f18-a9f3-04939a8be3b5",
"cost": 0,
"assistant": {
"name": "Equinox Appointment Agent",
"model": {
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "You are an AI medical receptionist calling on behalf of a patient to book an appointment.\n\nDoctor Information:\n- Name: Dr. Manish Tiwari\n- Specialty: ENT Specialist\n- Hospital: Safdarjung Hospital\n- Available Hours: Mon-Sat, 8AM-2PM\n\nYour job:\n1. Greet the doctor's receptionist or the doctor professionally.\n2. Explain you are calling to book an appointment for the patient.\n3. Ask for an available appointment slot.\n4. Confirm the date and time clearly.\n5. Thank them and end the call politely.\n\nIf no one answers or the line is busy, leave a brief voicemail.\nKeep the call under 2 minutes.\nBe polite, professional, and concise."
}
],
"provider": "openai",
"maxTokens": 500,
"temperature": 0.7
},
"voice": {
"voiceId": "emma",
"provider": "azure"
},
"firstMessage": "Hello, I'm calling on behalf of the patient to schedule an appointment with Dr. Manish Tiwari, ENT Specialist at Safdarjung Hospital. Could you please help me find an available slot?",
"firstMessageMode": "assistant-speaks-first",
"endCallMessage": "Thank you for your time. Goodbye!",
"endCallPhrases": [
"goodbye",
"bye",
"have a good day",
"thank you, goodbye",
"we're all set",
"that's all we needed"
],
"maxDurationSeconds": 180,
"analysisPlan": {
"summaryPlan": {
"enabled": true,
"messages": [
{
"content": "Summarize this appointment-booking call in 1-2 sentences.",
"role": "system"
}
]
},
"structuredDataPlan": {
"enabled": true,
"schema": {
"type": "object",
"required": [
"confirmed"
],
"properties": {
"notes": {
"description": "Any additional instructions or notes from the receptionist",
"type": "string"
},
"confirmed": {
"description": "True if an appointment was successfully booked",
"type": "boolean"
},
"appointment_date": {
"description": "The date of the appointment (e.g. 'April 15, 2026' or '15/04/2026')",
"type": "string"
},
"appointment_time": {
"description": "The time of the appointment (e.g. '10:30 AM')",
"type": "string"
}
}
},
"messages": [
{
"content": "You are a data extractor. Given the call transcript, extract the appointment details. Set confirmed=true only if a specific date and time were agreed upon.",
"role": "system"
}
]
}
}
},
"customer": {
"number": "+917990588077"
},
"status": "ended",
"endedReason": "call.start.error-get-transport",
"endedMessage": "Couldn't Create Twilio Call. Twilio Error: The number +917990588077 is unverified. Trial accounts may only make calls to verified numbers."
}