Skip to content

Releases: betalgo/openai

6.6.1

27 Dec 13:10
ef696de
Compare
Choose a tag to compare
  • Breaking change.

    • EmbeddingCreateRequest.Input was a string list type now it is a string type.
      I have introduced InputAsList property instead of Input. You may need to update your code according the change.
      Both Input(string) and InputAsList(string list) avaliable for use
  • Added string and string List support for some of the propertis.

    • CompletionCreateRequest --> Prompt & PromptAsList / Stop & StopAsList
    • CreateModerationRequest --> Input & InputAsList
    • EmbeddingCreateRequest --> Input & InputAsList

6.6.0

27 Dec 13:11
00debca
Compare
Choose a tag to compare
  • Added support for new models (davinciv3 & edit models)
  • Added support for Edit endpoint.
  • (Warning: edit endpoint works with only some of the models, I couldn't find documentation about it, please follow the thread for more information: https://community.openai.com/t/is-edit-endpoint-documentation-incorrect/23361 )
  • Some objects were created as classes instead of records in the last version. I change them to record. This will be breaking changes for some of you.
  • With this version I think we cover all of openAI APIs
  • In the next version I will be focusing on code cleanup and refactoring.
  • If I don't need to release a bug-fix for this version also I will be updating the library with dotnet 7 in the next version as I promised.

6.5.0

27 Dec 13:12
3585100
Compare
Choose a tag to compare
  • OpenAI made a surprise release yesterday and they have announced DALL·E API. I needed to do other things but I couldn't resist. Because I was rushing, some methods and class names may will change in the next release. Until that day, enjoy your creative AI.
  • This library now fully support all DALL·E features.
  • I tried to complete Edit API too but unfortunately something was wrong with the documentation, I need to ask some questions in the community forum.

6.4.1

27 Dec 13:12
a2e9c31
Compare
Choose a tag to compare
  • Bug-fixes
    • FineTuneCreateRequest suffix json property name changed "Suffix" to "suffix"
    • CompletionCreateRequest user json property name changed "User" to "user" (Thanks to @shaneqld), also now it is a nullable string

6.4.0

27 Dec 13:13
db6cd71
Compare
Choose a tag to compare
  • I have good news and bad news
  • Moderation feature implementation is done. Now we support Moderation.
  • Updated some request and response models to catch up with changes in OpenAI API
  • New version has some breaking changes. Because we are in the fall season I needed to do some cleanup. Sorry for breaking changes but most of them are just renaming. I believe they can be solved before your coffee finish.
  • I am hoping to support Edit Feature in the next version.

6.3.0

27 Dec 13:14
e5a6424
Compare
Choose a tag to compare
  • Thanks to @c-d and @sarilouis for their contributions to this version.
  • Now we support Embedding endpoint. Thanks to @sarilouis
  • Bug fixes and updates for Models
  • Code clean-up

6.2.0

27 Dec 13:14
8b02a8b
Compare
Choose a tag to compare

6.1.0

27 Dec 13:15
10be2ba
Compare
Choose a tag to compare
  • Organization id is not a required value anymore, Thanks to @samuelnygaard
  • Removed deprecated Engine Endpoint and replaced it with Models Endpoint. Now Model response has more fields.
  • Regarding OpenAI Engine naming, I had to rename Engine Enum and static fields. They are quite similar but you have to replace them with new ones. Please use Models class instead of Engine class.
  • To support fast engine name changing I have created a new Method, Models.ModelNameBuilder() you may consider using it.