Fabric offers a system for running prompting patterns through AI, with support for varying models. I'm not an expert, so you can read more about it here.
- Docker
- GitHub CLI (
gh
)/git
wget
/curl
- Relevant AI API keys (OpenAI, Ollama to name a few...)
curl https://raw.githubusercontent.com/cyrus01337/dockerised-fabric/refs/heads/main/install.sh | bash
docker run --rm -iv ~/.config/fabric/:/root/.config/fabric/ fabric --setup
echo "Summarise MacBeth in <100 words" | docker run --rm -iv ~/.config/fabric/:/root/.config/fabric/ fabric -sp ai
This project shares the same licensing as Fabric, for brevity you can view it here.