Slot: reward_fn
Dotted import path of a reward function (Refine, BestOfN).
URI: dspy:reward_fn
Applicable Classes
| Name |
Description |
Modifies Slot |
| BestOfN |
Sample N candidates and select the highest-rewarded (``dspy |
no |
| Refine |
Iterative refinement loop (``dspy |
no |
Properties
Type and Range
Cardinality and Requirements
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
dspy:reward_fn |
| native |
dspy:reward_fn |
LinkML Source
name: reward_fn
description: Dotted import path of a reward function (Refine, BestOfN).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- BestOfN
- Refine
range: string