mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-12 17:22:25 +03:00
Fix LLM EntityLinker task factory typo
Change the factory string for the EntityLinker to "llm_entitylinker" so it works, as per https://github.com/explosion/spacy-llm/blob/main/spacy_llm/tasks/__init__.py#L33. This appears to be the only place it is documented.
This commit is contained in:
parent
41e07772dc
commit
8f10cf4c52
|
@ -21,7 +21,7 @@ through a generic `llm`
|
|||
[component factory](https://spacy.io/usage/processing-pipelines#custom-components-factories)
|
||||
as well as through task-specific component factories: `llm_ner`, `llm_spancat`,
|
||||
`llm_rel`, `llm_textcat`, `llm_sentiment`, `llm_summarization`,
|
||||
`llm_entity_linker`, `llm_raw` and `llm_translation`. For these factories, the
|
||||
`llm_entitylinker`, `llm_raw` and `llm_translation`. For these factories, the
|
||||
GPT-3-5 model from OpenAI is used by default, but this can be customized.
|
||||
|
||||
> #### Example
|
||||
|
|
Loading…
Reference in New Issue
Block a user