Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.59 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.59 KB

Resources

Open AI

FRED STL

LANG_CHAIN_API

  • Create an account and setup your API Keys.

Features

  • LangChain and SQLite Integration: Demonstrates how to use LangChain with SQLite for querying and analyzing financial data using natural language.
  • Financial Data Analysis: focuses on financial data, providing insights into economic indicators, yield curve prices, production data, and business cycles.
  • Examples: includes SQL queries for data insertion, schema creation, and advanced data analysis techniques.
  • Comprehensive Setup: Guides through the setup process for LangChain, SQLite, and Python packages.

Prerequisites

  • Python 3.x installed
  • VS Code or Jupyter Notebook
  • Basic Knowledge of SQL, Python, and financial datasets.

Environment Setup

Setting Up the Environment Before diving into the data analysis, it's essential to set up our environment by installing all necessary Python packages. This includes pandas for data manipulation, sqlite3 for interacting with SQLite databases, openai and langchain for leveraging LangChain's capabilities, and other packages that will be used throughout this notebook.

pip3 install pandas
pip3 install scikit-learn
pip3 install pandas-datareader
pip3 install plotly redis
pip3 install langchain langchain-experimental
pip3 install openai
pip3 install tiktoken
pip3 install faiss-cpu
pip3 install openai
pip3 install SQLAlchemy
pip3 install load_dotenv