From 1ece9ec30b4b99c8e7fc5f3e41eee385f5fb4dc2 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Mon, 24 Apr 2023 20:44:57 +0200 Subject: [PATCH] Update website/docs/api/inmemorylookupkb.mdx Co-authored-by: Sofie Van Landeghem --- website/docs/api/inmemorylookupkb.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/inmemorylookupkb.mdx b/website/docs/api/inmemorylookupkb.mdx index 791f6e8e9..e23ac4b08 100644 --- a/website/docs/api/inmemorylookupkb.mdx +++ b/website/docs/api/inmemorylookupkb.mdx @@ -175,7 +175,7 @@ implementation of `KnowledgeBase.get_candidates()`. | Name | Description | | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `mentions` | The textual mention or alias. ~~Iterable[SpanGroup]~~ | +| `mentions` | The textual mention or alias. ~~Iterator[SpanGroup]~~ | | **RETURNS** | An iterator over iterables of iterables with relevant [`InMemoryCandidate`](/api/kb#candidate) objects (per mention and doc). ~~Iterator[Iterable[Iterable[InMemoryCandidate]]]~~ | ## InMemoryLookupKB.get_vector {id="get_vector",tag="method"}