Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

query the correct index based on user.Question

Posted on by
I have an use case, lets say my data resides in the below three index.
data_sources = {
        "Knowledge Base": "https://api.ourkba.search.windows.net/kba",
        "Press Releases": "https://api.pressreleases.search.windows.net/latest",
        "Closest Locations": "https://api.geolocation.search.windows.net/precincts"
    }

Based on the user query, we need to get the response from the relevant API.
What option we have in MCS? can we leverage Actions here ?Thoughts ??
eg : if user.query = "who is the new ceo of our company(XYZ)"  -- MCS should make the call to "Press Releases"
     if user.query = "what is generative AI"  -- MCS should make the call to "Knowlege Base"  --

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >