telemem 1.1.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.
telemem/__init__.py ADDED
@@ -0,0 +1,2 @@
1
+ from mem0 import *
2
+ from .main import TeleMemory as Memory
telemem/configs.py ADDED
@@ -0,0 +1,47 @@
1
+ from mem0.configs.base import MemoryConfig as BaseMemoryConfig
2
+ from pydantic import Field
3
+ from typing import Optional, List, Dict
4
+ import os
5
+
6
+
7
+ class TeleMemoryConfig(BaseMemoryConfig):
8
+ buffer_size: int = Field(
9
+ description="Maximum number of events to buffer before flushing to vector store",
10
+ default=64,
11
+ )
12
+ similarity_threshold: float = Field(
13
+ description="Threshold for determining similarity between memories",
14
+ default=0.95,
15
+ ge=0.0,
16
+ le=1.0,
17
+ )
18
+ vlm: Dict = Field(
19
+ description="Configuration for the vistion language model",
20
+ default={
21
+ "vlm_client": "https://api.openai.com/v1",
22
+ "vlm_model": "gpt-4.1-mini",
23
+ "vlm_api_key": os.getenv("OPENAI_API_KEY"),
24
+ "temperature": 0.3,
25
+ "VIDEO_DATABASE_FOLDER": "./videomme_database/",
26
+ "VIDEO_RESOLUTION": "360",
27
+ "VIDEO_FPS": 2,
28
+ "CLIP_SECS": 10,
29
+ "OPENAI_API_KEY": None,
30
+ "AOAI_CAPTION_VLM_ENDPOINT_LIST": [],
31
+ "AOAI_CAPTION_VLM_MODEL_NAME": "gpt-4.1-mini",
32
+ "AOAI_ORCHESTRATOR_LLM_ENDPOINT_LIST": [],
33
+ "AOAI_ORCHESTRATOR_LLM_MODEL_NAME": "o3",
34
+ "AOAI_TOOL_VLM_ENDPOINT_LIST": [],
35
+ "AOAI_TOOL_VLM_MODEL_NAME": "gpt-4.1-mini",
36
+ "AOAI_TOOL_VLM_MAX_FRAME_NUM": 50,
37
+ "AOAI_EMBEDDING_RESOURCE_LIST": [],
38
+ "AOAI_EMBEDDING_LARGE_MODEL_NAME": "text-embedding-3-large",
39
+ "AOAI_EMBEDDING_LARGE_DIM": 3072,
40
+ "LITE_MODE": True,
41
+ "GLOBAL_BROWSE_TOPK": 300,
42
+ "OVERWRITE_CLIP_SEARCH_TOPK": 0,
43
+ "SINGLE_CHOICE_QA": True,
44
+ "MAX_ITERATIONS": 3
45
+ "emb_dim": 3072
46
+ }
47
+ )