Skip to content

Conversation

@GangGreenTemperTatum
Copy link
Contributor

@GangGreenTemperTatum GangGreenTemperTatum commented Jan 7, 2026

[HOOKS] add custom system prompt capability to judge

Key Changes:

  • adds custom system_prompt capability to the dn judge hook

currently, the system prompt isn't configurable in the judge hook which is difficult to mould into a fit for multiple types of agent use-cases - this aims to add some flexibility from a user perspective without having to rewrite the judge agent from scratch as a custom implementation

Changed:

  • adds custom system_prompt capability to the dn judge hook

Generated Summary:

  • Added an optional system_prompt parameter to the llm_judge function to allow for custom system prompts.
  • Updated the logic in llm_judge to use the system_prompt if provided, enhancing flexibility and usability.
  • If system_prompt is not specified, the function defaults to existing behavior, ensuring backward compatibility.
  • This change could improve the evaluation process by tailoring prompts to specific contexts or requirements.

This summary was generated with ❤️ by rigging

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