Expected Success Evaluation to be a boolean
# support
m
Since I upgraded vapi sdk to recet version, success evaluation is not a boolean result anymore (although I use
PassFail
evaluation). I have a text result Here is a callId: "cd3f0ff5-cc5a-4470-9978-46cc185099e6" Here is the
PassFail
configuration used for this call:
Copy code
"successEvaluationPlan": {
            "rubric": "PassFail",
            "enabled": true,
            "messages": [
              {
                "role": "system",
                "content": "Vous êtes un expert en évaluation d'appels. Une transcription d'appel et le system prompt du participant IA vous seront fournis. Déterminez si l'appel a été réussi en fonction de votre perception de la satisfaction de l'appelant."
              },
              {
                "role": "user",
                "content": "Voici la transcription d’un appel téléphonique :\n\n{{transcript}}\n\n"
              },
              {
                "role": "user",
                "content": "Voici le system prompt de l'appel :\n\n{{systemPrompt}}\n\n. Voici la raison de la fin de l'appel :\n\n{{endedReason}}\n\n"
              }
            ]
          }
https://cdn.discordapp.com/attachments/1381987553694978099/1381987553967603783/image.png?ex=684983b4&is=68483234&hm=d3acea485b604f88e983bc5a7086c2c0f505a07de9b0e12783a977cda84439c1&
Failed since 27-05-2025: First CallId that failed on my side:
5c962c24-1dbf-4623-bfc5-a38c212629d2
Is my successEvaluationPlan config not correct?
s
m
Ok, but since it's a
PassFail
evaluation, is it normal that the evaluation response is a string sentence, rather than a boolean?
c
It is not expected, but based on the last active member in your squad or the recent active member in the squad, the analysis plan is used, and the outcome which you are seeing is totally correct.
m
Indeed. I was missing this part
\n\nRubric:\n\n{{rubric}}\n\nOnly respond with the evaluation result.
due to override
Issue is solved. Thanks
c
Marking this ticket as Solved ✅
4 Views