https://www.boundaryml.com logo
🟑 Request for Supporting External Test Case Files...
# questions
c
Hello all πŸ™‚ I understand BAML currently doesn' t support loading test cases from an external file (e.g.
test_cases.json
), and rather each test case is defined as a
test
inside
.baml
files. I'm under the impression that is an important feature to make BAML a complete eval suite core – to currently load test cases from files, one needs to implement the eval suite logic in some other language, and importing the BAML functions, as shown on the
Evals Evals Evals
episode of AI that works. Is it a plan to support this at some point? Thanks!!
v
Hi Caio! You’re definitely spot on about how important file access is for these workflows. We are working on stuff to make this kind of thing (and conditionals, and shared parameters) much easier to do! File access such as sys calls are just hard to model / design so it’s going to take a bit to wrap it all there. To give you a good time estimate, would be very surprised if we had them before Dec 2025, but also very surprised if we didn’t have it March 2026.
Hope that helps!
For now the workaround is sadly to use pytest (or any host languages native testing mechanism ) for large eval suites
c
Clear as day @Vaibhav (BAML πŸ‘) ! Thanks for the fast and complete response. Congratulations on the BAML project, it has definitely resonated a lot with me. My main concerns in pushing its adoption in my org right now are compat w/ observability tooling (we use OSS arize phoenix) and native large eval suite features e.g. file access for test cases. I'll keep tabs on the project, happy to join this community πŸ™‚