Skip to content

docs: add ExactMatch score example#188

Open
Rul1an (Rul1an) wants to merge 1 commit intobraintrustdata:mainfrom
Rul1an:rul1an/docs-exactmatch-score-example
Open

docs: add ExactMatch score example#188
Rul1an (Rul1an) wants to merge 1 commit intobraintrustdata:mainfrom
Rul1an:rul1an/docs-exactmatch-score-example

Conversation

@Rul1an
Copy link
Copy Markdown

What changed

Adds a small ExactMatch example to SCORERS.md showing the returned score object fields users usually inspect: name and score.

Why

The surrounding section already documents the binary 0 / 1 score range, but the concrete returned object shape was less visible than in nearby scorer examples.

Validation

Ran locally:

git diff --check

Copilot AI review requested due to automatic review settings April 25, 2026 16:48
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a concrete ExactMatch usage snippet to the scorer docs to make the returned Score object shape (notably name and score) more discoverable alongside the existing binary score range description.

Changes:

  • Add a Python example for ExactMatch demonstrating result.name and result.score.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants