FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

Add a test for checking the format of the LLM output #93

Closed dearden closed 1 month ago

dearden commented 2 months ago

Overview

It might be useful to have an automated test that checks if the output of the LLM is in the format we want.

This would involve checking that it's a list and that it has rows that are dictionaries, and that those dictionaries have the right keys. Stuff like that.

Might be redundant because other tests will fail anyway if the format is wrong, but it would mean we could quickly see if that's why they're failing.

Requirements