langchain/libs/community/langchain_community/callbacks
Leonid Ganeline 791d59a2c8
community: callbacks guard_imports (#21173)
Issue: we have several helper functions to import third-party libraries
like import_uptrain in
[community.callbacks](https://api.python.langchain.com/en/latest/callbacks/langchain_community.callbacks.uptrain_callback.import_uptrain.html#langchain_community.callbacks.uptrain_callback.import_uptrain).
And we have core.utils.utils.guard_import that works exactly for this
purpose.
The import_<package> functions work inconsistently and rather be private
functions.
Change: replaced these functions with the guard_import function.

Related to #21133
2024-05-07 15:04:54 -07:00
..
streamlit community[patch]: docstrings update (#20301) 2024-04-11 16:23:27 -04:00
tracers community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
__init__.py multiple: Remove unnecessary Ruff suppression comments (#21050) 2024-04-30 17:13:48 +00:00
aim_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
argilla_callback.py multiple: Remove unnecessary Ruff suppression comments (#21050) 2024-04-30 17:13:48 +00:00
arize_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
arthur_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
bedrock_anthropic_callback.py community[minor]: add bedrock anthropic callback for token usage counting (#19864) 2024-04-09 09:18:48 -05:00
clearml_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
comet_ml_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
confident_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
context_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
fiddler_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
flyte_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
human.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
infino_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
labelstudio_callback.py community[patch]: update use of deprecated llm methods (#20393) 2024-04-12 17:28:23 -04:00
llmonitor_callback.py community[patch]: update use of deprecated llm methods (#20393) 2024-04-12 17:28:23 -04:00
manager.py community[minor]: add bedrock anthropic callback for token usage counting (#19864) 2024-04-09 09:18:48 -05:00
mlflow_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
openai_info.py community: add gpt-4 pricing in callback (#20292) 2024-04-11 18:02:39 -04:00
promptlayer_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
sagemaker_callback.py core[major]: On Tool End Observation Casting Fix (#18798) 2024-03-11 10:59:04 -04:00
trubrics_callback.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
uptrain_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
utils.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
wandb_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00
whylabs_callback.py community: callbacks guard_imports (#21173) 2024-05-07 15:04:54 -07:00