Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 555 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 555 Bytes

CleverBird

CleverBird is a Swift Package that provides a convenient way to interact with OpenAI's GPT-4 API and perform various tasks, including token counting and encoding. The package mainly focuses on the OpenAIClient and TokenEncoder classes.

Features

  • Asynchronous API calls with Swift's async/await syntax
  • Supports token counting and encoding with the TokenEncoder class
  • Allows customization of various parameters, such as temperature and penalties
  • Easily adjustable to support future changes or additional OpenAI API endpoints