Prompt Generation
Auto-Generate High-Quality Potential System Prompts
Last updated
Auto-Generate High-Quality Potential System Prompts
Last updated
Make sure you have your OpenAI API Key before you begin.
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 |
---|---|---|
Output Type | Output Meaning |
---|---|
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"
List[str]
list of generated system prompts based on the given task, context, and guidelines