<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Vinoth Thulukanam</title>
    <description>The latest articles on DEV Community by Vinoth Thulukanam (@vinoprime).</description>
    <link>https://dev.to/vinoprime</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1201880%2F4fd456db-642d-4464-9ff4-cc322851bfee.png</url>
      <title>DEV Community: Vinoth Thulukanam</title>
      <link>https://dev.to/vinoprime</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vinoprime"/>
    <language>en</language>
    <item>
      <title>Simple Azure OpenAi RAG Microservice Architecture.</title>
      <dc:creator>Vinoth Thulukanam</dc:creator>
      <pubDate>Sat, 20 Jul 2024 08:16:46 +0000</pubDate>
      <link>https://dev.to/vinoprime/simple-azure-openai-rag-microservice-architecture-3kbd</link>
      <guid>https://dev.to/vinoprime/simple-azure-openai-rag-microservice-architecture-3kbd</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv2cyypr0zt7cmnqvlsg4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv2cyypr0zt7cmnqvlsg4.png" alt="Image description" width="800" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm sharing HLD of a small POC, I recently worked on: A development architecture for a Simple Azure OpenAI Retrieval And Generation (RAG) model using microservices! This Proof of Concept (POC) demonstrates the potential of this approach for building document-centric applications.&lt;/p&gt;

&lt;p&gt;Here's a breakdown of the key components used in the POC:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;API Gateway:&lt;/strong&gt;&lt;br&gt;
I leveraged Azure API Management to create a centralized API gateway for managing incoming requests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Microservices:&lt;/strong&gt;&lt;br&gt;
Container Apps were used to deploy individual microservices, including: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI Service&lt;/li&gt;
&lt;li&gt;Configuration Service&lt;/li&gt;
&lt;li&gt;File Upload Service&lt;/li&gt;
&lt;li&gt;Document Processing Service&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Container Image Storage:&lt;/strong&gt;&lt;br&gt;
Azure Container Registry (ACR) was used to store and manage container images for each microservice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Event-Driven Processing:&lt;/strong&gt; &lt;br&gt;
Azure Event Grid triggers the document processing service to handle chunked data and load it into a PostgreSQL database as a vector database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Secret Management:&lt;/strong&gt;&lt;br&gt;
Azure Key Vault securely stores connection strings for the database, blob storage, and other sensitive information.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Model Deployment:&lt;/strong&gt;&lt;br&gt;
Using Azure AI Studio, I deployed one Large Language Model (LLM) and one embedding model from Azure OpenAI to enable interaction with documents through chat.&lt;/p&gt;

&lt;p&gt;This microservices architecture provides a flexible and scalable foundation for further development and exploration of a Simple Azure OpenAI RAG model.&lt;/p&gt;

&lt;p&gt;I'm interested in hearing from others who have built similar POCs! What challenges did you face? What tools and techniques did you find most useful?&lt;/p&gt;

&lt;h1&gt;
  
  
  AzureOpenAI #RAG #Microservices #AzureAPIManagement #ContainerApps #EventGrid #AzureKeyVault #AI Studio
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
