Skip to content

seemanitharwal/News-Reserch-Tool-Generative-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinantialBot: News Research Tool

FinantialBot is a user-friendly news research tool designed for effortless information retrieval. Users can input article URLs and ask questions to receive relevant insights from the stock market and financial domain.

Features

  • Load URLs or upload text files containing URLs to fetch article content.
  • Process article content through LangChain's UnstructuredURL Loader
  • Construct an embedding vector using OpenAI's embeddings and leverage FAISS, a powerful similarity search library, to enable swift and effective retrieval of relevant information.

Installation

1. Install the required dependencies using pip:

```bash
  pip install -r requirements.txt
  1. Set up your OpenAI API key by creating a .env file in the project root and adding your API
  OPENAI_API_KEY=your_api_key_here

Usage/Examples

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

2.The web app will open in your browser.

Project Structure

  • main.py: The main Streamlit application script.
  • requirements.txt: A list of required Python packages for the project.
  • faiss_store_openai.pkl: A pickle file to store the FAISS index.
  • .env: Configuration file for storing your OpenAI API key.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages