letta-client 0.1.216__py3-none-any.whl → 0.1.218__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.

@@ -0,0 +1,81 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from ..core.unchecked_base_model import UncheckedBaseModel
4
+ import pydantic
5
+ import typing
6
+ from .embedding_config import EmbeddingConfig
7
+ import datetime as dt
8
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
+
10
+
11
+ class Folder(UncheckedBaseModel):
12
+ """
13
+ Representation of a folder, which is a collection of files and passages.
14
+
15
+ Parameters:
16
+ id (str): The ID of the folder
17
+ name (str): The name of the folder.
18
+ embedding_config (EmbeddingConfig): The embedding configuration used by the folder.
19
+ user_id (str): The ID of the user that created the folder.
20
+ metadata (dict): Metadata associated with the folder.
21
+ description (str): The description of the folder.
22
+ """
23
+
24
+ name: str = pydantic.Field()
25
+ """
26
+ The name of the folder.
27
+ """
28
+
29
+ description: typing.Optional[str] = pydantic.Field(default=None)
30
+ """
31
+ The description of the folder.
32
+ """
33
+
34
+ instructions: typing.Optional[str] = pydantic.Field(default=None)
35
+ """
36
+ Instructions for how to use the folder.
37
+ """
38
+
39
+ metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
40
+ """
41
+ Metadata associated with the folder.
42
+ """
43
+
44
+ id: typing.Optional[str] = pydantic.Field(default=None)
45
+ """
46
+ The human-friendly ID of the Folder
47
+ """
48
+
49
+ embedding_config: EmbeddingConfig = pydantic.Field()
50
+ """
51
+ The embedding configuration used by the folder.
52
+ """
53
+
54
+ created_by_id: typing.Optional[str] = pydantic.Field(default=None)
55
+ """
56
+ The id of the user that made this Tool.
57
+ """
58
+
59
+ last_updated_by_id: typing.Optional[str] = pydantic.Field(default=None)
60
+ """
61
+ The id of the user that made this Tool.
62
+ """
63
+
64
+ created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
65
+ """
66
+ The timestamp when the folder was created.
67
+ """
68
+
69
+ updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None)
70
+ """
71
+ The timestamp when the folder was last updated.
72
+ """
73
+
74
+ if IS_PYDANTIC_V2:
75
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
76
+ else:
77
+
78
+ class Config:
79
+ frozen = True
80
+ smart_union = True
81
+ extra = pydantic.Extra.allow
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: letta-client
3
- Version: 0.1.216
3
+ Version: 0.1.218
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,12 +1,16 @@
1
- letta_client/__init__.py,sha256=QS8dk9ddZPVo_KUckgx_NHfR7zLWG5aaHGNy22o0BTY,19294
2
- letta_client/agents/__init__.py,sha256=i9PmBueIWESDLqmpzWt1oZVgZNr1rNkO6j0pl5sgvGo,2049
1
+ letta_client/__init__.py,sha256=yfaBKdMlOPOQslj_Mht9K9HCOIuE3K708of2oIgszp4,19348
2
+ letta_client/agents/__init__.py,sha256=9wEJMighDL1OFg_7Qh-D50bubPbV4BWo1ZKYxdDJGIQ,2146
3
3
  letta_client/agents/blocks/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
4
4
  letta_client/agents/blocks/client.py,sha256=4UGPYxfGwNN3ZW-SkIdfVZK6cvCcumVAw0_AM8OmoBY,25046
5
- letta_client/agents/client.py,sha256=kldj19HcO2hBnK63JAjjOgvXiFtLPqDJHtLiGH2Jez8,105561
5
+ letta_client/agents/client.py,sha256=6txh-ARpVOKXcDlzzu_H8U652JnO3cYTUQx_xWMl_zA,92585
6
6
  letta_client/agents/context/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
7
7
  letta_client/agents/context/client.py,sha256=O1gxStQyfzXi4MblatWalLTWM425gS_fndW3W_es08U,4887
8
8
  letta_client/agents/core_memory/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
9
9
  letta_client/agents/core_memory/client.py,sha256=NIl8IR4ksPbn5sE4eDN7E9YJ3759l3kaYx0lQScEgE8,4941
10
+ letta_client/agents/files/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
11
+ letta_client/agents/files/client.py,sha256=bqgWXbsy-4Gq3nDXNlN5NOIOxjnBbX9039sse3vzuaw,14210
12
+ letta_client/agents/folders/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
13
+ letta_client/agents/folders/client.py,sha256=VFTZb7UJIY7QV6u6iYHwWbBPMSvgOaGTEnJGmwtLX00,13015
10
14
  letta_client/agents/groups/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
11
15
  letta_client/agents/groups/client.py,sha256=jlXs-vPMCfdoDJdQBvlKw0bstPUl7oQh3CpP_XhgGLc,5265
12
16
  letta_client/agents/memory_variables/__init__.py,sha256=goz3kTaLM-v8g-hYEhzyqBYzIc3Vu6gDD_7RtkIrM50,155
@@ -47,7 +51,7 @@ letta_client/agents/types/create_agent_request_response_format.py,sha256=1GUV3rF
47
51
  letta_client/agents/types/create_agent_request_tool_rules_item.py,sha256=rNdMW67TvB20-ITBdA-1L9181p33yIYkwF9b35OGNX0,800
48
52
  letta_client/agents/types/update_agent_response_format.py,sha256=oCoGofTKP7no6gNbDV6nJOpF8IlIplr1iPn5_7BA0cU,402
49
53
  letta_client/agents/types/update_agent_tool_rules_item.py,sha256=_gXcMqnK0Pp1mhAukhPztLPDhooUOg6xACOhsO2uSZM,793
50
- letta_client/base_client.py,sha256=2eCEaKHkijuw5MrpFPkM7kYr5gkkmF5rSIX9cESe_WM,10605
54
+ letta_client/base_client.py,sha256=GZ-WU6sChv5vJ6h6kWH_NvUqjCOa0kGwEruwcRiUnDI,10847
51
55
  letta_client/batches/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
52
56
  letta_client/batches/client.py,sha256=DHnsRYHgxVh6OvfAE8etlbno1FMg4cIzAYiydJrfmJM,19730
53
57
  letta_client/blocks/__init__.py,sha256=c6SGOs9_YGdydYAzhe5TUiaXq52rpWT1mNMcke8qGTQ,108
@@ -71,7 +75,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
71
75
  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
72
76
  letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
73
77
  letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
74
- letta_client/core/client_wrapper.py,sha256=9r4m1dbdqqO_W5YuNV1tyxfkzxLr5572by2qv5RtI6U,2336
78
+ letta_client/core/client_wrapper.py,sha256=zzRnWAr1JfoPgk0EHInGreqTdIBN9Y5fKvJP9FnrMzY,2336
75
79
  letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
76
80
  letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
77
81
  letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
@@ -92,6 +96,12 @@ letta_client/errors/internal_server_error.py,sha256=8USCagXyJJ1MOm9snpcXIUt6eNXv
92
96
  letta_client/errors/not_found_error.py,sha256=tBVCeBC8n3C811WHRj_n-hs3h8MqwR5gp0vLiobk7W8,262
93
97
  letta_client/errors/payment_required_error.py,sha256=KVasrf0kwCzKfq1bAQ7lj1m9SdS7KqRntFaP0L_vfeI,325
94
98
  letta_client/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
99
+ letta_client/folders/__init__.py,sha256=kswgCv4UdkSVk1Y4tsMM1HadOwvhh_Fr96VTSMV4Umc,128
100
+ letta_client/folders/client.py,sha256=Wic-KFn7v9SrQboSR6aQl3ZWsgcbWv5T-5oQQxi5OfA,42975
101
+ letta_client/folders/files/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
102
+ letta_client/folders/files/client.py,sha256=oSEduN6Q9iw13aRpc2Mm8LxD06tHxJqnBNUMy3xPrUc,14673
103
+ letta_client/folders/passages/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
104
+ letta_client/folders/passages/client.py,sha256=ejEUmwrwfUBG4UihNTrIk7b1-a1v6QziRggL_BgcrZw,6041
95
105
  letta_client/groups/__init__.py,sha256=WzkNp5Q_5zQj_NHv4hJCOKvW6ftM9EuNxw8hkPRRbko,434
96
106
  letta_client/groups/client.py,sha256=M_DX9fYU2aie46-g47ifGywEoszvETwFkakfDfig15Q,29677
97
107
  letta_client/groups/messages/__init__.py,sha256=M7Ar6Rmb8we4dfYE6jj3FCL9UvVFy1bNQIPflUXMWHA,243
@@ -168,7 +178,7 @@ letta_client/tools/types/list_mcp_servers_response_value.py,sha256=Eyji5qB7Fhowi
168
178
  letta_client/tools/types/test_mcp_server_request.py,sha256=sLlOEZdmLfkHqHCkUjntGbr8_MkBhsqpMQ-HwdNOnq0,372
169
179
  letta_client/tools/types/update_mcp_server_request.py,sha256=nCpx9-OvpH0l5iJxEi8kgSok1F1r7liEAZm-kaqBtEo,402
170
180
  letta_client/tools/types/update_mcp_server_response.py,sha256=muwHagaQBMwQI0of9EBCBtG9lD-jELFAevgTB2MjpFQ,375
171
- letta_client/types/__init__.py,sha256=k-HQc96PL7CKawuZJH0QIU5U4SUeyBDk0gy69oQDAuQ,23009
181
+ letta_client/types/__init__.py,sha256=0agvbFrcSGnJi_ThXsiI7wrO12UeF8M_9gM2OR_KZL0,23050
172
182
  letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
173
183
  letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
174
184
  letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
@@ -266,6 +276,7 @@ letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJr
266
276
  letta_client/types/file_metadata.py,sha256=51abJ_M4dmpRJetdWcMf_P39l3EaJ1R2kjuexzEWwMI,2957
267
277
  letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
268
278
  letta_client/types/file_stats.py,sha256=gEaG0m4vulK21EoIuYlOcdy0IK4qWkjBTDoMzXw3GEQ,875
279
+ letta_client/types/folder.py,sha256=h8F1J5j-jFE8Lw2oDZqQsy4M5x1X42B3XP38nOy2VPs,2370
269
280
  letta_client/types/function_call.py,sha256=eE6VYWK3A-2xRrIV-QKqrofvaVFcPNqSzl6lrWnopZA,576
270
281
  letta_client/types/function_definition_input.py,sha256=UpoD7ftRpHquJ5zhy28TjXPBVzxj7rOHKv3gX84Nfj8,740
271
282
  letta_client/types/function_definition_output.py,sha256=Id0SzyiMHF5l25iKQhCN4sWJwBJ7AkYK-I5RDZy3_rc,741
@@ -431,6 +442,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
431
442
  letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
432
443
  letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
433
444
  letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
434
- letta_client-0.1.216.dist-info/METADATA,sha256=2fFcWirDAFmbyVDHmJZ-Jy7D0bhvVxAD5fAjd0KAJis,5177
435
- letta_client-0.1.216.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
436
- letta_client-0.1.216.dist-info/RECORD,,
445
+ letta_client-0.1.218.dist-info/METADATA,sha256=buNQjFUbFD6lIiuq0hf56Yr0KakcMyyQPSp5RhQ-N4k,5177
446
+ letta_client-0.1.218.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
447
+ letta_client-0.1.218.dist-info/RECORD,,