From 5b2c12945394ae3f586d88b3a8f9e6fd8c74ae63 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Fri, 17 Nov 2023 12:35:29 +0100 Subject: [PATCH] Update EL task docs. --- website/docs/api/large-language-models.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/docs/api/large-language-models.mdx b/website/docs/api/large-language-models.mdx index d27013335..852125088 100644 --- a/website/docs/api/large-language-models.mdx +++ b/website/docs/api/large-language-models.mdx @@ -460,12 +460,12 @@ pipeline. > desc_path = ${paths.el_desc} > ``` -| Argument | Description | -| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `path` | Path to KB file. ~~Union[str, Path]~~ | -| `nlp_path` | Path to serialized NLP pipeline. If None, path will be guessed. ~~Optional[Union[Path, str]]~~ | -| `desc_path` | Path to file with descriptions for entities. ~~int~~ | -| `ent_desc_reader` | Reader function for entity description file. Defaults to a reader expecting a CSV with two columns: entity ID and decsription. ~~EntDescReader~~ | +| Argument | Description | +| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | Path to KB file. ~~Union[str, Path]~~ | +| `nlp_path` | Path to serialized NLP pipeline. If None, path will be guessed. ~~Optional[Union[Path, str]]~~ | +| `desc_path` | Path to file with descriptions for entities. ~~int~~ | +| `ent_desc_reader` | Entity description reader. Defaults to an internal method expecting a CSV file without header row, with ";" as delimiters, and with two columns - one for the entitys' IDs, one for their descriptions. ~~Optional[EntDescReader]~~ | ##### spacy.KBFileLoader.v1 {id="kb-file-loader-v1"}