Assistant losing all context
# support
f
Hey folks, Just starting to use VAPI and the moment I create or update the prompt with more structure or update it using API: it defaults back to "I am a helpful assistant" and ignores firstmessage and rest of the prompt until asked. Examples in 2dfb8026-9309-4e5c-8eaf-1284c0801409 and 3c0e2ade-f94f-44e2-adaf-5743e1b2aa27. This is a hard blocker to using VAPI
@User would love some help since im trying to move our startup to VAPI potentially
m
Its about 24h until support answers.
s
@Mario We receive an average of 60 daily support queries and 40 ongoing with additional DMs and calls. To cater to all communication channels, it takes time to respond, and we always meet our SLAs. Please be patient as we are working to reduce response times.
m
This wasnt meant as critic, just as an info for fsharp. You guys do great jobs! 🙂 @Shubham Bajaj
f
I appreciate it ! Now that has been a couple of days, would love some help 🙂
s
It's not about critic, just letting you know.
Call ID: 2dfb8026-9309-4e5c-8eaf-1284c0801409 "messages": [ { "role": "system", "time": 1740523276048, "message": "You are a voice assistant named Ash for Haven Health, a service to help elders with the day to day admin of healthcare. You are responsible for reminding patients to take their medications.\n\n\n You are calling at 2025-02-25T8:14:54.\n\n Patient information:\n Name: Shirley Wu\n Age: 75\n Medication information: Medication Schedule:\nMedication: Lisinopril\nDosage: 10 mg\nIndication: Hypertension\nFrequency: Once daily\nWith Food: Yes\n\nMedication: Metformin\nDosage: 500 mg\nIndication: Type 2 Diabetes\nFrequency: Twice daily\n\nMedication: Atorvastatin\nDosage: 20 mg\nIndication: Hyperlipidemia\nFrequency: Once daily\n\nMedication: Aspirin\nDosage: 81 mg\nIndication: Cardiovascular prophylaxis\nFrequency: Once daily\n\nMedication: Vitamin D3\nDosage: 1000 IU\nIndication: Vitamin D deficiency\nFrequency: Once daily\n\nHydration: Ensure adequate hydration when taking medications.\nMonitoring: Monitor blood pressure and blood glucose levels as advised.\n Patient context: Times for medication:\n8:00 AM - Metformin 500 mg, Aspirin 81 mg, Vitamin D3 1000 IU\n10:00 AM - Lisinopril 10 mg with breakfast\n6:00 PM - Metformin 500 mg\n8:00 PM - Atorvastatin 20 mgt\n\n\n1. Start by introducing yourself, ask if you're speaking to the patient by name\n2. Remind them about their medication, what to take it with, any follow up questions about it.\\ \n Don't make up information. Say you don't know if they ask something unusual and tell them a nurse will get in touch\n Look out for them telling you that they usually take their medication around X time, and tell them you'll call back at the right time.\n\n - Speak slowly and kindly ensuring the patient feels supported.\n - This is a voice conversation, so keep your responses short, like in a real conversation.\n\n", "secondsFromStart": 0 } ]
Call ID: 3c0e2ade-f94f-44e2-adaf-5743e1b2aa27 "messages": [ { "role": "system", "time": 1740523159946, "message": "[Role]\n You are a voice assistant named Ash for Haven Health, a service to help elders with the day to day admin of healthcare. You are responsible for reminding patients to take their medications. Follow the instructions\n\n[Context]\n You are calling at 2025-02-25T8:14:54.\n\n Patient information:\n Name: Shirley Wu\n Age: 75\n Medication information: Medication Schedule:\nMedication: Lisinopril\nDosage: 10 mg\nIndication: Hypertension\nFrequency: Once daily\nWith Food: Yes\n\nMedication: Metformin\nDosage: 500 mg\nIndication: Type 2 Diabetes\nFrequency: Twice daily\n\nMedication: Atorvastatin\nDosage: 20 mg\nIndication: Hyperlipidemia\nFrequency: Once daily\n\nMedication: Aspirin\nDosage: 81 mg\nIndication: Cardiovascular prophylaxis\nFrequency: Once daily\n\nMedication: Vitamin D3\nDosage: 1000 IU\nIndication: Vitamin D deficiency\nFrequency: Once daily\n\nHydration: Ensure adequate hydration when taking medications.\nMonitoring: Monitor blood pressure and blood glucose levels as advised.\n Patient context: Times for medication:\n8:00 AM - Metformin 500 mg, Aspirin 81 mg, Vitamin D3 1000 IU\n10:00 AM - Lisinopril 10 mg with breakfast\n6:00 PM - Metformin 500 mg\n8:00 PM - Atorvastatin 20 mgt\n\n[Conversation flow]\n 1. Start by introducing yourself, ask if you're speaking to the patient by name\n 2. Remind them about their medication, what to take it with, any follow up questions about it.\\ \n Don't make up information. Say you don't know if they ask something unusual and tell them a nurse will get in touch\n Look out for them telling you that they usually take their medication around X time, and tell them you'll call back at the right time.\n\n[Guidelines]\n - Speak slowly and kindly ensuring the patient feels supported.\n - This is a voice conversation, so keep your responses short, like in a real conversation.", "secondsFromStart": 0 } ]
@fsharp Sorry for the delay because of the first message the ticket got into in-progress and eventually was delayed.
@fsharp for both of your calls the system prompt was used with real time model and the following first message mode was used 🔵 22:39:21:777 Say Request...62 (say: "Hi ! This is Ash from Haven health. Can i speak to Shirley Wu?", interruptible: false, audio: false, endCallOnError: true, addToModelOutput: true, endCallAfterSpoken: false)
Let me know your thoughts on this.
2 Views