Skip to content

Commit 27345eb

Browse files
committed
fix: remove passing of nl query params to general params
1 parent ca5ee0b commit 27345eb

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/SearchRequestAdapter.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -443,20 +443,6 @@ export class SearchRequestAdapter {
443443
typesenseSearchParams.vector_query = params.typesenseVectorQuery;
444444
}
445445

446-
// Natural language search parameters
447-
if (params.nl_query) {
448-
typesenseSearchParams.nl_query = params.nl_query;
449-
}
450-
if (params.nl_model_id) {
451-
typesenseSearchParams.nl_model_id = params.nl_model_id;
452-
}
453-
if (params.nl_query_debug) {
454-
typesenseSearchParams.nl_query_debug = params.nl_query_debug;
455-
}
456-
if (params.nl_query_prompt_cache_ttl) {
457-
typesenseSearchParams.nl_query_prompt_cache_ttl = params.nl_query_prompt_cache_ttl;
458-
}
459-
460446
// Allow for conditional disabling of overrides, for particular sort orders
461447
let sortByOption =
462448
this.configuration.collectionSpecificSortByOptions?.[adaptedCollectionName]?.[typesenseSearchParams["sort_by"]] ||

0 commit comments

Comments
 (0)