rjurney
12/19/2025, 6:24 PMrjurney
12/19/2025, 6:33 PMgreg (BAML)
12/19/2025, 7:03 PMtemplate_string and use those strings in tests. Would that solve your problem with the model file becoming too large? We also have a new cli flag that strips test code out of your generated baml_client: baml-cli generate --no-tests. In case it's useful.
What would the ideal data-loading interface be, for you?rjurney
12/19/2025, 7:53 PMgreg (BAML)
12/19/2025, 10:21 PMtest Foo {
functions [Bar]
args {
my_long_string File(../fixtures/my_file.txt)
}
}greg (BAML)
12/19/2025, 10:23 PM$ cat my_tests.csv
function | args
Foo | { my_long_string: "lalala" }
$ baml-cli test --input-data my_tests.csv
We are considering something like the latter, to improve prompt opmitization?greg (BAML)
12/19/2025, 10:24 PMrjurney
12/20/2025, 9:33 PMrjurney
12/20/2025, 9:33 PMrjurney
12/20/2025, 9:33 PMgreg (BAML)
12/21/2025, 4:43 AMrjurney
12/22/2025, 8:20 AMPerryman
12/24/2025, 12:07 AM