Skip to content

Commit

Permalink
- switch to hybrid mode and configure highlight_threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Jul 17, 2024
1 parent 458bfc6 commit 9e37461
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/assets/docsify-trieve-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@
},
body: JSON.stringify({
query: query,
search_type: "semantic",
search_type: "hybrid",
highlight_delimiters: [" "],
highlight_max_length: 100,
highlight_max_num: 2,
highlight_window: 20,
highlight_threshold: 0.9,
score_threshold: 0.05,
}),
signal: abortController.signal,
Expand Down

0 comments on commit 9e37461

Please sign in to comment.