/dockerised-fabric

Fabric, but in a container, powered by Docker

Primary LanguageShellMIT LicenseMIT

Dockerised Fabric

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.

Pre-requisites

  • Docker
  • GitHub CLI (gh)/git
  • wget/curl
  • Relevant AI API keys (OpenAI, Ollama to name a few...)

Setup

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

Usage

echo "Summarise MacBeth in <100 words" | docker run --rm -iv ~/.config/fabric/:/root/.config/fabric/ fabric -sp ai

License

This project shares the same licensing as Fabric, for brevity you can view it here.