Skip to content

0.54.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Aug 08:21
· 287 commits to canary since this release
2c2ef92

0.54.0 - 2024-08-27

BREAKING CHANGE

  • Update Default Gemini Base URL to v1beta (#891) - (a5d8c58) - gleed

The default base URL for the Gemini provider has been updated to v1beta. This change is should have no impact on existing users as v1beta is the default version for the Gemini python library, we are mirroring this change in BAML.

Bug Fixes

  • Allow promptfiddle to talk to localhost ollama (#886) - (5f02b2a) - Samuel Lijin
  • Update Parser for unions so they handle nested objects better (#900) - (c5b9a75) - hellovai

Documentation

  • Add ollama to default prompt fiddle example (#888) - (49146c0) - Samuel Lijin
  • Adding improved docs + unit tests for caching (#895) - (ff7be44) - hellovai

Features

  • Allow local filepaths to be used in tests in BAML files (image and audio) (#871) - (fa6dc03) - Samuel Lijin
  • Add support for absolute file paths in the file specifier (#881) - (fcd189e) - hellovai
  • Implement shorthand clients (You can now use "openai/gpt-4o" as short for creating a complete client.) (#879) - (ddd15c9) - Samuel Lijin
  • Add support for arbritrary metadata (e.g. cache_policy for anthropic) (#893) - (0d63a70) - hellovai
  • Expose Exceptions to user code: BamlError, BamlInvalidArgumentError, BamlClientError, BamlClientHttpError, BamlValidationError (#770) - (7da14c4) - hellovai

Internal

  • AST Restructuring (#857) - (75b51cb) - Anish Palakurthi