Scorers
get_scorer_version
name(str): Name of the scorerversion(int): Version of the scorer.
Scorer response if found, otherwise None.:
list
types
list are combined with an OR condition.
For example, calling list(name="my_scorer", types=[ScorerTypes.llm, ScorerTypes.code])
will return scorers where the name is “my_scorer” AND the type is either “llm” OR “code”.
Arguments
name: Name of the scorer to filter by.types: List of scorer types to filter by. Defaults to all scorers.
A list of scorers that match the filter criteria.:
ScorerSettings
create
project_id: ID of the projectrun_id: ID of the runscorers: List of scorer configurations
Upserted scorer settings.: