PDL icon

PDL 0.6.2

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.6.2",
  "src": {
    "url": "https://github.com/IBM/prompt-declaration-language/releases/download/v0.6.2/PDL_0.6.2_universal.dmg",
    "sha256": "45e982b7a3efa1c55b75a10f70df6af6da28fb0b7f5176a7adc4919135697369"
  },
  "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/"
  }
}