v0.1.27
🎉 Introduction to new functions of GPTCache
- 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