Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.46k stars 4.8k forks source link

[BUG]The "follow-up tasks" in Azure AI Language Summarization is not working #44908

Open JohanKlijn opened 3 months ago

JohanKlijn commented 3 months ago

Library name and version

Azure.AI.Language.Conversations 1.1.0

Describe the bug

When using the Azure AI Language Service to create a "recap and follow-up task summarization" accoording to this example: https://learn.microsoft.com/en-us/azure/ai-services/language-service/summarization/how-to/conversation-summarization#get-recap-and-follow-up-task-summarization I get the follwoing exception:

{
    "error": {
        "code": "InvalidRequest",
        "details": [
            {
                "code": "InvalidRequest",
                "message": "Job task: 'ConversationalSummarizationTask-summary_narrative' failed with validation error: Invalid value for parameter 'summaryAspects', valid values are issue, resolution, chapterTitle, narrative, recap."
            }
        ],
        "message": "Invalid Request.",
        "innererror": {
            "code": "InvalidParameterValue",
            "message": "Job task: 'ConversationalSummarizationTask-summary_narrative' failed with validation errors: ['Invalid parameter in request']"
        }
    }
}

So specifying a task with a summaryAspects of "follow-up tasks" doesn't work.

Example:

{
    "taskName": "Conversation Task 1",
    "kind": "ConversationalSummarizationTask",
    "parameters": {
        "summaryAspects": [
            "recap",
            "follow-up tasks"
        ]
    }
}

Expected behavior

follow-up tasks are created

Actual behavior

exception.

Reproduction Steps

Just use the example

Environment

.NET 8.0

github-actions[bot] commented 3 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @quentinRobinson @wangyuantao.