seeyoung / documentation-helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LangChain Documentation Helper

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).

Logo udemy

Environment Variables

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

PINECONE_API_KEY PINECONE_ENVIRONMENT_REGION OPENAI_API_KEY

Run Locally

Clone the project

  git clone https://github.com/emarco177/documentation-helper.git

Go to the project directory

  cd documentation-helper

Download LangChain Documentation

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

Install dependencies

  pipenv install

Start the flask server

  streamlit run main.py

Running Tests

To run tests, run the following command

  pipenv run pytest .

🔗 Links

portfolio linkedin twitter

About

License:Apache License 2.0


Languages

Language:Python 100.0%