Skip to content

konabuta/azure-search-python-samples

 
 

Repository files navigation

Python samples for Azure Cognitive Search

This repository contains Python code samples used in Azure Cognitive Search documentation. Unless noted otherwise, all samples run on the shared (free) pricing tier of an Azure Cognitive Search service.

Sample Description
quickstart "Day One" introduction to the fundamental tasks of working with a search index: create, load, and query. This sample is a Jupyter Python3 .ipynb file. The index is modeled on a subset of the Hotels dataset, widely used in Cognitive Search samples, but reduced here for readability and comprehension.
quickstart-semantic-search Extends the quickstart through modifications that invoke semantic search. This notebook adds a semantic configuration to the index and semantic query options that formulate the query and response.
tutorial-ai-enrichment This sample is a Jupyter Python3 .ipynb file used in the Python Tutorial: Call Cognitive Services APIs in an Azure Cognitive Search indexing pipeline. This sample demonstrates cognitive search functionality, adding AI enrichments from Cognitive Services to extract, detect, and analyze information from image files or large unstructured document files.
search-website-functions-v4 Shows how to create, load, and query a search index in Python using the Azure.Search.Documents library in the Azure SDK for Python. It also includes application code and sample data so that you can see search integration in the context of a full app. The data is from https://github.com/zygmuntz/goodbooks-10k. The app is an Azure Static Web app, using the React library for user interaction, and Azure Function to handle the query requests and responses in the application layer.

Archived samples

About

Azure Search Python sample code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 61.5%
  • JavaScript 20.4%
  • Python 11.8%
  • CSS 2.5%
  • Dockerfile 2.3%
  • HTML 1.5%