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
docs(useTokenizer): fix circular TokenizerProps type link + migrate to models
- The `tokenizer` prop description linked to `TokenizerProps` as its
own type — a circular link that says nothing useful. Drop the
"of type" clause; the prop is just an object with a `tokenizerSource`.
- Migrate the two code snippets from the bare `ALL_MINILM_L6_V2`
constant to `models.text_embedding.all_minilm_l6_v2()`, matching
the rest of the migrated docs.
`useTokenizer` takes [`TokenizerProps`](../../06-api-reference/interfaces/TokenizerProps.md) that consists of:
54
56
55
-
-`tokenizer`of type [`TokenizerProps`](../../06-api-reference/interfaces/TokenizerProps.md) containing [`tokenizerSource`](../../06-api-reference/interfaces/TokenizerProps.md#tokenizersource).
57
+
-`tokenizer`— an object containing [`tokenizerSource`](../../06-api-reference/interfaces/TokenizerProps.md#tokenizersource).
56
58
- An optional flag [`preventLoad`](../../06-api-reference/interfaces/TokenizerProps.md#preventload) which prevents auto-loading of the model.
57
59
58
60
You need more details? Check the following resources:
@@ -67,10 +69,12 @@ You need more details? Check the following resources:
0 commit comments