Skip to content

Releases: Lambdua/openai4j

0.22.8

10 Dec 07:02
Compare
Choose a tag to compare

What's Changed

  • Remove TikTokensUtil, the OpenAI API supports more accurate token consumption output
  • Optimization of MessageRequestBuilder, more convenient assistant message creation
  • The builder method now throws the correct exception after checking for errors

0.22.7

29 Nov 08:26
Compare
Choose a tag to compare

What's Changed

Other Changes

Full Changelog: 0.22.6...0.22.7

0.22.6

22 Nov 02:08
Compare
Choose a tag to compare

What's Changed

Other Changes

  • make strict work for function definition by @terryyin in #74

New Contributors

Full Changelog: 0.22.5...0.22.6

0.22.5

08 Nov 01:21
5e2814a
Compare
Choose a tag to compare

What's Changed

Other Changes

  • 新增 ChatMessageAccumulatorWrapper,以便于能够在使用chatCompletion时使用原始 chunk 数据… by @big-mouth-cn in #70
  • Batch 部分属性由Integer改为Long,可以兼容智谱清言的批处理返回对象。 by @fastjrun in #72
  • chat completion api support new model: gpt-4o-audio-preview by @big-mouth-cn in #71

New Contributors

Full Changelog: 0.22.4...0.22.5

v0.22.4

21 Oct 01:31
Compare
Choose a tag to compare
  • 新增 ChatMessageAccumulatorWrapper,以便于能够在使用chatCompletion时使用原始 chunk 数据 #70 @big-mouth-cn

Full Changelog: 0.22.3...0.22.4

0.22.3

08 Oct 01:12
Compare
Choose a tag to compare

What's Changed

Other Changes

  • add ToolCallFileSearch class to hold the file search results by @nobodyiam in #68

New Contributors

Full Changelog: 0.22.2...0.22.3

0.22.2

19 Sep 03:38
Compare
Choose a tag to compare

What's Changed

Other Changes

  • bug: StreamOption.includeUsage = true causes OpenAiService.mapStreamT… by @Lambdua in #64
  • feat: 更新文件搜索工具类及测试用例 #61 by @Lambdua in #65

Full Changelog: 0.22.1...0.22.2

0.22.1

15 Aug 07:38
Compare
Choose a tag to compare
  • 更友好的本地图片创建userMessage. #58
  • 支持assistant 新的event: thread.run.incomplete #59

0.22.0

14 Aug 05:07
Compare
Choose a tag to compare

What's Changed

Other Changes

  • 修复ChatMessag role字段重复问题 by @funs690 in #56
  • Basic support for structured outputs by @bertilmuth in #57 #54
  • refusal field in assistant message support #53
  • tool call support strict field #55

New Contributors

Full Changelog: 0.21.3...0.22.0

0.21.3

30 Jul 09:49
Compare
Choose a tag to compare

#52 反序列化失败: response_format fixed