v0.1.25
🎉 Introduction to new functions of GPTCache
- Support the DocArray vector database
from gptcache.manager import manager_factory
data_manager = manager_factory("sqlite,docarray")
- Add rwkv model for embedding
from gptcache.embedding import Rwkv
test_sentence = 'Hello, world.'
encoder = Rwkv(model='sgugger/rwkv-430M-pile')
embed = encoder.to_embeddings(test_sentence)
What's Changed
- [skip ci]Add workflow to publish release image by @Bennu-Li in #345
- Update the doc directory by @SimFG in #348
- Add the docker image doc by @SimFG in #349
- DocArray as a vectorstore by @jupyterjazz in #351
- Fix the doc generation failure by @SimFG in #352
- Replace base image and simplify dockerfile by @Chiiizzzy in #353
- Example with DocArray by @jupyterjazz in #354
- Add comments for session by @shiyu22 in #355
- DocArray example adjustment by @jupyterjazz in #356
- Improve the generation doc script by @SimFG in #358
- Change the model test cases as L2 cases by @SimFG in #362
- Add concat_context. by @wxywb in #365
- Add the pre/report/session docs by @SimFG in #364
- Add rwkv model for embedding. by @wxywb in #363
- Update the version to
0.1.25
by @SimFG in #367
New Contributors
- @jupyterjazz made their first contribution in #351
Full Changelog: 0.1.24...0.1.25