# 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/8e006aa3ea738f609bcf19c54249414cecf48daf/libs/vertexai/langchain_google_vertexai/embeddings.py#L30)