Skip to content

Instantly share code, notes, and snippets.

View ChrisThackrey's full-sized avatar

Chris Thackrey ChrisThackrey

View GitHub Profile
@ChrisThackrey
ChrisThackrey / README_MINIMAL_PROMPT_CHAINABLE.md
Created December 15, 2024 02:42 — forked from disler/README_MINIMAL_PROMPT_CHAINABLE.md
Minimal Prompt Chainables - Zero LLM Library Sequential Prompt Chaining & Prompt Fusion

Minimal Prompt Chainables

Sequential prompt chaining in one method with context and output back-referencing.

Files

  • main.py - start here - full example using MinimalChainable from chain.py to build a sequential prompt chain
  • chain.py - contains zero library minimal prompt chain class
  • chain_test.py - tests for chain.py, you can ignore this
  • requirements.py - python requirements

Setup

@ChrisThackrey
ChrisThackrey / README.md
Created December 15, 2024 01:39 — forked from disler/README.md
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.

@ChrisThackrey
ChrisThackrey / README.md
Created December 15, 2024 01:30 — forked from disler/README.md
Four Level Framework for Prompt Engineering
@ChrisThackrey
ChrisThackrey / gitbranches.md
Created August 10, 2024 16:52 — forked from nicholashoule/gitbranches.md
Git prune and delete merged local branches

Git prune and delete merged local branches

Prune
git remote prune origin --dry-run
git remote prune origin
@ChrisThackrey
ChrisThackrey / pacnew.sh
Created March 3, 2022 17:29 — forked from mrnfrancesco/pacnew.sh
Merge new *.pacnew configuration files with their originals, for Arch Linux
#!/bin/bash
# Merge new *.pacnew configuration files with their originals
pacnew=$(find /etc ! -readable -prune -o -type f -name "*.pacnew" -print)
# Check if any .pacnew configurations are found
if [[ -z "$pacnew" ]]; then
echo " No configurations to update"
fi