easyiec.evaluators.VerbalSteering#

class easyiec.evaluators.VerbalSteering(problem, client=None, step=0.12, prefer_llm=False)[source]#

Bases: object

Convert comments into unit-cube directions.

Parameters:
problemProblem

Supplies semantic_axes and the search space.

clientLLMClient, optional

Use a language model when no lexical axis matches (or always, with prefer_llm=True).

stepfloat

Length of a unit (unhedged) move in the unit cube.

direction(comment, query=None, feedback=None)[source]#

Direction for comment (None when nothing could be understood).

Examples using easyiec.evaluators.VerbalSteering#

Verbal steering: “much brighter, slightly less saturated”

Verbal steering: "much brighter, slightly less saturated"