langchain/libs/community/tests/unit_tests/chat_models
Serena Ruan 1827bb4042
community[patch]: support bind_tools for ChatMlflow (#24547)
Thank you for contributing to LangChain!

- [x] **PR title**: "package: description"
- Where "package" is whichever of langchain, community, core,
experimental, etc. is being modified. Use "docs: ..." for purely docs
changes, "templates: ..." for template changes, "infra: ..." for CI
changes.
  - Example: "community: add foobar LLM"


- **Description:** 
Support ChatMlflow.bind_tools method
Tested in Databricks:
<img width="836" alt="image"
src="https://github.com/user-attachments/assets/fa28ef50-0110-4698-8eda-4faf6f0b9ef8">



- [x] **Add tests and docs**: If you're adding a new integration, please
include
1. a test for the integration, preferably unit tests that do not rely on
network access,
2. an example notebook showing its use. It lives in
`docs/docs/integrations` directory.


- [x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:
- Make sure optional dependencies are imported within a function.
- Please do not add dependencies to pyproject.toml files (even optional
ones) unless they are required for unit tests.
- Most PRs should not touch more than one package.
- Changes should be backwards compatible.
- If you are adding something to community, do not re-import it in
langchain.

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

---------

Signed-off-by: Serena Ruan <serena.rxy@gmail.com>
2024-08-01 08:43:07 -07:00
..
__init__.py
konko.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_anthropic.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_azureml_endpoint.py
test_azureopenai.py
test_baichuan.py community[patch]: Extend Baichuan model with tool support (#24529) 2024-07-25 23:20:44 -07:00
test_bedrock.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_dappier.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_edenai.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_ernie.py
test_fireworks.py
test_friendli.py
test_google_palm.py
test_huggingface.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_hunyuan.py community: replace it with Tencent Cloud SDK (#24172) 2024-07-31 09:05:38 -04:00
test_imports.py Integrating the Yi family of models. (#24491) 2024-07-26 10:57:33 -07:00
test_javelin_ai_gateway.py community[patch]: standardize init args, update for javelin sdk release. (#21980) 2024-05-22 21:47:28 +00:00
test_kinetica.py community[patch]: Add missing annotations (#24890) 2024-07-31 18:13:44 +00:00
test_litellm.py feat(community): add tools support for litellm (#23906) 2024-07-30 15:39:34 +00:00
test_llama_edge.py
test_mlflow.py community[patch]: support bind_tools for ChatMlflow (#24547) 2024-08-01 08:43:07 -07:00
test_mlx.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_oci_generative_ai.py community[patch]: Add OCI Generative AI tool and structured output support (#24693) 2024-07-25 23:19:00 -07:00
test_ollama.py community: add standard chat model params to Ollama (#22446) 2024-06-03 17:45:03 -04:00
test_openai.py
test_perplexity.py
test_premai.py [Community] PremAI Tool Calling Functionality (#23931) 2024-07-24 09:53:58 -04:00
test_snowflake.py community[minor]: add ChatSnowflakeCortex chat model (#21490) 2024-06-17 09:47:05 -07:00
test_tongyi.py community[patch]: support convert FunctionMessage for Tongyi (#23569) 2024-06-27 15:49:26 -04:00
test_yuan2.py
test_zhipuai.py