mem0ai-azure-mysql 0.1.116.5__tar.gz → 0.1.116.6__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.
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/PKG-INFO +1 -1
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/graph_memory.py +2 -33
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/main.py +1 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/utils.py +2 -2
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/pyproject.toml +1 -1
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/.gitignore +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/README.md +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/client/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/client/main.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/client/project.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/client/utils.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/dbs/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/dbs/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/dbs/mysql.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/embeddings/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/embeddings/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/enums.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/anthropic.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/aws_bedrock.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/azure.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/deepseek.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/lmstudio.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/ollama.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/openai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/vllm.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/prompts.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/azure_ai_search.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/baidu.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/chroma.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/databricks.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/elasticsearch.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/faiss.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/langchain.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/milvus.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/mongodb.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/opensearch.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/pgvector.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/pinecone.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/qdrant.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/redis.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/supabase.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/upstash_vector.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/vertex_ai_vector_search.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/weaviate.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/dbs/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/dbs/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/dbs/configs.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/dbs/mysql.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/aws_bedrock.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/azure_openai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/configs.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/gemini.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/huggingface.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/langchain.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/lmstudio.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/mock.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/ollama.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/openai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/together.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/vertexai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/configs.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/neptune/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/neptune/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/neptune/main.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/tools.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/utils.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/anthropic.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/aws_bedrock.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/azure_openai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/azure_openai_structured.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/configs.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/deepseek.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/gemini.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/groq.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/langchain.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/litellm.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/lmstudio.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/ollama.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/openai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/openai_structured.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/sarvam.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/together.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/vllm.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/xai.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/kuzu_memory.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/memgraph_memory.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/setup.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/storage.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/telemetry.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/proxy/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/proxy/main.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/utils/factory.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/__init__.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/azure_ai_search.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/baidu.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/base.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/chroma.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/configs.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/databricks.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/elasticsearch.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/faiss.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/langchain.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/milvus.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/mongodb.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/opensearch.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/pgvector.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/pinecone.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/qdrant.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/redis.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/supabase.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/upstash_vector.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/vertex_ai_vector_search.py +0 -0
- {mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/weaviate.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mem0ai-azure-mysql
|
|
3
|
-
Version: 0.1.116.
|
|
3
|
+
Version: 0.1.116.6
|
|
4
4
|
Summary: Long-term memory for AI Agents with Azure DefaultAzureCredential authentication and MySQL history database support
|
|
5
5
|
Requires-Python: <4.0,>=3.9
|
|
6
6
|
Requires-Dist: azure-identity>=1.23.1
|
|
@@ -96,6 +96,7 @@ class MemoryGraph:
|
|
|
96
96
|
|
|
97
97
|
return {"deleted_entities": deleted_entities, "added_entities": added_entities}
|
|
98
98
|
|
|
99
|
+
@time_perf
|
|
99
100
|
def search(self, query, filters, limit=100):
|
|
100
101
|
"""
|
|
101
102
|
Search for memories and related graph data.
|
|
@@ -139,6 +140,7 @@ class MemoryGraph:
|
|
|
139
140
|
|
|
140
141
|
return search_results
|
|
141
142
|
|
|
143
|
+
@time_perf
|
|
142
144
|
def rerank(self, search_output, query):
|
|
143
145
|
if not self.config.graph_store.config.rerank:
|
|
144
146
|
search_outputs_sequence = [
|
|
@@ -485,29 +487,6 @@ class MemoryGraph:
|
|
|
485
487
|
embeddings = self.embedding_model.embed_in_batch(entities_to_embed)
|
|
486
488
|
embedding_map = {entity: embedding for entity, embedding in zip(entities_to_embed, embeddings)}
|
|
487
489
|
|
|
488
|
-
query_stats = {
|
|
489
|
-
1: 0, 2: 0, 3: 0, 4: 0
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
queries = {
|
|
493
|
-
"only_source_found": {
|
|
494
|
-
"template": "",
|
|
495
|
-
"rows": []
|
|
496
|
-
},
|
|
497
|
-
"only_destination_found": {
|
|
498
|
-
"template": "",
|
|
499
|
-
"rows": []
|
|
500
|
-
},
|
|
501
|
-
"both_found": {
|
|
502
|
-
"template": "",
|
|
503
|
-
"rows": []
|
|
504
|
-
},
|
|
505
|
-
"none_found": {
|
|
506
|
-
"template": "",
|
|
507
|
-
"rows": []
|
|
508
|
-
},
|
|
509
|
-
}
|
|
510
|
-
|
|
511
490
|
for item in to_be_added:
|
|
512
491
|
# entities
|
|
513
492
|
source = item["source"]
|
|
@@ -574,8 +553,6 @@ class MemoryGraph:
|
|
|
574
553
|
params["agent_id"] = agent_id
|
|
575
554
|
if run_id:
|
|
576
555
|
params["run_id"] = run_id
|
|
577
|
-
|
|
578
|
-
query_stats[1] += 1
|
|
579
556
|
|
|
580
557
|
elif destination_node_search_result and not source_node_search_result:
|
|
581
558
|
# Build source MERGE properties
|
|
@@ -620,8 +597,6 @@ class MemoryGraph:
|
|
|
620
597
|
params["agent_id"] = agent_id
|
|
621
598
|
if run_id:
|
|
622
599
|
params["run_id"] = run_id
|
|
623
|
-
|
|
624
|
-
query_stats[2] += 1
|
|
625
600
|
|
|
626
601
|
elif source_node_search_result and destination_node_search_result:
|
|
627
602
|
cypher = f"""
|
|
@@ -650,8 +625,6 @@ class MemoryGraph:
|
|
|
650
625
|
params["agent_id"] = agent_id
|
|
651
626
|
if run_id:
|
|
652
627
|
params["run_id"] = run_id
|
|
653
|
-
|
|
654
|
-
query_stats[3] += 1
|
|
655
628
|
|
|
656
629
|
else:
|
|
657
630
|
# Build dynamic MERGE props for both source and destination
|
|
@@ -700,12 +673,8 @@ class MemoryGraph:
|
|
|
700
673
|
params["agent_id"] = agent_id
|
|
701
674
|
if run_id:
|
|
702
675
|
params["run_id"] = run_id
|
|
703
|
-
|
|
704
|
-
query_stats[4] += 1
|
|
705
|
-
|
|
706
676
|
result = self.graph.query(cypher, params=params)
|
|
707
677
|
results.append(result)
|
|
708
|
-
logger.warning(f"Add entities query stats: {query_stats}")
|
|
709
678
|
return results
|
|
710
679
|
|
|
711
680
|
def _remove_spaces_from_entities(self, entity_list):
|
|
@@ -1553,6 +1553,7 @@ class AsyncMemory(MemoryBase):
|
|
|
1553
1553
|
else:
|
|
1554
1554
|
return {"results": original_memories}
|
|
1555
1555
|
|
|
1556
|
+
@time_perf
|
|
1556
1557
|
async def _search_vector_store(self, query, filters, limit, threshold: Optional[float] = None):
|
|
1557
1558
|
embeddings = await asyncio.to_thread(self.embedding_model.embed, query, "search")
|
|
1558
1559
|
memories = await asyncio.to_thread(
|
|
@@ -197,7 +197,7 @@ def time_perf(func):
|
|
|
197
197
|
result = await func(*args, **kwargs)
|
|
198
198
|
end = time.perf_counter()
|
|
199
199
|
elapsed = end - start
|
|
200
|
-
logger.
|
|
200
|
+
logger.debug(f"[Mem0 time perf][{func.__name__}] executed in {elapsed:.6f} seconds")
|
|
201
201
|
return result
|
|
202
202
|
return async_wrapper
|
|
203
203
|
else:
|
|
@@ -207,6 +207,6 @@ def time_perf(func):
|
|
|
207
207
|
result = func(*args, **kwargs)
|
|
208
208
|
end = time.perf_counter()
|
|
209
209
|
elapsed = end - start
|
|
210
|
-
logger.
|
|
210
|
+
logger.debug(f"[Mem0 time perf][{func.__name__}] executed in {elapsed:.6f} seconds")
|
|
211
211
|
return result
|
|
212
212
|
return sync_wrapper
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mem0ai-azure-mysql"
|
|
7
|
-
version = "0.1.116.
|
|
7
|
+
version = "0.1.116.6"
|
|
8
8
|
description = "Long-term memory for AI Agents with Azure DefaultAzureCredential authentication and MySQL history database support"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9,<4.0"
|
|
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
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/embeddings/__init__.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/embeddings/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/anthropic.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/llms/aws_bedrock.py
RENAMED
|
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
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/baidu.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/chroma.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/faiss.py
RENAMED
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/milvus.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/mongodb.py
RENAMED
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/pgvector.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/pinecone.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/qdrant.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/redis.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/supabase.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/configs/vector_stores/weaviate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/aws_bedrock.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/azure_openai.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/embeddings/huggingface.py
RENAMED
|
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
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/graphs/neptune/__init__.py
RENAMED
|
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
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/azure_openai_structured.py
RENAMED
|
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
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/llms/openai_structured.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/memory/memgraph_memory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/__init__.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/azure_ai_search.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/databricks.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/elasticsearch.py
RENAMED
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/langchain.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/opensearch.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/pgvector.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/pinecone.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/supabase.py
RENAMED
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/upstash_vector.py
RENAMED
|
File without changes
|
|
File without changes
|
{mem0ai_azure_mysql-0.1.116.5 → mem0ai_azure_mysql-0.1.116.6}/mem0/vector_stores/weaviate.py
RENAMED
|
File without changes
|