genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[PY] Make Prompts Folder Configurable

Open hendrixmar opened this issue 1 year ago • 1 comments

Implement a configuration option that allows users to specify the location of their prompt files. This will provide flexibility for project structure and organization, moving away from a fixed or hardcoded prompt directory.

hendrixmar avatar Jul 24 '25 14:07 hendrixmar

This landed in #3992, which added a prompt_dir argument to the Genkit constructor so you can point prompt loading at any folder you like (it still falls back to ./prompts when the argument is omitted). The change shipped in the Python 0.5.0 release, so any genkit version from 0.5.0 onward has it. Closing this as fixed.

hilariie avatar Jul 23 '26 11:07 hilariie