langchain-timbr 2.1.0__py3-none-any.whl → 2.1.1__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.
@@ -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.0'
32
- __version_tuple__ = version_tuple = (2, 1, 0)
31
+ __version__ = version = '2.1.1'
32
+ __version_tuple__ = version_tuple = (2, 1, 1)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -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
- continue
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
- if should_validate_sql:
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langchain-timbr
3
- Version: 2.1.0
3
+ Version: 2.1.1
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/
@@ -1,5 +1,5 @@
1
1
  langchain_timbr/__init__.py,sha256=gxd6Y6QDmYZtPlYVdXtPIy501hMOZXHjWh2qq4qzt_s,828
2
- langchain_timbr/_version.py,sha256=6G8yJbldQAMT0M9ZiFAqGo5OVqUMxGB1aeWeKmrwNIE,704
2
+ langchain_timbr/_version.py,sha256=10rtKChhKY7E9UCGIjqmwXBgTWP9LtAc0YieT2NpTzw,704
3
3
  langchain_timbr/config.py,sha256=PEtvNgvnA9UseZJjKgup_O6xdG-VYk3N11nH8p8W1Kg,1410
4
4
  langchain_timbr/timbr_llm_connector.py,sha256=1jDicBZkW7CKB-PvQiQ1_AMXYm9JJHaoNaPqy54nhh8,13096
5
5
  langchain_timbr/langchain/__init__.py,sha256=ejcsZKP9PK0j4WrrCCcvBXpDpP-TeRiVb21OIUJqix8,580
@@ -20,9 +20,9 @@ langchain_timbr/llm_wrapper/timbr_llm_wrapper.py,sha256=sDqDOz0qu8b4WWlagjNceswM
20
20
  langchain_timbr/utils/general.py,sha256=MtY-ZExKJrcBzV3EQNn6G1ESKpiQB2hJCp95BrUayUo,5707
21
21
  langchain_timbr/utils/prompt_service.py,sha256=QT7kiq72rQno77z1-tvGGD7HlH_wdTQAl_1teSoKEv4,11373
22
22
  langchain_timbr/utils/temperature_supported_models.json,sha256=d3UmBUpG38zDjjB42IoGpHTUaf0pHMBRSPY99ao1a3g,1832
23
- langchain_timbr/utils/timbr_llm_utils.py,sha256=g8bHzymnwmrnffYh0KMQ7j2hGvYcbjAqQInZfE9b5io,23122
23
+ langchain_timbr/utils/timbr_llm_utils.py,sha256=c50-dEDh8GnAkDfcbNKdXuOWjbSa-mXpZzDVuNt4jTY,23053
24
24
  langchain_timbr/utils/timbr_utils.py,sha256=p21DwTGhF4iKTLDQBkeBaJDFcXt-Hpu1ij8xzQt00Ng,16958
25
- langchain_timbr-2.1.0.dist-info/METADATA,sha256=RwwECPHKJAGuRb9PcaSVfeMPgbGjudLV6xMjDH0sRQU,12268
26
- langchain_timbr-2.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
- langchain_timbr-2.1.0.dist-info/licenses/LICENSE,sha256=0ITGFk2alkC7-e--bRGtuzDrv62USIiVyV2Crf3_L_0,1065
28
- langchain_timbr-2.1.0.dist-info/RECORD,,
25
+ langchain_timbr-2.1.1.dist-info/METADATA,sha256=R9nI1TJSS6jZ8OzdVFZurSacEOc2XOGLT944w3yWtss,12268
26
+ langchain_timbr-2.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
+ langchain_timbr-2.1.1.dist-info/licenses/LICENSE,sha256=0ITGFk2alkC7-e--bRGtuzDrv62USIiVyV2Crf3_L_0,1065
28
+ langchain_timbr-2.1.1.dist-info/RECORD,,