How Azure Cognitive service Orchestration Workflow project redirect request to different project.

Adarsh Pandey 21 Reputation points
2023-02-01T10:40:42.2166667+00:00

Hi Everyone,

I've a question w.r.t to Orchestration project in Language Studio.

When we create orchestration workflow project, we can define intent and we can connect one particular intent to a specific Q&A project or CLU project. I want to understand how Orchestrator figures out which service to connect with based on question user ask to Bot ?

Basically I've to understand the process of this request. Because as per my observation when I post a question to Orchestration project's endpoint, it retrieves intent from all the connected projects(In my case I've connected to Q&A and CLU) and mark one of the intent as top intent.

To give an example,

  1. I've created Custom Question Answering project and added some static question answers.
  2. I've created Conversational Language understanding (CLU) project and added some intent and utterances.
  3. I've created an orchestration workflow project in which I created two intent: Intent - ABC - Connect to Q/A project created in Step 1. Intent - XYZ - Connect to CLU project created in Step 2.

I've asked a question to my Bot (By Calling Orchestrator project's workflow endpoint) which matches one of the question I defined in Q/A service and I got the top intent is ABC and got the correct answer as well.

Now my questions is How does this whole flow works internally? Is it like for each questions we ask to Bot it connects to all the project and fetch all the intents and then based on the question asked it marks one of the intent as top intent ? If this is the case then why we are restricting to define the intent when we are connection to Q/A project because it doesn't make any sense or am I missing something ?

Please help me in this understanding.

@romungi-MSFT you've answered one of my queries in CLU before so do you have any information around it or can you please help in connecting to the concerned team/person ?

Thanks,

Adarsh

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