web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Hybrid (vector + keywo...
Copilot Studio
Unanswered

Hybrid (vector + keyword) search in Copilot Studio via Azure Open AI

(0) ShareShare
ReportReport
Posted on by 92

How should I change the model data in the 'Create Generative Answers Node' to enable using hybrid search from Azure AI Studio?

I currently have it working for simple keyword search. 

Viswav_0-1717068513187.png

Viswav_1-1717068579271.png

Viswav_2-1717068593682.png

 

 

 




Categories:
I have the same question (0)
  • citron-truc Profile Picture
    394 on at

    Good morning,

     

    I hope you are doing well. in order to use semantic search, you need to add an embedding model in the Embedding Deployment Name (typically, an ADA model) and add the name of the vector field in Azure AI Search in the Vector data field. Typically, it is called contentVector.

    The rest looks fine by me.
    Have a great day

  • Viswav Profile Picture
    92 on at

    Can you please advise what should be the values of 

     

    1. Query Type , and
    2. Sematic Search configuration

    My configuration in Azure AI studio:

    Viswav_1-1717071225403.png

     

     

     

     

  • Viswav Profile Picture
    92 on at

    @remidyon Would love your help here 

  • citron-truc Profile Picture
    394 on at

    Good morning,

    I hope you are doing well. For semantic search configuration, I went with "default". For query type, semantic are better but can be a bit unstable (resulting in a System Error). I'd start with simple, do a bunch of tests and if you are not satisfied, switch to semantic.

    Have a great day.

  • Viswav Profile Picture
    92 on at

    Hi,

    Thanks for your help but I think I've made an error with the model data inputs. Can you please help me out with the model data inputs here? 


    Copilot Studio Model data:

    Viswav_0-1717078211351.pngViswav_1-1717078231751.png


    Azure Open AI code:

    {
     "data_sources": [
     {
     "type": "azure_search",
     "parameters": {
     "filter": null,
     "endpoint": "'$search_endpoint'",
     "index_name": "pr24-yw-ofwat",
     "project_resource_id": "/subscriptions/f6b47df9-19c7-4fc2-95bf-2083d0029690/resourceGroups/bmaopenairesourcegroup/providers/Microsoft.MachineLearningServices/workspaces/sales",
     "semantic_configuration": "azureml-default",
     "authentication": {
     "type": "system_assigned_managed_identity",
     "key": null
     },
     "embedding_dependency": null,
     "query_type": "vectorSimpleHybrid",
     "in_scope": true,
     "strictness": 3,
     "top_n_documents": 5,
     "key": "'$search_key'",
     "indexName": "'$search_index'"
     }
     }
     ],
     "messages": [],
     "deployment": "gpt-4",
     "temperature": 0.7,
     "top_p": 0.95,
     "max_tokens": 800,
     "stop": null,
     "stream": true,
     "frequency_penalty": 0,
     "presence_penalty": 0,
     "azureSearchEndpoint": "https://undefined.search.windows.net",
     "azureSearchKey": "***"
    }

    Index in Azure AI search

    Viswav_2-1717078351865.png

    Viswav_3-1717078365770.png

     

     



  • citron-truc Profile Picture
    394 on at

    Good morning,

    I hopr you are doing well. Your configuration seems correct. I you use the "simple" search, you don't need to specify a semantic configuration. Everything else seems correct.

  • remidyon Profile Picture
    on at

    @Viswav can you explain your issue here? Configuration seems fine. Are you getting an error? 

  • Viswav Profile Picture
    92 on at

    Hi Remi,

     

    I don't get an output answer from Azure Open AI. It's only with the semantic search that 'Create Generative answers' doesn't work. 

     

    Is it something wrong with the Model data? 

Under review

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

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard