letta-client 0.1.216__py3-none-any.whl → 0.1.217__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/__init__.py +4 -0
- letta_client/base_client.py +4 -0
- letta_client/core/client_wrapper.py +1 -1
- letta_client/folders/__init__.py +2 -0
- letta_client/folders/client.py +1933 -0
- letta_client/types/__init__.py +2 -0
- letta_client/types/folder.py +81 -0
- {letta_client-0.1.216.dist-info → letta_client-0.1.217.dist-info}/METADATA +1 -1
- {letta_client-0.1.216.dist-info → letta_client-0.1.217.dist-info}/RECORD +10 -7
- {letta_client-0.1.216.dist-info → letta_client-0.1.217.dist-info}/WHEEL +0 -0
letta_client/types/__init__.py
CHANGED
|
@@ -97,6 +97,7 @@ from .file_file import FileFile
|
|
|
97
97
|
from .file_metadata import FileMetadata
|
|
98
98
|
from .file_processing_status import FileProcessingStatus
|
|
99
99
|
from .file_stats import FileStats
|
|
100
|
+
from .folder import Folder
|
|
100
101
|
from .function_call import FunctionCall
|
|
101
102
|
from .function_definition_input import FunctionDefinitionInput
|
|
102
103
|
from .function_definition_output import FunctionDefinitionOutput
|
|
@@ -362,6 +363,7 @@ __all__ = [
|
|
|
362
363
|
"FileMetadata",
|
|
363
364
|
"FileProcessingStatus",
|
|
364
365
|
"FileStats",
|
|
366
|
+
"Folder",
|
|
365
367
|
"FunctionCall",
|
|
366
368
|
"FunctionDefinitionInput",
|
|
367
369
|
"FunctionDefinitionOutput",
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
letta_client/__init__.py,sha256=
|
|
1
|
+
letta_client/__init__.py,sha256=yfaBKdMlOPOQslj_Mht9K9HCOIuE3K708of2oIgszp4,19348
|
|
2
2
|
letta_client/agents/__init__.py,sha256=i9PmBueIWESDLqmpzWt1oZVgZNr1rNkO6j0pl5sgvGo,2049
|
|
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
|
|
@@ -47,7 +47,7 @@ letta_client/agents/types/create_agent_request_response_format.py,sha256=1GUV3rF
|
|
|
47
47
|
letta_client/agents/types/create_agent_request_tool_rules_item.py,sha256=rNdMW67TvB20-ITBdA-1L9181p33yIYkwF9b35OGNX0,800
|
|
48
48
|
letta_client/agents/types/update_agent_response_format.py,sha256=oCoGofTKP7no6gNbDV6nJOpF8IlIplr1iPn5_7BA0cU,402
|
|
49
49
|
letta_client/agents/types/update_agent_tool_rules_item.py,sha256=_gXcMqnK0Pp1mhAukhPztLPDhooUOg6xACOhsO2uSZM,793
|
|
50
|
-
letta_client/base_client.py,sha256=
|
|
50
|
+
letta_client/base_client.py,sha256=GZ-WU6sChv5vJ6h6kWH_NvUqjCOa0kGwEruwcRiUnDI,10847
|
|
51
51
|
letta_client/batches/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
52
52
|
letta_client/batches/client.py,sha256=DHnsRYHgxVh6OvfAE8etlbno1FMg4cIzAYiydJrfmJM,19730
|
|
53
53
|
letta_client/blocks/__init__.py,sha256=c6SGOs9_YGdydYAzhe5TUiaXq52rpWT1mNMcke8qGTQ,108
|
|
@@ -71,7 +71,7 @@ letta_client/client_side_access_tokens/types/client_side_access_tokens_list_clie
|
|
|
71
71
|
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
72
|
letta_client/core/__init__.py,sha256=OKbX2aCZXgHCDUsCouqv-OiX32xA6eFFCKIUH9M5Vzk,1591
|
|
73
73
|
letta_client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
74
|
-
letta_client/core/client_wrapper.py,sha256=
|
|
74
|
+
letta_client/core/client_wrapper.py,sha256=UGrvFe4-SA5C41OSP1wJT21YOBIGpRwvbLl7TOXje2A,2336
|
|
75
75
|
letta_client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
76
76
|
letta_client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
77
77
|
letta_client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
|
@@ -92,6 +92,8 @@ letta_client/errors/internal_server_error.py,sha256=8USCagXyJJ1MOm9snpcXIUt6eNXv
|
|
|
92
92
|
letta_client/errors/not_found_error.py,sha256=tBVCeBC8n3C811WHRj_n-hs3h8MqwR5gp0vLiobk7W8,262
|
|
93
93
|
letta_client/errors/payment_required_error.py,sha256=KVasrf0kwCzKfq1bAQ7lj1m9SdS7KqRntFaP0L_vfeI,325
|
|
94
94
|
letta_client/errors/unprocessable_entity_error.py,sha256=FvR7XPlV3Xx5nu8HNlmLhBRdk4so_gCHjYT5PyZe6sM,313
|
|
95
|
+
letta_client/folders/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
96
|
+
letta_client/folders/client.py,sha256=q4kPaSLn3BmlWCk-Typ60lYcIZFQdvzqDPfxxGaIU5A,61878
|
|
95
97
|
letta_client/groups/__init__.py,sha256=WzkNp5Q_5zQj_NHv4hJCOKvW6ftM9EuNxw8hkPRRbko,434
|
|
96
98
|
letta_client/groups/client.py,sha256=M_DX9fYU2aie46-g47ifGywEoszvETwFkakfDfig15Q,29677
|
|
97
99
|
letta_client/groups/messages/__init__.py,sha256=M7Ar6Rmb8we4dfYE6jj3FCL9UvVFy1bNQIPflUXMWHA,243
|
|
@@ -168,7 +170,7 @@ letta_client/tools/types/list_mcp_servers_response_value.py,sha256=Eyji5qB7Fhowi
|
|
|
168
170
|
letta_client/tools/types/test_mcp_server_request.py,sha256=sLlOEZdmLfkHqHCkUjntGbr8_MkBhsqpMQ-HwdNOnq0,372
|
|
169
171
|
letta_client/tools/types/update_mcp_server_request.py,sha256=nCpx9-OvpH0l5iJxEi8kgSok1F1r7liEAZm-kaqBtEo,402
|
|
170
172
|
letta_client/tools/types/update_mcp_server_response.py,sha256=muwHagaQBMwQI0of9EBCBtG9lD-jELFAevgTB2MjpFQ,375
|
|
171
|
-
letta_client/types/__init__.py,sha256=
|
|
173
|
+
letta_client/types/__init__.py,sha256=0agvbFrcSGnJi_ThXsiI7wrO12UeF8M_9gM2OR_KZL0,23050
|
|
172
174
|
letta_client/types/action_model.py,sha256=y1e2XMv3skFaNJIBdYoBKgiORzGh05aOVvu-qVR9uHg,1240
|
|
173
175
|
letta_client/types/action_parameters_model.py,sha256=LgKf5aPZG3-OHGxFdXiSokIDgce8c02xPYIAY05VgW8,828
|
|
174
176
|
letta_client/types/action_response_model.py,sha256=yq2Fd9UU8j7vvtE3VqXUoRRvDzWcfJPj_95ynGdeHCs,824
|
|
@@ -266,6 +268,7 @@ letta_client/types/file_file.py,sha256=jbWcPKn-fSUlq9kl8n2us9fPU6x-Z20IKScHD_pJr
|
|
|
266
268
|
letta_client/types/file_metadata.py,sha256=51abJ_M4dmpRJetdWcMf_P39l3EaJ1R2kjuexzEWwMI,2957
|
|
267
269
|
letta_client/types/file_processing_status.py,sha256=8W8VAx9-jCaUx6q6mvyCMyLoa2peLTE_sgIaGloOWo4,201
|
|
268
270
|
letta_client/types/file_stats.py,sha256=gEaG0m4vulK21EoIuYlOcdy0IK4qWkjBTDoMzXw3GEQ,875
|
|
271
|
+
letta_client/types/folder.py,sha256=h8F1J5j-jFE8Lw2oDZqQsy4M5x1X42B3XP38nOy2VPs,2370
|
|
269
272
|
letta_client/types/function_call.py,sha256=eE6VYWK3A-2xRrIV-QKqrofvaVFcPNqSzl6lrWnopZA,576
|
|
270
273
|
letta_client/types/function_definition_input.py,sha256=UpoD7ftRpHquJ5zhy28TjXPBVzxj7rOHKv3gX84Nfj8,740
|
|
271
274
|
letta_client/types/function_definition_output.py,sha256=Id0SzyiMHF5l25iKQhCN4sWJwBJ7AkYK-I5RDZy3_rc,741
|
|
@@ -431,6 +434,6 @@ letta_client/types/web_search_options_user_location_approximate.py,sha256=Ywk01J
|
|
|
431
434
|
letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
432
435
|
letta_client/voice/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
433
436
|
letta_client/voice/client.py,sha256=47iQYCuW_qpKI4hM3pYVxn3hw7kgQj3emU1_oRpkRMA,5811
|
|
434
|
-
letta_client-0.1.
|
|
435
|
-
letta_client-0.1.
|
|
436
|
-
letta_client-0.1.
|
|
437
|
+
letta_client-0.1.217.dist-info/METADATA,sha256=JTDCzWEWtraFXunU6fNtuiid2nPdTaGD1XeLXHBxzNY,5177
|
|
438
|
+
letta_client-0.1.217.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
439
|
+
letta_client-0.1.217.dist-info/RECORD,,
|
|
File without changes
|