vishwasg217 / fin-sight

FinSight - Financial Insights at Your Fingertip: FinSight is a cutting-edge AI assistant tailored for portfolio managers, investors, and finance enthusiasts. It streamlines the process of gaining crucial insights and summaries about a company in a user-friendly manner.
https://finsight-report.streamlit.app/
200 stars 75 forks source link
fintech langchain llama-index llms nlp streamlit

πŸ’Έ FinSight:

Financial Insights at Your Fingertips

Finsight is a cutting-edge finance AI assistant tailored to meet the needs of portfolio managers, investors, and finance enthusiasts. By leveraging GPT-4 and financial data, Finsight provides deep insights and actionable summaries about a company, aiding in more informed investment decisions.

demo

If you'd like to learn more about the technical details of FinSight, check out the LlamaIndex blogpost below where I do a deep dive into the project:

How I built the Streamlit LLM Hackathon winning app β€” FinSight using LlamaIndex.

Features

πŸ“Š Finance Metrics Overview:

πŸ“„ Annual Report Analyzer:

Tech Stack

-- Streamlit: Powers the front end, providing a seamless user interface. -- LangChain: The foundation for integrating the LLM into the web app. -- Llama Index: Simple, flexible data framework for connecting custom data sources to large language models. -- Alpha Vantage: The go-to API service for fetching the most recent financial data about companies.

How to Use

Website Access:

Head over to Finsight

Local Setup:

  1. Clone the Repository:

    git clone https://github.com/vishwasg217/finsight.git
    cd finsight
  2. Set Up a Virtual Environment (Optional but Recommended):

    
    # For macOS and Linux:
    python3 -m venv venv

For Windows:

python -m venv venv


3. **Activate the Virtual Environment**:
```bash
# For macOS and Linux:
source venv/bin/activate

# For Windows:
.\venv\Scripts\activate
  1. Install Required Dependencies:

    pip install -r requirements.txt
  2. Set up the Environment Variables:

    
    # create directory
    mkdir .streamlit

create toml file

touch .streamlit/secrets.toml


You can get your API keys here: [AlphaVantage](https://www.alphavantage.co/support/#api-key), [OpenAI](https://openai.com/blog/openai-api)

```bash
# add the following API keys
av_api_key = "ALPHA_VANTAGE API KEY"

openai_api_key = "OPEN AI API KEY"
  1. Run Finsight:
    streamlit run 🏑_Home.py

After running the command, Streamlit will provide a local URL (usually http://localhost:8501/) which you can open in your web browser to access Finsight.