🎉 Introduction to new functions of GPTCache
- Add openai audio adapter (experimental)
cache.init(pre_embedding_func=get_file_bytes)
openai.Audio.transcribe(
model="whisper-1",
file=audio_file
)
- 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
- Add openai audio adapter by @shiyu22 in #220
- Improve data eviction implementation by @SimFG in #221
- Update the version to
0.1.13
by @SimFG in #222
Full Changelog: 0.1.12...0.1.13