summaryPlan,analysisPlan,successEvaluationPlan,str...
# support
v
@Kavish Thank you for providing the details of your Voice API setup. If you have any specific questions or need assistance with any of the features or plans you've mentioned, please feel free to ask. I'm here to help you make the most of your voice application.
You can continue this conversation by mentioning me in the message.
k
@Vapi summaryPlan,analysisPlan,successEvaluationPlan,structuredDataPlan not working when creatingagent api
v
@Kavish I'm sorry to hear that you're experiencing issues with the summaryPlan, analysisPlan, successEvaluationPlan, and structuredDataPlan when using the creatingagent API. To assist you effectively, I'll need a bit more information about the problem. Could you please provide me with the following details? 1. The exact error message or behavior you're encountering. 2. The steps you're taking when the issue occurs. 3. Any relevant code snippets or configurations you're using. Once I have this information, I'll be able to offer more targeted assistance or guide you on how to resolve the issue. If the problem persists and requires immediate attention, please ask support for more info on this.
k
@Vapi it working fine without but it not assigning which i mention in api summery prompt and structure data prompt and evalution prompt in agent
v
@Kavish It seems there might be an issue with the configuration of your summaryPlan, analysisPlan, successEvaluationPlan, and structuredDataPlan in the API request. To ensure these plans are correctly assigned and functioning within your agent, please double-check the following: 1. Verify that the JSON structure of your API request is correct and that all necessary fields are included and properly formatted. 2. Ensure that the plans are enabled if they need to be. For example, the
successEvaluationPlan
has an "enabled" field that must be set to
true
for it to work. 3. Confirm that the content of the plans, such as the messages and rubrics, are correctly specified according to the API documentation. 4. Check if there are any conditions or prerequisites for these plans to execute that may not be met in your current setup. If you've verified all of the above and the issue still persists, there might be a need for a more in-depth technical investigation. In that case, please provide the exact request you're sending (with sensitive information redacted) so I can assist you further. If immediate support is required, please ask support for more info on this.
k
create roight code @Vapi
v
@Kavish It seems there might be a typo in your request. If you're asking for assistance in creating the right code for setting up your Voice API agent with the summaryPlan, analysisPlan, successEvaluationPlan, and structuredDataPlan, I can guide you on the general structure you should follow. However, please note that I can't execute or test code directly. Here's a general template for how your API request might look in JSON format:
Copy code
json
{
  "voicemailMessage": "This is the voicemail message",
  "endCallMessage": "Thank you for contacting us. Have a great day!",
  "endCallPhrases": ["goodbye"],
  "analysisPlan": {
    "successEvaluationPlan": {
      "rubric": "AutomaticRubric",
      "enabled": true,
      "messages": [
        // ... your success evaluation messages
      ]
    },
    "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."
          // ... additional summary messages
        }
      ]
    },
    "structuredDataPlan": {
      // ... your structured data plan configuration
    }
  },
  "monitorPlan": {
    "listenEnabled": true,
    "controlEnabled": true
  },
  "server": {
    "url": "https://make.com"
  },
  "name": "my assistant",
  "forwardingPhoneNumber": "+918989579954"
}
Make sure to replace the placeholder comments with actual data relevant to your application. If you're using a specific programming language or framework to make the API request, you'll need to convert this JSON structure into a format that's appropriate for your code. If you need further assistance with the code or have specific questions about the API, please provide more details or ask for support.
c
WHy are you not putting the role and message in the analysis?
3 Views