langchain-timbr 1.5.0__py3-none-any.whl → 1.5.2__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.
@@ -9,9 +9,14 @@
9
9
  # ``````````````````````````````````````````````````````````````
10
10
  # Copyright (C) 2018-2025 timbr.ai
11
11
 
12
- __version__ = "1.4.3"
13
12
  from .timbr_llm_connector import TimbrLlmConnector
14
13
  from .llm_wrapper.llm_wrapper import LlmWrapper, LlmTypes
15
14
 
15
+ from .utils.timbr_llm_utils import (
16
+ generate_key,
17
+ encrypt_prompt,
18
+ decrypt_prompt,
19
+ )
20
+
16
21
  from .langchain import *
17
22
  from .langgraph import *
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '1.5.2'
32
+ __version_tuple__ = version_tuple = (1, 5, 2)
33
+
34
+ __commit_id__ = commit_id = None
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langchain-timbr
3
- Version: 1.5.0
3
+ Version: 1.5.2
4
4
  Summary: LangChain & LangGraph extensions that parse LLM prompts into Timbr semantic SQL and execute them.
5
5
  Project-URL: Homepage, https://github.com/WPSemantix/langchain-timbr
6
6
  Project-URL: Documentation, https://docs.timbr.ai/doc/docs/integration/langchain-sdk/
7
7
  Project-URL: Source, https://github.com/WPSemantix/langchain-timbr
8
8
  Project-URL: Issues, https://github.com/WPSemantix/langchain-timbr/issues
9
- Author-email: Bar Cohen <barco@timbr.ai>
9
+ Author-email: "Timbr.ai" <contact@timbr.ai>
10
10
  License: MIT
11
11
  License-File: LICENSE
12
12
  Keywords: Agents,Knowledge Graph,LLM,LangChain,LangGraph,SQL,Semantic Layer,Timbr
@@ -71,9 +71,12 @@ Description-Content-Type: text/markdown
71
71
  [![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-31112/)
72
72
  [![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3129/)
73
73
 
74
- # Timbr Langchain LLM SDK
74
+ # Timbr LangChain LLM SDK
75
+
76
+ Timbr LangChain LLM SDK is a Python SDK that extends LangChain and LangGraph with custom agents, chains, and nodes for seamless integration with the Timbr semantic layer. It enables converting natural language prompts into optimized semantic-SQL queries and executing them directly against your data.
77
+
78
+ ![Timbr LangGraph pipeline](https://docs.timbr.ai/doc/assets/images/timbr-langgraph-fcf8e2eb7e26dc9dfa8b56b62937281e.png)
75
79
 
76
- Timbr langchain LLM SDK is a Python SDK that extends LangChain and LangGraph with custom agents, chains, and nodes for seamless integration with the Timbr semantic layer. It enables converting natural language prompts into optimized semantic-SQL queries and executing them directly against your data.
77
80
 
78
81
  ## Dependencies
79
82
  - Access to a timbr-server
@@ -100,4 +103,4 @@ For comprehensive documentation and usage examples, please visit:
100
103
 
101
104
  ## Configuration
102
105
 
103
- The SDK requires several environment variables to be configured. See [`src/langchain_timbr/config.py`](src/langchain_timbr/config.py) for all available configuration options.
106
+ The SDK requires several environment variables to be configured. See [`langchain_timbr/config.py`](https://github.com/WPSemantix/langchain-timbr/blob/main/src/langchain_timbr/config.py) for all available configuration options.
@@ -1,4 +1,5 @@
1
- langchain_timbr/__init__.py,sha256=wPcZEQieE8Bool0TOH4uync5U-jcpEe9g6YjUqwyirg,747
1
+ langchain_timbr/__init__.py,sha256=gxd6Y6QDmYZtPlYVdXtPIy501hMOZXHjWh2qq4qzt_s,828
2
+ langchain_timbr/_version.py,sha256=fUJ-NqWYnyaK1C9rKEno8BrEixvc59sizL4S-uoRUBE,704
2
3
  langchain_timbr/config.py,sha256=NOMjSpo0TVkWT8BdbiGSADU08iknF2bRltFLwQRhpwk,832
3
4
  langchain_timbr/timbr_llm_connector.py,sha256=OXRttlEOJf-dTyilnXR6b6Cgl_cWDYrXGXQfmDV6vc8,13206
4
5
  langchain_timbr/langchain/__init__.py,sha256=ejcsZKP9PK0j4WrrCCcvBXpDpP-TeRiVb21OIUJqix8,580
@@ -21,7 +22,7 @@ langchain_timbr/utils/prompt_service.py,sha256=pJcBz3MKR51ajdU9gkif1r9_K7FxYbpWB
21
22
  langchain_timbr/utils/temperature_supported_models.json,sha256=e8j9O-68eCJhEK_NWowh3C6FE7UXFbR9icjDQfJBkdM,1596
22
23
  langchain_timbr/utils/timbr_llm_utils.py,sha256=Gpp3nKG1MiwNBpl2Uua3pmKyxd1OEirRLW0kkxI473E,22462
23
24
  langchain_timbr/utils/timbr_utils.py,sha256=p21DwTGhF4iKTLDQBkeBaJDFcXt-Hpu1ij8xzQt00Ng,16958
24
- langchain_timbr-1.5.0.dist-info/METADATA,sha256=rL_614qtOxRauyvTcl0g6rCQaj80_IZ1lDMkqn167v8,5056
25
- langchain_timbr-1.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
26
- langchain_timbr-1.5.0.dist-info/licenses/LICENSE,sha256=0ITGFk2alkC7-e--bRGtuzDrv62USIiVyV2Crf3_L_0,1065
27
- langchain_timbr-1.5.0.dist-info/RECORD,,
25
+ langchain_timbr-1.5.2.dist-info/METADATA,sha256=oieqooi9i5wlYlZ3YXJYzZS0VqSljnao7JlqJTSylwM,5235
26
+ langchain_timbr-1.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
+ langchain_timbr-1.5.2.dist-info/licenses/LICENSE,sha256=0ITGFk2alkC7-e--bRGtuzDrv62USIiVyV2Crf3_L_0,1065
28
+ langchain_timbr-1.5.2.dist-info/RECORD,,