Check out the starter repository: https://github.com/BoundaryML/baml-examples/tree/main/ruby-starter
Installation Steps
Install BAML VSCode Extension
Install the extension from: https://marketplace.visualstudio.com/items?itemName=boundary.baml-extensionFeatures include:
- Syntax highlighting
- Testing playground
- Prompt previews
Generate Ruby Code
Generate the Ruby client from your This creates a type-safe Ruby module interface to every BAML function. Any types defined in
.baml files:.baml files will be converted into Ruby classes.