prismlib 0.3.0__py3-none-any.whl
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.
- prism/__init__.py +9 -0
- prism/bridge/__init__.py +32 -0
- prism/bridge/vector.py +704 -0
- prism/cache/__init__.py +54 -0
- prism/cache/cache.py +597 -0
- prism/cache/embedder.py +438 -0
- prism/cache/metrics.py +273 -0
- prism/cache/store.py +370 -0
- prism/ffi/__init__.py +34 -0
- prism/ffi/bindings.py +841 -0
- prism/lib/__init__.py +17 -0
- prism/lib/fabric.py +567 -0
- prism/lib/lang.py +531 -0
- prism/lib/resonance.py +691 -0
- prism/wrapper/__init__.py +49 -0
- prism/wrapper/config.py +116 -0
- prism/wrapper/daemon.py +236 -0
- prism/wrapper/interceptor.py +524 -0
- prism/wrapper/publisher.py +229 -0
- prismlib-0.3.0.dist-info/METADATA +529 -0
- prismlib-0.3.0.dist-info/RECORD +24 -0
- prismlib-0.3.0.dist-info/WHEEL +5 -0
- prismlib-0.3.0.dist-info/entry_points.txt +2 -0
- prismlib-0.3.0.dist-info/top_level.txt +1 -0
prism/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Prism Ecosystem — Tensor-Native Distributed Data Plane
|
|
3
|
+
=======================================================
|
|
4
|
+
PrismLib: Core mathematical primitives, wave-mechanics retrieval engine,
|
|
5
|
+
state-compression/isolation layers, and CHORUS Fabric transport interface.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "0.1.0"
|
|
9
|
+
__author__ = "InsightIts"
|
prism/bridge/__init__.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""
|
|
2
|
+
prism.bridge — Vector store adapters and RAG patch layer.
|
|
3
|
+
|
|
4
|
+
The bridge module provides connectors to external vector databases
|
|
5
|
+
(pgvector, Chroma, Qdrant) and the PrismRAGPatch taxonomy classification
|
|
6
|
+
pipeline that upgrades raw embeddings with semantic category anchoring
|
|
7
|
+
before insertion.
|
|
8
|
+
|
|
9
|
+
The old direct-DB connectors (PostgreSQLConnector, MySQLConnector, WAL
|
|
10
|
+
adapters) have moved to prism.wrapper — they now live on the DB node
|
|
11
|
+
inside the Server Wrapper daemon, not in the application process.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
from prism.bridge.vector import (
|
|
15
|
+
VectorStoreAdapter,
|
|
16
|
+
PrismRAGPatch,
|
|
17
|
+
PgVectorAdapter,
|
|
18
|
+
ChromaAdapter,
|
|
19
|
+
QdrantAdapter,
|
|
20
|
+
TaxonomyCategory,
|
|
21
|
+
PatchedVector,
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
__all__ = [
|
|
25
|
+
"VectorStoreAdapter",
|
|
26
|
+
"PrismRAGPatch",
|
|
27
|
+
"PgVectorAdapter",
|
|
28
|
+
"ChromaAdapter",
|
|
29
|
+
"QdrantAdapter",
|
|
30
|
+
"TaxonomyCategory",
|
|
31
|
+
"PatchedVector",
|
|
32
|
+
]
|