Skip to content

jasredyy5/Black-Azure

 
 

Repository files navigation

Python sample repository for Azure Cognitive Search

This repository contains Python sample code used in Azure Cognitive Search quickstarts, tutorials, and examples. You can use the shared (free) Azure Cognitive Search service to run any sample in this repository.

Quickstart sample - Azure Cognitive Search

This sample is a Jupyter Python3 .ipynb file used in Quickstart: Create and query a search index using a Jupyter Python notebook. Learn how to use the azure-search-documents client library in the Azure SDK for Python to make service connections, create and load indexes, and run basic queries.

Tutorial sample - Add search to a web app

This sample 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.

Tutorial sample - Add a skillset (enrichments) to an indexing pipeline

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.

Tutorial sample - Image processing

This sample is a Jupyter Python3 .ipynb file that shows how to work with image skills in a skillset. Although the skillset performs useful operations, including Optical Character Recognition (OCR) and redaction of personally identifying information, the sample's purpose is to demonstrate the coordination of image file handoffs from one skill to the next.

In this sample, skillset output is sent to a knowledge store in Azure Storage. Because knowledge store is not yet supported in the azure-search-documents python library, the Search REST APIs are used instead.

Tutorial sample - Train and deploy a custom skill with Azure Machine Learning

This sample is a Jupyter Python3 .ipynb file. It's used in the Tutorial: Build and deploy a custom skill with Azure Machine Learning. This sample provides an end-to-end walk through for training and deploying an aspect-based sentiment model to an Azure Kubernetes cluster for consumption as a custom skill in a Cognitive Search enrichment pipeline. Azure Machine Learning is used to train and deploy the model.

In this sample, skillset output is sent to a knowledge store in Azure Storage. Because knowledge store is not yet supported in the azure-search-documents python library, the Search REST APIs are used instead.

About

Azure Search Python sample code

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 78.6%
  • JavaScript 11.0%
  • Python 8.3%
  • CSS 1.4%
  • Other 0.7%