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.
- π 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.
- π 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.
- π Reddit API Key: How to obtain.
- π Groq API Key: Register at Groq Console.
- π οΈ 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>"
- π¦ Installation and Running:
pip install -r requirements.txt cd src gradio UI.py
- π₯ Add more data sources: Twitter, Quora.
- βοΈ Add support for cloud embeddings using Pinecone.
- π Deploy to cloud platforms.