{"id":26932714,"url":"https://github.com/patchy631/rags","last_synced_at":"2025-04-02T08:27:40.827Z","repository":{"id":237464747,"uuid":"712712528","full_name":"patchy631/RAGs","owner":"patchy631","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-01T03:14:45.000Z","size":16832,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-09T00:19:18.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patchy631.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-01T03:11:50.000Z","updated_at":"2024-04-03T07:55:15.000Z","dependencies_parsed_at":"2024-05-02T04:27:36.162Z","dependency_job_id":null,"html_url":"https://github.com/patchy631/RAGs","commit_stats":null,"previous_names":["patchy631/rags"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patchy631%2FRAGs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patchy631%2FRAGs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patchy631%2FRAGs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patchy631%2FRAGs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patchy631","download_url":"https://codeload.github.com/patchy631/RAGs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246780530,"owners_count":20832614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-02T08:27:40.221Z","updated_at":"2025-04-02T08:27:40.820Z","avatar_url":"https://github.com/patchy631.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 💸 FinSight: \n**Financial Insights at Your Fingertips**\n\nFinsight 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.\n\n![demo](docs/demo.gif)\n\nIf 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:\n           \n[How I built the Streamlit LLM Hackathon winning app — FinSight using LlamaIndex.](https://blog.llamaindex.ai/how-i-built-the-streamlit-llm-hackathon-winning-app-finsight-using-llamaindex-9dcf6c46d7a0)\n\n## Features\n📊 **Finance Metrics Overview**:\n- Dive deep into core financial metrics extracted from the income statement, balance sheet, and cash flow.\n- Stay updated with the top news sentiment surrounding the company for the current year, ensuring you're always in the loop.\n- These are the different sections:\n  - **Company Overview**: Get a quick overview of the company.\n  - **Income Statement**: Understand the company's revenue and expenses.\n  - **Balance Sheet**: Get a grasp on the company's assets, liabilities, and shareholders' equity.\n  - **Cash Flow**: Understand the company's cash flow from operating, investing, and financing activities.\n  - **News Sentiment**: Stay updated with the top news sentiment surrounding the company for the current year.\n\n📄 **Annual Report Analyzer**:\n- Simply upload a company's annual report.\n- Finsight will then provide comprehensive insights into:\n  - **Fiscal Year Highlights**: Major achievements, milestones, and financial highlights.\n  - **Strategy Outlook and Future Direction**: Understand the company's strategic plans and anticipated future trajectory.\n  - **Risk Management**: Insight into the company's risk assessment, potential challenges, and mitigation strategies.\n  - **Innovation and R\u0026D**: Get a grasp on the company's commitment to innovation and its R\u0026D endeavors.\n\n## Tech Stack \n**Streamlit**: Powers the frontend, providing a seamless user interface. \n**LangChain**: Acts as the foundation for integrating the LLM into the web app.\n**Llama Index**: The data framework behind the Research Agent Generator (RAG) and agent-based features, such as the Annual Report Analyzer.\n**Alpha Vantage**: The go-to API service for fetching the most recent financial data about companies.\n\n## How to Use\n### Website Access: \nHead over to [Finsight](https://finsight-report.streamlit.app/)\n\n### **Local Setup**:\n\n\n1. **Clone the Repository**:\n```bash\ngit clone https://github.com/vishwasg217/finsight.git\ncd finsight\n```\n\n2. **Set Up a Virtual Environment** (Optional but Recommended):\n```bash\n# For macOS and Linux:\npython3 -m venv venv\n\n# For Windows:\npython -m venv venv\n```\n\n3. **Activate the Virtual Environment**:\n```bash\n# For macOS and Linux:\nsource venv/bin/activate\n\n# For Windows:\n.\\venv\\Scripts\\activate\n```\n\n4. **Install Required Dependencies**:\n```bash\npip install -r requirements.txt\n```\n\n5. **Set up the Environment Variables**:\n```bash\n# create directory\nmkdir .streamlit\n\n# create toml file\ntouch .streamlit/secrets.toml\n```\n\nYou can get your API keys here: [AlphaVantage](https://www.alphavantage.co/support/#api-key), [OpenAI](https://openai.com/blog/openai-api)\n\n```bash\n# add the following API keys\nav_api_key = \"ALPHA_VANTAGE API KEY\"\n\nopenai_api_key = \"OPEN AI API KEY\"\n\n\n```\n\n6. **Run Finsight**:\n```bash\nstreamlit run src/🏡_Home.py\n```\n\nAfter running the command, Streamlit will provide a local URL (usually `http://localhost:8501/`) which you can open in your web browser to access Finsight.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatchy631%2Frags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatchy631%2Frags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatchy631%2Frags/lists"}