zilliztech / GPTCache

Semantic cache for LLMs. Fully integrated with LangChain and llama_index.
https://gptcache.readthedocs.io
MIT License
7.18k stars 502 forks source link

[add] support for redis cache storage #465

Closed a9raag closed 1 year ago

sre-ci-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: a9raag To complete the pull request process, please assign xiaofan-luan after the PR has been reviewed. You can assign the PR to them by writing /assign @xiaofan-luan in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/zilliztech/GPTCache/blob/dev/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
codecov[bot] commented 1 year ago

Codecov Report

Merging #465 (30c28ee) into dev (34c11f0) will increase coverage by 0.08%. The diff coverage is 96.05%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/zilliztech/GPTCache/pull/465/graphs/tree.svg?width=650&height=150&src=pr&token=E30WxqBeJJ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech)](https://app.codecov.io/gh/zilliztech/GPTCache/pull/465?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) ```diff @@ Coverage Diff @@ ## dev #465 +/- ## ========================================== + Coverage 93.99% 94.08% +0.08% ========================================== Files 92 93 +1 Lines 3583 3735 +152 ========================================== + Hits 3368 3514 +146 - Misses 215 221 +6 ``` | [Impacted Files](https://app.codecov.io/gh/zilliztech/GPTCache/pull/465?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) | Coverage Δ | | |---|---|---| | [gptcache/manager/scalar\_data/manager.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/465?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvbWFuYWdlci9zY2FsYXJfZGF0YS9tYW5hZ2VyLnB5) | `83.33% <33.33%> (-7.15%)` | :arrow_down: | | [gptcache/manager/scalar\_data/redis\_storage.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/465?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvbWFuYWdlci9zY2FsYXJfZGF0YS9yZWRpc19zdG9yYWdlLnB5) | `97.29% <97.29%> (ø)` | | | [gptcache/utils/\_\_init\_\_.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/465?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvdXRpbHMvX19pbml0X18ucHk=) | `89.83% <100.00%> (+0.08%)` | :arrow_up: |