langchain-timbr 2.1.0__tar.gz → 2.1.2__tar.gz
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.
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/PKG-INFO +1 -1
- langchain_timbr-2.1.2/SECURITY.md +19 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/requirements.txt +2 -1
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/_version.py +2 -2
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/utils/timbr_llm_utils.py +2 -5
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_jwt_token.py +2 -1
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.github/dependabot.yml +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.github/pull_request_template.md +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.github/workflows/_codespell.yml +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.github/workflows/_fossa.yml +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.github/workflows/install-dependencies-and-run-tests.yml +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.github/workflows/publish.yml +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/.gitignore +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/LICENSE +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/README.md +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/pyproject.toml +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/pytest.ini +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/requirements310.txt +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/requirements311.txt +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/__init__.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/config.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/__init__.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/execute_timbr_query_chain.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/generate_answer_chain.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/generate_timbr_sql_chain.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/identify_concept_chain.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/timbr_sql_agent.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/validate_timbr_sql_chain.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langgraph/__init__.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langgraph/execute_timbr_query_node.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langgraph/generate_response_node.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langgraph/generate_timbr_sql_node.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langgraph/identify_concept_node.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langgraph/validate_timbr_query_node.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/llm_wrapper/llm_wrapper.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/llm_wrapper/timbr_llm_wrapper.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/timbr_llm_connector.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/utils/general.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/utils/prompt_service.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/utils/temperature_supported_models.json +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/utils/timbr_utils.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/README.md +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/conftest.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_agent_integration.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_azure_databricks_provider.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_azure_openai_model.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_chain_pipeline.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_langchain_chains.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_langgraph_nodes.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_timeout_functionality.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/conftest.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_chain_documentation.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_connection_validation.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_llm_wrapper_optional_params.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_optional_llm_integration.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_standard_chain_requirements.py +0 -0
- {langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_unit_tests.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langchain-timbr
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.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/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Langchain-Timbr Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
| ------- | ------------------ |
|
|
7
|
+
| < 3.x | :white_check_mark: |
|
|
8
|
+
|
|
9
|
+
## Reporting a Vulnerability
|
|
10
|
+
|
|
11
|
+
If you discover a security vulnerability, please email `contact@timbr.ai` with the subject line `Langchain-Timbr Vulnerability Report`. In the email please, include:
|
|
12
|
+
- The `Langchain-Timbr` version used.
|
|
13
|
+
- **Steps to reproduce** the issue with sufficient detail to verify it
|
|
14
|
+
- **Impact and severity** assessment (what an attacker can do)
|
|
15
|
+
- **Suggested fix** or mitigation (when available)
|
|
16
|
+
- Any proof-of-concept code, logs, or screenshots that help **reproduce the problem**
|
|
17
|
+
|
|
18
|
+
_Please note: We do not currently operate a formal bug bounty program. For valid reports, we will review the submission promptly and consider compensation on a case-by-case basis.
|
|
19
|
+
Thank you for helping us keep Timbr secure._
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '2.1.
|
|
32
|
-
__version_tuple__ = version_tuple = (2, 1,
|
|
31
|
+
__version__ = version = '2.1.2'
|
|
32
|
+
__version_tuple__ = version_tuple = (2, 1, 2)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/utils/timbr_llm_utils.py
RENAMED
|
@@ -286,7 +286,7 @@ def determine_concept(
|
|
|
286
286
|
response = _call_llm_with_timeout(llm, prompt, timeout=timeout)
|
|
287
287
|
except TimeoutError as e:
|
|
288
288
|
error = f"LLM call timed out: {str(e)}"
|
|
289
|
-
|
|
289
|
+
raise Exception(error)
|
|
290
290
|
except Exception as e:
|
|
291
291
|
error = f"LLM call failed: {str(e)}"
|
|
292
292
|
continue
|
|
@@ -509,10 +509,7 @@ def generate_sql(
|
|
|
509
509
|
response = _call_llm_with_timeout(llm, prompt, timeout=timeout)
|
|
510
510
|
except TimeoutError as e:
|
|
511
511
|
error = f"LLM call timed out: {str(e)}"
|
|
512
|
-
|
|
513
|
-
continue
|
|
514
|
-
else:
|
|
515
|
-
raise Exception(error)
|
|
512
|
+
raise Exception(error)
|
|
516
513
|
except Exception as e:
|
|
517
514
|
error = f"LLM call failed: {str(e)}"
|
|
518
515
|
if should_validate_sql:
|
|
@@ -5,7 +5,8 @@ from langchain_timbr import create_timbr_sql_agent
|
|
|
5
5
|
class TestTimbrSqlAgentJWTAuthentication:
|
|
6
6
|
"""Test suite for Timbr SQL Agent JWT authentication functionality."""
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
# Due to policy changes and MFA requirements, this test is currently skipped (still running at timbr-chainlit repository).
|
|
9
|
+
def skip_test_timbr_sql_agent_integration(self, llm, config):
|
|
9
10
|
"""Test Timbr SQL Agent integration with JWT authentication."""
|
|
10
11
|
# Azure AD token endpoint URL
|
|
11
12
|
token_url = f'https://login.microsoftonline.com/{config["jwt_tenant_id"]}/oauth2/v2.0/token'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/langchain/timbr_sql_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/llm_wrapper/llm_wrapper.py
RENAMED
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/src/langchain_timbr/llm_wrapper/timbr_llm_wrapper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_azure_databricks_provider.py
RENAMED
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_azure_openai_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/integration/test_timeout_functionality.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_connection_validation.py
RENAMED
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_llm_wrapper_optional_params.py
RENAMED
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_optional_llm_integration.py
RENAMED
|
File without changes
|
{langchain_timbr-2.1.0 → langchain_timbr-2.1.2}/tests/standard/test_standard_chain_requirements.py
RENAMED
|
File without changes
|
|
File without changes
|