> ## Documentation Index
> Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Snowflake

> [Snowflake](https://www.snowflake.com/) is a cloud-based data-warehousing platform
> that allows you to store and query large amounts of data.

This page covers how to use the `Snowflake` ecosystem within `LangChain`.

## Embedding models

Snowflake offers their open-weight `arctic` line of embedding models for free
on [Hugging Face](https://huggingface.co/Snowflake/snowflake-arctic-embed-m-v1.5). The most recent model, snowflake-arctic-embed-m-v1.5 feature [matryoshka embedding](https://arxiv.org/abs/2205.13147) which allows for effective vector truncation.
You can use these models via the
[HuggingFaceEmbeddings](/oss/python/integrations/text_embedding/huggingfacehub) connector:

<CodeGroup>
  ```bash pip theme={null}
  pip install langchain-community sentence-transformers
  ```

  ```bash uv theme={null}
  uv add langchain-community sentence-transformers
  ```
</CodeGroup>

```python theme={null}
from langchain_huggingface import HuggingFaceEmbeddings

model = HuggingFaceEmbeddings(model_name="snowflake/arctic-embed-m-v1.5")
```

## Document loader

You can use the [`SnowflakeLoader`](/oss/python/integrations/document_loaders/snowflake)
to load data from Snowflake:

```python theme={null}
from langchain_community.document_loaders import SnowflakeLoader
```
