openvector_dev 0.1.1__py3-none-any.whl → 0.1.2__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.
- lein_vector/api/__init__.py +1 -1
- lein_vector/api/facade.py +3 -4
- lein_vector/bases/memory_manager_abc.py +1 -1
- lein_vector/memory_manager_qdrant.py +2 -2
- lein_vector/memory_manager_ram.py +2 -2
- lein_vector/qdrant_adapter.py +1 -1
- lein_vector/sentence_transformer.py +1 -1
- {openvector_dev-0.1.1.dist-info → openvector_dev-0.1.2.dist-info}/METADATA +1 -1
- openvector_dev-0.1.2.dist-info/RECORD +16 -0
- openvector_dev-0.1.1.dist-info/RECORD +0 -16
- {openvector_dev-0.1.1.dist-info → openvector_dev-0.1.2.dist-info}/WHEEL +0 -0
lein_vector/api/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
from facade import MemoryFacade as Memory
|
1
|
+
from .facade import MemoryFacade as Memory
|
lein_vector/api/facade.py
CHANGED
@@ -2,10 +2,9 @@ from typing import Sequence, Union
|
|
2
2
|
from uuid import uuid4
|
3
3
|
from datetime import datetime, UTC
|
4
4
|
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
|
5
|
+
from lein_vector import ShortTermMemory, QdrantAdapter, MemoryManagerQdrant
|
6
|
+
from lein_vector.schemas.chunk import Chunk, ChunkPayload
|
7
|
+
from lein_vector.sentence_transformer import EmbeddingProviderGemini
|
9
8
|
|
10
9
|
class MemoryFacade:
|
11
10
|
def __init__(self, short_term, memory_manager, embedder):
|
@@ -2,8 +2,8 @@ from datetime import datetime, UTC
|
|
2
2
|
from typing import List, Dict, Any
|
3
3
|
from uuid import UUID
|
4
4
|
|
5
|
-
from
|
6
|
-
from
|
5
|
+
from lein_vector.bases.memory_manager_abc import MemoryManagerABC
|
6
|
+
from lein_vector.schemas.chunk import Chunk, ChunkPayload
|
7
7
|
|
8
8
|
class MemoryManagerQdrant(MemoryManagerABC):
|
9
9
|
def __init__(self, qdrant_adapter, embedding_provider, archive_storage=None):
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from typing import List
|
2
2
|
from uuid import UUID
|
3
|
-
from
|
4
|
-
from
|
3
|
+
from lein_vector.schemas.chunk import Chunk
|
4
|
+
from lein_vector.bases.memory_manager_abc import MemoryManagerABC
|
5
5
|
from uuid import uuid4
|
6
6
|
from datetime import datetime, timezone
|
7
7
|
|
lein_vector/qdrant_adapter.py
CHANGED
@@ -4,7 +4,7 @@ from qdrant_client.models import (
|
|
4
4
|
PointStruct, Filter, FieldCondition, MatchValue, Range,
|
5
5
|
VectorParams, Distance
|
6
6
|
)
|
7
|
-
from
|
7
|
+
from lein_vector.schemas.chunk import ChunkPayload
|
8
8
|
from typing import List, Dict, Any
|
9
9
|
from uuid import UUID
|
10
10
|
|
@@ -3,7 +3,7 @@ import asyncio
|
|
3
3
|
from google import genai
|
4
4
|
from google.genai import types
|
5
5
|
|
6
|
-
from
|
6
|
+
from lein_vector.bases.embeding_provider_abc import EmbeddingProviderABC
|
7
7
|
|
8
8
|
|
9
9
|
class EmbeddingProviderSentenceTransformer(EmbeddingProviderABC):
|
@@ -0,0 +1,16 @@
|
|
1
|
+
lein_vector/__init__.py,sha256=wQVJu6E6SYyBD1B59WlpTBy0qZuo9aj3sVTnpGYtiIk,411
|
2
|
+
lein_vector/api/__init__.py,sha256=wjha9CBvZxNTs1D3QeweNNtH5nl_sX-xzktIAqNNpPA,42
|
3
|
+
lein_vector/api/facade.py,sha256=nwwbwKLVGG9O1VVOJLOm1gLaIGHrLOAW-Lw_lhj6sPk,5717
|
4
|
+
lein_vector/bases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
+
lein_vector/bases/embeding_provider_abc.py,sha256=eWdyxto-5uhSU61pR28537UGZ6oeJ7Y5wol3abLg828,304
|
6
|
+
lein_vector/bases/memory_manager_abc.py,sha256=qmj3P9zTWPFhGeT90_08VXjWI9NfSpJmIOoPXQCuTAE,1564
|
7
|
+
lein_vector/memory_manager_qdrant.py,sha256=tFQK16ZLCaekLyUR50pkZSTgJQFrbSUgSETVSQph6yM,4792
|
8
|
+
lein_vector/memory_manager_ram.py,sha256=I-zapqy0PTvga01o0KJgP4QUPw19zxltlxZgNddjBTM,6033
|
9
|
+
lein_vector/qdrant_adapter.py,sha256=jPeFfoS70xfHLXd4oOgInj5pyCIMGCo3xt8cqjFUvgw,3912
|
10
|
+
lein_vector/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
+
lein_vector/schemas/chunk.py,sha256=yt2Lb9zL9IJypQTJACVDlHkkS9_3clDoPpvn_5NBTi8,1198
|
12
|
+
lein_vector/sentence_transformer.py,sha256=F2o2-UhLLr5fI-HXJeRQ-drjrNgzhV0D9zN2svHIyOs,2473
|
13
|
+
lein_vector/short_term.py,sha256=bLfOFn7Yqd_tZURtQHOkXG5HEnOzmiCPs7Nk-RDjxWc,1913
|
14
|
+
openvector_dev-0.1.2.dist-info/METADATA,sha256=Im3JrdWUdOymiFBNpoxwzm9oyPVqcK1i8-XgeeoJ8AU,3129
|
15
|
+
openvector_dev-0.1.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
16
|
+
openvector_dev-0.1.2.dist-info/RECORD,,
|
@@ -1,16 +0,0 @@
|
|
1
|
-
lein_vector/__init__.py,sha256=wQVJu6E6SYyBD1B59WlpTBy0qZuo9aj3sVTnpGYtiIk,411
|
2
|
-
lein_vector/api/__init__.py,sha256=hJoi39B0YxguI9YpjJRmz4IPIMgIA8ryn93ORrMB7S4,41
|
3
|
-
lein_vector/api/facade.py,sha256=7UJ6m24mIwwVikYJjtJA6kTphl5h1HUuS16TJ6_NOpg,5731
|
4
|
-
lein_vector/bases/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
lein_vector/bases/embeding_provider_abc.py,sha256=eWdyxto-5uhSU61pR28537UGZ6oeJ7Y5wol3abLg828,304
|
6
|
-
lein_vector/bases/memory_manager_abc.py,sha256=uJS4F_UUUjhpHpsVt8JYcU6cLaEB68ELuJCn7DNoNzw,1568
|
7
|
-
lein_vector/memory_manager_qdrant.py,sha256=iM7enNUC0ZjOBcujI0J23cEf-J8svPittpKe8HH4kZg,4800
|
8
|
-
lein_vector/memory_manager_ram.py,sha256=h6IDjm8J4XsU8nnLoUDF9x6NPKfH2dhj6-0OxrUNqa0,6041
|
9
|
-
lein_vector/qdrant_adapter.py,sha256=ZhdnD7SR-aR0Ifk7qv7NcZtQ_G0Tt4no3a69PRm8DUM,3916
|
10
|
-
lein_vector/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
lein_vector/schemas/chunk.py,sha256=yt2Lb9zL9IJypQTJACVDlHkkS9_3clDoPpvn_5NBTi8,1198
|
12
|
-
lein_vector/sentence_transformer.py,sha256=0styRoPg5Iq8mVtFWBnZKcQzGh-Tw1iV3r0_KC32JS4,2477
|
13
|
-
lein_vector/short_term.py,sha256=bLfOFn7Yqd_tZURtQHOkXG5HEnOzmiCPs7Nk-RDjxWc,1913
|
14
|
-
openvector_dev-0.1.1.dist-info/METADATA,sha256=yxYx01ONEDuPTvzmKcuxtXupTKCqq4CsFAR7TX29Jc8,3129
|
15
|
-
openvector_dev-0.1.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
16
|
-
openvector_dev-0.1.1.dist-info/RECORD,,
|
File without changes
|