Prompt Generation
Auto-Generate High-Quality Potential System Prompts
Make sure you have your OpenAI API Key before you begin.
Prompts
generate_prompts()
Utilize our generate_prompts functionality to generate multiple system prompts for testing. Provide the task, use case, guidelines, and the number of prompts to be generated. Returns a list of generated prompts.
Param | Type | Description |
---|---|---|
num_prompts | int | number of system prompts to be generated |
task | str | LLM task such as "You are a financial chatbot" |
context | str | LLM context |
guidelines | list(str) | any guidelines for your LLM to follow such as "Do not share personal information" |
Output Type | Output Meaning |
---|---|
List[str] | list of generated system prompts based on the given task, context, and guidelines |
Last updated