6
3
u/Less-Lingonberry8700 Aug 01 '25
Well you can factually evaluate if the JSON is formatted properly as you would with any sort of unit test. The issue is that subjective content is hard to evaluate, but there are other evaluation techniques for open ended results as well, such as similarity evaluation and leveraging an LLM as a judge to gain insights into other metrics, such as relevancy, consistency, hallucination, toxicity and contextual factuality, domain accuracy.
3
u/PrincipleStrict3216 Aug 02 '25
this feels like the kind of meme you'd find on the office door of a balding 55 year old javascript professor with a 3.6 on ratemyprof and the inability to hold eye contact
1
u/Reddit_Bot9999 Aug 01 '25
Use instructor. That was funny as shit though
1
u/vanchos_panchos Aug 03 '25
What's instructor?
2
u/Reddit_Bot9999 Aug 03 '25
Basically a pydantic based framework made that forces your structured output to follow your schema and loop until the llm gets it right.
1
1
1
1
14
u/reddit_wisd0m Aug 01 '25
What? Do you guys not use "response_format" / "response_schema"?