vector-inspector 0.3.3__py3-none-any.whl → 0.3.5__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.
@@ -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 ...services.settings_service import SettingsService
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 ...services.settings_service import SettingsService
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 ...services.settings_service import SettingsService
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 ..components.loading_dialog import LoadingDialog
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 ..dialogs import ProviderTypeDialog, EmbeddingConfigDialog
503
- from ...services.settings_service import SettingsService
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: