letta-client 0.1.239__py3-none-any.whl → 0.1.241__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/core/client_wrapper.py +2 -2
- letta_client/types/embedding_config.py +1 -11
- letta_client/types/llm_config.py +1 -11
- {letta_client-0.1.239.dist-info → letta_client-0.1.241.dist-info}/METADATA +1 -1
- {letta_client-0.1.239.dist-info → letta_client-0.1.241.dist-info}/RECORD +6 -6
- {letta_client-0.1.239.dist-info → letta_client-0.1.241.dist-info}/WHEEL +0 -0
|
@@ -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.241",
|
|
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.241",
|
|
31
31
|
**(self.get_custom_headers() or {}),
|
|
32
32
|
}
|
|
33
33
|
if self._project is not None:
|
|
@@ -10,17 +10,7 @@ from .embedding_config_embedding_endpoint_type import EmbeddingConfigEmbeddingEn
|
|
|
10
10
|
|
|
11
11
|
class EmbeddingConfig(UncheckedBaseModel):
|
|
12
12
|
"""
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Attributes:
|
|
16
|
-
embedding_endpoint_type (str): The endpoint type for the model.
|
|
17
|
-
embedding_endpoint (str): The endpoint for the model.
|
|
18
|
-
embedding_model (str): The model for the embedding.
|
|
19
|
-
embedding_dim (int): The dimension of the embedding.
|
|
20
|
-
embedding_chunk_size (int): The chunk size of the embedding.
|
|
21
|
-
azure_endpoint (:obj:`str`, optional): The Azure endpoint for the model (Azure only).
|
|
22
|
-
azure_version (str): The Azure version for the model (Azure only).
|
|
23
|
-
azure_deployment (str): The Azure deployment for the model (Azure only).
|
|
13
|
+
Configuration for embedding model connection and processing parameters.
|
|
24
14
|
"""
|
|
25
15
|
|
|
26
16
|
embedding_endpoint_type: EmbeddingConfigEmbeddingEndpointType = pydantic.Field()
|
letta_client/types/llm_config.py
CHANGED
|
@@ -13,17 +13,7 @@ from .provider_category import ProviderCategory
|
|
|
13
13
|
|
|
14
14
|
class LlmConfig(UncheckedBaseModel):
|
|
15
15
|
"""
|
|
16
|
-
Configuration for
|
|
17
|
-
|
|
18
|
-
Attributes:
|
|
19
|
-
model (str): The name of the LLM model.
|
|
20
|
-
model_endpoint_type (str): The endpoint type for the model.
|
|
21
|
-
model_endpoint (str): The endpoint for the model.
|
|
22
|
-
model_wrapper (str): The wrapper for the model. This is used to wrap additional text around the input/output of the model. This is useful for text-to-text completions, such as the Completions API in OpenAI.
|
|
23
|
-
context_window (int): The context window size for the model.
|
|
24
|
-
put_inner_thoughts_in_kwargs (bool): Puts `inner_thoughts` as a kwarg in the function call if this is set to True. This helps with function calling performance and also the generation of inner thoughts.
|
|
25
|
-
temperature (float): The temperature to use when generating text with the model. A higher temperature will result in more random text.
|
|
26
|
-
max_tokens (int): The maximum number of tokens to generate.
|
|
16
|
+
Configuration for Language Model (LLM) connection and generation parameters.
|
|
27
17
|
"""
|
|
28
18
|
|
|
29
19
|
model: str = pydantic.Field()
|
|
@@ -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=0DPUKuu9iPAJih4Ldcm6v6EcZ3UiDq0wABlSJO40WPQ,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
|
|
@@ -317,7 +317,7 @@ letta_client/types/duplicate_file_handling.py,sha256=H7pDhPZSSbnqPHPo2yGl7xkpHAD
|
|
|
317
317
|
letta_client/types/dynamic_manager.py,sha256=B-GwXKSD_-vvYPOx27OW6Jzp11ev2IPz6zr5dY3dJzA,854
|
|
318
318
|
letta_client/types/dynamic_manager_update.py,sha256=73luQ0zJ2__wghe-OVEJ-f4JIfrEwytpf5NGpTumS9k,889
|
|
319
319
|
letta_client/types/e_2_b_sandbox_config.py,sha256=LOR4k4sUyAGQWQ0AbJGLxvZesZAvErORFRAXhvdwMNk,958
|
|
320
|
-
letta_client/types/embedding_config.py,sha256=
|
|
320
|
+
letta_client/types/embedding_config.py,sha256=BC5HNq_R0dvzcvH1Ncm2YONvkKm_LurMwosyE5RYJS4,2003
|
|
321
321
|
letta_client/types/embedding_config_embedding_endpoint_type.py,sha256=9-C0KAbQbi2nm5ECDmKVbeqyCbBB6w6Izy5vXvMBAXA,579
|
|
322
322
|
letta_client/types/feedback_type.py,sha256=sDfsniSnnpSwzZqfIkRL7vYPxYqdwURpI6LMI7eDkoQ,160
|
|
323
323
|
letta_client/types/file.py,sha256=YPkTYb8V_XsvuQ6qXUzzDsp4iQMlZxPormZWoy7ROnI,629
|
|
@@ -371,7 +371,7 @@ letta_client/types/letta_stop_reason.py,sha256=jYkXBnAKsdPS8tmdv_xumyVVQk9OoHKFy
|
|
|
371
371
|
letta_client/types/letta_streaming_request.py,sha256=pEq4WEzKTtKA5XdyR544D6kEQztJQxg0PSeMSHteDfg,2251
|
|
372
372
|
letta_client/types/letta_usage_statistics.py,sha256=uZZq2lVOGHK6N-VhA0oknQfUjE9Zb0sMYh0mHDvl-lc,1887
|
|
373
373
|
letta_client/types/letta_user_message_content_union.py,sha256=2SrcmMjvsQzCvfIUYG7PkaE4brMZcL6H437GSCLK4zg,230
|
|
374
|
-
letta_client/types/llm_config.py,sha256=
|
|
374
|
+
letta_client/types/llm_config.py,sha256=PsY_--6IPExjHOutHKVav-dPwMSVDPYk-C_U2cPk-cI,3557
|
|
375
375
|
letta_client/types/llm_config_compatibility_type.py,sha256=m6E90W-R9-Oi3EGSV_GdPIuVC2rmAH7TsUKbl79EiAQ,165
|
|
376
376
|
letta_client/types/llm_config_model_endpoint_type.py,sha256=HOSM5kIZDCNAVCWmASvAk52K819plqGlD66yKQ1xFkI,620
|
|
377
377
|
letta_client/types/llm_config_reasoning_effort.py,sha256=AHL2nI5aeTfPhijnhaL3aiP8EoJhy_Wdupi2pyMm4sA,173
|
|
@@ -500,6 +500,6 @@ letta_client/version.py,sha256=bttKLbIhO3UonCYQlqs600zzbQgfhCCMjeXR9WRzid4,79
|
|
|
500
500
|
letta_client/voice/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
501
501
|
letta_client/voice/client.py,sha256=EbIVOQh4HXqU9McATxwga08STk-HUwPEAUr_UHqyKHg,3748
|
|
502
502
|
letta_client/voice/raw_client.py,sha256=KvM_3GXuSf51bubM0RVBnxvlf20qZTFMnaA_BzhXzjQ,5938
|
|
503
|
-
letta_client-0.1.
|
|
504
|
-
letta_client-0.1.
|
|
505
|
-
letta_client-0.1.
|
|
503
|
+
letta_client-0.1.241.dist-info/METADATA,sha256=znPcPDFvmtNWXRLcSiPViCqnSwWb4CGdBDf7EpTnKgQ,5781
|
|
504
|
+
letta_client-0.1.241.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
505
|
+
letta_client-0.1.241.dist-info/RECORD,,
|
|
File without changes
|