-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scorer purpose #87
Conversation
Braintrust eval reportAutoevals (purpose-scorer-1722992568)
|
Braintrust eval reportAutoevals (purpose-scorer-1722792524)
|
js/oai.ts
Outdated
@@ -69,6 +72,7 @@ export function buildOpenAIClient(options: OpenAIAuth): OpenAI { | |||
} | |||
|
|||
declare global { | |||
// eslint-disable-next-line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a more specific warning we can disable? or maybe a comment to explain what we are ignoring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep added more specific one
py/autoevals/oai.py
Outdated
@@ -18,7 +18,12 @@ class OpenAIWrapper: | |||
RateLimitError: Exception | |||
|
|||
|
|||
_WRAPPED_OPENAI = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we avoid the global variable by returning this boolean as part of prepare_openai
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call
Braintrust eval report
|
This allows us to exclude LLM-as-a-judge calls from certain metrics (e.g. token counts)