zurawiki / tiktoken-rs

Ready-made tokenizer library for working with GPT and tiktoken
MIT License
240 stars 47 forks source link

chore(deps): update async-openai requirement from 0.14.2 to 0.15.0 #44

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Updates the requirements on async-openai to permit the latest version.

Release notes

Sourced from async-openai's releases.

v0.15.0

New

  • added : Use secrecy crate to store api_key : Secret<String> in configs #114 by @​ironman5366
  • added: Derive Copy for enums: ImageSize, ResponseFormat, TextModerationModel, Role, and AudioResponseFormat #117 by @​m1guelpf
  • added: Expose config getter in Client #123 by @​Czechh
  • updated: Enum type for finish_reason to match latest spec for chat completions API #111 by @​retrage
  • updated: ChatCompletionFunctionCall enum for better DX #118 by @​m1guelpf

Updates from latest upstream spec 2.0.0

Chat & Completion:

  • use enums FinishReason & CompletionFinishReason for finish_reason instead of String
  • Rename struct Usage to CompletionUsage

Embeddings:

  • Add field encoding_format in CreateEmbeddingRequest

Files:

  • Update status_detail field type in OpenAIFile from object to String

Images:

  • Rename ImageData to Image to match spec
  • Rename ImageResponse to ImagesResponse to match spec

Moderations:

  • Add new fields in moderation request and response types.

Fine Tuning

  • Add new Fine Tuning APIs

Fine Tunes & Edit

  • Mark Edit and FineTunes to be deprecated

Doc comments

  • Update doc comments to match latest spec

Thank you

Thank you to the contributors (@​m1guelpf , @​Czechh ) and first time (@​ironman5366 , @​retrage ) contributors! 🎉

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 10 months ago

Superseded by #48.