<?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: Vaishali Sonker</title>
    <description>The latest articles on DEV Community by Vaishali Sonker (@vaishali_sonkar).</description>
    <link>https://dev.to/vaishali_sonkar</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4079830%2Fc189f0a8-2cbe-433e-a874-2a0c9dfb7eb9.png</url>
      <title>DEV Community: Vaishali Sonker</title>
      <link>https://dev.to/vaishali_sonkar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vaishali_sonkar"/>
    <language>en</language>
    <item>
      <title>Building an AI Procurement Copilot with Gemini, RAG &amp; LangGraph</title>
      <dc:creator>Vaishali Sonker</dc:creator>
      <pubDate>Tue, 18 Aug 2026 08:18:31 +0000</pubDate>
      <link>https://dev.to/vaishali_sonkar/building-an-ai-procurement-copilot-with-gemini-rag-langgraph-57na</link>
      <guid>https://dev.to/vaishali_sonkar/building-an-ai-procurement-copilot-with-gemini-rag-langgraph-57na</guid>
      <description>&lt;h1&gt;
  
  
  Building an AI Procurement Copilot with Gemini, RAG &amp;amp; LangGraph
&lt;/h1&gt;

&lt;h3&gt;
  
  
  Turning scattered procurement data into intelligent decisions
&lt;/h3&gt;

&lt;p&gt;What if a procurement manager could simply ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“Which vendor should we choose?”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;…and get an answer backed by vendor history, contracts, quotations, purchase data, and company policies?&lt;/p&gt;

&lt;p&gt;That question led me to my &lt;strong&gt;Google Gen AI Cohort project — an AI Procurement &amp;amp; Vendor Intelligence Platform.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🚨 The Problem
&lt;/h2&gt;

&lt;p&gt;Procurement looks simple from the outside:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Send an RFQ → Receive quotations → Compare → Select a vendor.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But in a real organization, things get much more complicated.&lt;/p&gt;

&lt;p&gt;A company may receive quotations from multiple vendors in the form of PDFs or spreadsheets. Contracts may contain dozens of pages of important clauses. Historical purchases may be stored in databases, while vendor performance is spread across previous orders and ratings.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Vendor&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Delivery&lt;/th&gt;
&lt;th&gt;Warranty&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Vendor A&lt;/td&gt;
&lt;td&gt;₹39 Lakh&lt;/td&gt;
&lt;td&gt;15 days&lt;/td&gt;
&lt;td&gt;2 years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor B&lt;/td&gt;
&lt;td&gt;₹38 Lakh&lt;/td&gt;
&lt;td&gt;40 days&lt;/td&gt;
&lt;td&gt;1 year&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor C&lt;/td&gt;
&lt;td&gt;₹41 Lakh&lt;/td&gt;
&lt;td&gt;10 days&lt;/td&gt;
&lt;td&gt;5 years&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If we only look at price, &lt;strong&gt;Vendor B&lt;/strong&gt; appears to be the best choice.&lt;/p&gt;

&lt;p&gt;But what if Vendor B has a poor delivery record?&lt;/p&gt;

&lt;p&gt;What if Vendor C has consistently delivered high-quality products for the last three years?&lt;/p&gt;

&lt;p&gt;What if Vendor C's contract has better payment and warranty terms?&lt;/p&gt;

&lt;p&gt;This leads to the real problem:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Procurement is not just a price-comparison problem. It is a decision-making problem.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  💡 The Idea
&lt;/h1&gt;

&lt;p&gt;My goal is to build an &lt;strong&gt;AI Procurement Copilot&lt;/strong&gt; that connects different sources of procurement information and helps teams make faster, more informed decisions.&lt;/p&gt;

&lt;p&gt;Instead of manually searching through multiple systems, a procurement manager could ask:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Compare the vendors for RFQ #1024.”&lt;/li&gt;
&lt;li&gt;“Which vendor has the best delivery history?”&lt;/li&gt;
&lt;li&gt;“Are there any risky clauses in Vendor A's contract?”&lt;/li&gt;
&lt;li&gt;“Why is this quotation more expensive than our previous purchases?”&lt;/li&gt;
&lt;li&gt;“How much did we spend with Vendor C last year?”&lt;/li&gt;
&lt;li&gt;“Which contracts expire in the next 60 days?”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The AI would retrieve the relevant information, analyze it, and explain the result.&lt;/p&gt;

&lt;p&gt;This is not intended to be just another chatbot.&lt;/p&gt;

&lt;p&gt;It is an &lt;strong&gt;AI layer over a real business workflow.&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  🏗️ Architecture
&lt;/h1&gt;

&lt;p&gt;The planned architecture looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                    USER
                      │
                      ▼
                React Frontend
                      │
                      ▼
                 FastAPI API
                      │
                      ▼
                  LangGraph
                      │
                Planner Agent
                      │
          ┌───────────┼───────────┐
          ▼           ▼           ▼
      Contract      Vendor      Analytics
       Agent        Agent         Agent
          │           │             │
          ▼           ▼             ▼
      Pinecone    PostgreSQL    PostgreSQL
          │           │             │
          └───────────┼─────────────┘
                      ▼
                    Gemini
                      │
                      ▼
                Final Response
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The system combines two major types of data:&lt;/p&gt;

&lt;h3&gt;
  
  
  Structured Data
&lt;/h3&gt;

&lt;p&gt;Stored in &lt;strong&gt;PostgreSQL&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vendors&lt;/li&gt;
&lt;li&gt;Products&lt;/li&gt;
&lt;li&gt;RFQs&lt;/li&gt;
&lt;li&gt;Quotations&lt;/li&gt;
&lt;li&gt;Purchase Orders&lt;/li&gt;
&lt;li&gt;Invoices&lt;/li&gt;
&lt;li&gt;Payments&lt;/li&gt;
&lt;li&gt;Vendor Ratings&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Unstructured Data
&lt;/h3&gt;

&lt;p&gt;Processed and indexed for retrieval:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Contracts&lt;/li&gt;
&lt;li&gt;Vendor quotations&lt;/li&gt;
&lt;li&gt;Warranty documents&lt;/li&gt;
&lt;li&gt;Company policies&lt;/li&gt;
&lt;li&gt;Procurement documents&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This combination allows the AI to work with both &lt;strong&gt;business data and documents&lt;/strong&gt;.&lt;/p&gt;




&lt;h1&gt;
  
  
  🤖 Why Gemini?
&lt;/h1&gt;

&lt;p&gt;Gemini acts as the reasoning and language layer of the system.&lt;/p&gt;

&lt;p&gt;It can be used for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understanding user questions&lt;/li&gt;
&lt;li&gt;Document understanding&lt;/li&gt;
&lt;li&gt;Structured information extraction&lt;/li&gt;
&lt;li&gt;Contract summarization&lt;/li&gt;
&lt;li&gt;Vendor comparison&lt;/li&gt;
&lt;li&gt;Risk identification&lt;/li&gt;
&lt;li&gt;Recommendation generation&lt;/li&gt;
&lt;li&gt;Negotiation-draft generation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;However, I don't want the model to simply generate answers from its internal knowledge.&lt;/p&gt;

&lt;p&gt;Instead, the model should receive the &lt;strong&gt;right business context before generating an answer.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's where RAG, databases, and tools become important.&lt;/p&gt;




&lt;h1&gt;
  
  
  📄 Document Intelligence
&lt;/h1&gt;

&lt;p&gt;Procurement involves a huge amount of documentation.&lt;/p&gt;

&lt;p&gt;For example, a vendor quotation might contain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Vendor: ABC Industries
Product: Industrial Steel Sheet
Quantity: 5,000
Total Price: ₹39,00,000
Delivery: 15 days
Warranty: 2 years
Payment Terms: 60 days
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The system can process the document and extract structured information such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"vendor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ABC Industries"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"product"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Industrial Steel Sheet"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"quantity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;5000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"total_price"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;3900000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"delivery_days"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"warranty_years"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"payment_days"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This information can then be stored in PostgreSQL.&lt;/p&gt;

&lt;p&gt;The goal is to convert &lt;strong&gt;unstructured documents into useful business data.&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  🔎 RAG for Contract Intelligence
&lt;/h1&gt;

&lt;p&gt;One of the most important parts of this project is &lt;strong&gt;Retrieval-Augmented Generation (RAG).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Imagine a company has a 70-page vendor contract.&lt;/p&gt;

&lt;p&gt;A procurement manager asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“Can we cancel the order before dispatch?”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Instead of asking an LLM to guess the answer, the contract can be processed and indexed.&lt;/p&gt;

&lt;p&gt;The workflow becomes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Contract PDF
     ↓
Text Extraction
     ↓
Chunking
     ↓
Embeddings
     ↓
Pinecone
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When the user asks a question:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User Question
     ↓
Embedding
     ↓
Vector Search
     ↓
Relevant Contract Sections
     ↓
Gemini
     ↓
Grounded Answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This allows Gemini to generate an answer based on the relevant contract information.&lt;/p&gt;

&lt;p&gt;RAG therefore becomes more than a chatbot feature—it becomes a way of giving AI access to an organization's private knowledge.&lt;/p&gt;




&lt;h1&gt;
  
  
  🗄️ PostgreSQL + SQL Agent
&lt;/h1&gt;

&lt;p&gt;Not every question requires RAG.&lt;/p&gt;

&lt;p&gt;Consider:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“How much did we spend with Vendor A last year?”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's a database question.&lt;/p&gt;

&lt;p&gt;The workflow can be:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Natural Language Question
          ↓
       SQL Agent
          ↓
      PostgreSQL
          ↓
     Query Result
          ↓
        Gemini
          ↓
    Natural Language Answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This allows procurement teams to interact with structured business data using natural language.&lt;/p&gt;

&lt;p&gt;Instead of manually writing SQL queries or searching through dashboards, they can simply ask the question.&lt;/p&gt;




&lt;h1&gt;
  
  
  🧠 Multi-Agent System with LangGraph
&lt;/h1&gt;

&lt;p&gt;As the platform grows, a single agent handling every task becomes difficult to manage.&lt;/p&gt;

&lt;p&gt;Different tasks require different tools.&lt;/p&gt;

&lt;p&gt;That's why I plan to use &lt;strong&gt;LangGraph&lt;/strong&gt; to orchestrate specialized agents.&lt;/p&gt;

&lt;h3&gt;
  
  
  Contract Agent
&lt;/h3&gt;

&lt;p&gt;Handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Contract questions&lt;/li&gt;
&lt;li&gt;Clause retrieval&lt;/li&gt;
&lt;li&gt;Contract summarization&lt;/li&gt;
&lt;li&gt;Risk detection&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools:&lt;/strong&gt; RAG + Pinecone + Gemini&lt;/p&gt;

&lt;h3&gt;
  
  
  Vendor Agent
&lt;/h3&gt;

&lt;p&gt;Handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vendor history&lt;/li&gt;
&lt;li&gt;Quality ratings&lt;/li&gt;
&lt;li&gt;Delivery performance&lt;/li&gt;
&lt;li&gt;Vendor comparison&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools:&lt;/strong&gt; PostgreSQL + business rules&lt;/p&gt;

&lt;h3&gt;
  
  
  Analytics Agent
&lt;/h3&gt;

&lt;p&gt;Handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Spend analysis&lt;/li&gt;
&lt;li&gt;Historical purchases&lt;/li&gt;
&lt;li&gt;Cost comparisons&lt;/li&gt;
&lt;li&gt;Procurement analytics&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools:&lt;/strong&gt; PostgreSQL + SQL&lt;/p&gt;

&lt;h3&gt;
  
  
  Planner Agent
&lt;/h3&gt;

&lt;p&gt;The Planner Agent coordinates the workflow.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Compare Vendor A and Vendor B and tell me which contract has better terms.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This may require both:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Planner
   ├── Vendor Agent
   └── Contract Agent
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;LangGraph can coordinate these agents and combine their outputs.&lt;/p&gt;




&lt;h1&gt;
  
  
  🏆 Vendor Intelligence
&lt;/h1&gt;

&lt;p&gt;Price should not be the only factor when selecting a vendor.&lt;/p&gt;

&lt;p&gt;The platform can maintain historical information such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Vendor A

Total Orders: 152
On-Time Delivery: 98%
Average Quality: 4.8/5
Rejected Orders: 3
Average Delay: 1.4 days
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, when Vendor A submits a new quotation, the AI can consider both:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Current quotation + Historical performance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Vendor A is slightly more expensive than the cheapest quotation, but it has a 98% on-time delivery rate and an average quality rating of 4.8/5 across 152 previous orders.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This gives procurement teams more context before making a decision.&lt;/p&gt;




&lt;h1&gt;
  
  
  📊 AI-Powered Vendor Ranking
&lt;/h1&gt;

&lt;p&gt;The platform can use a configurable scoring model.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Price            → 30%
Delivery         → 25%
Quality          → 20%
Vendor History   → 15%
Contract Terms   → 10%
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The weights can be customized according to company requirements.&lt;/p&gt;

&lt;p&gt;The system could produce:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Vendor&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Delivery&lt;/th&gt;
&lt;th&gt;Quality&lt;/th&gt;
&lt;th&gt;Overall&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Vendor A&lt;/td&gt;
&lt;td&gt;90&lt;/td&gt;
&lt;td&gt;95&lt;/td&gt;
&lt;td&gt;92&lt;/td&gt;
&lt;td&gt;92&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor B&lt;/td&gt;
&lt;td&gt;98&lt;/td&gt;
&lt;td&gt;65&lt;/td&gt;
&lt;td&gt;70&lt;/td&gt;
&lt;td&gt;78&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vendor C&lt;/td&gt;
&lt;td&gt;85&lt;/td&gt;
&lt;td&gt;98&lt;/td&gt;
&lt;td&gt;97&lt;/td&gt;
&lt;td&gt;93&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The AI can then recommend Vendor C and explain:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Vendor C provides the best overall value because of its strong delivery performance, high quality rating, and better warranty terms, despite having a slightly higher price.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The important part is not only the recommendation.&lt;/p&gt;

&lt;p&gt;It is the &lt;strong&gt;reasoning behind the recommendation.&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  ⚠️ Price Anomaly Detection
&lt;/h1&gt;

&lt;p&gt;Historical procurement data can help identify unusual prices.&lt;/p&gt;

&lt;p&gt;Suppose a company normally purchases a product for:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;₹60,000–₹65,000&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A new quotation arrives for:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;₹95,000&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The system can flag:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚠️ &lt;strong&gt;This quotation is significantly higher than the historical price range for comparable purchases.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This doesn't automatically mean the vendor is overcharging.&lt;/p&gt;

&lt;p&gt;There could be legitimate reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Product specifications changed&lt;/li&gt;
&lt;li&gt;Raw-material prices increased&lt;/li&gt;
&lt;li&gt;Quantity changed&lt;/li&gt;
&lt;li&gt;Urgent delivery was requested&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The purpose of anomaly detection is to &lt;strong&gt;bring unusual cases to human attention.&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  📑 Contract Risk Detection
&lt;/h1&gt;

&lt;p&gt;The AI can identify clauses that may require additional review.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🔴 HIGH RISK
Automatic contract renewal

🟠 MEDIUM RISK
180-day payment period

🟠 MEDIUM RISK
Limited warranty coverage

🔴 HIGH RISK
Strict cancellation conditions
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The system can explain why each clause was flagged and provide the relevant contract context.&lt;/p&gt;

&lt;p&gt;The final legal or procurement decision remains with the authorized human.&lt;/p&gt;




&lt;h1&gt;
  
  
  🤝 AI-Assisted Negotiation
&lt;/h1&gt;

&lt;p&gt;Another feature I want to explore is AI-assisted negotiation.&lt;/p&gt;

&lt;p&gt;Suppose company policy says:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Maximum Price: ₹40 Lakh
Maximum Delivery: 25 Days
Minimum Warranty: 3 Years
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A vendor submits:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Price: ₹42 Lakh
Delivery: 40 Days
Warranty: 1 Year
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The AI can identify the requirements that are not satisfied and generate a negotiation draft.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Thank you for your quotation. Based on our current procurement requirements, we would need a revised commercial proposal with delivery within 25 days and a minimum three-year warranty. We would also appreciate a revised price within our approved budget range.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The procurement manager reviews the message before sending it.&lt;/p&gt;

&lt;p&gt;This is an important principle:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;AI assists the employee; it doesn't blindly make the final business decision.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  📈 Procurement Analytics
&lt;/h1&gt;

&lt;p&gt;The platform can provide a dashboard with metrics such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Total Procurement Spend&lt;/li&gt;
&lt;li&gt;Monthly Spend&lt;/li&gt;
&lt;li&gt;Top Vendors&lt;/li&gt;
&lt;li&gt;Active RFQs&lt;/li&gt;
&lt;li&gt;Late Deliveries&lt;/li&gt;
&lt;li&gt;Contract Renewals&lt;/li&gt;
&lt;li&gt;Outstanding Invoices&lt;/li&gt;
&lt;li&gt;Potential Savings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Total Spend       ₹8.42 Cr
Active RFQs       27
Late Deliveries   8%
Potential Savings ₹14.2 Lakh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The dashboard provides the traditional interface while the AI provides a natural-language interface.&lt;/p&gt;




&lt;h1&gt;
  
  
  🛠️ Technology Stack
&lt;/h1&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;FastAPI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LLM&lt;/td&gt;
&lt;td&gt;Gemini&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Orchestration&lt;/td&gt;
&lt;td&gt;LangGraph&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI Framework&lt;/td&gt;
&lt;td&gt;LangChain&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vector Database&lt;/td&gt;
&lt;td&gt;Pinecone&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Relational Database&lt;/td&gt;
&lt;td&gt;PostgreSQL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Document Processing&lt;/td&gt;
&lt;td&gt;PyMuPDF / Docling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Authentication&lt;/td&gt;
&lt;td&gt;JWT / OAuth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Containerization&lt;/td&gt;
&lt;td&gt;Docker&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monitoring&lt;/td&gt;
&lt;td&gt;LangSmith&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each technology has a specific role.&lt;/p&gt;

&lt;p&gt;The goal is not to use technologies simply because they are popular, but because they solve a real problem in the architecture.&lt;/p&gt;




&lt;h1&gt;
  
  
  🔐 Security &amp;amp; Human-in-the-Loop
&lt;/h1&gt;

&lt;p&gt;Enterprise procurement data can be sensitive.&lt;/p&gt;

&lt;p&gt;It may contain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vendor pricing&lt;/li&gt;
&lt;li&gt;Contracts&lt;/li&gt;
&lt;li&gt;Financial information&lt;/li&gt;
&lt;li&gt;Purchase history&lt;/li&gt;
&lt;li&gt;Internal policies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A production system would therefore need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Authentication&lt;/li&gt;
&lt;li&gt;Role-based access control&lt;/li&gt;
&lt;li&gt;Company-level data isolation&lt;/li&gt;
&lt;li&gt;Secure document storage&lt;/li&gt;
&lt;li&gt;Audit logs&lt;/li&gt;
&lt;li&gt;Encryption&lt;/li&gt;
&lt;li&gt;Permission-based agent actions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For important decisions, the workflow should remain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AI Analysis
     ↓
Human Review
     ↓
Approval
     ↓
Business Action
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The AI provides intelligence and recommendations while authorized employees remain responsible for important decisions.&lt;/p&gt;




&lt;h1&gt;
  
  
  🚧 Challenges I Expect
&lt;/h1&gt;

&lt;p&gt;Building this system comes with several interesting engineering challenges.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Document Extraction
&lt;/h3&gt;

&lt;p&gt;PDFs can contain tables, scanned pages, inconsistent layouts, and complex formatting.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. RAG Accuracy
&lt;/h3&gt;

&lt;p&gt;Retrieving the wrong contract section can produce an incorrect answer.&lt;/p&gt;

&lt;p&gt;Chunking, embeddings, metadata, retrieval strategies, and reranking will all matter.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. SQL Safety
&lt;/h3&gt;

&lt;p&gt;AI-generated SQL must be validated and restricted to prevent destructive operations.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Hallucinations
&lt;/h3&gt;

&lt;p&gt;The AI should never invent vendor prices, contract clauses, or purchase history.&lt;/p&gt;

&lt;p&gt;Important answers need to be grounded in actual data.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Agent Complexity
&lt;/h3&gt;

&lt;p&gt;More agents don't automatically mean a better system.&lt;/p&gt;

&lt;p&gt;The workflow needs to remain understandable, reliable, and observable.&lt;/p&gt;




&lt;h1&gt;
  
  
  🎓 What I Am Learning
&lt;/h1&gt;

&lt;p&gt;This project is helping me move from experimenting with individual GenAI APIs toward thinking about &lt;strong&gt;complete AI applications&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Through this project, I want to explore:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gemini&lt;/li&gt;
&lt;li&gt;Prompt Engineering&lt;/li&gt;
&lt;li&gt;Structured Outputs&lt;/li&gt;
&lt;li&gt;Function Calling&lt;/li&gt;
&lt;li&gt;RAG&lt;/li&gt;
&lt;li&gt;Embeddings&lt;/li&gt;
&lt;li&gt;Vector Databases&lt;/li&gt;
&lt;li&gt;LangChain&lt;/li&gt;
&lt;li&gt;LangGraph&lt;/li&gt;
&lt;li&gt;Multi-Agent Systems&lt;/li&gt;
&lt;li&gt;SQL Agents&lt;/li&gt;
&lt;li&gt;Document Processing&lt;/li&gt;
&lt;li&gt;PostgreSQL&lt;/li&gt;
&lt;li&gt;FastAPI&lt;/li&gt;
&lt;li&gt;AI Evaluation&lt;/li&gt;
&lt;li&gt;Deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But the biggest lesson is not a technology.&lt;/p&gt;

&lt;p&gt;It is a change in mindset.&lt;/p&gt;

&lt;p&gt;Instead of asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“What chatbot can I build?”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I am learning to ask:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;“What real business workflow can AI improve?”&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h1&gt;
  
  
  🚀 What's Next?
&lt;/h1&gt;

&lt;p&gt;The first MVP will focus on:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Vendor Management
       ↓
RFQ Management
       ↓
Quotation Analysis
       ↓
Contract RAG
       ↓
Vendor Ranking
       ↓
Procurement Analytics
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After that, the platform could expand into:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automated RFQ generation&lt;/li&gt;
&lt;li&gt;Invoice matching&lt;/li&gt;
&lt;li&gt;Supplier risk intelligence&lt;/li&gt;
&lt;li&gt;Predictive procurement&lt;/li&gt;
&lt;li&gt;Demand forecasting&lt;/li&gt;
&lt;li&gt;ERP integrations&lt;/li&gt;
&lt;li&gt;Advanced procurement automation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The long-term vision is to turn this into a complete &lt;strong&gt;AI-powered procurement operating platform.&lt;/strong&gt;&lt;/p&gt;




&lt;h1&gt;
  
  
  🌟 Final Thoughts
&lt;/h1&gt;

&lt;p&gt;The &lt;strong&gt;AI Procurement &amp;amp; Vendor Intelligence Platform&lt;/strong&gt; is my exploration of what happens when Generative AI is connected to a real business workflow.&lt;/p&gt;

&lt;p&gt;Gemini provides the reasoning capability.&lt;/p&gt;

&lt;p&gt;LangGraph provides orchestration.&lt;/p&gt;

&lt;p&gt;RAG provides access to unstructured knowledge.&lt;/p&gt;

&lt;p&gt;Pinecone provides semantic retrieval.&lt;/p&gt;

&lt;p&gt;PostgreSQL provides structured business data.&lt;/p&gt;

&lt;p&gt;FastAPI provides the backend.&lt;/p&gt;

&lt;p&gt;React provides the user experience.&lt;/p&gt;

&lt;p&gt;Together, these technologies can form something much more useful than a chatbot:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;An AI copilot that helps procurement teams understand information, identify risks, compare vendors, and make better purchasing decisions.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The biggest idea I am taking away from this project is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The future of GenAI isn't just about asking AI questions. It's about giving AI access to the right data, the right tools, and the right business context.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That's what I want to explore during the &lt;strong&gt;Google Gen AI Cohort&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Let's build it. 🚀
&lt;/h2&gt;

</description>
      <category>gemini</category>
      <category>langraph</category>
      <category>ai</category>
      <category>genai</category>
    </item>
  </channel>
</rss>
