Build your own custom knowledge base from various sources such as youtube videos transcripts, tweets, articles, videos and audios. Uses Gradio for the UI
- Create
.env
file in root of directory to store Pinecone and openai API keys.
OPENAI_API_KEY='<YOUR OPENAI API KEY>'
PINECONE_API_KEY='<YOUR PINECONE_API_KEY>'
- Install dependencies.
brew install ffmpeg
- Install environment.
pyenv install 3.10.4
pyenv shell 3.10.4
poetry env use 3.10.4
poetry install
- Run main.py
poetry run python main.py
- Open: http://127.0.0.1:7860
poetry run black -l 80 .