Analysis Structured Data Not Working During Real C...
# support
m
I dont know why you marked the other support thread as resolved. ITS NOT RESLOVED. Its still not working. here is our code: You said to put : your_current_assistant_analysis That does not exist as in your support page: https://docs.vapi.ai/api-reference/assistants/update-assistant It would be more helpful if you are more clear with you instructions. Here is our current code that is sent using the PATCH. It gets a 200 response but when we test the call it is still NOT working. { "analysisPlan": { "summaryPrompt": "You are an expert transcript evaluator. You will be given a Transcript of a call and you must determine if the call was a success. The most important details are the answers from the two questions the AI participant asks: ---QUESTIONS--- ~“And who do you process your credit card machine with?” and ~“What is the machine that you guys are using?” ---END QUESTIONS--- It is vital that you identify the answers to these two questions. if there is no answer then the call was a failure.", "summaryRequestTimeoutSeconds": 20, "structuredDataRequestTimeoutSeconds": 20, "successEvaluationPrompt": "It is vital that you identify the answers to these two questions. if either question is not answered then the call was a failure. ---QUESTIONS--- ~“And who do you process your credit card machine with?” and ~“What is the machine that you guys are using?” ---END QUESTIONS---", "successEvaluationRubric": "PassFail", "successEvaluationRequestTimeoutSeconds": 20, "structuredDataPrompt": "You are looking for the USER answers to the "CCMP" and the "MN" in the transcript. Find the user answers for the following questions: ---QUESTIONS--- ~“And who do you process your credit card machine with?” and ~“What is the machine that you guys are using?” ---END QUESTIONS--- ---STRUCTURE-- 1. The answer to: And who do you process your credit card machine with? is the "CCMP". 2. The answer What is the machine that you guys are using? is the "MN". ---END STRUCTURE-- --GOAL DATA-- - Credit Card Machine Processing (CCMP) - Machine Name (MN)", "structuredDataSchema": { "type": "object", "properties": { "CCMP": { "type": "string", "description": "The company or service used for processing credit card machines." }, "MN": { "type": "string", "description": "The name of the machine that is used for credit card processing." } }, "required": ["CCMP", "MN"] } } }
v
@MadHatMedia I'm sorry to hear that your issue hasn't been resolved yet. Let's try to address this together. From the code snippet you've provided, it seems like you are correctly using the PATCH method to update the analysis plan of your assistant. A 200 response typically indicates that the request has been processed successfully. However, if the call analysis is still not working as expected, there might be an issue with how the analysis plan is being executed or with other parts of your assistant's configuration. To assist you further, I would need to know more about the specific issue you're encountering when you say it's "not working." Are you not getting the expected analysis results, or is there an error occurring during the call? In the meantime, please double-check the following: 1. Ensure that the assistant is properly configured to use the updated analysis plan. 2. Verify that the calls are being correctly routed through the assistant for analysis. 3. Confirm that the questions are being asked as specified in the analysis plan during the calls. 4. Check if there are any logs or error messages that can provide more insight into the issue. If you've already checked these points and the problem persists, please provide additional details about the issue, and I'll do my best to help you resolve it. If necessary, you can also reach out to our support team for more in-depth assistance by sending an email to [support@vapi.ai](support@vapi.ai).
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
m
@User where is ssupport?
s
your issue was auto marked into looking, now converted into unsovled.
can you share the recent call id @MadHatMedia .
m
This is resolveed