zilliztech / GPTCache

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

Bugfix/#486: provide redis_connection for creating all Object Models #487

Closed a9raag closed 1 year ago

a9raag commented 1 year ago

Bug fix for the issue

codecov[bot] commented 1 year ago

Codecov Report

Merging #487 (fd747f3) into dev (42ac9b9) will increase coverage by 0.01%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/zilliztech/GPTCache/pull/487/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/487?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) ```diff @@ Coverage Diff @@ ## dev #487 +/- ## ========================================== + Coverage 94.06% 94.07% +0.01% ========================================== Files 93 93 Lines 3810 3817 +7 ========================================== + Hits 3584 3591 +7 Misses 226 226 ``` | [Impacted Files](https://app.codecov.io/gh/zilliztech/GPTCache/pull/487?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/redis\_storage.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/487?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvbWFuYWdlci9zY2FsYXJfZGF0YS9yZWRpc19zdG9yYWdlLnB5) | `97.63% <100.00%> (+0.10%)` | :arrow_up: |
SimFG commented 1 year ago

/lgtm /approve

sre-ci-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: a9raag, SimFG

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

The pull request process is described here

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