You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hindsight-docs/docs/developer/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,7 @@ If you need to switch from one extension to another:
145
145
|`HINDSIGHT_API_TEXT_SEARCH_EXTENSION`| Text search backend: `native`, `vchord`, `pg_textsearch`, `pgroonga`, or `pg_search`|`native`|
146
146
|`HINDSIGHT_API_TEXT_SEARCH_EXTENSION_NATIVE_LANGUAGE`| PostgreSQL text search dictionary used by the `native` backend (e.g. `english`, `french`, `simple`, `zhparser`) |`english`|
147
147
|`HINDSIGHT_API_TEXT_SEARCH_EXTENSION_PG_SEARCH_TOKENIZER`| ParadeDB `pg_search` tokenizer used when creating BM25 indexes. Empty uses ParadeDB's default tokenizer (`unicode_words`). | unset |
148
+
|`HINDSIGHT_API_BM25_MAX_QUERY_TERMS`| Optional cap on the number of terms in the native PostgreSQL BM25 `tsquery`. Long queries OR-join every normalized token, which can match too much of a large bank. `0` keeps the historical uncapped behavior; a positive value bounds only the `native` backend (other BM25 backends receive the raw query). |`0`|
148
149
|`HINDSIGHT_API_LLM_OUTPUT_LANGUAGE`| When set, forces every LLM-generated artifact (retain facts, consolidation observations, reflect responses) into this language. Free-form (e.g. `Spanish`, `Japanese`). | unset |
149
150
150
151
Hindsight supports five backends for BM25 keyword retrieval:
0 commit comments