PDL icon

PDL 0.9.3

Declarative language for creating reliable, composable LLM prompts

Installation

System wide:

{
  environment.systemPackages = with nix-casks.packages.${system}; [
    pdl # PDL
  ];
}

Home Manager:

{
  home.packages = with nix-casks.packages.${system}; [
    pdl # PDL
  ];
}

Package Definition

{
  "pname": "pdl",
  "version": "0.9.3",
  "src": {
    "url": "https://github.com/IBM/prompt-declaration-language/releases/download/v0.9.3/PDL_0.9.3_universal.dmg",
    "sha256": "e01c41cb198f05dec7c3fb08b479ae50ee90e385406c1b95561f55d400bf76d9"
  },
  "installPhase": [
    "mkdir -p \"$out/Applications/PDL.app\" && cp -r \"PDL.app\" \"$out/Applications\"",
    "mkdir -p \"$out/bin\" && ln -s \"$out/Applications/PDL.app/Contents/MacOS/PDL\" \"$out/bin/pdl\""
  ],
  "meta": {
    "description": "Declarative language for creating reliable, composable LLM prompts",
    "homepage": "https://ibm.github.io/prompt-declaration-language/"
  }
}