langchain/libs/community/langchain_community/chat_models
Haijian Wang cda3025ee1
Integrating the Yi family of models. (#24491)
Thank you for contributing to LangChain!

- [x] **PR title**: "community:add Yi LLM", "docs:add Yi Documentation"
                          
- [x] **PR message**: ***Delete this entire checklist*** and replace
with
- **Description:** This PR adds support for the Yi model to LangChain.
- **Dependencies:**
[langchain_core,requests,contextlib,typing,logging,json,langchain_community]
    - **Twitter handle:** 01.AI


- [x] **Add tests and docs**: I've added the corresponding documentation
to the relevant paths

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
Co-authored-by: isaac hershenson <ihershenson@hmc.edu>
2024-07-26 10:57:33 -07:00
..
__init__.py Integrating the Yi family of models. (#24491) 2024-07-26 10:57:33 -07:00
anthropic.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
anyscale.py community[patch]: upgrade default model for ChatAnyscale (#24232) 2024-07-15 11:34:59 -04:00
azure_openai.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
azureml_endpoint.py community[patch]: Make AzureML endpoint return AI messages for type assistant (#24085) 2024-07-11 21:45:30 +02:00
baichuan.py community[patch]: Extend Baichuan model with tool support (#24529) 2024-07-25 23:20:44 -07:00
baidu_qianfan_endpoint.py core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417) 2024-07-22 20:07:39 +00:00
bedrock.py community[patch]: Fix message formatting for Anthropic models on Amazon Bedrock (#20801) 2024-04-23 22:40:39 +00:00
cohere.py (all): update removal in deprecation warnings from 0.2 to 0.3 (#21265) 2024-05-03 14:29:36 -04:00
coze.py community[patch]: Update root_validators to use pre=True or pre=False (#23731) 2024-07-01 20:10:15 +00:00
dappier.py community[patch]: Update root_validators to use pre=True or pre=False (#23731) 2024-07-01 20:10:15 +00:00
databricks.py community[patch]: Update documentation string in databricks chat model (#21915) 2024-05-20 14:33:57 +00:00
deepinfra.py core[patch]: fix ToolCall "type" when streaming (#24218) 2024-07-13 08:59:03 -07:00
edenai.py community: fix ChatEdenAI + EdenAI Tools (#23715) 2024-07-25 15:19:14 -04:00
ernie.py community[patch]: Update root_validators to use pre=True or pre=False (#23731) 2024-07-01 20:10:15 +00:00
everlyai.py Mask API key for ChatOpenAI based chat_models (#14293) 2024-07-19 02:25:38 +00:00
fake.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
fireworks.py community[patch]: Update root_validators to use pre=True or pre=False (#23731) 2024-07-01 20:10:15 +00:00
friendli.py community[minor]: Integration for Friendli LLM and ChatFriendli ChatModel. (#17913) 2024-03-08 02:20:47 +00:00
gigachat.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
google_palm.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
gpt_router.py community[patch]: callback before yield for _stream/_astream (#17907) 2024-02-22 16:15:21 -08:00
huggingface.py community[patch]: Update root_validators to use pre=True or pre=False (#23731) 2024-07-01 20:10:15 +00:00
human.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
hunyuan.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
javelin_ai_gateway.py community[patch]: standardize init args, update for javelin sdk release. (#21980) 2024-05-22 21:47:28 +00:00
jinachat.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
kinetica.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
konko.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
litellm_router.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
litellm.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
llama_edge.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
llamacpp.py core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417) 2024-07-22 20:07:39 +00:00
maritalk.py community: fix lint (#23611) 2024-06-27 22:12:16 +00:00
meta.py docs: docstrings langchain_community update (#14889) 2023-12-19 08:58:24 -05:00
minimax.py docs: Add MiniMaxChat docstrings (#24026) 2024-07-11 10:55:02 -04:00
mlflow_ai_gateway.py community[patch]: chat model mypy fixes (#17061) 2024-02-05 13:42:59 -08:00
mlflow.py community[patch]: mlflow handle empty chunk(#24689) 2024-07-25 20:36:29 -07:00
mlx.py docs: community docstring updates (#21040) 2024-04-29 17:40:23 -04:00
moonshot.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
oci_generative_ai.py community[patch]: Add OCI Generative AI tool and structured output support (#24693) 2024-07-25 23:19:00 -07:00
octoai.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
ollama.py community: Fixes use of ImagePromptTemplate with Ollama (#24140) 2024-07-11 11:31:48 -07:00
openai.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
pai_eas_endpoint.py community[patch]: Update root_validators embeddings: llamacpp, jina, dashscope, mosaicml, huggingface_hub, Toolkits: Connery, ChatModels: PAI_EAS, (#22828) 2024-06-12 13:59:05 -04:00
perplexity.py docs: updated PPLX model (#23723) 2024-07-02 08:48:49 -04:00
premai.py [Community] PremAI Tool Calling Functionality (#23931) 2024-07-24 09:53:58 -04:00
promptlayer_openai.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
snowflake.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
solar.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
sparkllm.py docs: Add ChatSparkLLM docstrings (#24449) 2024-07-19 20:19:14 -07:00
tongyi.py core,groq,openai,mistralai,robocorp,fireworks,anthropic[patch]: Update BaseModel subclass and instance checks to handle both v1 and proper namespaces (#24417) 2024-07-22 20:07:39 +00:00
vertexai.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
volcengine_maas.py community[patch]: add stop parameter support to volcengine maas (#19052) 2024-03-17 01:58:50 +00:00
yandex.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
yi.py Integrating the Yi family of models. (#24491) 2024-07-26 10:57:33 -07:00
yuan2.py core[minor],community[minor]: Upgrade all @root_validator() to @pre_init (#23841) 2024-07-08 16:09:29 -04:00
zhipuai.py community[patch]: Invoke callback prior to yielding token (#23638) 2024-07-01 18:12:24 +00:00