Azure Cognitive Search: Vector Search with Langchain and OpenAI Embeddings

Learn about vector search in Azure Cognitive Search using Langchain framework and OpenAI embeddings.

00:00:00 Learn about Azure machine learning service and Vector search in Azure cognitive search using Langchain framework in this tutorial.

πŸ” Azure machine learning service and its different models are explored.

πŸ”— Vector search support in Azure cognitive search using Langchain framework is demonstrated.

πŸ“Š A notebook is used to convert data into vector embeddings and perform searches in Azure cognitive search.

00:01:46 This video showcases the process of vector search in Azure Cognitive Search using Langchain, OpenAI, and embeddings. It also discusses the model catalog and deployment.

πŸ” The video discusses the process of vector search in Azure Cognitive Search using Langchain.

πŸ“š The model catalog allows users to access different models from various companies, view their details, and deploy them.

βš™οΈ The speaker focuses on using Azure open AI models, specifically the text embedding ada002 model for converting text into embeddings.

00:03:32 Learn how to implement vector search in Azure Cognitive Search using Langchain and OpenAI embeddings.

πŸ” Vector search is a new capability for indexing, storing, and retrieving vector embeddings from a search index.

πŸ”’ The vector search pattern, called retrieval augmented generation (RAG), can be used to prevent model hallucinations.

πŸ—‚οΈ Data from various sources, such as images, audio, video, and text, can be converted into vectors using an embedding model and stored in Azure cognitive search service.

00:05:20 Perform vector search in Azure Cognitive Search using Langchain. Retrieve matching results using K-nearest neighbors algorithm. Use Azure open AI for embeddings and integrate with the cognitive search service using Langchain.

πŸ” Vector search in Azure Cognitive Search can be performed using Langchain, allowing users to retrieve matching results.

πŸ”’ The search algorithm used in Azure Cognitive Search is K nearest neighbors, similar to Google search and YouTube search.

πŸ’‘ Azure Cognitive Search does not generate Vector embeddings by default, but this limitation can be overcome by integrating Azure open AI model and Langchain framework.

00:07:06 This video demonstrates how to use Langchain and Azure Cognitive Search for vector search. It showcases the integration of hugging face embeddings without mentioning any specific brand names or subscriptions.

πŸ” The video discusses a factor search engine called Fast provided by Meta.

πŸ’‘ Hugging Face embeddings are used instead of Open AI for vector search in Azure Cognitive Search.

πŸ“¦ Python packages for search, Open AI, and Langchain are installed, and APIs like Open AI embeddings and Azure Search are used to push vectors into Azure Cognitive Search.

00:08:53 Learn how to perform vector search in Azure Cognitive Search using Langchain and embeddings to group cities based on their vector representation.

πŸ” Vector search in Azure Cognitive Search can be used to group cities based on their embeddings.

πŸ—ΊοΈ Cities from different regions, such as India, Europe, and the US, can be grouped together using vector representation.

πŸ“Š To create vector search, an instance is created with search details, index, and embedding function, and the documents are split using Langchain APIs.

00:10:39 Learn how to use vector search in Azure Cognitive Search using Langchain for similarity and keyword searches.

πŸ” Vector search in Azure Cognitive Search using Langchain.

🧩 Pushing chunks into the vector store and performing searches based on queries and keywords.

🌍 Ability to retrieve results based on specific countries.

Summary of a video "Vector Search in Azure Cognitive Search using Langchain | azure openai | embeddings | openai | llms" by Learn with Girish on YouTube.

Chat with any YouTube video

ChatTube - Chat with any YouTube video | Product Hunt