Skip to content

v0.1.13

Compare
Choose a tag to compare
@SimFG SimFG released this 17 Apr 16:45
· 220 commits to main since this release
4dddcf0

🎉 Introduction to new functions of GPTCache

  1. Add openai audio adapter (experimental)
cache.init(pre_embedding_func=get_file_bytes)

openai.Audio.transcribe(
    model="whisper-1",
    file=audio_file
)
  1. Improve data eviction implementation

In the future, users will have greater flexibility to customize eviction methods, such as by using Redis or Memcached. Currently, the default caching library is cachetools, which provides an in-memory cache. Other libraries are not currently supported, but may be added in the future.

What's Changed

Full Changelog: 0.1.12...0.1.13