nodebb-plugin-search-agent 0.0.938 → 0.0.939
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-plugin-search-agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.939",
|
|
4
4
|
"description": "NodeBB plugin that adds a floating chat assistant to help users find relevant forum topics using TF-IDF text similarity",
|
|
5
5
|
"main": "library.js",
|
|
6
6
|
"author": "Racheli Bayfus",
|
|
@@ -373,8 +373,8 @@ async function search(query, limit = TOP_K) {
|
|
|
373
373
|
]);
|
|
374
374
|
|
|
375
375
|
const results = await oramaSearch(db, {
|
|
376
|
-
mode: 'hybrid',
|
|
377
|
-
|
|
376
|
+
// mode: 'hybrid',
|
|
377
|
+
query: expanded.term,
|
|
378
378
|
properties: SEARCH_PROPERTIES,
|
|
379
379
|
boost: FIELD_BOOSTS,
|
|
380
380
|
vector: {
|