Skip to content

Reddit AI Agent is an intelligent tool that helps you explore Reddit like never before! πŸ”Ž It allows you to search for any query and fetch top Reddit threads along with their most relevant comments. πŸš€

Notifications You must be signed in to change notification settings

Dharm3438/Reddit-AI-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 Reddit AI Agent

Your Smart Reddit Assistant!
Reddit AI Agent is an intelligent tool that helps you explore Reddit like never before! πŸ”Ž It allows you to search for any query and fetch top Reddit threads along with their most relevant comments. πŸš€

✨ Core Features:

  • πŸ”₯ Retrieve Top Threads: Find the most relevant threads for any query.
  • πŸ“ Summarize Content: Get concise summaries of thread discussions and comments.
  • πŸ’¬ Conversational Interface: Chat with an AI-powered bot to get personalized answers.
  • 🎨 User-Friendly UI: Enjoy a sleek design with built-in logging and monitoring.

Demo Image


πŸ› οΈ Features

  • πŸ”— Fetch Top Reddit Threads: Quickly find top discussions based on your query.
  • πŸ“– Summarize Content: Saves you time by summarizing threads and their comments.
  • πŸ€– Conversational Chat: Chat with summarized content for a personalized experience.
  • ✨ Easy-to-Use Interface: Smooth, intuitive design for a great user experience.

πŸ“š Tools and Libraries

  • 🐍 PRAW: For fetching Reddit data (threads, comments).
  • πŸ”— LangChain & LangSmith: Build and manage AI chains and logs.
  • πŸ€– Groq API: Supports natural language processing with an LLM.
  • πŸ“¦ FAISS Vector Store: Efficiently index and search data.
  • 🌟 Hugging Face Embeddings: Convert text into embeddings for semantic searches.

πŸ”‘ API Keys Needed

  1. πŸ” Reddit API Key: How to obtain.
  2. πŸ” Groq API Key: Register at Groq Console.

βš™οΈ Setup and Run

  1. πŸ› οΈ Create .env file with the following keys:
    REDDIT_API_CLIENT_ID="<your_reddit_client_id>"
    REDDIT_API_SECRET="<your_reddit_secret>"
    REDDIT_USER_AGENT="<your_user_agent>"
    GROQ_API_KEY="<your_groq_key>"
  2. πŸ“¦ Installation and Running:
    pip install -r requirements.txt
    cd src
    gradio UI.py

πŸ“ TODO

  • πŸ“₯ Add more data sources: Twitter, Quora.
  • ☁️ Add support for cloud embeddings using Pinecone.
  • 🌐 Deploy to cloud platforms.

About

Reddit AI Agent is an intelligent tool that helps you explore Reddit like never before! πŸ”Ž It allows you to search for any query and fetch top Reddit threads along with their most relevant comments. πŸš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages