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

added support for weaviate vector databse #493

Closed pranaychandekar closed 1 year ago

sre-ci-robot commented 1 year ago

Welcome @pranaychandekar! It looks like this is your first PR to zilliztech/GPTCache πŸŽ‰

pranaychandekar commented 1 year ago

@cxie @SimFG All the methods of Weaviate vector class in weaviate.py is tested with a dev installation inside a docker container. They are working as expected. Eager to get this released as soon as possible.

codecov[bot] commented 1 year ago

Codecov Report

Merging #493 (0c1eebd) into dev (bd152a7) will increase coverage by 0.12%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/zilliztech/GPTCache/pull/493/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/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) ```diff @@ Coverage Diff @@ ## dev #493 +/- ## ========================================== + Coverage 94.07% 94.20% +0.12% ========================================== Files 93 94 +1 Lines 3817 3898 +81 ========================================== + Hits 3591 3672 +81 Misses 226 226 ``` | [Impacted Files](https://app.codecov.io/gh/zilliztech/GPTCache/pull/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech) | Coverage Ξ” | | |---|---|---| | [gptcache/manager/vector\_data/manager.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvbWFuYWdlci92ZWN0b3JfZGF0YS9tYW5hZ2VyLnB5) | `99.19% <100.00%> (+0.10%)` | :arrow_up: | | [gptcache/manager/vector\_data/weaviate.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvbWFuYWdlci92ZWN0b3JfZGF0YS93ZWF2aWF0ZS5weQ==) | `100.00% <100.00%> (ΓΈ)` | | | [gptcache/utils/\_\_init\_\_.py](https://app.codecov.io/gh/zilliztech/GPTCache/pull/493?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=zilliztech#diff-Z3B0Y2FjaGUvdXRpbHMvX19pbml0X18ucHk=) | `89.34% <100.00%> (+0.17%)` | :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: pranaychandekar, 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
pranaychandekar commented 1 year ago

Hi @SimFG

Thanks for merging this. Assuming that this would come in next release, when can we expect the next release?

SimFG commented 1 year ago

@pranaychandekar maybe tomorrow πŸ˜†

pranaychandekar commented 1 year ago

Thanks a lot @SimFG . Team GPTCache is awesome!

pranaychandekar commented 1 year ago

@hsm207 Now we have what you requested for in #340

SimFG commented 11 months ago

@pranaychandekar the weaviate unit test can't work. if you have a free time, please help to fix it