From 951c076bdb5dc3c111dc9dd97cb28919d629e235 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Mon, 20 Mar 2023 11:43:28 +0100 Subject: [PATCH] Format updated docs. --- website/docs/api/inmemorylookupkb.mdx | 3 +-- website/docs/api/kb.mdx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/website/docs/api/inmemorylookupkb.mdx b/website/docs/api/inmemorylookupkb.mdx index 8852f4b16..3b33f7fb7 100644 --- a/website/docs/api/inmemorylookupkb.mdx +++ b/website/docs/api/inmemorylookupkb.mdx @@ -197,10 +197,9 @@ to you. | Name | Description | | ----------- | ------------------------------------------------------------------------------------------------------------ | -| `mentions` | The textual mentions. ~~SpanGroup~~ | +| `mentions` | The textual mentions. ~~SpanGroup~~ | | **RETURNS** | An iterable of iterable with relevant `InMemoryCandidate` objects. ~~Iterable[Iterable[InMemoryCandidate]]~~ | - ## InMemoryLookupKB.get_vector {id="get_vector",tag="method"} Given a certain entity ID, retrieve its pretrained entity vector. diff --git a/website/docs/api/kb.mdx b/website/docs/api/kb.mdx index 850c68926..94506162f 100644 --- a/website/docs/api/kb.mdx +++ b/website/docs/api/kb.mdx @@ -101,7 +101,7 @@ to you. | Name | Description | | ----------- | -------------------------------------------------------------------------------------------- | -| `mentions` | The textual mentions. ~~SpanGroup~~ | +| `mentions` | The textual mentions. ~~SpanGroup~~ | | **RETURNS** | An iterable of iterable with relevant `Candidate` objects. ~~Iterable[Iterable[Candidate]]~~ | ## KnowledgeBase.get_vector {id="get_vector",tag="method"}