Skip to content

fix: Upsert from faiss-cache to DB#18

Open
nicoloesch wants to merge 2 commits into
mainfrom
17-upsert-faiss-cache
Open

fix: Upsert from faiss-cache to DB#18
nicoloesch wants to merge 2 commits into
mainfrom
17-upsert-faiss-cache

Conversation

@nicoloesch
Copy link
Copy Markdown
Collaborator

Description

faiss_cache.py: CacheMetadata.from_json utilised abstract base class IndexConfig, which cannot be instantiated.

Fix

  • Utilise already existing helper function index_config_from_index_type to populate the right index

Additional feature

  • Added progress bar for live update of upserting.

Notes

Closes #17

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.

faiss_cache.py: from_json() raises TypeError when calling IndexConfig.from_dict() on abstract class

1 participant