Skip to content
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

Remove validity score #34

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Remove validity score #34

merged 1 commit into from
Nov 30, 2023

Conversation

manugoyal
Copy link
Contributor

@manugoyal manugoyal commented Nov 29, 2023

Fixes BRA-622

We think function calling works well enough that it shouldn't be necessary to track validity as a separate score.

We think function calling works well enough that it shouldn't be
necessary to track validity as a separate score.
@manugoyal manugoyal requested a review from ankrgyl November 29, 2023 23:32
@@ -125,8 +125,6 @@ export async function OpenAIClassifier<RenderArgs, Output>(
content: m.content && mustache.render(m.content as string, renderArgs),
}));

let ret = null;
let validityScore = 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I noticed we weren't logging anything in JS, so I just removed it from JS and python. If you'd like me to re-enable it in both languages as an option, I can do that too.

@manugoyal manugoyal merged commit c2efd85 into main Nov 30, 2023
3 checks passed
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