Skip to content

Releases: WhiteMagic2014/gpt-magic

v1.12.3

05 Nov 08:29
Compare
Choose a tag to compare
  • 1.12.3
  • Updated: The CreateChatCompletionRequest to support Predicted Outputs. Audio input and output.

v1.12.2

09 Oct 06:35
Compare
Choose a tag to compare

Update: CreateChatCompletionRequest add new param store . Whether or not to store the output of this chat completion request for use in our model distillation or evals products.

v1.12.1

13 Sep 02:48
Compare
Choose a tag to compare

1.12.1

  • New: gpt_o1 models have been added to the GptModel.class

v1.12.0

05 Aug 09:50
Compare
Choose a tag to compare

1.11.0

19 Jul 06:53
Compare
Choose a tag to compare
  • New: Two new models, gpt_4o_mini and gpt_4o_mini_0718, have been added to the GptModel.class
  • New: Support Uploads APIs

v1.10.4

13 Jun 02:58
Compare
Choose a tag to compare

1.10.4

  • Update: DefaultGptHttpUtil Class Changed to Singleton Pattern
Old
DefaultGptHttpUtil util = new DefaultGptHttpUtil();
New
DefaultGptHttpUtil util = DefaultGptHttpUtil.getInstance();

Old
DefaultGptHttpUtil util = new DefaultGptHttpUtil(true, 20000, 50000);
New
DefaultGptHttpUtil util = DefaultGptHttpUtil.getInstance();
util.init(true, 20000, 50000);

Additional Notes

  • This change ensures that DefaultGptHttpUtil has only one instance throughout the application lifecycle, thereby
    reducing memory usage and potential thread safety issues.
  • The init method provides flexibility to set the instance parameters, but it should be called before the first use of
    the DefaultGptHttpUtil instance.

v1.10.3

07 Jun 08:52
Compare
Choose a tag to compare

1.10.3

  • Fixed Bug:Fixed a bug where CreateChatCompletionRequest, CreateRunRequest, and CreateThreadAndRunRequest could not be
    properly requested when tools were not provided.

v1.10.1

05 Jun 02:56
Compare
Choose a tag to compare

1.10.1

v1.10.0

24 May 11:07
Compare
Choose a tag to compare

1.10.0

  • Update: Updated All Assistant-related APIs from version v1 to v2 (Assistant, Thread, Message, Run).
  • Update: Updated RetrievalTool to FileSearchTool to adapt to the v2 version of Assistant.
  • New: Added all APIs related to VectorStore required by
    Assistant (VectorStores,VectorStoreFiles,VectorStoreFileBatches).
  • Update: Updated CreateChatCompletionRequest to sync with the latest official version (now supports seed, if specified,
    our
    system will make a best effort to sample deterministically. In stream mode, it supports returning usage, etc.).
  • Update: Updated RequestUtil utility class with a new method streamRequestV3, which supports using tool, usage,
    multiple
    choices return, logprob parameters, etc., in CreateChatCompletion in stream mode. This method can almost perfectly
    convert the chunk object returned by CreateChatCompletionRequest into ChatCompletion.

v1.9.7

15 May 08:10
Compare
Choose a tag to compare

1.9.7

  • Update: Enhanced the GptModel and removed some models that are no longer in use.
  • New: Support Batch Apis
  • Update: All POJOs have implemented the Serializable interface.
  • Optimize: The assignment method for the purpose field in UploadFileRequest has been optimized.
  • Update: In RetrieveFileContentRequest, the send method is no longer recommended. Instead, use the sendForContent method to directly obtain the file content.