Skip to content

Instantly share code, notes, and snippets.

@gundamp
gundamp / README.md
Created January 15, 2025 03:41 — forked from disler/README.md
Use these Prompt Chains to build HIGH QUALITY AI Agents (Agentic Building Blocks)

Setup

  1. Create a new directory with these three files (requirements.txt, main.py, README.md)
  2. python -m venv venv
  3. source venv/bin/activate
  4. pip install -r requirements.txt
  5. python main.py
  6. Update main() to run the example prompt chains
@gundamp
gundamp / gist:ed76f34512d7e6e8a8af7a8088a129d9
Created July 4, 2023 06:43
categorise bank transactions - load data from csv files
header_name = ["Date", "Amount", "Description", "Balance"]
# Read in raw data
## These are downloaded from CBA netbank, filtering for "Outgo" only
path_CA = "/content/drive/MyDrive/Expense Tracking/Outgoing_Complete_Access_CY2022.csv"
path_label = "/content/drive/MyDrive/Expense Tracking/manual_class_training.csv"