https://www.boundaryml.com logo
Hey all, I know Boundary has plans for
# general
s
Hey all, I know Boundary has plans for an evals feature (yes?) but until then, what have folks liked using? Anything that works particularly well with BAML and doesn't require basically copying the constructed prompts?
v
the new studio should have this already 🙂
i.e. in particular the ability to turn observations in prod into test cases
we will be releasing an export API shortly as well!
that said, i know some folks use a host of solutions ranging from langfuse, keywords, or really anything with OTEL support.
the way to do it is use:
Copy code
my_collector = Collector('global')
tracked_b = b.with_options(my_collector)
Then you just use this instead:
Copy code
tracked_b.MyFunction(..)
on a seperate thread, you can basically track every event BAML fires off attached and send OTEL equivalent events to any platform. Happy to share how with some sample code if you'd like
s
So, e.g. we are looking at PromptLayer & Phoenix, but they seem to want to own the prompt, thought PromptLayer at least does seem to consume OTEL
v
interesting! is there stuff you're particularly intereted in from a featureset btw?
s
Well, if I had my way, I'd want something that basically takes a list of BAML functions, and a corpus of data, and maybe a list of client/models and shows me the matrix in some UI or at least dumps out a spreadsheet.
v
s
I could hack this by making a template that's just
{{ content }}
or something and then dump the entire rendered prompt into it
v
so i think the export API may be what you're looking for. if you're on Office hours can give you a quick tour and see if it would solve your problem so you can go back to hackin 🙂
s
I've got meetings through 12:30 but if ya'll will still be around then I'll drop in
v
i'll be around, just drop me a message on this thread!
s
Here
@Vaibhav (BAML 🐑) I should say
b
could you do a recording. Phoenix would be sufficient with the prompt etc. for a client project of mine. @Vaibhav (BAML 🐑)