github zilliztech/GPTCache 0.1.18
v0.1.18

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

🎉 Introduction to new functions of GPTCache

  1. Add vqa bootcamp

reference: https://github.com/zilliztech/GPTCache/tree/main/docs/bootcamp/replicate

  1. Add two streamlit multimodal demos

reference: https://github.com/zilliztech/GPTCache/tree/main/docs/bootcamp/streamlit

  1. Add vit image embedding func
from gptcache.embedding import ViT

encoder = ViT(model="google/vit-base-patch16-384")
embed = encoder.to_embeddings(image)
  1. Add init_similar_cache func for the GPTCache api module
from gptcache.adapter.api import init_similar_cache

init_similar_cache("cache_data")
  1. The simple GPTCache server provides similar cache
  • clone the GPTCache repo, git clone https://github.com/zilliztech/GPTCache.git
  • install the gptcache model, pip install gptcache
  • run the GPTCache server, cd gptcache_server && python server.py

What's Changed

Full Changelog: 0.1.17...0.1.18

Don't miss a new GPTCache release

NewReleases is sending notifications on new releases.