langchain-timbr 1.5.5__tar.gz → 2.0.0__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.
Files changed (54) hide show
  1. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/PKG-INFO +27 -2
  2. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/README.md +26 -1
  3. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/_version.py +2 -2
  4. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.github/dependabot.yml +0 -0
  5. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.github/pull_request_template.md +0 -0
  6. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.github/workflows/_codespell.yml +0 -0
  7. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.github/workflows/_fossa.yml +0 -0
  8. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.github/workflows/install-dependencies-and-run-tests.yml +0 -0
  9. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.github/workflows/publish.yml +0 -0
  10. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/.gitignore +0 -0
  11. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/LICENSE +0 -0
  12. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/pyproject.toml +0 -0
  13. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/pytest.ini +0 -0
  14. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/requirements.txt +0 -0
  15. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/__init__.py +0 -0
  16. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/config.py +0 -0
  17. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/__init__.py +0 -0
  18. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/execute_timbr_query_chain.py +0 -0
  19. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/generate_answer_chain.py +0 -0
  20. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/generate_timbr_sql_chain.py +0 -0
  21. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/identify_concept_chain.py +0 -0
  22. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/timbr_sql_agent.py +0 -0
  23. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langchain/validate_timbr_sql_chain.py +0 -0
  24. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langgraph/__init__.py +0 -0
  25. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langgraph/execute_timbr_query_node.py +0 -0
  26. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langgraph/generate_response_node.py +0 -0
  27. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langgraph/generate_timbr_sql_node.py +0 -0
  28. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langgraph/identify_concept_node.py +0 -0
  29. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/langgraph/validate_timbr_query_node.py +0 -0
  30. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/llm_wrapper/llm_wrapper.py +0 -0
  31. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/llm_wrapper/timbr_llm_wrapper.py +0 -0
  32. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/timbr_llm_connector.py +0 -0
  33. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/utils/general.py +0 -0
  34. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/utils/prompt_service.py +0 -0
  35. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/utils/temperature_supported_models.json +0 -0
  36. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/utils/timbr_llm_utils.py +0 -0
  37. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/src/langchain_timbr/utils/timbr_utils.py +0 -0
  38. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/README.md +0 -0
  39. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/conftest.py +0 -0
  40. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_agent_integration.py +0 -0
  41. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_azure_databricks_provider.py +0 -0
  42. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_azure_openai_model.py +0 -0
  43. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_chain_pipeline.py +0 -0
  44. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_jwt_token.py +0 -0
  45. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_langchain_chains.py +0 -0
  46. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_langgraph_nodes.py +0 -0
  47. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/integration/test_timeout_functionality.py +0 -0
  48. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/standard/conftest.py +0 -0
  49. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/standard/test_chain_documentation.py +0 -0
  50. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/standard/test_connection_validation.py +0 -0
  51. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/standard/test_llm_wrapper_optional_params.py +0 -0
  52. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/standard/test_optional_llm_integration.py +0 -0
  53. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/tests/standard/test_standard_chain_requirements.py +0 -0
  54. {langchain_timbr-1.5.5 → langchain_timbr-2.0.0}/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: 1.5.5
3
+ Version: 2.0.0
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/
@@ -121,4 +121,29 @@ For comprehensive documentation and usage examples, please visit:
121
121
 
122
122
  ## Configuration
123
123
 
124
- 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.
124
+ The SDK uses environment variables for configuration. All configurations are optional - when set, they serve as default values for `langchain-timbr` provided tools. Below are all available configuration options:
125
+
126
+ ### Configuration Options
127
+
128
+ #### Timbr Connection Settings
129
+
130
+ - **`TIMBR_URL`** - The URL of your Timbr server
131
+ - **`TIMBR_TOKEN`** - Authentication token for accessing the Timbr server
132
+ - **`TIMBR_ONTOLOGY`** - The ontology to use (also accepts `ONTOLOGY` as an alias)
133
+ - **`IS_JWT`** - Whether the token is a JWT token (true/false)
134
+ - **`JWT_TENANT_ID`** - Tenant ID for JWT authentication
135
+
136
+ #### Cache and Data Processing
137
+
138
+ - **`CACHE_TIMEOUT`** - Timeout for caching operations in seconds
139
+ - **`IGNORE_TAGS`** - Comma-separated list of tags to ignore during processing
140
+ - **`IGNORE_TAGS_PREFIX`** - Comma-separated list of tag prefixes to ignore during processing
141
+
142
+ #### LLM Configuration
143
+
144
+ - **`LLM_TYPE`** - The type of LLM provider to use
145
+ - **`LLM_MODEL`** - The specific model to use with the LLM provider
146
+ - **`LLM_API_KEY`** - API key for the LLM provider
147
+ - **`LLM_TEMPERATURE`** - Temperature setting for LLM responses (controls randomness)
148
+ - **`LLM_ADDITIONAL_PARAMS`** - Additional parameters to pass to the LLM
149
+ - **`LLM_TIMEOUT`** - Timeout for LLM requests in seconds
@@ -48,4 +48,29 @@ For comprehensive documentation and usage examples, please visit:
48
48
 
49
49
  ## Configuration
50
50
 
51
- 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.
51
+ The SDK uses environment variables for configuration. All configurations are optional - when set, they serve as default values for `langchain-timbr` provided tools. Below are all available configuration options:
52
+
53
+ ### Configuration Options
54
+
55
+ #### Timbr Connection Settings
56
+
57
+ - **`TIMBR_URL`** - The URL of your Timbr server
58
+ - **`TIMBR_TOKEN`** - Authentication token for accessing the Timbr server
59
+ - **`TIMBR_ONTOLOGY`** - The ontology to use (also accepts `ONTOLOGY` as an alias)
60
+ - **`IS_JWT`** - Whether the token is a JWT token (true/false)
61
+ - **`JWT_TENANT_ID`** - Tenant ID for JWT authentication
62
+
63
+ #### Cache and Data Processing
64
+
65
+ - **`CACHE_TIMEOUT`** - Timeout for caching operations in seconds
66
+ - **`IGNORE_TAGS`** - Comma-separated list of tags to ignore during processing
67
+ - **`IGNORE_TAGS_PREFIX`** - Comma-separated list of tag prefixes to ignore during processing
68
+
69
+ #### LLM Configuration
70
+
71
+ - **`LLM_TYPE`** - The type of LLM provider to use
72
+ - **`LLM_MODEL`** - The specific model to use with the LLM provider
73
+ - **`LLM_API_KEY`** - API key for the LLM provider
74
+ - **`LLM_TEMPERATURE`** - Temperature setting for LLM responses (controls randomness)
75
+ - **`LLM_ADDITIONAL_PARAMS`** - Additional parameters to pass to the LLM
76
+ - **`LLM_TIMEOUT`** - Timeout for LLM requests in seconds
@@ -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 = '1.5.5'
32
- __version_tuple__ = version_tuple = (1, 5, 5)
31
+ __version__ = version = '2.0.0'
32
+ __version_tuple__ = version_tuple = (2, 0, 0)
33
33
 
34
34
  __commit_id__ = commit_id = None
File without changes