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.
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.
π Finance Metrics Overview:
π Annual Report Analyzer:
-- 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.
Head over to Finsight
Clone the Repository:
git clone https://github.com/vishwasg217/finsight.git
cd finsight
Set Up a Virtual Environment (Optional but Recommended):
# For macOS and Linux:
python3 -m venv venv
python -m venv venv
3. **Activate the Virtual Environment**:
```bash
# For macOS and Linux:
source venv/bin/activate
# For Windows:
.\venv\Scripts\activate
Install Required Dependencies:
pip install -r requirements.txt
Set up the Environment Variables:
# create directory
mkdir .streamlit
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"
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.