(ctx context.Context, input *TextEvalInput)
| 30 | // 设计参考: @mastra/evals, 但本实现仅提供本地启发式 scorer,不依赖 LLM。 |
| 31 | type Scorer interface { |
| 32 | Score(ctx context.Context, input *TextEvalInput) (*ScoreResult, error) |
| 33 | } |
| 34 | |
| 35 | // ========================= |
no outgoing calls