The language model still extracts the documentation and writes the snippets. If the decision model fails or times out, the language model makes that decision.
Turn on a decision model
The decision model is off by default. To turn it on:1
Open the AI models settings
In the web UI, go to Workspace Settings › AI models.
2
Turn on the decision model
In the Language model card, turn on Use a decision model.
3
Choose a provider
Select a provider, enter its API key, and optionally a model and an endpoint. Then click Test decision model.
4
Save
Click Save and apply. Reranking uses the decision model right away. Parsing uses it from the next parse or refresh.
Settings
Providers
Decision models are served by several companies. Context7 supports these APIs:
Test decision model sends one small duplicate check to the provider. It reports a wrong key, model, or endpoint before you save.
Choosing a model
Page classification and duplicate checks use thresholds that are tuned on Jev 1.13, the default model for every provider except OpenAI. Another model can index a different set of pages. Test a new model on one library before you refresh all of them.