evermemos 0.3.8__py3-none-any.whl → 0.3.10__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.
Files changed (33) hide show
  1. evermemos/_base_client.py +5 -2
  2. evermemos/_compat.py +3 -3
  3. evermemos/_utils/_json.py +35 -0
  4. evermemos/_version.py +1 -1
  5. evermemos/resources/v1/__init__.py +13 -13
  6. evermemos/resources/v1/memories/conversation_meta.py +82 -40
  7. evermemos/resources/v1/memories/memories.py +133 -228
  8. evermemos/resources/v1/{stats → status}/__init__.py +13 -13
  9. evermemos/resources/v1/{stats → status}/request.py +6 -6
  10. evermemos/resources/v1/{stats/stats.py → status/status.py} +27 -27
  11. evermemos/resources/v1/v1.py +19 -19
  12. evermemos/types/v1/__init__.py +2 -4
  13. evermemos/types/v1/memories/conversation_meta_create_params.py +90 -19
  14. evermemos/types/v1/memories/conversation_meta_create_response.py +60 -17
  15. evermemos/types/v1/memories/conversation_meta_get_response.py +60 -17
  16. evermemos/types/v1/memories/conversation_meta_update_params.py +68 -9
  17. evermemos/types/v1/memories/conversation_meta_update_response.py +0 -5
  18. evermemos/types/v1/{memory_create_params.py → memory_add_params.py} +2 -2
  19. evermemos/types/v1/{memory_create_response.py → memory_add_response.py} +2 -2
  20. evermemos/types/v1/memory_delete_params.py +6 -0
  21. evermemos/types/v1/memory_delete_response.py +0 -5
  22. evermemos/types/v1/memory_get_response.py +7 -10
  23. evermemos/types/v1/memory_search_response.py +5 -18
  24. evermemos/types/v1/{stats → status}/request_get_params.py +1 -1
  25. evermemos/types/v1/{stats → status}/request_get_response.py +0 -5
  26. {evermemos-0.3.8.dist-info → evermemos-0.3.10.dist-info}/METADATA +24 -27
  27. {evermemos-0.3.8.dist-info → evermemos-0.3.10.dist-info}/RECORD +30 -32
  28. evermemos/types/v1/global_user_profile/__init__.py +0 -3
  29. evermemos/types/v1/memory_load_params.py +0 -83
  30. evermemos/types/v1/memory_load_response.py +0 -26
  31. /evermemos/types/v1/{stats → status}/__init__.py +0 -0
  32. {evermemos-0.3.8.dist-info → evermemos-0.3.10.dist-info}/WHEEL +0 -0
  33. {evermemos-0.3.8.dist-info → evermemos-0.3.10.dist-info}/licenses/LICENSE +0 -0
@@ -125,23 +125,21 @@ class ResultMemoryEpisodicMemoryModel(BaseModel):
125
125
 
126
126
  episode_id: str
127
127
 
128
- summary: str
129
-
130
- title: str
131
-
132
128
  user_id: str
133
129
 
134
130
  created_at: Optional[datetime] = None
135
131
 
136
132
  end_time: Optional[datetime] = None
137
133
 
134
+ episode: Optional[str] = None
135
+
138
136
  extend: Optional[Dict[str, object]] = None
139
137
 
140
138
  group_id: Optional[str] = None
141
139
 
142
140
  group_name: Optional[str] = None
143
141
 
144
- key_events: Optional[List[str]] = None
142
+ keywords: Optional[List[str]] = None
145
143
 
146
144
  location: Optional[str] = None
147
145
 
@@ -157,6 +155,8 @@ class ResultMemoryEpisodicMemoryModel(BaseModel):
157
155
 
158
156
  subject: Optional[str] = None
159
157
 
158
+ summary: Optional[str] = None
159
+
160
160
  timestamp: Optional[datetime] = None
161
161
 
162
162
  updated_at: Optional[datetime] = None
@@ -203,6 +203,8 @@ class ResultMemoryForesightModel(BaseModel):
203
203
 
204
204
  content: str
205
205
 
206
+ foresight: str
207
+
206
208
  parent_id: str
207
209
 
208
210
  parent_type: str
@@ -261,11 +263,6 @@ class Result(BaseModel):
261
263
 
262
264
 
263
265
  class MemoryGetResponse(BaseModel):
264
- """Memory fetch API response
265
-
266
- Response for GET /api/v1/memories endpoint.
267
- """
268
-
269
266
  result: Result
270
267
  """Memory fetch result"""
271
268
 
@@ -8,10 +8,10 @@ from .metadata import Metadata
8
8
  from ..._models import BaseModel
9
9
  from .memory_type import MemoryType
10
10
 
11
- __all__ = ["MemorySearchResponse", "Result", "ResultMemoryResultMemoryItem", "ResultPendingMessage"]
11
+ __all__ = ["MemorySearchResponse", "Result", "ResultMemory", "ResultPendingMessage"]
12
12
 
13
13
 
14
- class ResultMemoryResultMemoryItem(BaseModel):
14
+ class ResultMemory(BaseModel):
15
15
  memory_type: MemoryType
16
16
 
17
17
  ori_event_id_list: List[str]
@@ -37,7 +37,6 @@ class ResultMemoryResultMemoryItem(BaseModel):
37
37
  participants: Optional[List[str]] = None
38
38
 
39
39
  type: Optional[Literal["Conversation"]] = None
40
- """Types of content that can be processed."""
41
40
 
42
41
  user_name: Optional[str] = None
43
42
 
@@ -47,11 +46,6 @@ class ResultMemoryResultMemoryItem(BaseModel):
47
46
 
48
47
 
49
48
  class ResultPendingMessage(BaseModel):
50
- """Pending message that has not yet been extracted into memory.
51
-
52
- Represents a cached message waiting for boundary detection or memory extraction.
53
- """
54
-
55
49
  id: str
56
50
 
57
51
  request_id: str
@@ -84,29 +78,22 @@ class Result(BaseModel):
84
78
 
85
79
  has_more: Optional[bool] = None
86
80
 
87
- importance_scores: Optional[List[float]] = None
88
-
89
- memories: Optional[List[Dict[str, List[ResultMemoryResultMemoryItem]]]] = None
81
+ memories: Optional[List[ResultMemory]] = None
90
82
 
91
83
  metadata: Optional[Metadata] = None
92
84
 
93
- original_data: Optional[List[Dict[str, List[Dict[str, object]]]]] = None
85
+ original_data: Optional[List[Dict[str, object]]] = None
94
86
 
95
87
  pending_messages: Optional[List[ResultPendingMessage]] = None
96
88
 
97
89
  query_metadata: Optional[Metadata] = None
98
90
 
99
- scores: Optional[List[Dict[str, List[float]]]] = None
91
+ scores: Optional[List[float]] = None
100
92
 
101
93
  total_count: Optional[int] = None
102
94
 
103
95
 
104
96
  class MemorySearchResponse(BaseModel):
105
- """Memory search API response
106
-
107
- Response for GET /api/v1/memories/search endpoint.
108
- """
109
-
110
97
  result: Result
111
98
  """Memory search result"""
112
99
 
@@ -10,4 +10,4 @@ __all__ = ["RequestGetParams"]
10
10
 
11
11
  class RequestGetParams(TypedDict, total=False):
12
12
  request_id: Required[Optional[str]]
13
- """this id is returned by add_memories api"""
13
+ """which is returned by add_memories api"""
@@ -8,11 +8,6 @@ __all__ = ["RequestGetResponse"]
8
8
 
9
9
 
10
10
  class RequestGetResponse(BaseModel):
11
- """Request status response
12
-
13
- Contains detailed status information of the request.
14
- """
15
-
16
11
  success: bool
17
12
  """Whether the query was successful"""
18
13
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: evermemos
3
- Version: 0.3.8
3
+ Version: 0.3.10
4
4
  Summary: The official Python library for the EverMemOS API
5
5
  Project-URL: Homepage, https://github.com/evermemos/evermemos-python
6
6
  Project-URL: Repository, https://github.com/evermemos/evermemos-python
@@ -67,13 +67,13 @@ client = EverMemOS(
67
67
  api_key=os.environ.get("EVERMEMOS_API_KEY"), # This is the default and can be omitted
68
68
  )
69
69
 
70
- memory = client.v1.memories.create(
70
+ response = client.v1.memories.add(
71
71
  content="Let's discuss the technical solution for the new feature today",
72
72
  create_time="2025-01-15T10:00:00+00:00",
73
73
  message_id="msg_001",
74
74
  sender="user_001",
75
75
  )
76
- print(memory.request_id)
76
+ print(response.request_id)
77
77
  ```
78
78
 
79
79
  While you can provide an `api_key` keyword argument,
@@ -96,13 +96,13 @@ client = AsyncEverMemOS(
96
96
 
97
97
 
98
98
  async def main() -> None:
99
- memory = await client.v1.memories.create(
99
+ response = await client.v1.memories.add(
100
100
  content="Let's discuss the technical solution for the new feature today",
101
101
  create_time="2025-01-15T10:00:00+00:00",
102
102
  message_id="msg_001",
103
103
  sender="user_001",
104
104
  )
105
- print(memory.request_id)
105
+ print(response.request_id)
106
106
 
107
107
 
108
108
  asyncio.run(main())
@@ -135,13 +135,13 @@ async def main() -> None:
135
135
  api_key=os.environ.get("EVERMEMOS_API_KEY"), # This is the default and can be omitted
136
136
  http_client=DefaultAioHttpClient(),
137
137
  ) as client:
138
- memory = await client.v1.memories.create(
138
+ response = await client.v1.memories.add(
139
139
  content="Let's discuss the technical solution for the new feature today",
140
140
  create_time="2025-01-15T10:00:00+00:00",
141
141
  message_id="msg_001",
142
142
  sender="user_001",
143
143
  )
144
- print(memory.request_id)
144
+ print(response.request_id)
145
145
 
146
146
 
147
147
  asyncio.run(main())
@@ -165,23 +165,20 @@ from evermemos import EverMemOS
165
165
 
166
166
  client = EverMemOS()
167
167
 
168
- response = client.v1.memories.load(
169
- conversation_meta={
170
- "group_id": "chat_user_001_assistant",
171
- "created_at": "2025-06-26T00:00:00Z",
172
- "default_timezone": "UTC",
173
- "description": "Conversation between user and assistant",
174
- "name": "User Support Chat",
175
- "scene": "assistant",
176
- "scene_desc": {"description": "bar"},
177
- "tags": ["support"],
178
- "user_details": {
179
- "user_001": "bar",
180
- "robot_001": "bar",
168
+ conversation_meta = client.v1.memories.conversation_meta.create(
169
+ created_at="2025-01-15T10:00:00+00:00",
170
+ llm_custom_setting={
171
+ "boundary": {
172
+ "model": "gpt-4o-mini",
173
+ "provider": "openai",
174
+ },
175
+ "extraction": {
176
+ "model": "gpt-4o",
177
+ "provider": "openai",
181
178
  },
182
179
  },
183
180
  )
184
- print(response.conversation_meta)
181
+ print(conversation_meta.llm_custom_setting)
185
182
  ```
186
183
 
187
184
  ## Handling errors
@@ -200,7 +197,7 @@ from evermemos import EverMemOS
200
197
  client = EverMemOS()
201
198
 
202
199
  try:
203
- client.v1.memories.create(
200
+ client.v1.memories.add(
204
201
  content="Let's discuss the technical solution for the new feature today",
205
202
  create_time="2025-01-15T10:00:00+00:00",
206
203
  message_id="msg_001",
@@ -248,7 +245,7 @@ client = EverMemOS(
248
245
  )
249
246
 
250
247
  # Or, configure per-request:
251
- client.with_options(max_retries=5).v1.memories.create(
248
+ client.with_options(max_retries=5).v1.memories.add(
252
249
  content="Let's discuss the technical solution for the new feature today",
253
250
  create_time="2025-01-15T10:00:00+00:00",
254
251
  message_id="msg_001",
@@ -276,7 +273,7 @@ client = EverMemOS(
276
273
  )
277
274
 
278
275
  # Override per-request:
279
- client.with_options(timeout=5.0).v1.memories.create(
276
+ client.with_options(timeout=5.0).v1.memories.add(
280
277
  content="Let's discuss the technical solution for the new feature today",
281
278
  create_time="2025-01-15T10:00:00+00:00",
282
279
  message_id="msg_001",
@@ -322,7 +319,7 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
322
319
  from evermemos import EverMemOS
323
320
 
324
321
  client = EverMemOS()
325
- response = client.v1.memories.with_raw_response.create(
322
+ response = client.v1.memories.with_raw_response.add(
326
323
  content="Let's discuss the technical solution for the new feature today",
327
324
  create_time="2025-01-15T10:00:00+00:00",
328
325
  message_id="msg_001",
@@ -330,7 +327,7 @@ response = client.v1.memories.with_raw_response.create(
330
327
  )
331
328
  print(response.headers.get('X-My-Header'))
332
329
 
333
- memory = response.parse() # get the object that `v1.memories.create()` would have returned
330
+ memory = response.parse() # get the object that `v1.memories.add()` would have returned
334
331
  print(memory.request_id)
335
332
  ```
336
333
 
@@ -345,7 +342,7 @@ The above interface eagerly reads the full response body when you make the reque
345
342
  To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
346
343
 
347
344
  ```python
348
- with client.v1.memories.with_streaming_response.create(
345
+ with client.v1.memories.with_streaming_response.add(
349
346
  content="Let's discuss the technical solution for the new feature today",
350
347
  create_time="2025-01-15T10:00:00+00:00",
351
348
  message_id="msg_001",
@@ -1,7 +1,7 @@
1
1
  evermemos/__init__.py,sha256=KBOrZ3feocb96vpzs9P3zV9dab2W2G7Ml9ZqHLi2b4M,2692
2
- evermemos/_base_client.py,sha256=k8zK7xNfsHrfSiouG0GFmeqfm1u8l0P6-zJE3Fl1CEc,73412
2
+ evermemos/_base_client.py,sha256=LB3mlONfbWuCbGi5awq1sxDBRwmUtdVDYovCpSocpRE,73661
3
3
  evermemos/_client.py,sha256=8jgJOMk9VvUGWz7YOJI522RyJdMuweRPoOu-sXPMFUU,16053
4
- evermemos/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
4
+ evermemos/_compat.py,sha256=teO44AYozpv2wFRrUi7brcZfGPpFSERQZ4fcdX6zVvs,6627
5
5
  evermemos/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
6
  evermemos/_exceptions.py,sha256=XX3IGqJnn7oZAfPyS329GI4XAwJSZc5SsPnhg50cNq4,3226
7
7
  evermemos/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
@@ -11,11 +11,12 @@ evermemos/_resource.py,sha256=4q9tJ95WlH41fbOaDBFQk9arvUwP1aLFqGk4SAujrR8,1118
11
11
  evermemos/_response.py,sha256=MLm_f8qKFHHe8UR0gdvp_alnLS61OqNrt3McWdBJIJA,28806
12
12
  evermemos/_streaming.py,sha256=guEiLN0kAodVFFETj4gPE8fgof4fYFoIZRxzYDL-81Y,10233
13
13
  evermemos/_types.py,sha256=Ue_eCWn1Lxlih_CAV4Mkx_pUiD3j29VPhHPF39l43Sg,7597
14
- evermemos/_version.py,sha256=VJFPsgXUTmIVmzyWvIUCAYQL6bPyVgYiz3IbAk_Dleo,161
14
+ evermemos/_version.py,sha256=PWQ47tpVdR8EXVWwjtQofui67p8deR0cfwdKBle-Dv8,162
15
15
  evermemos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  evermemos/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  evermemos/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
18
18
  evermemos/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
19
+ evermemos/_utils/_json.py,sha256=bl95uuIWwgSfXX-gP1trK_lDAPwJujYfJ05Cxo2SEC4,962
19
20
  evermemos/_utils/_logs.py,sha256=kYWJ_YEXXS4TNgrXMJOoiRX8e3yXvh8E-MLOWz7h8Cs,785
20
21
  evermemos/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
21
22
  evermemos/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
@@ -27,37 +28,34 @@ evermemos/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4
27
28
  evermemos/_utils/_utils.py,sha256=ugfUaneOK7I8h9b3656flwf5u_kthY0gvNuqvgOLoSU,12252
28
29
  evermemos/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
30
  evermemos/resources/__init__.py,sha256=TSJ6b8GNHShyK5w7efHV93u1bY2jYVySQRa2zKc1dKM,500
30
- evermemos/resources/v1/__init__.py,sha256=jLjptffGJh-4ED6_Njl0K5TV9sVw6BR6A_sqZ9m5_VM,1413
31
- evermemos/resources/v1/v1.py,sha256=2QYjwNjpINJQmVk5lR6m4h-f5L3B-IxoPlqdk4MqBzI,4560
31
+ evermemos/resources/v1/__init__.py,sha256=IPwR8vtFn1108jEx2qsu1FJzJXhWjuH7r52hdz-vTYo,1426
32
+ evermemos/resources/v1/v1.py,sha256=-D1I1uY6cRYUQQMthu9LQ0xsGn101IVtEx0omD2jb9g,4590
32
33
  evermemos/resources/v1/memories/__init__.py,sha256=8oz2uuhvRKyX7LSyLyfjrvBCjuP3LrVmKmfn_U_WdqM,1159
33
- evermemos/resources/v1/memories/conversation_meta.py,sha256=zBCdcetkS6lYqPPLiUxykW-jzMzhSTzsUnZx1yrgDJA,17930
34
- evermemos/resources/v1/memories/memories.py,sha256=X1pXiKrNqxBhI-kiyRy9fiE3WuzTBx--gKz6QE7Zqe0,23731
35
- evermemos/resources/v1/stats/__init__.py,sha256=f7q_Y1qF5OsCrrOqPm2f-im0bY7H_TgOwIhsYGN344U,1002
36
- evermemos/resources/v1/stats/request.py,sha256=aOclnKpTCrJpP1zO8oFUfu_JMAe-18rFokmrr6e69Ao,6261
37
- evermemos/resources/v1/stats/stats.py,sha256=HFKLE3PiPTCxafHwjsIWLi8lU1-lw87VJhsg40iMMLU,3602
34
+ evermemos/resources/v1/memories/conversation_meta.py,sha256=QspjmSZmtNFB77InfMVfSn1XeNdXZEAFXbzLhYAjDuk,20956
35
+ evermemos/resources/v1/memories/memories.py,sha256=CV-pG8wRKtzxu-XIGvU437ugh94hNFifQmTvdhQGa7I,20025
36
+ evermemos/resources/v1/status/__init__.py,sha256=i-QV1kCmCclFwWgF1JVJsbSCdW6cSRrkyKTtV_BMTwM,1015
37
+ evermemos/resources/v1/status/request.py,sha256=2V4xo8ymnvTDA1VN-5rabAg47CqFmWsJSY_WWsfIaVU,6261
38
+ evermemos/resources/v1/status/status.py,sha256=N3WA3ggiWiFTTSqtOg2Meo6r2knqqO7J5YR0hQjeSWw,3638
38
39
  evermemos/types/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
39
- evermemos/types/v1/__init__.py,sha256=DGZd1R0ToVFVuIHcDBvw91cDsgaZgg7zgD-UUFDo4hk,825
40
- evermemos/types/v1/memory_create_params.py,sha256=h3xQEqp1LjHt3s81qYHowOJMInLFg0BVdcPW3QDbjAE,1536
41
- evermemos/types/v1/memory_create_response.py,sha256=ISNGdbDcc9gyyRHGUSTm8Xc-m-lLDSKR-6ArioRNe1E,252
42
- evermemos/types/v1/memory_delete_params.py,sha256=lFcScEuPCenJLnWnoO0WXhLuf0PBfLwLvSATuxAoLmY,477
43
- evermemos/types/v1/memory_delete_response.py,sha256=bgYSTaziftqYbHxr8U9BnRdMjeoNd2scfrUWDZ20lY0,735
44
- evermemos/types/v1/memory_get_response.py,sha256=wB2xoOUogneDNNquyWkP3o9byEuCZcIqOAtw6qUvUxE,5504
45
- evermemos/types/v1/memory_load_params.py,sha256=PiBeFtBGUZ8LVuFm_rSE4VSX30xzw4OUKN4fivkVmEM,2068
46
- evermemos/types/v1/memory_load_response.py,sha256=-H3TTXxB9eZ2568qwuRHn_dR8zphdY28bkmm6XWaA8I,634
47
- evermemos/types/v1/memory_search_response.py,sha256=88K6Ft2ohFuHf0M5UQ6T-k1l3g0-Bat-mRLc6T5mXMw,2651
40
+ evermemos/types/v1/__init__.py,sha256=r28bDjt7ATwvsf76oYquk2xMnwd6MKnG-Cl8pDbMjH4,663
41
+ evermemos/types/v1/memory_add_params.py,sha256=Oyq4VdtAf6mgOSifie5j4rlwqbMuFcJp4W-wQvU_6IQ,1530
42
+ evermemos/types/v1/memory_add_response.py,sha256=1UrR2mdiXFm9KPZV_bz6-v8rF99g8_iGSZxEEQ0mqoY,246
43
+ evermemos/types/v1/memory_delete_params.py,sha256=5zhPgDkehYv_A8q-tUie_gHH4II2C7S_metSscagc6M,639
44
+ evermemos/types/v1/memory_delete_response.py,sha256=bPE0iGF9ZHukKn1k4ypkVEAkw-l9YDYtxeeZ55eNXTc,638
45
+ evermemos/types/v1/memory_get_response.py,sha256=qvONA1wUrFcd-HzxJ3XbARYpQsXq3HR--dlgDzRc2Ck,5467
46
+ evermemos/types/v1/memory_search_response.py,sha256=rM8Jb6j8PdgsvD-C58B16iHPgOwoE_5DoNEDKz_sbJk,2187
48
47
  evermemos/types/v1/memory_type.py,sha256=J6Ojgl45dHWxTyR668QyAt6somaquvbjjl7ooqlK0Fw,251
49
48
  evermemos/types/v1/metadata.py,sha256=Hu-gdrsH5EZ0mfNKaJjum7xZK0tMtosgXO3X98EdRTo,430
50
- evermemos/types/v1/global_user_profile/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
51
49
  evermemos/types/v1/memories/__init__.py,sha256=WAXGVPS8gSSay4bXYizkjs14kDnDNKxD-ShtVdqnEFA,662
52
- evermemos/types/v1/memories/conversation_meta_create_params.py,sha256=CoMv542jpA4CfUacswj0VSfhp-jWlyhsMDnD0wQ93Ho,1989
53
- evermemos/types/v1/memories/conversation_meta_create_response.py,sha256=hefvN92wHDoTcReMTsnGIenZxQ-H1IRuNWys6sPxDIQ,1496
54
- evermemos/types/v1/memories/conversation_meta_get_response.py,sha256=_4Nd7eiS-QZOqHdq1tvNChsd1b8DQecFQ7on3AH1Ic8,1476
55
- evermemos/types/v1/memories/conversation_meta_update_params.py,sha256=VNKMVsooBN8NHbBo9DoSRJJL4g6fSdtEnIvKpjrZnX4,1498
56
- evermemos/types/v1/memories/conversation_meta_update_response.py,sha256=xLWnaeGCU35ts8ZswYbbvqjODNnPcbXhp9TXZ18Ogvo,1032
57
- evermemos/types/v1/stats/__init__.py,sha256=qLacNLO9z56iP5d5zh32BOG1ot-9ebbny5jNBBrblhc,267
58
- evermemos/types/v1/stats/request_get_params.py,sha256=kZpEke7tQW2RSc3iyQhR3qQKSH5Gm0VNeGYbdQdpItw,373
59
- evermemos/types/v1/stats/request_get_response.py,sha256=jUBHpcM3hIO_5iiWwtHGF1Wibr9DMjRrHZ3jGrbaaeo,598
60
- evermemos-0.3.8.dist-info/METADATA,sha256=Nd9Wmbn8msdNfEL0QYiDdCg9JGsq6ggiDT8AppGiaOk,15718
61
- evermemos-0.3.8.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
62
- evermemos-0.3.8.dist-info/licenses/LICENSE,sha256=lTNFvvgo69z4I15AG8OiYYFHk0_wF3bMvN8eH3o7lh4,11339
63
- evermemos-0.3.8.dist-info/RECORD,,
50
+ evermemos/types/v1/memories/conversation_meta_create_params.py,sha256=3D_dTIQdQ8gXs5eOdmBLlw0d0O5oEj5uSZuLQ00-ewU,4038
51
+ evermemos/types/v1/memories/conversation_meta_create_response.py,sha256=VPMBKVQEOlhvsO2SBl-Bbw1FPNtnSJfw2RsHR5rnqDE,2842
52
+ evermemos/types/v1/memories/conversation_meta_get_response.py,sha256=aFPpiwBqXxu0fQRoToatHvTSGJLqnGEZYA3FGGdFT-E,2824
53
+ evermemos/types/v1/memories/conversation_meta_update_params.py,sha256=UhoaF4F7R4sfxBkw5Sp_-Xw8AV2eL5Akc0Z5iE6BsuE,3182
54
+ evermemos/types/v1/memories/conversation_meta_update_response.py,sha256=7cZMqgo27FiTz1ihWJpg8zfeBnZqK6lwRtQKh8V97Q8,906
55
+ evermemos/types/v1/status/__init__.py,sha256=qLacNLO9z56iP5d5zh32BOG1ot-9ebbny5jNBBrblhc,267
56
+ evermemos/types/v1/status/request_get_params.py,sha256=C8PNetfgiLchG9aR8UgE819ve1oNGqQErVFlMA_6dy8,371
57
+ evermemos/types/v1/status/request_get_response.py,sha256=zeitvwEhGcVgVYFCJi5AXUnl4Uic_93Zmm8z1YrEmUE,500
58
+ evermemos-0.3.10.dist-info/METADATA,sha256=0pApfBf2hbxUDooDExUOQMN-jPgeJ55O4E4-Erd3XAY,15555
59
+ evermemos-0.3.10.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
60
+ evermemos-0.3.10.dist-info/licenses/LICENSE,sha256=lTNFvvgo69z4I15AG8OiYYFHk0_wF3bMvN8eH3o7lh4,11339
61
+ evermemos-0.3.10.dist-info/RECORD,,
@@ -1,3 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
@@ -1,83 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Dict, Union, Iterable, Optional
6
- from typing_extensions import Required, TypedDict
7
-
8
- from ..._types import SequenceNotStr
9
-
10
- __all__ = ["MemoryLoadParams", "ConversationMeta", "ConversationList"]
11
-
12
-
13
- class MemoryLoadParams(TypedDict, total=False):
14
- conversation_meta: Required[ConversationMeta]
15
- """Conversation metadata for batch import."""
16
-
17
- conversation_list: Optional[Iterable[ConversationList]]
18
- """Message list."""
19
-
20
- version: Optional[str]
21
- """Format version."""
22
-
23
-
24
- class ConversationMeta(TypedDict, total=False):
25
- """Conversation metadata for batch import."""
26
-
27
- group_id: Required[str]
28
- """Conversation group ID (unique)."""
29
-
30
- created_at: Optional[str]
31
- """Conversation creation time (ISO 8601)."""
32
-
33
- default_timezone: Optional[str]
34
- """Default timezone."""
35
-
36
- description: Optional[str]
37
- """Conversation description."""
38
-
39
- name: Optional[str]
40
- """Conversation name."""
41
-
42
- scene: Optional[str]
43
- """Scene type (e.g., assistant, group_chat)."""
44
-
45
- scene_desc: Optional[Dict[str, object]]
46
- """Scene description object."""
47
-
48
- tags: Optional[SequenceNotStr[str]]
49
- """Tags for the conversation."""
50
-
51
- user_details: Optional[Dict[str, object]]
52
- """User details map keyed by user ID."""
53
-
54
-
55
- class ConversationList(TypedDict, total=False):
56
- """Message item for batch import."""
57
-
58
- content: Optional[str]
59
- """Message content."""
60
-
61
- create_time: Union[str, int, None]
62
- """Creation time (ISO 8601 or timestamp)."""
63
-
64
- extra: Optional[Dict[str, object]]
65
- """Additional data."""
66
-
67
- message_id: Optional[str]
68
- """Message ID."""
69
-
70
- refer_list: Optional[Iterable[Dict[str, object]]]
71
- """Referenced messages."""
72
-
73
- role: Optional[str]
74
- """Role (e.g., user, assistant)."""
75
-
76
- sender: Optional[str]
77
- """Sender ID."""
78
-
79
- sender_name: Optional[str]
80
- """Sender name."""
81
-
82
- type: Optional[str]
83
- """Message type (e.g., text, image)."""
@@ -1,26 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["MemoryLoadResponse"]
8
-
9
-
10
- class MemoryLoadResponse(BaseModel):
11
- """Batch import response."""
12
-
13
- imported_meta: Optional[bool] = None
14
- """Whether conversation metadata was imported."""
15
-
16
- message: Optional[str] = None
17
- """Status message."""
18
-
19
- request_id: Optional[str] = None
20
- """Request ID of the last imported message."""
21
-
22
- status: Optional[str] = None
23
- """Queue status."""
24
-
25
- total_count: Optional[int] = None
26
- """Total number of messages."""
File without changes