How to use an agent as a judge
lytix
CLI here.config.json
config.json
file to define what repository you’d like to evaluate.
start.py
start.py
file in the folder of the test. This file will be executed to collect the data.
The only requirement is that the start.py
file prints the following JSON object to stdout:
messages
is an array of {role: "user" | "assistant", content: "..."}
and sources
is an array of file paths that contain the data we want to evaluate the output against.
user
message.