EvSys

GEPAPromptConfig

Attributes

attributemodel_config
= ConfigDict(extra='forbid')
attributeseed_promptstr
= 'You are a helpful assistant. Answer concisely.'

Initial system prompt.

attributetask_lmstr
= 'mock'

Registry name of the inference client used to evaluate each candidate.

attributetask_lm_configdict[str, Any]
= Field(default_factory=dict)
attributereflection_lmstr | None
= None

Optional inference client used to propose mutated prompts; required for the real gepa path. Without it we fall back to the built-in mutator.

attributereflection_lm_configdict[str, Any]
= Field(default_factory=dict)
attributemax_iterationsint
= 20
attributepopulation_sizeint
= 4
attributeexamples_per_evalint
= 8

How many PromptExamples to evaluate each candidate on (per iteration).

attributeuse_gepa_libbool
= True

If True and the gepa package is importable, delegate to it.

attributeseedint
= 1729

On this page