# MlflowEmbeddings

> **Class** in `langchain_community`

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

Embedding LLMs in MLflow.

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

## Signature

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

## Description

**Example:**

.. code-block:: python

from langchain_community.embeddings import MlflowEmbeddings

embeddings = MlflowEmbeddings(
    target_uri="http://localhost:5000",
    endpoint="embeddings",
)

## Extends

- `Embeddings`
- `BaseModel`

## Constructors

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


## Properties

- `endpoint`
- `target_uri`
- `query_params`
- `documents_params`

## Methods

- [`embed()`](https://reference.langchain.com/python/langchain-community/embeddings/mlflow/MlflowEmbeddings/embed)
- [`embed_documents()`](https://reference.langchain.com/python/langchain-community/embeddings/mlflow/MlflowEmbeddings/embed_documents)
- [`embed_query()`](https://reference.langchain.com/python/langchain-community/embeddings/mlflow/MlflowEmbeddings/embed_query)

---

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