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

refactor: use list_supported_models() from FastEmbed #501

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

Anush008
Copy link
Member

@Anush008 Anush008 commented Feb 21, 2024

Description

To be merged into the upgrade-fastembed-version branch. #493.

Updates qdrant_fastembed.py and async_qdrant_fastembed.py to use list_supported_models() from FastEmbed to set the SUPPORTED_MODELS value.

Resolves qdrant/fastembed#95.

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you installed pre-commit with pip3 install pre-commit and set up hooks with pre-commit install?

@Anush008 Anush008 requested review from joein and NirantK February 21, 2024 09:28
@Anush008 Anush008 force-pushed the list_supported_models branch from fd75dbd to f6392ab Compare February 21, 2024 09:30
@NirantK NirantK requested review from NirantK and removed request for NirantK February 21, 2024 09:43
@NirantK NirantK merged commit 0803fb5 into nirant/upgrade-fastembed-version Feb 21, 2024
5 of 10 checks passed
@NirantK NirantK deleted the list_supported_models branch February 21, 2024 19:02
joein pushed a commit that referenced this pull request Mar 2, 2024
joein pushed a commit that referenced this pull request Mar 4, 2024
joein added a commit that referenced this pull request Mar 5, 2024
* Update fastembed to v0.2.1

* chore(qdrant_fastembed.py): update DEFAULT_EMBEDDING_MODEL

* fix(fastembed integration): upgrade to latest version

* Prefer black over ruff

* Prefer black over ruff

* Remove hardcoded directory structure from Qdrant Client checks

* new: deprecate current default model, deprecate max token length, update fastembed

* fix: make embedding_model_name method sync

* fix: update poetry lock

* refactor: use list_supported_models() (#501)

* fix: fix fastembed check

* fix: fix fastembed class var assignment

* fix: remove fastembed deprecation from qdrant client (#524)

---------

Co-authored-by: George Panchuk <[email protected]>
Co-authored-by: Anush <[email protected]>
joein added a commit that referenced this pull request Mar 5, 2024
* Update fastembed to v0.2.1

* chore(qdrant_fastembed.py): update DEFAULT_EMBEDDING_MODEL

* fix(fastembed integration): upgrade to latest version

* Prefer black over ruff

* Prefer black over ruff

* Remove hardcoded directory structure from Qdrant Client checks

* new: deprecate current default model, deprecate max token length, update fastembed

* fix: make embedding_model_name method sync

* fix: update poetry lock

* refactor: use list_supported_models() (#501)

* fix: fix fastembed check

* fix: fix fastembed class var assignment

* fix: remove fastembed deprecation from qdrant client (#524)

---------

Co-authored-by: George Panchuk <[email protected]>
Co-authored-by: Anush <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants