Skip to content

Shreyas652/GenAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RockyBot: AI-Powered News Research Assistant

🧠 GenAI-powered news research tool using LangChain, OpenAI, FAISS, and Streamlit to extract insights from financial articles with LLM-based Q&A.

RockyBot is an end-to-end Generative AI (GenAI) application designed to automate and enhance financial news analysis using Large Language Models (LLMs). It empowers analysts and researchers to extract meaningful insights from multiple news articles using tools like LangChain, OpenAI GPT-3.5, FAISS, and Streamlit.

image

📌 Use Case

In financial sectors like equity research and mutual funds, analysts must comb through countless news sources to stay updated. RockyBot automates this by letting users input article URLs, semantically indexing them, and then querying them like a chatbot.

⚙️ Features

  • 🔗 Accepts multiple financial article URLs (e.g., from MoneyControl, Economic Times)
  • 🧠 Uses OpenAI's GPT-3.5 for intelligent, context-aware answers
  • 🧱 Utilizes FAISS for efficient vector-based semantic search
  • 📚 Returns answers with cited sources for transparency
  • 💾 Saves vector index locally for faster reuse
  • 🖥 Built with Streamlit for an interactive and clean UI

🧠 System Architecture

User Inputs URLs → Document Loading (LangChain) → Text Splitting → OpenAI Embeddings → FAISS Vector Store → RetrievalQA (LangChain) + GPT-3.5 → Answer with Sources

🖥️ How to Use

  • Paste up to 3 news article URLs in the sidebar.

  • Click “Process URLs” to:

  • Fetch and clean the content

  • Split the content into semantic chunks

  • Convert chunks into vector embeddings

  • Save them in a FAISS vector database

  • Enter your question in the main input box.

  • RockyBot retrieves relevant chunks and uses GPT-3.5 to answer.

  • Answer and source URLs are displayed clearly.

Usage/Examples

  1. Run the Streamlit app by executing: streamlit run main.py

  2. The web app will open in your browser.

🙌 Acknowledgements

Inspired by real-world equity research workflows and GenAI applications in financial services. Thanks to LangChain, OpenAI, and the open-source community.

About

🧠 GenAI-powered news research tool using LangChain, OpenAI, FAISS, and Streamlit to extract insights from financial articles with LLM-based Q&A.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors