Fix EL factory name.

This commit is contained in:
Raphael Mitsch 2023-10-11 14:04:16 +02:00
parent 4dd27e986d
commit fa3645d387
2 changed files with 4 additions and 4 deletions

View File

@ -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 have to provide a trained EL model, merely its default (or custom) candidate
selection capabilities. selection capabilities.
#### spacy.EL.v1 {id="el-v1"} #### spacy.EntityLinker.v1 {id="el-v1"}
Supports zero- and few-shot prompting. 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 {id="candidate-selector-v1"}
`spacy.CandidateSelector.v1` is an implementation of the `CandidateSelector` `spacy.CandidateSelector.v1` is an implementation of the `CandidateSelector`
protocol required by [`spacy.EL.v1`](#el-v1). The built-in candidate selector protocol required by [`spacy.EntityLinker.v1`](#el-v1). The built-in candidate
method leverages a spaCy pipeline with an entity linking component. The selector method leverages a spaCy pipeline with an entity linking component. The
pipeline's EL component's candidate selection capabilities are used to select pipeline's EL component's candidate selection capabilities are used to select
the most likely entity candidates for the specified mentions. the most likely entity candidates for the specified mentions.

View File

@ -357,7 +357,7 @@ evaluate the component.
| Component | Description | | 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.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.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. | | [`spacy.NER.v2`](/api/large-language-models#ner-v2) | Builds on v1 and additionally supports defining the provided labels with explicit descriptions. |