Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Global Tariff Data Analysis GenAI app with AWS ...

Avatar for AMEY BANARSE AMEY BANARSE
May 22, 2025
10

Global Tariff Data Analysis GenAI app with AWS and YugabyteDB

Avatar for AMEY BANARSE

AMEY BANARSE

May 22, 2025
Tweet

Transcript

  1. © 2025 All Rights Reserved 1 YB Vector GenAI Demo

    Global Tariff Data Analysis Amey Banarse Field CTO, Yugabyte
  2. © 2025 All Rights Reserved Focus On The Core -

    Your Data and Indexes 2 01 Prepare Knowledge Base Collect and preprocess data for retrieval 02 Create Indexes Organize data into searchable indexes 03 Set Up MCP Server Deploy server to interface with the knowledge base 04 Advertise Server Capabilities Ensure server functionalities are known Existing App + DB + 05 Configure MCP Client Integrate server with AI environment 06 Create A2A Application Enable agents to communicate and collaborate
  3. © 2025 All Rights Reserved Focus On The Core -

    Your Data and Indexes 3 01 Prepare Knowledge Base Collect and preprocess data for retrieval 02 Create Indexes Organize data into searchable indexes 03 Set Up MCP Server Deploy server to interface with the knowledge base 04 Advertise Server Capabilities Ensure server functionalities are known Existing App + DB + 05 Configure MCP Client Integrate server with AI environment 06 Create A2A Application Enable agents to communicate and collaborate
  4. © 2025 All Rights Reserved YB RAG use-case - Global

    Tariff Data Analysis 4 📊 Global Tariff Analysis: Challenges • Datasets from USITC, Yale, Wharton, DBS, JP Morgan etc. are complex and fragmented • Interpretation is tedious and time-consuming for users • Mixed sentiment across media, news, and AI-generated content 🎯 Use-Case Objective • Use YB  RAG Retrieval-Augmented Generation) to surface accurate, context-rich answers • This demoʼs architecture offers blueprint for building GenAI apps focused on resilience, domain privacy, scalability and replaceable LLMs for flexibility
  5. © 2025 All Rights Reserved RAG (Retrieval Augmented Generation) -

    The Full Picture 5 Global Tariff Documents Query Response LLM Encode Embedding model Index Prompt Similar documents Query Encode 1 2 3 5 6 7 Vector Index Document Chunks Similarity search 4
  6. © 2025 All Rights Reserved YB RAG App Architecture -

    Vector Embedding & Indexing 6 YugabyteDB LangChain for Vector Embeddings Global Tariff Document Chunks Text data Table Summary Text Summary YugabyteDB Prepare Knowledge Base and Vector Embeddings
  7. © 2025 All Rights Reserved YB RAG App Architecture -

    Vector Search 7 YugabyteDB LangChain for Vector Retrieval Prompt Prompt embedding Similarity Search US Tariff Analysis App Table Summary Text Summary Multi-vector Retriever Receives context from Retriever Raw Text Raw Table Response Table & Text Summary Raw Text & Table US Tariff Analysis App
  8. © 2025 All Rights Reserved Amazon Nova Understanding Models Amazon

    Nova understanding models are state-of-the-art models that deliver frontier intelligence and industry-leading price performance. Amazon Nova models deliver frontier intelligence and industry leading price performance
  9. © 2025 All Rights Reserved Amazon Nova Understanding Models Amazon

    Nova understanding models are state-of-the-art models that deliver frontier intelligence and industry-leading price performance.