# MlflowAIGatewayEmbeddings

> **Class** in `langchain_community`

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

MLflow AI Gateway embeddings.

To use, you should have the ``mlflow[gateway]`` python package installed.
For more information, see https://mlflow.org/docs/latest/gateway/index.html.

## Signature

```python
MlflowAIGatewayEmbeddings(
    self,
    **kwargs: Any = {},
)
```

## Description

**Example:**

.. code-block:: python

from langchain_community.embeddings import MlflowAIGatewayEmbeddings

embeddings = MlflowAIGatewayEmbeddings(
    gateway_uri="<your-mlflow-ai-gateway-uri>",
    route="<your-mlflow-ai-gateway-embeddings-route>"
)

## Extends

- `Embeddings`
- `BaseModel`

## Constructors

```python
__init__(
    self,
    **kwargs: Any = {},
)
```


## Properties

- `route`
- `gateway_uri`

## Methods

- [`embed_documents()`](https://reference.langchain.com/python/langchain-community/embeddings/mlflow_gateway/MlflowAIGatewayEmbeddings/embed_documents)
- [`embed_query()`](https://reference.langchain.com/python/langchain-community/embeddings/mlflow_gateway/MlflowAIGatewayEmbeddings/embed_query)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/embeddings/mlflow_gateway.py#L15)