From 1014c5e77c178c0071638b90e78949da02eea6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pstr=C4=85g?= Date: Wed, 16 Oct 2024 22:55:49 +0200 Subject: [PATCH 1/2] mv examples to root --- .../examples => examples/apps}/documents_chat.py | 0 .../ragbits-core/examples/llm_example.py => examples/core/llm.py | 0 .../examples/prompt_example.py => examples/core/prompt.py | 0 .../examples/simple_text.py => examples/document-search/basic.py | 0 .../chromadb_example.py => examples/document-search/chroma.py | 0 .../document-search/from_config.py | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename {packages/ragbits-document-search/examples => examples/apps}/documents_chat.py (100%) rename packages/ragbits-core/examples/llm_example.py => examples/core/llm.py (100%) rename packages/ragbits-core/examples/prompt_example.py => examples/core/prompt.py (100%) rename packages/ragbits-document-search/examples/simple_text.py => examples/document-search/basic.py (100%) rename packages/ragbits-core/examples/chromadb_example.py => examples/document-search/chroma.py (100%) rename packages/ragbits-document-search/examples/from_config_example.py => examples/document-search/from_config.py (100%) diff --git a/packages/ragbits-document-search/examples/documents_chat.py b/examples/apps/documents_chat.py similarity index 100% rename from packages/ragbits-document-search/examples/documents_chat.py rename to examples/apps/documents_chat.py diff --git a/packages/ragbits-core/examples/llm_example.py b/examples/core/llm.py similarity index 100% rename from packages/ragbits-core/examples/llm_example.py rename to examples/core/llm.py diff --git a/packages/ragbits-core/examples/prompt_example.py b/examples/core/prompt.py similarity index 100% rename from packages/ragbits-core/examples/prompt_example.py rename to examples/core/prompt.py diff --git a/packages/ragbits-document-search/examples/simple_text.py b/examples/document-search/basic.py similarity index 100% rename from packages/ragbits-document-search/examples/simple_text.py rename to examples/document-search/basic.py diff --git a/packages/ragbits-core/examples/chromadb_example.py b/examples/document-search/chroma.py similarity index 100% rename from packages/ragbits-core/examples/chromadb_example.py rename to examples/document-search/chroma.py diff --git a/packages/ragbits-document-search/examples/from_config_example.py b/examples/document-search/from_config.py similarity index 100% rename from packages/ragbits-document-search/examples/from_config_example.py rename to examples/document-search/from_config.py From a1e8cb9e63e2126ff54a12ba91a4dd6fc1b52452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pstr=C4=85g?= Date: Wed, 16 Oct 2024 22:56:06 +0200 Subject: [PATCH 2/2] update scripts --- scripts/create_ragbits_package.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/create_ragbits_package.py b/scripts/create_ragbits_package.py index 56b9e003..f17afcdc 100644 --- a/scripts/create_ragbits_package.py +++ b/scripts/create_ragbits_package.py @@ -36,9 +36,6 @@ def run() -> None: src_dir.mkdir(exist_ok=True, parents=True) (src_dir / "__init__.py").touch() - examples_dir = package_dir / "examples" - examples_dir.mkdir(exist_ok=True) - tests_dir = package_dir / "tests" tests_dir.mkdir(exist_ok=True)