LEDAA project is about building a conversational AI assistant for FRAGMENT (documentation). Towards this purpose, the LEDAA Chat Interface is a web-based conversational interface that allows users to interact with the LEDAA conversational AI assistant.
This project demonstrates a conversational AI assistant that can help answer queries related to FRAGMENT (documentation).
Main priority for this prototype is to demonstrate an AI assistant for FRAGMENT' documentation and to present a Retrieval Augmented Generation (RAG)-based pipeline and workflow with automation for handling source data updates to ensure AI assistant can answer user queries related to the documentation effectively and accurately.
To learn more check: Building AI Assistant for FRAGMENT documentation
Below is the process flow for how ground truth data updates are handled and how the knowledge base is effectively updated.
ledaa_updates_scannerLambda function monitors for changes in content of documentation.- On detecting changes, it triggers the
ledaa_load_dataLambda function passing it the URL of webpage. ledaa_load_dataLambda function invokes theledaa_text_splitterLambda function to initiate the process of scraping data from a given URL and to get a list of strings (representing text chunks or documents) which will be used in data ingestion.ledaa_text_splitterLambda function invokes theledaa_web_scrapperLambda function to scrape the URL and store the processed markdown data in S3.ledaa_web_scrapperfunction also stores the hash of the processed data in DynamoDB which will later be compared byledaa_updates_scannerfunction to detect changes.- On receiving processed document chunks back,
ledaa_load_dataLambda function stores the data in the vector store.
This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
This project is licensed under the MIT License - see the LICENSE file for details.