88
99from .._models import BaseModel
1010
11- __all__ = ["MemoryGetResponse" , "Doc" ]
11+ __all__ = ["MemoryGetResponse" ]
1212
1313
14- class Doc (BaseModel ):
14+ class MemoryGetResponse (BaseModel ):
1515 id : str
1616 """Unique identifier of the memory."""
1717
@@ -30,6 +30,12 @@ class Doc(BaseModel):
3030 created_at : datetime = FieldInfo (alias = "createdAt" )
3131 """Creation timestamp"""
3232
33+ custom_id : Optional [str ] = FieldInfo (alias = "customId" , default = None )
34+ """Optional custom ID of the memory.
35+
36+ This could be an ID from your database that will uniquely identify this memory.
37+ """
38+
3339 metadata : Union [str , float , bool , Dict [str , object ], List [object ], None ] = None
3440 """Optional metadata for the memory.
3541
@@ -39,6 +45,11 @@ class Doc(BaseModel):
3945 strings, numbers, or booleans. You cannot nest objects.
4046 """
4147
48+ og_image : Optional [str ] = FieldInfo (alias = "ogImage" , default = None )
49+
50+ source : Optional [str ] = None
51+ """Source of the memory"""
52+
4253 status : Literal ["unknown" , "queued" , "extracting" , "chunking" , "embedding" , "indexing" , "done" , "failed" ]
4354 """Status of the memory"""
4455
@@ -48,15 +59,21 @@ class Doc(BaseModel):
4859 title : Optional [str ] = None
4960 """Title of the memory"""
5061
62+ type : Literal ["text" , "pdf" , "tweet" , "google_doc" , "image" , "video" , "notion_doc" , "webpage" ]
63+ """Type of the memory"""
64+
5165 updated_at : datetime = FieldInfo (alias = "updatedAt" )
5266 """Last update timestamp"""
5367
5468 url : Optional [str ] = None
5569 """URL of the memory"""
5670
71+ container_tags : Optional [List [str ]] = FieldInfo (alias = "containerTags" , default = None )
72+ """Optional tags this memory should be containerized by.
5773
58- class MemoryGetResponse ( BaseModel ):
59- doc : Doc
60- """Memory object"""
74+ This can be an ID for your user, a project ID, or any other identifier you wish
75+ to use to group memories.
76+ """
6177
62- status : str
78+ raw : None = None
79+ """Raw content of the memory"""
0 commit comments