Analyze Conversation REST API: How to get direct target project result from Orchestrator

MirkoG 20 Reputation points
2023-12-14T09:38:11.27+00:00

Hello everyone!

In my Language Studio environment I set up an Orchestration workflow project with two Intents connected to two kind of projects: CLU and Question Answering (reference doc: https://learn.microsoft.com/en-us/azure/ai-services/language-service/orchestration-workflow/tutorials/connect-services)

Everything is working as expected but there is a specific feature that it's not working or it's not clear to me.

The feature is: querying the Orchestrator for a specific project target (reference https://learn.microsoft.com/en-us/rest/api/language/conversation-analysis/analyze-conversation?view=rest-language-2023-04-01&tabs=HTTP#orchestrator-direct-target-result).

According to the documentation, I can choose the "The name of a target project to forward the request to" by using the parameter "directTarget" in the request (https://learn.microsoft.com/en-us/rest/api/language/conversation-analysis/analyze-conversation?view=rest-language-2023-04-01&tabs=HTTP#conversationtaskparameters).

Now the point is that: If I try to directTarget the QnA connected project Intent, it is working as expected while if I try to direct target the CLU connected Intent I receive the following error:

"error": {
        "code": "InvalidArgument",
        "message": "The input parameter is invalid. The target Clu is not a QnA Maker project."
    }

The question is: Is this feature supposed to work only for QnA connected Intent ?

Thank you in advance for your support!

Mirko

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
359 questions
{count} votes

Accepted answer
  1. romungi-MSFT 42,286 Reputation points Microsoft Employee
    2023-12-28T10:25:16.9933333+00:00

    @MirkoG Apologies for the delay, I can confirm that this parameter only supports QnAMaker projects, the documentation will be updated to use only QnAMaker projects for this scenario. Thanks!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful