Skip to content

v1.0.3

Latest

Choose a tag to compare

@SunnyBe SunnyBe released this 06 Jan 15:20
· 1 commit to main since this release

Added

  • Customizable Analysis Response: Introduced a major new feature allowing clients to define their own data structure for the analysis result.
    • Added a new generic method, newCustomAudioReviewer<T>(), which takes a client-defined data class (Class<T>) and returns a VoiceReviewer<T>.
    • Introduced the @FieldDescription annotation, which allows clients to describe the fields in their custom data class. These descriptions are used to dynamically generate a precise prompt for the AI, ensuring an accurate and structured JSON response.

Changed

  • The core AnalysisEngine and VoiceReviewer interfaces are now generic (AnalysisEngine<T>, VoiceReviewer<T>) to support the new customizable analysis feature.
  • The VoiceReviewState.Success class is now also generic (Success<T>) and will contain the client-defined data model upon a successful analysis.

Full Changelog: 1.0.2...1.0.3