Skip to content

buvir/Movie-Knowledge-Search-Bot-RAG-LangChain-FAISS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Movie-Knowledge-Search-Bot-RAG-LangChain-FAISS-

(RAG + LangChain + FAISS + Kaggle API)This project implements a Retrieval-Augmented Generation (RAG) system that answers natural language questions about movies using their plot summaries.

β€œI built a RAG-based movie knowledge assistant using LangChain and FAISS, powered by Kaggle data and deployed in Google Colab.”

This project implements a Retrieval-Augmented Generation (RAG) system that answers natural language questions about movies using their plot summaries.


πŸ‘‰ Open the notebook in Colab: Click here to run the project

πŸ”§ Tech Stack

  • Python
  • LangChain
  • FAISS (Vector Database)
  • Sentence-Transformers
  • OpenAI LLM
  • KaggleHub API
  • Google Colab

πŸ“Š Dataset

Wikipedia Movie Plots Dataset from Kaggle


πŸš€ How It Works

  1. Movie plot summaries are converted into vector embeddings
  2. FAISS stores and retrieves semantically similar plots
  3. Retrieved context is passed to an LLM
  4. The LLM generates grounded, accurate answers

🧠 Key Concepts Demonstrated

  • Retrieval-Augmented Generation (RAG)
  • Vector databases
  • Prompt engineering
  • Semantic search
  • Large Language Models (LLMs)

πŸ“Œ Example Questions

  • What is the plot of Inception?
  • Which movies are about artificial intelligence?
  • Tell me about mafia-related movies

▢️ How to Run

  1. Open the Google Colab notebook
  2. Upload your kaggle.json API key
  3. Run cells sequentially
  4. Enter natural language movie questions

πŸ’‘ Conclusion

This project shows how RAG systems can significantly improve LLM reliability by grounding responses in real data. It is scalable, efficient, and suitable for real-world applications.


movie-rag-langchain-faiss/ β”‚ β”œβ”€β”€ notebook/

β”‚ └── movie_rag_colab.ipynb

β”‚ β”œβ”€β”€ README.md

└── requirements.txt

πŸ“Ž Demo

Run the Colab notebook for an interactive demo.

About

(RAG + LangChain + FAISS + Kaggle API)This project implements a Retrieval-Augmented Generation (RAG) system that answers natural language questions about movies using their plot summaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors