vector-inspector 0.3.4__py3-none-any.whl → 0.3.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vector_inspector/core/connections/base_connection.py +86 -1
- vector_inspector/core/connections/chroma_connection.py +23 -3
- vector_inspector/core/connections/pgvector_connection.py +1100 -0
- vector_inspector/core/connections/pinecone_connection.py +24 -4
- vector_inspector/core/connections/qdrant_connection.py +224 -189
- vector_inspector/core/embedding_providers/provider_factory.py +33 -38
- vector_inspector/core/embedding_utils.py +2 -2
- vector_inspector/services/backup_restore_service.py +41 -33
- vector_inspector/ui/components/connection_manager_panel.py +96 -77
- vector_inspector/ui/components/profile_manager_panel.py +315 -121
- vector_inspector/ui/dialogs/embedding_config_dialog.py +79 -58
- vector_inspector/ui/main_window.py +22 -0
- vector_inspector/ui/views/connection_view.py +215 -116
- vector_inspector/ui/views/info_panel.py +6 -6
- vector_inspector/ui/views/metadata_view.py +466 -187
- {vector_inspector-0.3.4.dist-info → vector_inspector-0.3.6.dist-info}/METADATA +7 -6
- {vector_inspector-0.3.4.dist-info → vector_inspector-0.3.6.dist-info}/RECORD +19 -18
- {vector_inspector-0.3.4.dist-info → vector_inspector-0.3.6.dist-info}/WHEEL +0 -0
- {vector_inspector-0.3.4.dist-info → vector_inspector-0.3.6.dist-info}/entry_points.txt +0 -0
|
@@ -147,7 +147,7 @@ class InfoPanel(QWidget):
|
|
|
147
147
|
|
|
148
148
|
def _clear_embedding_model(self):
|
|
149
149
|
"""Clear the embedding model configuration for this collection (reset to autodetect)."""
|
|
150
|
-
from
|
|
150
|
+
from vector_inspector.services.settings_service import SettingsService
|
|
151
151
|
|
|
152
152
|
settings = SettingsService()
|
|
153
153
|
settings.remove_embedding_model(self.connection_id, self.current_collection)
|
|
@@ -161,7 +161,7 @@ class InfoPanel(QWidget):
|
|
|
161
161
|
|
|
162
162
|
def _update_clear_button_state(self):
|
|
163
163
|
"""Update the clear button state based on current configuration."""
|
|
164
|
-
from
|
|
164
|
+
from vector_inspector.services.settings_service import SettingsService
|
|
165
165
|
|
|
166
166
|
if not self.connection_id or not self.current_collection:
|
|
167
167
|
self.clear_embedding_btn.setEnabled(False)
|
|
@@ -445,7 +445,7 @@ class InfoPanel(QWidget):
|
|
|
445
445
|
|
|
446
446
|
def _update_embedding_model_display(self, collection_info: Dict[str, Any]):
|
|
447
447
|
"""Update the embedding model label based on current configuration."""
|
|
448
|
-
from
|
|
448
|
+
from vector_inspector.services.settings_service import SettingsService
|
|
449
449
|
|
|
450
450
|
# Check if stored in collection metadata
|
|
451
451
|
# Default: disable clear button
|
|
@@ -493,14 +493,14 @@ class InfoPanel(QWidget):
|
|
|
493
493
|
return
|
|
494
494
|
|
|
495
495
|
# Show loading immediately; preparing can touch DB/registry
|
|
496
|
-
from
|
|
496
|
+
from vector_inspector.ui.components.loading_dialog import LoadingDialog
|
|
497
497
|
|
|
498
498
|
loading = LoadingDialog("Preparing model configuration...", self)
|
|
499
499
|
loading.show_loading("Preparing model configuration...")
|
|
500
500
|
QApplication.processEvents()
|
|
501
501
|
|
|
502
|
-
from
|
|
503
|
-
from
|
|
502
|
+
from vector_inspector.ui.dialogs import ProviderTypeDialog, EmbeddingConfigDialog
|
|
503
|
+
from vector_inspector.services.settings_service import SettingsService
|
|
504
504
|
|
|
505
505
|
# Get current collection info
|
|
506
506
|
try:
|