Skip to content

Commit e445999

Browse files
committed
Added Azure Overview section
Added reasoning as to why use Azure Cosmos DB / MongoDB vCore as the vector store.
1 parent c3b0deb commit e445999

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

00_Azure_Overview/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Azure Overview

08_Vector_Search_Cosmos_DB/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ In this example, assume textual data is vectorized and stored within an Azure Co
2020

2121
![A typical vector search request in a RAG scenario depicts an incoming message getting vectorized and used as input to a vector store index search. Multiple results of the vector search are used to build a prompt fed to the LLM. The LLM returns a response to the requestor.](media/vector_search_flow.png)
2222

23+
## Why use Azure Cosmos DB for MongoDB vCore as a vector store?
24+
25+
It is common practice to store vectorized data in a dedicated vector store as vector search indexing is not a common capability of most databases. However, this introduces additional complexity to the solution as the data must be stored in two different locations. Azure Cosmos DB for MongoDB vCore supports vector search indexing, which means that the vectorized data can be stored in the same document as the original data. This reduces the complexity of the solution and allows for a single database to be used for both the vector store and the original data.
26+
2327
## Lab 3 - Use vector search on embeddings in Azure Cosmos DB for MongoDB vCore
2428

2529
In this lab, a notebook demonstrates how to add an embedding field to a document, create a vector search index, and perform a vector search query. The notebook ends with a demonstration of utilizing vector search with an LLM in a RAG scenario.

11_Prompt_Engineering/README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@
1010

1111
[LangChain](https://www.langchain.com/) is an open source framework designed to simplify the creation of applications using large language models (LLMs).
1212

13-
A chain in LangChain is an end-to-end wrapper around multiple individual components executed in a defined order. Chains allow you to go beyond just a single API call to a language model and instead chain together multiple calls in a logical sequence. Chains can perform various natural language processing tasks, such as content generation, summarization, question answering, and more. There are three types of chains in LangChain: LLMChain, Sequential Chain, and Router Chain. Each type has its own structure, functionality, and use cases.
14-
15-
Source: Conversation with Bing, 12/22/2023
16-
(1) Chaining the Future: An In-depth Dive into LangChain - Comet. https://www.comet.com/site/blog/chaining-the-future-an-in-depth-dive-into-langchain/.
17-
(2) A Comprehensive Guide to Using Chains in Langchain. https://www.analyticsvidhya.com/blog/2023/10/a-comprehensive-guide-to-using-chains-in-langchain/.
18-
(3) Intro to Chains in the Langchain & Its Types - Lancer Ninja. https://lancerninja.com/demystifying-chains-in-langchain/.
19-
(4) Explained: What is LangChain? How to Use LangChain Chains? – EcoAGI. https://ecoagi.ai/articles/langchain-chains-what-is-langchain.
20-
21-
It provides a standard interface for chains, the ability to integrate with external tools and systems, and end-to-end chains for common applications. LangChain can facilitate most use cases for LLMs and natural language processing (NLP), like chatbots, intelligent search, question-answering, summarization services or even virtual agents capable of robotic process automation.
13+
LangChain provides a syntax for chains, the ability to integrate with external tools and systems, and end-to-end agents for common applications. LangChain can facilitate most use cases for LLMs and natural language processing (NLP), like chatbots, intelligent search, question-answering, summarization services or even virtual agents.
2214

2315
### Diagram RAG using Azure Cosmos DB for MongoDB vCore as a retriever
2416

0 commit comments

Comments
 (0)