letta-client 0.1.236__py3-none-any.whl → 0.1.237__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.
Potentially problematic release.
This version of letta-client might be problematic. Click here for more details.
- letta_client/agents/passages/client.py +8 -8
- letta_client/agents/passages/raw_client.py +8 -8
- letta_client/core/client_wrapper.py +2 -2
- letta_client/types/passage.py +4 -4
- {letta_client-0.1.236.dist-info → letta_client-0.1.237.dist-info}/METADATA +1 -1
- {letta_client-0.1.236.dist-info → letta_client-0.1.237.dist-info}/RECORD +7 -7
- {letta_client-0.1.236.dist-info → letta_client-0.1.237.dist-info}/WHEEL +0 -0
|
@@ -176,7 +176,7 @@ class PassagesClient:
|
|
|
176
176
|
created_at: typing.Optional[dt.datetime] = OMIT,
|
|
177
177
|
updated_at: typing.Optional[dt.datetime] = OMIT,
|
|
178
178
|
is_deleted: typing.Optional[bool] = OMIT,
|
|
179
|
-
|
|
179
|
+
archive_id: typing.Optional[str] = OMIT,
|
|
180
180
|
source_id: typing.Optional[str] = OMIT,
|
|
181
181
|
file_id: typing.Optional[str] = OMIT,
|
|
182
182
|
file_name: typing.Optional[str] = OMIT,
|
|
@@ -213,8 +213,8 @@ class PassagesClient:
|
|
|
213
213
|
is_deleted : typing.Optional[bool]
|
|
214
214
|
Whether this passage is deleted or not.
|
|
215
215
|
|
|
216
|
-
|
|
217
|
-
The unique identifier of the
|
|
216
|
+
archive_id : typing.Optional[str]
|
|
217
|
+
The unique identifier of the archive containing this passage.
|
|
218
218
|
|
|
219
219
|
source_id : typing.Optional[str]
|
|
220
220
|
The data source of the passage.
|
|
@@ -268,7 +268,7 @@ class PassagesClient:
|
|
|
268
268
|
created_at=created_at,
|
|
269
269
|
updated_at=updated_at,
|
|
270
270
|
is_deleted=is_deleted,
|
|
271
|
-
|
|
271
|
+
archive_id=archive_id,
|
|
272
272
|
source_id=source_id,
|
|
273
273
|
file_id=file_id,
|
|
274
274
|
file_name=file_name,
|
|
@@ -468,7 +468,7 @@ class AsyncPassagesClient:
|
|
|
468
468
|
created_at: typing.Optional[dt.datetime] = OMIT,
|
|
469
469
|
updated_at: typing.Optional[dt.datetime] = OMIT,
|
|
470
470
|
is_deleted: typing.Optional[bool] = OMIT,
|
|
471
|
-
|
|
471
|
+
archive_id: typing.Optional[str] = OMIT,
|
|
472
472
|
source_id: typing.Optional[str] = OMIT,
|
|
473
473
|
file_id: typing.Optional[str] = OMIT,
|
|
474
474
|
file_name: typing.Optional[str] = OMIT,
|
|
@@ -505,8 +505,8 @@ class AsyncPassagesClient:
|
|
|
505
505
|
is_deleted : typing.Optional[bool]
|
|
506
506
|
Whether this passage is deleted or not.
|
|
507
507
|
|
|
508
|
-
|
|
509
|
-
The unique identifier of the
|
|
508
|
+
archive_id : typing.Optional[str]
|
|
509
|
+
The unique identifier of the archive containing this passage.
|
|
510
510
|
|
|
511
511
|
source_id : typing.Optional[str]
|
|
512
512
|
The data source of the passage.
|
|
@@ -568,7 +568,7 @@ class AsyncPassagesClient:
|
|
|
568
568
|
created_at=created_at,
|
|
569
569
|
updated_at=updated_at,
|
|
570
570
|
is_deleted=is_deleted,
|
|
571
|
-
|
|
571
|
+
archive_id=archive_id,
|
|
572
572
|
source_id=source_id,
|
|
573
573
|
file_id=file_id,
|
|
574
574
|
file_name=file_name,
|
|
@@ -226,7 +226,7 @@ class RawPassagesClient:
|
|
|
226
226
|
created_at: typing.Optional[dt.datetime] = OMIT,
|
|
227
227
|
updated_at: typing.Optional[dt.datetime] = OMIT,
|
|
228
228
|
is_deleted: typing.Optional[bool] = OMIT,
|
|
229
|
-
|
|
229
|
+
archive_id: typing.Optional[str] = OMIT,
|
|
230
230
|
source_id: typing.Optional[str] = OMIT,
|
|
231
231
|
file_id: typing.Optional[str] = OMIT,
|
|
232
232
|
file_name: typing.Optional[str] = OMIT,
|
|
@@ -263,8 +263,8 @@ class RawPassagesClient:
|
|
|
263
263
|
is_deleted : typing.Optional[bool]
|
|
264
264
|
Whether this passage is deleted or not.
|
|
265
265
|
|
|
266
|
-
|
|
267
|
-
The unique identifier of the
|
|
266
|
+
archive_id : typing.Optional[str]
|
|
267
|
+
The unique identifier of the archive containing this passage.
|
|
268
268
|
|
|
269
269
|
source_id : typing.Optional[str]
|
|
270
270
|
The data source of the passage.
|
|
@@ -304,7 +304,7 @@ class RawPassagesClient:
|
|
|
304
304
|
"created_at": created_at,
|
|
305
305
|
"updated_at": updated_at,
|
|
306
306
|
"is_deleted": is_deleted,
|
|
307
|
-
"
|
|
307
|
+
"archive_id": archive_id,
|
|
308
308
|
"source_id": source_id,
|
|
309
309
|
"file_id": file_id,
|
|
310
310
|
"file_name": file_name,
|
|
@@ -555,7 +555,7 @@ class AsyncRawPassagesClient:
|
|
|
555
555
|
created_at: typing.Optional[dt.datetime] = OMIT,
|
|
556
556
|
updated_at: typing.Optional[dt.datetime] = OMIT,
|
|
557
557
|
is_deleted: typing.Optional[bool] = OMIT,
|
|
558
|
-
|
|
558
|
+
archive_id: typing.Optional[str] = OMIT,
|
|
559
559
|
source_id: typing.Optional[str] = OMIT,
|
|
560
560
|
file_id: typing.Optional[str] = OMIT,
|
|
561
561
|
file_name: typing.Optional[str] = OMIT,
|
|
@@ -592,8 +592,8 @@ class AsyncRawPassagesClient:
|
|
|
592
592
|
is_deleted : typing.Optional[bool]
|
|
593
593
|
Whether this passage is deleted or not.
|
|
594
594
|
|
|
595
|
-
|
|
596
|
-
The unique identifier of the
|
|
595
|
+
archive_id : typing.Optional[str]
|
|
596
|
+
The unique identifier of the archive containing this passage.
|
|
597
597
|
|
|
598
598
|
source_id : typing.Optional[str]
|
|
599
599
|
The data source of the passage.
|
|
@@ -633,7 +633,7 @@ class AsyncRawPassagesClient:
|
|
|
633
633
|
"created_at": created_at,
|
|
634
634
|
"updated_at": updated_at,
|
|
635
635
|
"is_deleted": is_deleted,
|
|
636
|
-
"
|
|
636
|
+
"archive_id": archive_id,
|
|
637
637
|
"source_id": source_id,
|
|
638
638
|
"file_id": file_id,
|
|
639
639
|
"file_name": file_name,
|
|
@@ -24,10 +24,10 @@ class BaseClientWrapper:
|
|
|
24
24
|
|
|
25
25
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
26
26
|
headers: typing.Dict[str, str] = {
|
|
27
|
-
"User-Agent": "letta-client/0.1.
|
|
27
|
+
"User-Agent": "letta-client/0.1.237",
|
|
28
28
|
"X-Fern-Language": "Python",
|
|
29
29
|
"X-Fern-SDK-Name": "letta-client",
|
|
30
|
-
"X-Fern-SDK-Version": "0.1.
|
|
30
|
+
"X-Fern-SDK-Version": "0.1.237",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
letta_client/types/passage.py
CHANGED
|
@@ -18,8 +18,8 @@ class Passage(UncheckedBaseModel):
|
|
|
18
18
|
embedding (List[float]): The embedding of the passage.
|
|
19
19
|
embedding_config (EmbeddingConfig): The embedding configuration used by the passage.
|
|
20
20
|
created_at (datetime): The creation date of the passage.
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
organization_id (str): The unique identifier of the organization associated with the passage.
|
|
22
|
+
archive_id (str): The unique identifier of the archive containing this passage.
|
|
23
23
|
source_id (str): The data source of the passage.
|
|
24
24
|
file_id (str): The unique identifier of the file associated with the passage.
|
|
25
25
|
"""
|
|
@@ -49,9 +49,9 @@ class Passage(UncheckedBaseModel):
|
|
|
49
49
|
Whether this passage is deleted or not.
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
|
-
|
|
52
|
+
archive_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
53
53
|
"""
|
|
54
|
-
The unique identifier of the
|
|
54
|
+
The unique identifier of the archive containing this passage.
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
source_id: typing.Optional[str] = pydantic.Field(default=None)
|
|
@@ -33,8 +33,8 @@ letta_client/agents/messages/types/messages_modify_request.py,sha256=0NT3pgbqQIt
|
|
|
33
33
|
letta_client/agents/messages/types/messages_modify_response.py,sha256=1ZCFf0V0QSwtTPLp2qP-SMXVtgnRqg551G2ImXdECDo,672
|
|
34
34
|
letta_client/agents/messages/types/messages_preview_raw_payload_request.py,sha256=ncI14H-30FLJujezUyk2yS7Jfqf7TqqhcWejWXQ4pcE,283
|
|
35
35
|
letta_client/agents/passages/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
36
|
-
letta_client/agents/passages/client.py,sha256=
|
|
37
|
-
letta_client/agents/passages/raw_client.py,sha256=
|
|
36
|
+
letta_client/agents/passages/client.py,sha256=XHPpqOH2BDjHkegTRM9MRdDVxW5VH40ERSFvWchWT48,16785
|
|
37
|
+
letta_client/agents/passages/raw_client.py,sha256=TnNrFsnrexrPVmemkFbRIBfFMcq1Iap2qk23L7mr1Z0,25710
|
|
38
38
|
letta_client/agents/raw_client.py,sha256=9mxxHLSJFn8R_dXe8zDWvJgyUqvz82Nsjf5pNhuqibg,88825
|
|
39
39
|
letta_client/agents/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
40
40
|
letta_client/agents/sources/client.py,sha256=lCqB6FF9svrwf0oZSFs41WKlMXc-YRhUeb4FZkHbicM,6868
|
|
@@ -92,7 +92,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
92
92
|
letta_client/client_side_access_tokens/types/client_side_access_tokens_list_client_side_access_tokens_response_tokens_item_policy_data_item_access_item.py,sha256=kNHfEWFl7u71Pu8NPqutod0a2NXfvq8il05Hqm0iBB4,284
|
|
93
93
|
letta_client/core/__init__.py,sha256=tpn7rjb6C2UIkYZYIqdrNpI7Yax2jw88sXh2baxaxAI,1715
|
|
94
94
|
letta_client/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
95
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
95
|
+
letta_client/core/client_wrapper.py,sha256=LHr05BpobfIb_p1qZSA5eDQGDCoihf3A2WzuzEhtD2c,2776
|
|
96
96
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
97
97
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
98
98
|
letta_client/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -404,7 +404,7 @@ letta_client/types/organization_update.py,sha256=ysej4hr_dVeCt-oYTWSZOpPuhp-GRUh
|
|
|
404
404
|
letta_client/types/parameter_properties.py,sha256=bDVR3EsnqLvKidHyYpDYJnD66p5jueA-5_v_Ckc1apo,610
|
|
405
405
|
letta_client/types/parameters_schema.py,sha256=GVeAO7gTpvMsOWoIELwbC2M-j8k11hpsxxJz_yx36kg,749
|
|
406
406
|
letta_client/types/parent_tool_rule.py,sha256=UKTLrRUeNI8TwTmwUsvBurbpLZKsoqF-7ZIOag_OiZM,1134
|
|
407
|
-
letta_client/types/passage.py,sha256=
|
|
407
|
+
letta_client/types/passage.py,sha256=pyn_N8tvPib65pxl1wvP9cqxOHTMejGbiv7ALLg36ZE,3188
|
|
408
408
|
letta_client/types/payment_required_error_body.py,sha256=ODQ2fA8EF1Y_pfZocseOg1Ryyj9WfgjS5QeSC7WTIbc,590
|
|
409
409
|
letta_client/types/pip_requirement.py,sha256=A9mFgoz-yAlVHsy8vljtYdtJInfN7qL1JePPaPuTr2Y,774
|
|
410
410
|
letta_client/types/provider.py,sha256=FKHoorSxHMht9xor4TAG7OOhcxZyOHDLa2GN70m2P4U,1753
|
|
@@ -498,6 +498,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
498
498
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
499
499
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
500
500
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
501
|
-
letta_client-0.1.
|
|
502
|
-
letta_client-0.1.
|
|
503
|
-
letta_client-0.1.
|
|
501
|
+
letta_client-0.1.237.dist-info/METADATA,sha256=NY8fh5E4D3Cpb9EsPpQScjAWWtvIIMjHjefn-FAAMO8,5781
|
|
502
|
+
letta_client-0.1.237.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
503
|
+
letta_client-0.1.237.dist-info/RECORD,,
|
|
File without changes
|