Skip to content

Demo illustrating what LLMs are great (and not so great) at, and how RAG can help

Notifications You must be signed in to change notification settings

weaviate-tutorials/llm_vs_rag_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM vs RAG

Introduction

This demo shows benefits of using retrieval augmented generation over vanilla LLM usage.

Usage

Basic example

  1. Install requirements.txt (pip install -r requirements.txt).
  2. Run an instance of Weaviate (e.g. docker-compose up -d from your shell).
  3. Run eg1_create_collection.py to create a collection.
  4. Run eg2_import_arxiv.py and eg2_import_pdf.py to import text data from various PDFs.
  5. Run streamlit run Demo_app.py from your shell.

There is also a multi-modal example - documentation to come :).

Build amazing GenAI apps with Weaviate

About

Demo illustrating what LLMs are great (and not so great) at, and how RAG can help

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages