Basic Prompts
Basic prompts are ideal for simple prompts that don't require specific input variables or structured outputs.
Creating a Basic Prompt
If the prompt was a Poem Generator
prompt, the prompt file would look like this:
@/prompts/poemGenerator.Prompt.txt
And the environment variable will be process.env.PoemGeneratorPrompt
.
src/app/poem/page.tsx
Last updated