Skip to content

Azure-Samples/azure-search-dotnet-samples

Repository files navigation

C# samples for Azure AI Search fundamentals

This repository contains C# code samples used in Azure AI Search "Day One" quickstarts and tutorials. Unless noted otherwise, all samples run on the shared (free) pricing tier of an Azure AI Search service.

In this repository

Sample Quickstart or tutorial Description
create-mvc-app C# Tutorial: Create a search app in ASP.NET Core This ASP.NET Core MVC sample demonstrates server-side search behaviors, such as filters and sorting.
quickstart Quickstart: Full-text search Learn the fundamental tasks of working with a search index: create, load, and query for full-text search scenarios. This quickstart is a console application. The index is modeled on a subset of the Hotels dataset, widely used in Azure AI Search samples, but reduced to just four hotels for readability and comprehension.
quickstart-agentic-retrieval Quickstart: Agentic retrieval Sets up a knowledge agent in Azure AI Search to integrate LLM reasoning into query planning. We recommend the Basic tier or higher for this quickstart.
quickstart-rag Quickstart: Generative search (RAG) Demonstrates how to send search results to a chat completion model in Azure OpenAI.
quickstart-semantic-search Quickstart: Semantic ranking Adds semantic ranking to an existing hotels-sample-index and formulates semantic queries.
quickstart-vector-search Quickstart: Vector search Creates a small hotels index that includes vectorized descriptions, and formulates vector queries.
tutorial-ai-enrichment C# Tutorial: Use skillsets to generate searchable content Creates an AI enrichment pipeline consisting of an index, indexer, data source, and skillset. The skillset calls Azure AI Services image analysis and OCR, and natural language processing, extract information and structure from heterogeneous blob content, making it searchable in Azure AI Search.

More resources

About

Azure Search .NET sample code

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 17