github zilliztech/GPTCache 0.1.15
v0.1.15

latest releases: 0.1.44, 0.1.43, 0.1.42...
19 months ago

🎉 Introduction to new functions of GPTCache

  1. Add GPTCache api, makes it easier to access other different llm models and applications
from gptcache.adapter.api import put, get
from gptcache.processor.pre import get_prompt
from gptcache import cache

cache.init(pre_embedding_func=get_prompt)
put("hello", "foo")
print(get("hello"))
  1. Add image generation bootcamp, link: https://github.com/zilliztech/GPTCache/blob/main/docs/bootcamp/openai/image_generation.ipynb

What's Changed

  • Update kreciprocal docstring for updated data store interface. by @wxywb in #225
  • Add docstring for openai by @shiyu22 in #229
  • Add GPTCache api, makes it easier to access other different llm mod… by @SimFG in #227
  • Avoid Pillow installation for openai chat by @jaelgu in #230
  • Add image generation bootcamp by @shiyu22 in #231
  • Update docstring for similarity evaluation. by @wxywb in #232
  • Reorganized the __init__ file in the gptcache dir by @SimFG in #233
  • Update the version to 0.1.15 by @SimFG in #236

Full Changelog: 0.1.14...0.1.15

Don't miss a new GPTCache release

NewReleases is sending notifications on new releases.