system prompt not working structuredDataPlan,summe...
# support
k
"analysisPlan": { "successEvaluationPlan": { "rubric": "AutomaticRubric", "enabled": true, "messages": [ { "role": "system", "content":"You are successEvaluationPlan agent]" } ] }, "summaryPlan": { "messages": [ { "role": "system", "content":"You are an AI assistant helping summarize phone conversations for business purposes. Your task is to generate a professional summary of the call based on the transcript provided" } ] }, "structuredDataPlan": { "messages": [ { "role": "system", "content":"You are an AI assistant helping summarize phone conversations for business purposes. Your task is to generate a professional summary of the call based on the transcript provided" } ] }, "monitorPlan": { "listenEnabled": true, "controlEnabled": true }, "server": { "url": "https://make.com" }, "name": "my assistant", "forwardingPhoneNumber": "+918980579954" }'`````````````structuredDataPlan,summerplan,evalution plan not working
@Shubham Bajaj please look at this
v
@Kavish I'm here to help you with your analysis plans. It seems like there might be a configuration issue with your successEvaluationPlan, summaryPlan, and structuredDataPlan. To assist you better, could you please provide me with more details about what exactly is not working? Are you receiving any error messages, or is the behavior not as expected? Once I have more information, I'll do my best to guide you through the necessary steps to resolve the issue.
You can continue this conversation by mentioning me in the message.
k
@Vapi i am unable to add prompt for thsese
v
@Kavish I understand you're having trouble setting the prompts for your successEvaluationPlan, summaryPlan, and structuredDataPlan. To assist you effectively, I'll need to know the specific steps you're taking to add the prompts and where in the process it's failing. Could you please provide me with the following details? 1. The method you are using to set the prompts (e.g., through a user interface, API call, etc.). 2. Any error messages or indicators of failure you're encountering. 3. The expected outcome after setting the prompts. With this information, I can offer more targeted assistance or guide you through the process of setting the prompts correctly. If you have the necessary details ready, please share them, and I'll help you resolve the issue.
k
when i mention prompt for summery ,evalution and structure output data when creating agent through vapi ai than it create ai ssistant without prompt for summery ,evalution and structure
when i mention prompt for summery ,evalution and structure output data when creating agent through vapi ai than it create ai ssistant without prompt for summery ,evalution and structure @Vapi
v
@Kavish It seems like there might be an issue with the way the prompts are being defined or with the API call you're making to create the assistant through VAPI AI. To ensure that the prompts for summary, evaluation, and structured output data are included correctly, please make sure that: 1. The JSON payload you're sending is properly formatted. 2. The keys for the prompts are correctly spelled and match the expected schema. 3. The API endpoint you're using is correct and supports the payload you're sending. If you've verified all of the above and the issue persists, it's possible that there might be a bug or a limitation within the VAPI AI system that's preventing the prompts from being set correctly. In this case, I would recommend reaching out to VAPI AI support with the details of the API call you're making, including the payload and any responses you're receiving. They should be able to provide further assistance and help you troubleshoot the issue. If you have the API call details and would like me to review them, please share them, and I'll do my best to assist you further.
k
"analysisPlan": { "successEvaluationPlan": { "rubric": "AutomaticRubric", "enabled": true, "messages": [ { "role": "system", "content": "You are an evaluation agent assessing the quality of the conversation." } ] }, "summaryPlan": { "messages": [ { "role": "system", "content": "Provide a concise, professional summary of the phone conversation, highlighting key points and outcomes." } ] }, "structuredDataPlan": { "messages": [ { "role": "system", "content": "Extract and organize key structured information from the conversation." } ] } }, @Vapi is this right
v
@Kavish The JSON snippet you've provided appears to be structured correctly with respect to the keys and nested objects for the
successEvaluationPlan
,
summaryPlan
, and
structuredDataPlan
. Each plan has an array of messages with a role and content, which seems to be the intended way to define the prompts for each respective plan. However, please ensure that the entire payload you're sending to the VAPI AI system is correctly formatted as a valid JSON object and that it includes all necessary top-level properties that the API expects. If you're still encountering issues after verifying the JSON structure, it might be necessary to consult the VAPI AI documentation or reach out to their support team for further assistance, as there could be additional context or configuration required that isn't visible in the snippet provided. If you have access to the API documentation or error messages from your attempts, those could be very helpful in diagnosing the problem. Please share any additional information you have, and I'll assist you to the best of my ability.
s
@Kavish Sorry for the late response. Considering this as duplicate ticket do you want to continue here as well or in the existing ticket?
k
all problems related to analysis plans are solved? @Shubham Bajaj
s
@Kavish there is no problems related to analysis plan instead you were having difficulty understanding it right?
5 Views