vividembed 1.0.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.
vividembed/__init__.py
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
VividEmbed — Neuroscience-Inspired Memory Embeddings for AI Companions
|
|
3
|
+
======================================================================
|
|
4
|
+
|
|
5
|
+
pip install vividembed
|
|
6
|
+
pip install vividembed[viz] # for visual reports
|
|
7
|
+
pip install vividembed[all] # everything
|
|
8
|
+
|
|
9
|
+
Quick start::
|
|
10
|
+
|
|
11
|
+
from vividembed import VividEmbed
|
|
12
|
+
|
|
13
|
+
ve = VividEmbed()
|
|
14
|
+
ve.add("Scott took me to the beach", emotion="peaceful", importance=8)
|
|
15
|
+
ve.add("We had an argument about money", emotion="angry", importance=7)
|
|
16
|
+
|
|
17
|
+
results = ve.query("tell me about a good day", mood="happy", top_k=3)
|
|
18
|
+
for r in results:
|
|
19
|
+
print(f" [{r.emotion}] {r.content}")
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from .vividembed import (
|
|
23
|
+
VividEntry,
|
|
24
|
+
VividEmbed,
|
|
25
|
+
CoreMemory,
|
|
26
|
+
VividCortex,
|
|
27
|
+
ARC_POSITIONS,
|
|
28
|
+
EMBED_DIM,
|
|
29
|
+
EMOTION_VECTORS,
|
|
30
|
+
_infer_arc_position,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
__all__ = [
|
|
34
|
+
"VividEmbed",
|
|
35
|
+
"VividEntry",
|
|
36
|
+
"CoreMemory",
|
|
37
|
+
"VividCortex",
|
|
38
|
+
"ARC_POSITIONS",
|
|
39
|
+
"EMBED_DIM",
|
|
40
|
+
"EMOTION_VECTORS",
|
|
41
|
+
"_infer_arc_position",
|
|
42
|
+
]
|
|
43
|
+
__version__ = "1.0.0"
|