github zilliztech/GPTCache 0.1.27
v0.1.27

latest releases: 0.1.43, 0.1.42, 0.1.41...
12 months ago

🎉 Introduction to new functions of GPTCache

  1. Support the uform embedding, which can be used the bilingual (english + chinese) language

thanks @ashvardanian 's contribution

from gptcache.embedding import UForm

test_sentence = 'Hello, world.'
encoder = UForm(model='unum-cloud/uform-vl-english')
embed = encoder.to_embeddings(test_sentence)

test_sentence = '什么是Github'
encoder = UForm(model='unum-cloud/uform-vl-multilingual')
embed = encoder.to_embeddings(test_sentence)

What's Changed

  • Fix the wrong LangChainChat comment by @SimFG in #381
  • Add UForm multi-modal embedding by @SimFG in #382
  • Support to config the cache storage data size by @SimFG in #383
  • Update the protobuf version in the doc by @SimFG in #387
  • Update the version to 0.1.27 by @SimFG in #389

Full Changelog: 0.1.26...0.1.27

Don't miss a new GPTCache release

NewReleases is sending notifications on new releases.