Skip to content

Version 0.4.0

Compare
Choose a tag to compare
@peterbanda peterbanda released this 15 Jun 17:56
· 921 commits to master since this release
  • Function call support for the chat completion with a json output:
    • Function createChatFunCompletion introduced with functions defined by a new data holder FunctionSpec
    • To stay compatible with the standard createChatCompletion function the existing MessageSpec has not been changed
    • Important ⚠️: to harmonize (redundant) response classes, ChatMessage was replaced by the identical MessageSpec class
  • New gpt-3.5-turbo and gpt-4 models for the snapshot 0613 added to ModelId. Old models deprecated.
  • OpenAIService.close method declared with parentheses (thanks @phelps-sg).
  • Scala 2.12 bumped to 2.12.18 and Scala 2.13 to 2.13.11.
  • sbt version bumped to 1.9.0 (thanks @phelps-sg)
  • Command renamed to EndPoint and Tag renamed to Param.
  • OpenAIMultiServiceAdapter - ofRotationType deprecated in favor of a new name ofRoundRobinType
  • OpenAIMultiServiceAdapter - ofRandomAccessType deprecated in favor of ofRandomOrderType.