From 174887aba852fafda3d2898480daf06ae31041b1 Mon Sep 17 00:00:00 2001 From: Roman Kalyakin Date: Tue, 22 Oct 2024 18:03:03 +0200 Subject: [PATCH] Updated facet graph rendering and fixed models --- examples/notebooks/basic.ipynb | 128 +- examples/notebooks/entities.ipynb | 366 +++- examples/notebooks/search.ipynb | 2783 ++++++++++++++------------- examples/notebooks/textReuse.ipynb | 880 +++++---- impresso/data_container.py | 16 +- impresso/resources/content_items.py | 8 +- impresso/resources/search.py | 52 +- pyproject.toml | 2 +- 8 files changed, 2439 insertions(+), 1796 deletions(-) diff --git a/examples/notebooks/basic.ipynb b/examples/notebooks/basic.ipynb index f1bb09e..bafe031 100644 --- a/examples/notebooks/basic.ipynb +++ b/examples/notebooks/basic.ipynb @@ -13,17 +13,9 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "🎉 You are now connected to the Impresso API! 🎉\n" - ] - } - ], + "outputs": [], "source": [ "from impresso import connect\n", "\n", @@ -43,16 +35,20 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ + "
\n", + "
\n", "

Search result

\n", "
Contains 79 items of 79 total items.
\n", "
\n", "See this result in the Impresso App.\n", + "
\n", + "
\n", "

Data preview:

\n", "
\n", "