I have encountered an error while doing conversation transcription "Invalid role for conversation"

Sandeep Pradeep 25 Reputation points
2023-11-20T17:06:24.7966667+00:00

This is the error iam enciuntering while trying to summarize a doctor patient conversation

 Message: Job task: 'ConversationalSummarizationTask-Issue task' failed with validation error: Invalid role for conversation 'conversation1' item '1'. The supported roles are Customer, Agent for issue resolution summarization.      (InvalidRequest) Job task: 'ConversationalSummarizationTask-Resolution task' failed with validation error: Invalid role for conversation 'conversation1' item '1'. The supported roles are Customer, Agent for issue resolution summarization.
        Code: InvalidRequest
        Message: Job task: 'ConversationalSummarizationTask-Resolution task' failed with validation error: Invalid role for conversation 'conversation1' item '1'. The supported roles are Customer, Agent for issue resolution summarization.
Inner error: {
    "code": "InvalidParameterValue",
    "message": "Job task: 'ConversationalSummarizationTask-Issue task' failed with validation errors: ['Invalid Request.']Job task: 'ConversationalSummarizationTask-Resolution task' failed with validation errors: ['Invalid Request.']"
}
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
408 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,842 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 17,121 Reputation points
    2023-11-20T23:59:21.2766667+00:00

    Hello @Sandeep Pradeep , Thanks for using Microsoft Q&A Platform.

    The error message indicates that the role for the conversation item is invalid, and that the supported roles are Customer and Agent for issue resolution summarization. As per the documentation and the error looks like the supported roles are these so, please add these and try.

    So please ensure that the conversation items are assigned with these correct roles: https://learn.microsoft.com/en-us/azure/ai-services/language-service/summarization/how-to/conversation-summarization#get-recap-and-follow-up-task-summarization

    I hope this helps.

    Regards,
    Vasavi

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.