# MLFlow

This package provides a MLServer runtime compatible with [MLflow models](https://www.mlflow.org/docs/latest/models.html).

## Usage

You can install the runtime, alongside `mlserver`, as:

```bash
pip install mlserver mlserver-mlflow
```

## Content Types

The MLflow inference runtime introduces a new `dict` content type, which decodes an incoming V2 request as a [dictionary of tensors](https://www.mlflow.org/docs/latest/models.html#deploy-mlflow-models). This is useful for certain MLflow-serialised models, which will expect that the model inputs are serialised in this format.

```{note}
The `dict` content type can be _stacked_ with other content types, like
[`np`](../../docs/user-guide/content-type).
This allows the user to use a different set of content types to decode each of
the dict entries.
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seldon.ai/mlserver/runtimes/mlflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
