Skip to content

Commit d47c8c8

Browse files
committed
Removed: Remote scores (not used yet)
1 parent 3809d67 commit d47c8c8

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

server/types.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ type EvalRequest struct {
1818

1919
// Parent specifies the parent span for tracing (optional).
2020
Parent *ParentInfo `json:"parent,omitempty"`
21-
22-
// Scores lists remote scorer function references (optional).
23-
Scores []RemoteScore `json:"scores,omitempty"`
2421
}
2522

2623
// EvalData specifies where evaluation data comes from.
@@ -46,12 +43,6 @@ type ParentInfo struct {
4643
PropagatedEvent json.RawMessage `json:"propagated_event,omitempty"`
4744
}
4845

49-
// RemoteScore references a Braintrust-hosted scorer function.
50-
type RemoteScore struct {
51-
FunctionID string `json:"function_id"`
52-
Version string `json:"version,omitempty"`
53-
}
54-
5546
// Parameters defines the parameter schema for an evaluator, displayed in the Braintrust UI.
5647
type Parameters struct {
5748
Schema map[string]ParameterDef `json:"schema"`

0 commit comments

Comments
 (0)