Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support caching of async completion and cache completion #513

Merged
merged 14 commits into from
Sep 5, 2023

Conversation

Rested
Copy link
Contributor

@Rested Rested commented Aug 12, 2023

#415 addresses some of the comments here

@sre-ci-robot
Copy link
Collaborator

Welcome @Rested! It looks like this is your first PR to zilliztech/GPTCache 🎉

@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Merging #513 (6fc861e) into dev (a3328f2) will decrease coverage by 0.96%.
Report is 13 commits behind head on dev.
The diff coverage is 31.37%.

❗ Current head 6fc861e differs from pull request most recent head 69f8378. Consider uploading reports for the commit 69f8378 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #513      +/-   ##
==========================================
- Coverage   94.20%   93.24%   -0.96%     
==========================================
  Files          94       94              
  Lines        3898     3967      +69     
==========================================
+ Hits         3672     3699      +27     
- Misses        226      268      +42     
Files Changed Coverage Δ
gptcache/adapter/openai.py 80.95% <29.16%> (-13.68%) ⬇️
gptcache/adapter/adapter.py 87.71% <66.66%> (-0.34%) ⬇️

... and 7 files with indirect coverage changes

@SimFG SimFG changed the base branch from main to dev August 12, 2023 03:52
@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Rested
To complete the pull request process, please assign xiaofan-luan after the PR has been reviewed.
You can assign the PR to them by writing /assign @xiaofan-luan in a comment when ready.

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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot added needs-dco and removed dco-passed labels Aug 16, 2023
SimFG and others added 9 commits August 16, 2023 03:53
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
* added support for weaviate vector databse

Signed-off-by: pranaychandekar <pranayc6@gmail.com>

* added support for in local db for weaviate vector store

Signed-off-by: pranaychandekar <pranayc6@gmail.com>

* added unit test case for weaviate vector store

Signed-off-by: pranaychandekar <pranayc6@gmail.com>

* resolved unit test case error for weaviate vector store

Signed-off-by: pranaychandekar <pranayc6@gmail.com>

* increased code coverage
resolved pylint issues

pylint: disabled C0413

Signed-off-by: pranaychandekar <pranayc6@gmail.com>

---------

Signed-off-by: pranaychandekar <pranayc6@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
@SimFG
Copy link
Collaborator

SimFG commented Aug 16, 2023

Thank you for your patience with this pr

Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
Signed-off-by: Reuben Thomas-Davis <reubenestd@gmail.com>
@Rested
Copy link
Contributor Author

Rested commented Aug 18, 2023

Not sure what's up with the last ci fail

@SimFG SimFG merged commit d19bf74 into zilliztech:dev Sep 5, 2023
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants