Skip to content

Commit 3f71f60

Browse files
feat(api): api update
1 parent 812e982 commit 3f71f60

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 16
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-09da5c3ffd6340714c6cb0068dc6b708becce683de2ea324d03f402cf5113b16.yml
3-
openapi_spec_hash: 7f6021bcb2388695b04edb0575904421
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-9898601fd84ac5d7adacff7fcd839cece38093f748963d125b1609ffa5a4778a.yml
3+
openapi_spec_hash: b1506162a216c12f5925af429aef2624
44
config_hash: be10c837d5319a33f30809a3ec223caf

src/supermemory/types/memory_get_response.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ class MemoryGetResponse(BaseModel):
6262
summary: Optional[str] = None
6363
"""Summary of the memory content"""
6464

65+
summary_embedding_model: Optional[str] = FieldInfo(alias="summaryEmbeddingModel", default=None)
66+
67+
summary_embedding_model_new: Optional[str] = FieldInfo(alias="summaryEmbeddingModelNew", default=None)
68+
69+
summary_embedding_new: Optional[List[float]] = FieldInfo(alias="summaryEmbeddingNew", default=None)
70+
6571
title: Optional[str] = None
6672
"""Title of the memory"""
6773

@@ -83,9 +89,6 @@ class MemoryGetResponse(BaseModel):
8389
updated_at: datetime = FieldInfo(alias="updatedAt")
8490
"""Last update timestamp"""
8591

86-
url: Optional[str] = None
87-
"""URL of the memory"""
88-
8992
container_tags: Optional[List[str]] = FieldInfo(alias="containerTags", default=None)
9093
"""Optional tags this memory should be containerized by.
9194
@@ -95,3 +98,6 @@ class MemoryGetResponse(BaseModel):
9598

9699
raw: None = None
97100
"""Raw content of the memory"""
101+
102+
url: Optional[str] = None
103+
"""URL of the memory"""

0 commit comments

Comments
 (0)