# ClovaXEmbeddings

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings)

`NCP ClovaStudio` Embedding API.

following environment variables set or passed in constructor in lower case:
- ``NCP_CLOVASTUDIO_API_KEY``
- ``NCP_APIGW_API_KEY``
- ``NCP_CLOVASTUDIO_APP_ID``

## Signature

```python
ClovaXEmbeddings()
```

## Description

**Example:**

.. code-block:: python

from langchain_community import ClovaXEmbeddings

model = ClovaXEmbeddings(model="clir-emb-dolphin")
output = embedding.embed_documents(documents)

## Extends

- `BaseModel`
- `Embeddings`

## Properties

- `client`
- `async_client`
- `ncp_clovastudio_api_key`
- `ncp_apigw_api_key`
- `base_url`
- `app_id`
- `service_app`
- `model_name`
- `timeout`
- `model_config`
- `lc_secrets`

## Methods

- [`validate_model_after()`](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings/validate_model_after)
- [`default_headers()`](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings/default_headers)
- [`embed_documents()`](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings/embed_documents)
- [`embed_query()`](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings/embed_query)
- [`aembed_documents()`](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings/aembed_documents)
- [`aembed_query()`](https://reference.langchain.com/python/langchain-community/embeddings/naver/ClovaXEmbeddings/aembed_query)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/embeddings/naver.py#L47)