You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
great idea. curious, how do you plan on dealing with API keys? the primary reason we didn't do this is because most folks have to add AI models to their backends anyways, so direct web integration felt like it wouldn't be practical.
Or is the idea, run BAML as a web-rest service, and then produce a JS client to talk to it
When developing locally I would give the frontend direct keys to the models. When deploying I'd either move the execution to the server or build a lightweight proxy to the LLM that would integrate with the frontend auth with something like a Supabase or Clerk JWT based session.
I'd like to call BAML directly from React client side components to enable rapid prototyping.
Example pseudocode:
The text was updated successfully, but these errors were encountered: