syntaxmatrix 1.2.2__tar.gz → 1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/PKG-INFO +1 -4
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/SyntaxMatrix.egg-info/PKG-INFO +1 -4
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/SyntaxMatrix.egg-info/requires.txt +0 -4
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/setup.py +1 -2
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/__init__.py +1 -1
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/core.py +1 -1
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/LICENSE.txt +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/README.md +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/SyntaxMatrix.egg-info/SOURCES.txt +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/SyntaxMatrix.egg-info/dependency_links.txt +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/SyntaxMatrix.egg-info/top_level.txt +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/pyproject.toml +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/setup.cfg +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/db.py +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/file_processor.py +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/plottings.py +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/routes.py +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/static/icons/svg_497526.svg +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/static/icons/svg_497528.svg +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/static/js/chat.js +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/static/js/sidebar.js +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/static/js/widgets.js +0 -0
- {syntaxmatrix-1.2.2 → syntaxmatrix-1.3}/syntaxmatrix/themes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: syntaxmatrix
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3
|
|
4
4
|
Summary: SyntaxMUI: A customizable UI framework for Python AI Assistant Projects.
|
|
5
5
|
Home-page: https://github.com/bobganti/SimpleRAG
|
|
6
6
|
Author: Bob Nti
|
|
@@ -23,9 +23,6 @@ Requires-Dist: plotly>=5.0.0
|
|
|
23
23
|
Requires-Dist: openai>=0.27.0
|
|
24
24
|
Requires-Dist: PyPDF2>=1.26.0
|
|
25
25
|
Requires-Dist: numpy>=1.21.0
|
|
26
|
-
Provides-Extra: advanced-nlp
|
|
27
|
-
Requires-Dist: transformers>=4.0.0; extra == "advanced-nlp"
|
|
28
|
-
Requires-Dist: torch>=1.9.0; extra == "advanced-nlp"
|
|
29
26
|
Provides-Extra: data
|
|
30
27
|
Requires-Dist: pandas>=1.3.0; extra == "data"
|
|
31
28
|
Provides-Extra: testing
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: syntaxmatrix
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3
|
|
4
4
|
Summary: SyntaxMUI: A customizable UI framework for Python AI Assistant Projects.
|
|
5
5
|
Home-page: https://github.com/bobganti/SimpleRAG
|
|
6
6
|
Author: Bob Nti
|
|
@@ -23,9 +23,6 @@ Requires-Dist: plotly>=5.0.0
|
|
|
23
23
|
Requires-Dist: openai>=0.27.0
|
|
24
24
|
Requires-Dist: PyPDF2>=1.26.0
|
|
25
25
|
Requires-Dist: numpy>=1.21.0
|
|
26
|
-
Provides-Extra: advanced-nlp
|
|
27
|
-
Requires-Dist: transformers>=4.0.0; extra == "advanced-nlp"
|
|
28
|
-
Requires-Dist: torch>=1.9.0; extra == "advanced-nlp"
|
|
29
26
|
Provides-Extra: data
|
|
30
27
|
Requires-Dist: pandas>=1.3.0; extra == "data"
|
|
31
28
|
Provides-Extra: testing
|
|
@@ -8,7 +8,7 @@ with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name="syntaxmatrix",
|
|
11
|
-
version="1.
|
|
11
|
+
version="1.3",
|
|
12
12
|
author="Bob Nti",
|
|
13
13
|
author_email="bob.nti@syntaxmatrix.com",
|
|
14
14
|
description="SyntaxMUI: A customizable UI framework for Python AI Assistant Projects.",
|
|
@@ -37,7 +37,6 @@ setup(
|
|
|
37
37
|
"numpy>=1.21.0",
|
|
38
38
|
],
|
|
39
39
|
extras_require={
|
|
40
|
-
"advanced_nlp": ["transformers>=4.0.0", "torch>=1.9.0"],
|
|
41
40
|
"data": ["pandas>=1.3.0"],
|
|
42
41
|
"testing": ["pytest", "pytest-flask"],
|
|
43
42
|
},
|
|
@@ -35,7 +35,7 @@ set_project_title = _app_instance.set_project_title
|
|
|
35
35
|
set_site_title = _app_instance.set_site_title
|
|
36
36
|
set_site_logo = _app_instance.set_site_logo
|
|
37
37
|
list_ui_modes = _app_instance.list_ui_modes
|
|
38
|
-
|
|
38
|
+
load_sys_chunks = _app_instance.load_sys_chunks
|
|
39
39
|
# delete_pdf_chunks = _app_instance.delete_pdf_chunks
|
|
40
40
|
|
|
41
41
|
get_session_id = _app_instance.get_session_id
|
|
@@ -64,7 +64,7 @@ class SyntaxMUI:
|
|
|
64
64
|
# In-memory store of user‑uploaded chunks, scoped per chat session
|
|
65
65
|
self.user_file_chunks = {}
|
|
66
66
|
|
|
67
|
-
def
|
|
67
|
+
def load_sys_chunks(self, directory: str = "uploads/sys"):
|
|
68
68
|
"""
|
|
69
69
|
Process all PDFs in `directory`, store chunks in DB and cache in-memory.
|
|
70
70
|
Returns mapping { file_name: [chunk, ...] }.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|