From fa3645d3876cf83ce9205cd2542b06270d40763e Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Wed, 11 Oct 2023 14:04:16 +0200 Subject: [PATCH] Fix EL factory name. --- website/docs/api/large-language-models.mdx | 6 +++--- website/docs/usage/large-language-models.mdx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/api/large-language-models.mdx b/website/docs/api/large-language-models.mdx index df1570e3d..ecb6898bc 100644 --- a/website/docs/api/large-language-models.mdx +++ b/website/docs/api/large-language-models.mdx @@ -325,7 +325,7 @@ ideally provide more context for entities stored in the KB. have to provide a trained EL model, merely its default (or custom) candidate selection capabilities. -#### spacy.EL.v1 {id="el-v1"} +#### spacy.EntityLinker.v1 {id="el-v1"} Supports zero- and few-shot prompting. @@ -355,8 +355,8 @@ Supports zero- and few-shot prompting. ##### spacy.CandidateSelector.v1 {id="candidate-selector-v1"} `spacy.CandidateSelector.v1` is an implementation of the `CandidateSelector` -protocol required by [`spacy.EL.v1`](#el-v1). The built-in candidate selector -method leverages a spaCy pipeline with an entity linking component. The +protocol required by [`spacy.EntityLinker.v1`](#el-v1). The built-in candidate +selector method leverages a spaCy pipeline with an entity linking component. The pipeline's EL component's candidate selection capabilities are used to select the most likely entity candidates for the specified mentions. diff --git a/website/docs/usage/large-language-models.mdx b/website/docs/usage/large-language-models.mdx index fbbfe0f4f..783a50573 100644 --- a/website/docs/usage/large-language-models.mdx +++ b/website/docs/usage/large-language-models.mdx @@ -357,7 +357,7 @@ evaluate the component. | Component | Description | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | -| [`spacy.EL.v1`](/api/large-language-models#summarization-v1) | The entity linking task prompts the model to link all entities in a given text to entries in a knowledge base. | +| [`spacy.EntityLinker.v1`](/api/large-language-models#summarization-v1) | The entity linking task prompts the model to link all entities in a given text to entries in a knowledge base. | | [`spacy.Summarization.v1`](/api/large-language-models#summarization-v1) | The summarization task prompts the model for a concise summary of the provided text. | | [`spacy.NER.v3`](/api/large-language-models#ner-v3) | Implements Chain-of-Thought reasoning for NER extraction - obtains higher accuracy than v1 or v2. | | [`spacy.NER.v2`](/api/large-language-models#ner-v2) | Builds on v1 and additionally supports defining the provided labels with explicit descriptions. |