zilliztech / GPTCache

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

Update weaviate installation to check for weaviate pkg instead of… #560

Open amrit2cisco opened 9 months ago

amrit2cisco commented 9 months ago

weaviate-client won't be found by importlib.util.find_spec, should be searching for weaviate to check dependency installation instead

Signed-off-by: Amrit Singh amrit2@cisco.com

amrit2cisco commented 9 months ago

/assign @cxie

sre-ci-robot commented 9 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: amrit2cisco To complete the pull request process, please ask for approval from cxie after the PR has been reviewed.

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

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/zilliztech/GPTCache/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment