Skip to content

A Gradio WebApp (Huggingface Spaces) to perform retrieval augmented generation (RAG) on The Ranveer Show podcast

License

Notifications You must be signed in to change notification settings

ucalyptus/AskTRS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ask The Ranveer Show (TRS)

A Gradio WebApp / Huggingface Spaces to perform retrieval augmented generation (RAG) on The Ranveer Show podcast using Langchain, OpenAI Ada Embeddings and FAISS.

Usage

Obtain an API key from OpenAI and set it as the value of the api_key variable in the script.

pip install -r requirements.txt
export OPENAI_API_KEY=<API_KEY>
python app.py

Known Issues/ ToDo

  • Replace with an open-source alternative to OpenAI ada embeddings. See embeddings.
  • Docker setup for this webapp.
  • Trial with GPU version of FAISS (not compatible yet for Python 3.10)
  • Should retrieve embeddings from a known cache (such as Pinecone DB) to avoid re-encoding already visited videos.
  • Custom LlamaHub loader for Podcasts (not just a single video).
  • Translation/Transcribe the hindi podcast using technique similar to BongoVaad

AskTRS Logo

About

A Gradio WebApp (Huggingface Spaces) to perform retrieval augmented generation (RAG) on The Ranveer Show podcast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages