Skip to content

Releases: tjardoo/openai-client

v0.4.8

15 May 14:35
Compare
Choose a tag to compare
  • Use serde rename_all snake_case #64 by @stintel
  • Use strum EnumString on audio/image structs #65 by @stintel
  • Add Batch API support #68
  • Replaced new_with_organization() with set_organization() on Client struct
  • Add project ID header support via set_project() on Client struct
  • Removed older (date-versioned) OpenAI models to promote use of aliases
  • Added gpt-4o model support
  • Fixed issue InvalidRequestError on Fine-tuning endpoints
  • Added new fields to stay up-to-date with https://platform.openai.com/docs/changelog (excluding Assistants API)

v0.4.7

24 Apr 09:17
Compare
Choose a tag to compare
  • Add AudioTranscriptionFile enum #62 by @stintel
  • Add EndTurn option to FinishReason for Claude support #61 by @fastfists
  • Add missing fields to Fine-tuning and Runs #63
  • Add support for new GPT-4 models

v0.4.6

03 Apr 06:07
Compare
Choose a tag to compare
  • Fix no pagination tokens when empty list of messages on create thread #59 by @perobertson
  • Add derive 'serialize' to APIError struct #60 by @perobertson
  • Added pcm audio response format
  • Updated dependencies

v0.4.5

12 Feb 11:23
Compare
Choose a tag to compare
  • Always rename FinishReason #57 by @stintel
  • Fix embeddings for encoding type base64 #58
  • Add timestamp_granularities field to AudioTranscriptionParameters struct
  • Add instance_id field to ChatCompletionParameters struct
  • Add usage field to Run struct

v0.4.4

02 Feb 14:23
Compare
Choose a tag to compare
  • Add organization header support #52
  • Drop v1::endpoints::chat::StreamChatCompletionParameters #53 by @stintel
  • Add OpenRouter API interface compliance #55 by @skeptrunedev

v0.4.3

26 Jan 14:36
Compare
Choose a tag to compare
  • Update EmbeddingParameters to support multiple input types + add new dimensions field #51
  • Add new GPT 3.4, GPT 4, embedding and moderation models introduced in Jan. 24

v0.4.2

23 Jan 13:25
Compare
Choose a tag to compare
  • Add support for OpenRouter by making index field optional #50 by @densumesh

v0.4.1

18 Jan 15:23
Compare
Choose a tag to compare

v0.4.0

17 Jan 14:56
Compare
Choose a tag to compare
  • Created ChatMessageContent struct to support image_url in chat endpoint #46
  • Add logprobs + seed fields to ChatCompletionParameters #44
  • Add audio/create-speech stream support #45
  • Add GH workflow cargo fmt check #48

v0.3.7

22 Dec 16:04
Compare
Choose a tag to compare
  • Update Run struct - change name to required_action and correct type submit_tool_outputs #42 by @sjud
  • Update ImageResponse struct to support dall-e-3 #43