gepa_select_optimal
Automatically selects the best AI prompt candidate for a given task context by evaluating performance and diversity weights, ensuring optimal results for specific use cases.
Instructions
Select best prompt candidate for given context
Input Schema
Name | Required | Description | Default |
---|---|---|---|
diversityWeight | No | Weight for diversity in selection criteria | |
performanceWeight | No | Weight for performance in selection criteria | |
taskContext | No | Context description for prompt selection (optional) |
Input Schema (JSON Schema)
{
"properties": {
"diversityWeight": {
"default": 0.3,
"description": "Weight for diversity in selection criteria",
"type": "number"
},
"performanceWeight": {
"default": 0.7,
"description": "Weight for performance in selection criteria",
"type": "number"
},
"taskContext": {
"description": "Context description for prompt selection (optional)",
"type": "string"
}
},
"type": "object"
}