PDL icon

PDL 0.9.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.9.2",
  "src": {
    "url": "https://github.com/IBM/prompt-declaration-language/releases/download/v0.9.2/PDL_0.9.2_universal.dmg",
    "sha256": "58d5c7cbc0220385b5635de0f660572e814ca4ce820ce2dcbd3be3e43c1f7c84"
  },
  "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/"
  }
}