FreakWolf/LangChain-RAG

Rohit Singh

0

OpenAI

Python

LangChain RAG project

What is RAG?​
RAG is a technique for augmenting LLM knowledge with additional, often private or real-time, data.
Large Language Models (LLMs) have knowledge up to a certain training date and can reason on various topics. To handle private or newer data, they need Retrieval Augmented Generation (RAG) to integrate specific, updated information into their prompts.
So far, RAG applications are the most helpful outcome of the AI revolution.

Tech Stack

LangChain is a framework designed to simplify the creation of applications using large language models.
OpenAI LLM
Chroma vector database

Setup Instructions

Update .env file

Update the .env file with your OPENAI_KEY

Setup a virtual environment

python3 -m venv env

Load virtual environment (Mac)

source env/bin/activate

Install dependencies

pip3 install -r requirements.txt

Run WEB RAG to get answers from a URL

python3 web_rag.py

Run TXT RAG to get answers from a TEXT FILE

python3 txt_rag.py
Like this project
0

Posted Jan 27, 2024

Contribute to FreakWolf/LangChain-RAG development by creating an account on GitHub.

Likes

0

Views

1

Tags

OpenAI

Python

FreakWolf/Portfolio
FreakWolf/Portfolio
FreakWolf/Music_player-Usning-android-studio
FreakWolf/Music_player-Usning-android-studio