# VertexAIEmbeddings

> **Class** in `langchain_google_vertexai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-vertexai/embeddings/VertexAIEmbeddings)

Google Cloud VertexAI embedding models.

## Signature

```python
VertexAIEmbeddings()
```

## Extends

- `BaseModel`
- `Embeddings`

## Properties

- `client`
- `model_config`
- `project`
- `location`
- `model_name`
- `credentials`
- `max_retries`
- `dimensions`

## Methods

- [`validate_params_base()`](https://reference.langchain.com/python/langchain-google-vertexai/embeddings/VertexAIEmbeddings/validate_params_base)
- [`validate_environment()`](https://reference.langchain.com/python/langchain-google-vertexai/embeddings/VertexAIEmbeddings/validate_environment)
- [`embed()`](https://reference.langchain.com/python/langchain-google-vertexai/embeddings/VertexAIEmbeddings/embed)
- [`embed_documents()`](https://reference.langchain.com/python/langchain-google-vertexai/embeddings/VertexAIEmbeddings/embed_documents)
- [`embed_query()`](https://reference.langchain.com/python/langchain-google-vertexai/embeddings/VertexAIEmbeddings/embed_query)

## ⚠️ Deprecated

Use [`GoogleGenerativeAIEmbeddings`][langchain_google_genai.GoogleGenerativeAIEmbeddings] instead.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/4519f3c4b7fb2bb93f13ca48d35c423b6afd3b03/libs/vertexai/langchain_google_vertexai/embeddings.py#L30)