You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/langchain_community/chat_models
Leonid Ganeline dc7c06bc07
community[minor]: import fix (#20995)
Issue: When the third-party package is not installed, whenever we need
to `pip install <package>` the ImportError is raised.
But sometimes, the `ValueError` or `ModuleNotFoundError` is raised. It
is bad for consistency.
Change: replaced the `ValueError` or `ModuleNotFoundError` with
`ImportError` when we raise an error with the `pip install <package>`
message.
Note: Ideally, we replace all `try: import... except... raise ... `with
helper functions like `import_aim` or just use the existing
[langchain_core.utils.utils.guard_import](https://api.python.langchain.com/en/latest/utils/langchain_core.utils.utils.guard_import.html#langchain_core.utils.utils.guard_import)
But it would be much bigger refactoring. @baskaryan Please, advice on
this.
5 months ago
..
__init__.py community[minor]: add ChatOctoAI (#20059) 5 months ago
anthropic.py community[patch]: move pdf text tests to integration (#18746) 7 months ago
anyscale.py community[minor]: import fix (#20995) 5 months ago
azure_openai.py community[patch]: more deprecations (#15782) 9 months ago
azureml_endpoint.py patch: remove usage of llm, chat model __call__ (#20788) 5 months ago
baichuan.py community[patch]: standardize baichuan init args (#20209) 6 months ago
baidu_qianfan_endpoint.py community[minor]: import fix (#20995) 5 months ago
bedrock.py community[patch]: Fix message formatting for Anthropic models on Amazon Bedrock (#20801) 5 months ago
cohere.py community[patch]: fix bug in cohere that `async for` a coroutine in ChatCohere (#19381) 6 months ago
dappier.py community[minor]: Dappier chat model integration (#19370) 6 months ago
databricks.py community[patch]: Make ChatDatabricks model supports streaming response (#19912) 5 months ago
deepinfra.py community[patch]: callback before yield for _stream/_astream (#17907) 7 months ago
edenai.py community[patch]: callback before yield for _stream/_astream (#17907) 7 months ago
ernie.py community[patch]: chat model mypy fixes (#17061) 8 months ago
everlyai.py community[minor]: import fix (#20995) 5 months ago
fake.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
fireworks.py community[patch]: deprecate community fireworks (#18544) 7 months ago
friendli.py community[minor]: Integration for `Friendli` LLM and `ChatFriendli` ChatModel. (#17913) 7 months ago
gigachat.py community[minor]: Added GigaChat Embeddings support + updated previous GigaChat integration (#19516) 6 months ago
google_palm.py Refactor: use SecretStr for palm chat-model (#15100) 9 months ago
gpt_router.py community[patch]: callback before yield for _stream/_astream (#17907) 7 months ago
huggingface.py community[patch]: Add streaming logic in ChatHuggingFace (#18784) 5 months ago
human.py infra: add print rule to ruff (#16221) 8 months ago
hunyuan.py community[patch]: callback before yield for _stream/_astream (#17907) 7 months ago
javelin_ai_gateway.py community[patch]: chat model mypy fixes (#17061) 8 months ago
jinachat.py community[minor]: import fix (#20995) 5 months ago
kinetica.py community[patch]: type ignore fixes (#18395) 7 months ago
konko.py community[minor]: import fix (#20995) 5 months ago
litellm.py community[patch]: docstrings update (#20301) 5 months ago
litellm_router.py community[patch]: callback before yield for _stream/_astream (#17907) 7 months ago
llama_edge.py community: fix openai streaming throws 'AIMessageChunk' object has no attribute 'text' (#18006) 7 months ago
maritalk.py community: Add model argument for maritalk models and better error handling (#19187) 6 months ago
meta.py docs: docstrings `langchain_community` update (#14889) 9 months ago
minimax.py community[patch]: docstrings update (#20301) 5 months ago
mlflow.py community[patch]: Make ChatDatabricks model supports streaming response (#19912) 5 months ago
mlflow_ai_gateway.py community[patch]: chat model mypy fixes (#17061) 8 months ago
mlx.py community[minor]: import fix (#20995) 5 months ago
moonshot.py community[patch]: docstrings update (#20301) 5 months ago
octoai.py community[minor]: add ChatOctoAI (#20059) 5 months ago
ollama.py community[patch]: Add "model" attribute to the payload sent to Ollama in `ChatOllama` (#20354) 5 months ago
openai.py community[minor]: import fix (#20995) 5 months ago
pai_eas_endpoint.py community[patch]: docstrings update (#20301) 5 months ago
perplexity.py community[patch]: standardize chat init args (#20844) 5 months ago
premai.py community[patch]: docstrings update (#20301) 5 months ago
promptlayer_openai.py docs: use standard openai params (#20160) 6 months ago
solar.py upstage: init package (#20574) 5 months ago
sparkllm.py community[patch]:sparkllm standardize init args (#20194) 5 months ago
tongyi.py community[patch]: Add function call support in Tongyi chat model. (#20119) 5 months ago
vertexai.py community[patch]: add missing chunk parameter for _stream/_astream (#17807) 7 months ago
volcengine_maas.py community[patch]: add stop parameter support to volcengine maas (#19052) 6 months ago
yandex.py community[patch]: docstrings update (#20301) 5 months ago
yuan2.py community[minor]: import fix (#20995) 5 months ago
zhipuai.py community[patch]: truncate zhipuai `temperature` and `top_p` parameters to [0.01, 0.99] (#20261) 5 months ago