How vector search and semantic ranking improve your AI prompts
Improve the information retrieval process, so you have the most optimal set of grounding data needed to generate useful AI responses. See how Azure Cognitive Search combines different search strategies out of the box and at scale - so you don’t have to.
Keyword search—match the exact words to search your grounding data
Vector search—focuses on conceptual similarity, where the app is using part of the dialogue to retrieve grounding information
Hybrid approach—combines both keyword and vector searches
Semantic ranking—to boost precision, a re-ranking step can re-score the top results using a larger deep learning ranking model
Pablo Castro, Azure AI Distinguished Engineer, shows how to improve the quality of generative AI responses using Azure Cognitive Search.
► QUICK LINKS:
00:00 - How to generate high-quality AI responses
01:06 - Improve quality of generative AI outputs
02:56 - Why use vectors?
04:57 - Vector Database
06:56 - Apply to real data and text
08:00 - Vectors using images
09:40 - Keyword search
11:22 - Hybrid retrieval
12:18 - Re-ranking
14:18 - Wrap up
► Link References
Sample code available at https://aka.ms/MechanicsVectors
Complete Copilot sample app at https://aka.ms/EntGPTSearch
Evaluation details for relevance quality at https://aka.ms/ragrelevance
► Unfamiliar with Microsoft Mechanics?
As Microsoft's official video series for IT, you can watch and share valuable content and demos of current and upcoming tech from the people who build it at Microsoft.
• Subscribe to our YouTube: https://www.youtube.com/c/MicrosoftMechanicsSeries
• Talk with other IT Pros, join us on the Microsoft Tech Community: https://techcommunity.microsoft.com/t5/microsoft-mechanics-blog/bg-p/MicrosoftMechanicsBlog
• Watch or listen from anywhere, subscribe to our podcast: https://microsoftmechanics.libsyn.com/podcast
► Keep getting this insider knowledge, join us on social:
• Follow us on Twitter: https://twitter.com/MSFTMechanics
• Share knowledge on LinkedIn: https://www.linkedin.com/company/microsoft-mechanics/
• Enjoy us on Instagram: https://www.instagram.com/msftmechanics/
• Loosen up with us on TikTok: https://www.tiktok.com/@msftmechanics
Published on:
Learn moreWe can help you with How vector search and semantic ranking improve your AI prompts
If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.
Made for tech enthusiasts and IT professionals. Expanded coverage of your favorite technologies across Microsoft; including Office, Azure, Windows and Data Platforms. We'll even bring you broader topics such as device innovation with Surface, machine learning, and predictive analytics.
Related posts
New High Assurance Account Lifecycle in Microsoft Entra
Prove the rightful user is behind every critical identity moment, from onboarding and access to sensitive resources through account recovery, ...
Introducing Autopilot, your personal and proactive agent
Put an AI teammate to work around the clock with Autopilot in Microsoft Copilot, a persistent, proactive and personal agent that runs in the c...
Build apps by describing what you want | Copilot Code
Turn your app idea into a working, interactive web app with Copilot Code. Describe what you want in plain language, ground it in your work dat...
Manage AI Cost + ROI with Copilot and Agent 365
Take control of AI spend across Microsoft Copilot, Cowork, and agents inside and outside of Microsoft. Track your own Copilot Credit usage tas...
Azure SQL Database Hyperscale - Now for any size workload
Start small and scale up to your most demanding workloads on Azure SQL Database Hyperscale. Run serverless compute that scales with demand and...
New Microsoft Copilot Harness | More power, token efficiency & control for agents in Foundry
Build agents you can trust with your company's data, apps, and resources using Microsoft Foundry. Start with a fully managed prompt agent and ...
New Conditional Access policy plans in Microsoft Entra
Group related Conditional Access policies into policy plans and define users, apps and conditions once for every rule in the plan. Add a rule ...
Fight AI with AI | Multi-Agent Security Defense
Match AI-powered attacks at machine speed with Project Perception. Point red, blue, and green AI agent teams at a known threat actor, confirm ...
Build Automated Agents, Workflows, and Apps - New in Copilot Studio
Take a business process from prompt to production by building agents, workflows, and apps in one place with Copilot Studio. Describe the agent...
Create agents fast with Agent Builder in Copilot
Build a specialist AI agent without writing a line of code. Describe what you want in one prompt, and Copilot Agent Builder generates the name...