Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BBC-Esq authored Oct 25, 2024
1 parent e18706c commit 40421b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui_tabs_settings_database_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self):
# Similarity Settings
similarity_value = self.database_config.get('similarity', '')
self.similarity_edit = QLineEdit()
self.similarity_edit.setPlaceholderText("Enter new similarity (0.0 - 1.0)...")
self.similarity_edit.setPlaceholderText("Similarity (0.0 - 1.0)...")
self.similarity_edit.setValidator(QDoubleValidator(0.0, 1.0, 4))
self.similarity_edit.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
self.similarity_edit.setToolTip(TOOLTIPS["SIMILARITY"])
Expand All @@ -61,7 +61,7 @@ def __init__(self):
# Contexts Settings
contexts_value = self.database_config.get('contexts', '')
self.contexts_edit = QLineEdit()
self.contexts_edit.setPlaceholderText("Enter new contexts (positive integer)...")
self.contexts_edit.setPlaceholderText("# Contexts to return...")
self.contexts_edit.setValidator(QIntValidator(1, 1000000))
self.contexts_edit.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
self.contexts_edit.setToolTip(TOOLTIPS["CONTEXTS"])
Expand All @@ -75,7 +75,7 @@ def __init__(self):

# Search Term Filter
self.search_term_edit = QLineEdit()
self.search_term_edit.setPlaceholderText("Enter new search term...")
self.search_term_edit.setPlaceholderText("Term to exclude...")
self.search_term_edit.setText(self.search_term)
self.search_term_edit.setToolTip(TOOLTIPS["SEARCH_TERM_FILTER"])
self.search_term_label = QLabel(f"Search Term Filter: {self.search_term}")
Expand Down

0 comments on commit 40421b2

Please sign in to comment.