Coder Social home page Coder Social logo

alexanderalonso890 / azure-search-vector-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/azure-search-vector-samples

1.0 1.0 0.0 200.34 MB

A repository of code samples for Vector search capabilities in Azure AI Search.

Home Page: https://azure.microsoft.com/products/search

License: MIT License

JavaScript 0.78% Python 1.10% Java 1.34% C# 1.49% PowerShell 0.06% Jupyter Notebook 93.37% Bicep 1.85%

azure-search-vector-samples's Introduction

Vector samples - Azure AI Search

This repository provides Python, C#, REST, and JavaScript code samples for vector support in Azure AI Search.

There are breaking changes from REST API version 2023-07-01-Preview to newer API versions. These breaking changes also apply to the Azure SDK beta packages targeting that REST API version. See Upgrade REST APIs for migration guidance.

Feature status

Vector support consists of generally available features and preview features.

Feature Status
vector indexing generally available (2023-11-01 and stable SDK packages)
vector queries generally available (2023-11-01 and stable SDK packages)
data chunking (Text Split skill) public preview (2023-10-01-preview and beta SDK packages)
embedding (AzureOpenAiEmbedding skill) public preview (2023-10-01-preview and beta SDK packages)
index projections in skillsets public preview (2023-10-01-preview and beta SDK packages)
vectorizer in index schema public preview (2023-10-01-preview and beta SDK packages)

Integrated data chunking, embedding, vectorizers and projections take a dependency on indexers and skills. These features are in preview under Supplemental Terms of Use.

demo-dotnet samples

Sample Description Status
DotNetVectorDemo A .NET console app that calls Azure OpenAI to vectorize data. It then calls Azure AI Search to create, load, and query vector data. Generally available (GA)
DotNetIntegratedVectorizationDemo A .NET console app that calls Azure AI Search to create an index, indexer, data source, and skillset. An Azure Storage account provides the data. Azure OpenAI is called by the skillset during indexing, and again during query execution to vectorize text queries. Public preview

demo-python samples

Sample Description Status
demo-python/code/*.ipynb A collection of nine notebooks that demonstrate aspects of vector search, including data chunking and vectorization of both text and image content. The most recent one, custom-embeddings/azure-search-custom-vectorization-sample.ipynb, demonstrates how to call custom embedding model from a skillset. GA and preview

demo-java samples

Sample Description Status
demo-vectors Basic workflow of vector indexing and querying on an Azure AI Search service. GA
demo-integrated-vectorization Demonstrates the integrated vectorization capabilities currently in preview, but also includes steps for indexing and querying vectors on an Azure AI Search service. GA and preview

demo-javascript samples

Sample Description Status
JavaScriptVectorDemo A single folder contains three code samples. The azure-search-vector-sample.js script calls just Azure OpenAI and is used to generate embeddings for fields in an index. The docs-text-openai-embeddings.js program is an end-to-end code sample that calls Azure OpenAI for embeddings and Azure AI Seach to create, load, and query an index that contains vectors. The query-text-openai-embeddings.js script generates an embedding for a vector query. GA and preview

postman-collection samples

Sample Description Status
postman-collection Two separate Postman collections of REST API calls for generally available (2023-11-01) and preview (2023-10-01-preview) capabilities. GA version shows you how to create, load, and query vector and non-vector content in an index. Preview version demonstrates integrated data chunking and vectorization through indexers and skillsets. Use the Postman app for these samples. GA and preview

Other vector samples and tools

  • chat-with-your-data-solution-accelerator A template that deploys multiple Azure resources for a custom chat-with-your-data solution. Use this accelerator to create a production-ready solution that implements coding best practices.
  • Azure Search OpenAI Demo A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. Use the "vectors" branch to leverage Vector retrieval.
  • Azure Search OpenAI Demo - C# A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences using C#.
  • Azure OpenAI Embeddings QnA with Azure Search as a Vector Store (github.com) A simple web application for a OpenAI-enabled document search. This repo uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
  • ChatGPT Retreival Plugin Azure Search Vector Database The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language. Azure AI Search now supported as an official vector database.
  • Azure Search Vector Search Demo Web App Template A Vector Search Demo React Web App Template using Azure OpenAI for Text Search and Cognitive Services Florence Vision API for Image Search.
  • Azure Cognitive Search Comparison Tool

Documentation

azure-search-vector-samples's People

Contributors

farzad528 avatar heidisteen avatar mattgotteiner avatar gmndrg avatar yahnoosh avatar microsoftopensource avatar dependabot[bot] avatar s0uravjain avatar chuwik avatar fbaroni avatar microsoft-github-policy-service[bot] avatar microsoft-github-operations[bot] avatar aditmer avatar satwikide avatar konabuta avatar eltociear avatar hyoshioka0128 avatar eric-urban avatar fiddi avatar arv100kri avatar alexmanie avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.