AbstractIntegratedModule 0.8.2__tar.gz → 0.8.4__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.
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractIntegratedModule.egg-info/PKG-INFO +40 -9
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractIntegratedModule.py +400 -213
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractOptimizedModules.c +200 -200
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/PKG-INFO +40 -9
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/README.md +39 -8
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/setup.py +1 -1
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractIntegratedModule.egg-info/SOURCES.txt +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractIntegratedModule.egg-info/dependency_links.txt +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractIntegratedModule.egg-info/requires.txt +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractIntegratedModule.egg-info/top_level.txt +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/AbstractOptimizedModules.pyx +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/MANIFEST.in +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/Cargo.toml +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/pyproject.toml +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/src/lib.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/target/debug/build/libsqlite3-sys-ed07b882cd2aa5e2/out/bindgen.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/target/debug/build/serde_core-ebc15f2e9cad7f5f/out/private.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/target/debug/build/target-lexicon-08527f45de28143d/out/host.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/target/release/build/libsqlite3-sys-bf0400df4523274c/out/bindgen.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/target/release/build/serde_core-5cdb76131825e4af/out/private.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/abstract_model_storage/target/release/build/target-lexicon-43eb95a0588bf457/out/host.rs +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/pyproject.toml +0 -0
- {abstractintegratedmodule-0.8.2 → abstractintegratedmodule-0.8.4}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: AbstractIntegratedModule
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.4
|
|
4
4
|
Summary: Library for Advanced Integrated Non-LLM AI Models - Optimized Backend Framework For Non-LLM AI Agent
|
|
5
5
|
Author: Micro-Novelty
|
|
6
6
|
Author-email: hernikpuspita5@gmail.com
|
|
@@ -42,7 +42,7 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
|
|
|
42
42
|
#### Note: The README here you are reading is a direct copy from my README Repository, to download the necessary files, you can visit my Repository with the provided link above.
|
|
43
43
|
|
|
44
44
|
### Library Short Description:
|
|
45
|
-
- Development Stage: 0.8.
|
|
45
|
+
- Development Stage: 0.8.4 Official Release.
|
|
46
46
|
- Maintainer: Micro-Novelty.
|
|
47
47
|
- library Source-Code is Open-sourced on github.
|
|
48
48
|
- Purpose: Specifically Designed for providing Non-LLM AI Agent Framework for edge Devices, Optimized for ARM64 architecture.
|
|
@@ -80,15 +80,17 @@ https://github.com/Micro-Novelty/IntegratedPipeline-Specialized-Non-LLM-AI-Agent
|
|
|
80
80
|
- Transformer Optimized using Cython, to reduce Memory overhead and Reduce CPU Usage, With Reduced Training Time.
|
|
81
81
|
______________
|
|
82
82
|
- Changelog:
|
|
83
|
-
- v0.8.
|
|
83
|
+
- v0.8.4:
|
|
84
84
|
- [=] New features:
|
|
85
|
-
- Added
|
|
86
|
-
- Added robust
|
|
85
|
+
- Added more robust inhomogenous shape handling for handling input_ids in Transformer and AccurateAnswerCache architecture.
|
|
86
|
+
- Added improvements for handling batch prediction responses, ensuring robust references and graceful conditions for edge cases.
|
|
87
87
|
- Fixed P2P Vulnerabilities:
|
|
88
88
|
- Empty allowed_ips in PRODUCTION/HARDENED mode now DENIES external IPs instead of allowing all
|
|
89
89
|
- Startup validation warns about dangerous config combinations
|
|
90
90
|
- Loopback (127.0.0.1) always permitted for local agent comms
|
|
91
91
|
- DEVELOPMENT/STAGING retains allow-all behavior with explicit warning since local P2P testing requires it
|
|
92
|
+
- pickle.loads() replaced by json.loads with utf-8 encoding order.
|
|
93
|
+
- generate self signed cert fixes and added client.crt for fallback when users dont provide any SSL cert and key for both server and client.
|
|
92
94
|
|
|
93
95
|
____________
|
|
94
96
|
<img width="1280" height="600" alt="WhatsApp Image 2026-05-27 at 07 16 32" src="https://github.com/user-attachments/assets/4b58a556-45a3-419b-96fd-9c1b76cac574" />
|
|
@@ -552,17 +554,46 @@ _______________________________________
|
|
|
552
554
|
cert_file = <your_cert_file_dir> # your .crt file
|
|
553
555
|
key_file = <your_key_file_dir> # your .key file
|
|
554
556
|
|
|
557
|
+
# SSL Setup for users who used Lets encrypt / Public CA cert:
|
|
558
|
+
# Server context
|
|
559
|
+
server_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
|
560
|
+
server_ctx.load_cert_chain('their.crt', 'their.key') # No load_verify_locations needed — OS trust store handles public CA
|
|
561
|
+
|
|
562
|
+
# Client context
|
|
563
|
+
client_ctx = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
|
|
564
|
+
client_ctx.load_cert_chain('their.crt', 'their.key') # no load_verify_locations — OS trust store handles it
|
|
565
|
+
|
|
566
|
+
# for enterprise and internal CA:
|
|
567
|
+
'''
|
|
568
|
+
server_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
|
|
569
|
+
server_ctx.load_cert_chain('their.crt', 'their.key')
|
|
570
|
+
server_ctx.load_verify_locations('company_ca.crt') # internal CA not in OS store
|
|
571
|
+
server_ctx.verify_mode = ssl.CERT_REQUIRED
|
|
572
|
+
server_ctx.check_hostname = False
|
|
573
|
+
|
|
574
|
+
client_ctx = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
|
|
575
|
+
client_ctx.load_cert_chain('their.crt', 'their.key')
|
|
576
|
+
client_ctx.load_verify_locations('company_ca.crt')
|
|
577
|
+
client_ctx.verify_mode = ssl.CERT_REQUIRED
|
|
578
|
+
client_ctx.check_hostname = False
|
|
579
|
+
''' # uncomment to use
|
|
580
|
+
|
|
581
|
+
# Note: The Above setup is Important for Secure P2P In deployment case, for local P2P the above setup is optional and automatic self-signed CERT will be used for local P2P.
|
|
582
|
+
|
|
555
583
|
main_model = IntegratedPipeline(
|
|
556
584
|
memory_name=memory_name, # memory name for the AI you already initialized
|
|
557
585
|
use_async=True, # local asynchronous prediction is permitted, if not PipelineAsyncManager wont start asynchronous prediction.
|
|
558
586
|
agent_port=5001, # this port is used to set AgentDistributedInference server (optional)
|
|
559
|
-
ssl_cert_file=cert_file, ssl_key_file=key_file
|
|
587
|
+
ssl_cert_file=cert_file, ssl_key_file=key_file,# provide your cert_file path or key_file path (optional)
|
|
588
|
+
ssl_context=server_ctx, # used by the Agent server (optional)
|
|
589
|
+
client_ssl_context=client_ctx # used by the client. (optional)
|
|
590
|
+
)
|
|
560
591
|
|
|
561
592
|
main_prediction = PipelinePredictionManager(
|
|
562
593
|
main_model, # your initialized pipeline
|
|
563
|
-
label_csv='
|
|
564
|
-
#
|
|
565
|
-
#
|
|
594
|
+
label_csv='example_manual_training.txt',
|
|
595
|
+
# your filename that contains the .txt file and contains the CSV format.
|
|
596
|
+
# the Agent will automatically searched the nearby folder like: downloads, data, and desktop folder.
|
|
566
597
|
target_title='window_title', label='label')
|
|
567
598
|
|
|
568
599
|
# example_manual_training is a .txt file that contain csv format like above example.
|