Skip to content

Releases: softwaremill/sttp-openai

v0.3.2

25 Mar 11:21
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.3.1

18 Mar 09:11
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.3.0

12 Mar 11:50
3d0f6b3
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.2.6

09 Dec 11:10
c44d950
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.2.5

16 Oct 19:40
7336079
Compare
Choose a tag to compare

What’s Changed

v0.2.4

15 Oct 13:35
5648aaa
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.2.3

25 Sep 07:58
735fabc
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.2.2

04 Sep 15:29
c647b0b
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.2.1

26 Jul 18:38
3ce513d
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v0.2.0

21 May 08:52
Compare
Choose a tag to compare

Migration to OpenAI API v2

This release switches from OpenAI API v1 to v2, with some breaking changes.

Most notably:

  1. Tool and ToolCall no longer have a RetrievalTool case, it has been replaced with FileSearchTool. This affects some request and response bodies: ThreadRunRequestBody, ThreadRunResponseData, ChatBody, ChatRequestResponseData, AssistantsRequestBody, AssistantsResponseData and others.
  2. Responses returned in AssistantResponseData and ThreadRunResponseData no longer have the fileIds field. Instead, they now return toolResources.
  3. ThreadMessagesRequestBody and ThreadMessagesResponseData now use attachments instead of fieldIds.
  4. Following client methods have been removed: listThreadMessageFiles, createAssistantFile, listAssistantFiles, retrieveAssistantFile, deleteAssistantFile.
    Switch to the new Vector Stores API using: listVectorStores, retrieveVectorStore, createVectorStore, modifyVectorStore, deleteVectorStore createVectorStoreFile, listVectorStoreFiles, retrieveVectorStoreFile deleteVectorStoreFile

For more details and examples, see the migration guide here

Additional resources:

Currently sttp-openai does not support Vector Store File Batches.
If you would like to have this feature, please give it a :+1 here

Full documentation for current API can be found here

What’s Changed