genkit
genkit copied to clipboard
[PY] Integrate prompt files
Add the feature to use prompt files for the python version of genkit.
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.