Skip to content

Conversation

@dylanjcastillo
Copy link
Contributor

@dylanjcastillo dylanjcastillo commented Jan 1, 2025

Summary

In the meta-prompting notebook, you break the LLM judge's CoT reasoning by putting the justification key at the end of the schema. This results in lower-quality output.

cc @teomusatoiu

Copy link

@WutherHeights WutherHeights left a comment

Choose a reason for hiding this comment

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

I don't understand why this is necessary.

@dylanjcastillo
Copy link
Contributor Author

@WutherHeights IMO justification acts as a reasoning step. Not having it before the actual scores would mean that the scores don't really come from the reasoning/justification but that the justification is adjusted to whatever score was given.

This is similar to this change in the custom LLM judge notebook from the cookbook: e3e9fc2

image

See also: https://dylancastillo.co/posts/llm-pydantic-order-matters.html

@teomusatoiu
Copy link
Contributor

hey @dylanjcastillo thanks for the PR and apologies for taking so long to respond. Happy to merge!

@teomusatoiu teomusatoiu merged commit b59673c into openai:main Jan 21, 2025
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.

3 participants