mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-27 16:39:55 +03:00
Apply suggestions from code review
This commit is contained in:
parent
91ac3fe175
commit
435e18e117
|
@ -27,11 +27,11 @@ options:
|
||||||
| `save_io` | Whether to save prompts/responses within `Doc.user_data["llm_io"]`. ~~bool~~ |
|
| `save_io` | Whether to save prompts/responses within `Doc.user_data["llm_io"]`. ~~bool~~ |
|
||||||
| `validate_types` | Whether to check if signatures of configured model and task are consistent. ~~bool~~ |
|
| `validate_types` | Whether to check if signatures of configured model and task are consistent. ~~bool~~ |
|
||||||
|
|
||||||
Beyond that, a `llm_TASKNAME` factory is available for each task - `llm_ner` for
|
Beyond that, an `llm_TASKNAME` factory is available for each task - `llm_ner` for
|
||||||
a LLM component with the NER task, `llm_rel` for relationship extraction etc.
|
an LLM component with the NER task, `llm_rel` for relationship extraction etc.
|
||||||
These factories are equivalent to using the `llm` factory and defining the task
|
These factories are equivalent to using the `llm` factory and defining the task
|
||||||
in the configuration. Note: tasks may require more configuration than the just
|
in the configuration. Note: tasks may require more configuration than just
|
||||||
the task - compare with the tasks' description below.
|
the task factory - compare with the tasks' description below.
|
||||||
|
|
||||||
An `llm` component is defined by two main settings:
|
An `llm` component is defined by two main settings:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user