Skip to content

Commit f7c28b2

Browse files
committed
Stop using search_filters till they are supported
1 parent 7d5db7f commit f7c28b2

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

llmstack/processors/providers/promptly/datasource_search.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ def process(self) -> DataSourceSearchOutput:
103103
query=input_data.query,
104104
alpha=hybrid_semantic_search_ratio,
105105
limit=self._config.document_limit,
106-
search_filters=self._config.search_filters,
107106
use_hybrid_search=True,
108107
)
109108
documents.extend(result)

llmstack/processors/providers/promptly/text_chat.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ def fetch_datasource_docs(datasource_uuid):
187187
)
188188
pipeline = datasource.create_data_query_pipeline()
189189
search_query = input["question"]
190-
search_filters = input["search_filters"]
191190
if (
192191
len(
193192
self._chat_history,
@@ -210,7 +209,6 @@ def fetch_datasource_docs(datasource_uuid):
210209
alpha=self._config.hybrid_semantic_search_ratio,
211210
query=search_query,
212211
limit=self._config.k,
213-
search_filters=search_filters,
214212
)
215213
except Exception as e:
216214
logger.error(

0 commit comments

Comments
 (0)