DataExpert-io/llm-driven-data-engineering
关于
这是一个用于介绍所有 LLM 驱动的数据工程概念的公开代码仓库。
数据与分析实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- 0
- 1个月
- +1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文LLM-driven Data Engineering
Accounts to Follow
People
Libraries
Getting Started
Make an OpenAI account here and then generate an API Key. For Day 4, you'll need a Pinecone account and API key.
- Day 1 (LLM-driven data engineering
- Day 2 (LLM dev with LangChain)
- Day 3 (Using LLM to provide business value)
- Day 4 (Creating ZachGPT with RAG)
Setup
This project use PostgreSQL
Store the API key as an environment variable like:
export OPENAI_API_KEY=<your_api_key>
Or set it in Windows
The easiest way to install the dependencies is uv. Install it.
Run the command uv sync to install the python environment and all of the libraries under .venv folder.
You should configure your IDE to select the interpreter under the .venv folder, or activate it through the command on your terminal:
source .venv/bin/activate
PS: If you don't want to use uv, run
pip install .
Day 1 Lab
We'll be using the schemas from Dimensional Data Modeling Week 1 and generating the queries from the homework and labs except this time we'll do it via LLMs
Day 2 Lab
We'll be using Langchain to auto generate SQL queries for us based on tables and writing LinkedIn posts in Zach Wilson's voice
Setup
If you are watching live, you will be given a cloud database URL to use.
export LANGCHAIN_DATABASE_URL=<value zach gives in Zoom>
If you aren't watching live, you'll need to use the halo_data_dump.dump file located in the data folder
Running pg_restore with your local database should get you up and running pretty quickly.
- example command, assuming you got Postgres up and running either via Homebrew or Docker:
pg_restore -h localhost -p 5432 -d postgres -U <your laptop username> halo_data_dump.dump
Day 3 Lab
This lab leverages this repo
Day 4 Lab
This lab leverages this repo
Add it to the environment export PINECONE_API_KEY=<your pinecone API key>
探索相关项目
加载中…