Skip to content

AviTewari/Knowledge-Retrieval-Assistant-using-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LangChain Knowledge Retrieval Assistant

A repository for learning LangChain by building a generative ai application.

This is a web application is using a Pinecone as a vectorsotre and answers questions about LangChain (sources from LangChain official documentation).

Tech Stack

Client: Streamlit

Server Side: LangChain 🦜🔗

Vectorstore: Pinecone 🌲

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PINECONE_API_KEY OPENAI_API_KEY

Run Locally

Clone the project

  git clone https://github.com/AviTewari/Knowledge-Retrieval-Assistant-using-LLM.git

Go to the project directory

  cd Knowledge-Retrieval-Assistant-using-LLM

Download LangChain Documentation

  mkdir langchain-docs
  wget -r -A.html -P langchain-docs  https://api.python.langchain.com/en/latest

Install dependencies

  pipenv install

Start the flask server

  streamlit run main.py

Running Tests

To run tests, run the following command

  pipenv run pytest .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages