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/tests/unit_tests/chat_models
Shubham Pandey 56ac94e014
community[minor]: add `ChatSnowflakeCortex` chat model (#21490)
**Description:** This PR adds a chat model integration for [Snowflake
Cortex](https://docs.snowflake.com/en/user-guide/snowflake-cortex/llm-functions),
which gives an instant access to industry-leading large language models
(LLMs) trained by researchers at companies like Mistral, Reka, Meta, and
Google, including [Snowflake
Arctic](https://www.snowflake.com/en/data-cloud/arctic/), an open
enterprise-grade model developed by Snowflake.

**Dependencies:** Snowflake's
[snowpark](https://pypi.org/project/snowflake-snowpark-python/) library
is required for using this integration.

**Twitter handle:** [@gethouseware](https://twitter.com/gethouseware)

- [x] **Add tests and docs**:
1. integration tests:
`libs/community/tests/integration_tests/chat_models/test_snowflake.py`
2. unit tests:
`libs/community/tests/unit_tests/chat_models/test_snowflake.py`
  3. example notebook: `docs/docs/integrations/chat/snowflake.ipynb`


- [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/
3 months ago
..
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
konko.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_anthropic.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_azureml_endpoint.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_azureopenai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_baichuan.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_bedrock.py community[patch]: import flattening fix (#20110) 5 months ago
test_dappier.py community[minor]: Dappier chat model integration (#19370) 6 months ago
test_edenai.py community[minor]: Add tools calls to `ChatEdenAI` (#22320) 4 months ago
test_ernie.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_fireworks.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_friendli.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_google_palm.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_huggingface.py community[minor]: add hf chat wrapper (#14736) 9 months ago
test_hunyuan.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_imports.py community[minor]: add `ChatSnowflakeCortex` chat model (#21490) 3 months ago
test_javelin_ai_gateway.py community[patch]: standardize init args, update for javelin sdk release. (#21980) 4 months ago
test_kinetica.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_llama_edge.py patch: remove usage of llm, chat model __call__ (#20788) 5 months ago
test_mlx.py community[minor]: Add support for MLX models (chat & llm) (#18152) 6 months ago
test_ollama.py community: add standard chat model params to Ollama (#22446) 4 months ago
test_openai.py Standardized openai init params (#21739) 4 months ago
test_perplexity.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_premai.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_snowflake.py community[minor]: add `ChatSnowflakeCortex` chat model (#21490) 3 months ago
test_tongyi.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_yuan2.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago
test_zhipuai.py community[patch]: upgrade to recent version of mypy (#21616) 4 months ago