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

Paddlenlp embedding support #377

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 #377 (638cd9e) into dev (a2b7466) will increase coverage by 0.05%. The diff coverage is 97.87%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/zilliztech/GPTCache/pull/377/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/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) ```diff @@ Coverage Diff @@ ## dev #377 +/- ## ========================================== + Coverage 93.97% 94.02% +0.05% ========================================== Files 79 80 +1 Lines 2654 2696 +42 ========================================== + Hits 2494 2535 +41 - Misses 160 161 +1 ``` | [Impacted Files](https://app.codecov.io/gh/zilliztech/GPTCache/pull/377?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) | Coverage Δ | | |---|---|---| | [gptcache/embedding/paddlenlp.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/377?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/377?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/377?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/377?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/377?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: |