-
Notifications
You must be signed in to change notification settings - Fork 567
Closed
Labels
featureNew feature or requestNew feature or request
Description
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
Add support to structure subfolder inside the prompts folder and import the prompts using this strutucte.
For instance:
In this folder structure:
./
prompts/
classification/
classifyCars.prompt
I want to be able to import the prompt as
const myPrompt= await prompt("classification/classifyCars");
The closest thing right now is this structure:
./
prompts/
classification-classifyCars.prompt
and
const myPrompt= await prompt("classification-classifyCars");
But it ends up making hard to organize the prompts.
Additional context
I understand that there is a way to do this that revovles around loading a file from a specifc folder as described here:
https://firebase.google.com/docs/genkit/dotprompt#alternate_ways_to_load_and_define_prompts
But i think it could be better
theredwillow
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request