DEV Community

Cover image for LLNL Hackathon: Chat GPT, GraphRAG, & Vector DataBase Pipeline with LangChain
Francisco Canova
Francisco Canova

Posted on

4

LLNL Hackathon: Chat GPT, GraphRAG, & Vector DataBase Pipeline with LangChain

Overview

Created an LLM Pipeline using LangChain, GraphRAG, and Vector Databases for the data secure local instance of ChatGPT(LivChat) at Lawrence Livermore National Labs(LLNL) to allow users access to LLNL-specific information through LivChat.The LLM Pipeline creates clearance level-dependent indexes of Knowledge Graphs and Vector Databases, and queries both to synthesize a response for the user.

Step By Step Process

Lawrence Livermore National Labs(LLNL) has a local instance of ChatGPT 3.5 & 4o(LivChat) on site to minimize sensitive data risks that arise when user queries are sent off site to OpenAI(ChatGPT), Microsoft(Copilot), etc. We proposed an improvement to the local model to allow users to be able to ask this local ChatGPT instance questions that require internal LLNL knowledge that OpenAI doesn't have access to when training ChatGPT. The improvement consists of using LangChain🦜🔗 to provide a method for LivChat to query clearance level specific data from Knowledge Graphs using GraphRAG, and a Vector Database using Pinecone, to then have LivChat read both queries and synthesize a response for the user. A flow chart of the overall process is shown below.

Image description

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay