zilliztech / GPTCache

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

Fix the wrong LangChainChat comment #381

Closed SimFG closed 1 year ago

sre-ci-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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
codecov[bot] commented 1 year ago

Codecov Report

Merging #381 (02e4e32) into dev (a2b7466) will increase coverage by 0.02%. The diff coverage is 96.07%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381/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/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) ```diff @@ Coverage Diff @@ ## dev #381 +/- ## ========================================== + Coverage 93.97% 93.99% +0.02% ========================================== Files 79 80 +1 Lines 2654 2698 +44 ========================================== + Hits 2494 2536 +42 - Misses 160 162 +2 ``` | [Impacted Files](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) | Coverage Δ | | |---|---|---| | [gptcache/adapter/langchain\_models.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvYWRhcHRlci9sYW5nY2hhaW5fbW9kZWxzLnB5) | `91.66% <ø> (ø)` | | | [gptcache/processor/pre.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvcHJvY2Vzc29yL3ByZS5weQ==) | `97.50% <50.00%> (-2.50%)` | :arrow_down: | | [gptcache/embedding/paddlenlp.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvZW1iZWRkaW5nL3BhZGRsZW5scC5weQ==) | `96.87% <96.87%> (ø)` | | | [gptcache/adapter/api.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvYWRhcHRlci9hcGkucHk=) | `98.13% <100.00%> (+0.03%)` | :arrow_up: | | [gptcache/adapter/stability\_sdk.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvYWRhcHRlci9zdGFiaWxpdHlfc2RrLnB5) | `93.44% <100.00%> (ø)` | | | [gptcache/embedding/\_\_init\_\_.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvZW1iZWRkaW5nL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [gptcache/utils/\_\_init\_\_.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/381?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvdXRpbHMvX19pbml0X18ucHk=) | `90.09% <100.00%> (+0.51%)` | :arrow_up: |