genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[PY] Integrate prompt files

Open hendrixmar opened this issue 1 year ago • 1 comments

Add the feature to use prompt files for the python version of genkit.

hendrixmar avatar Jul 24 '25 14:07 hendrixmar

Prompt file support has since landed in the Python SDK. #3955 added directory and file prompt loading matching the JS SDK, and #3992 made prompts load automatically from a ./prompts folder (you can also point elsewhere with the prompt_dir argument on the Genkit constructor). There is a working example under py/samples/prompts if you want to see it in action. Closing this as done.

hilariie avatar Jul 23 '26 11:07 hilariie