zilliztech / GPTCache

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

Add sequence match evaluation. #420

Closed wxywb closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #420 (3196cb9) into dev (470f044) will increase coverage by 0.00%. The diff coverage is 93.93%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420/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/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) ```diff @@ Coverage Diff @@ ## dev #420 +/- ## ======================================= Coverage 94.22% 94.23% ======================================= Files 86 87 +1 Lines 3032 3105 +73 ======================================= + Hits 2857 2926 +69 - Misses 175 179 +4 ``` | [Impacted Files](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) | Coverage Δ | | |---|---|---| | [gptcache/similarity\_evaluation/sequence\_match.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvc2ltaWxhcml0eV9ldmFsdWF0aW9uL3NlcXVlbmNlX21hdGNoLnB5) | `90.00% <90.00%> (ø)` | | | [gptcache/adapter/api.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvYWRhcHRlci9hcGkucHk=) | `98.51% <100.00%> (+0.02%)` | :arrow_up: | | [gptcache/config.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvY29uZmlnLnB5) | `100.00% <100.00%> (ø)` | | | [gptcache/processor/pre.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvcHJvY2Vzc29yL3ByZS5weQ==) | `95.23% <100.00%> (+1.12%)` | :arrow_up: | | [gptcache/similarity\_evaluation/\_\_init\_\_.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvc2ltaWxhcml0eV9ldmFsdWF0aW9uL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/zilliztech/GPTCache/pull/420/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech)
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: SimFG, wxywb

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