From 8f10cf4c52f4072a08dcfa3ec7a73407340e28da Mon Sep 17 00:00:00 2001 From: Carter Jameson Date: Tue, 24 Jun 2025 12:58:49 -0600 Subject: [PATCH] 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. --- website/docs/api/large-language-models.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/large-language-models.mdx b/website/docs/api/large-language-models.mdx index 6e2436cc1..fd028c654 100644 --- a/website/docs/api/large-language-models.mdx +++ b/website/docs/api/large-language-models.mdx @@ -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