Skip to content

The agent engineering platform.

docs: `MLflow API` and examples (#9547)

Leonid Ganeline03174c91d08b
diff --git a/docs/extras/integrations/providers/mlflow_ai_gateway.mdx b/docs/extras/integrations/providers/mlflow_ai_gateway.mdx
index 0b8591e6c8..aaeb84f2f5 100644
--- a/docs/extras/integrations/providers/mlflow_ai_gateway.mdx
+++ b/docs/extras/integrations/providers/mlflow_ai_gateway.mdx
@@ -1,6 +1,9 @@
# MLflow AI Gateway
->`The MLflow AI Gateway` service is a powerful tool designed to streamline the usage and management of various large language model (LLM) providers, such as OpenAI and Anthropic, within an organization. It offers a high-level interface that simplifies the interaction with these services by providing a unified endpoint to handle specific LLM related requests. See [the MLflow AI Gateway documentation](https://mlflow.org/docs/latest/gateway/index.html) for more details.
+>[The MLflow AI Gateway](https://www.mlflow.org/docs/latest/gateway/index.html) service is a powerful tool designed to streamline the usage and management of various large
+> language model (LLM) providers, such as OpenAI and Anthropic, within an organization. It offers a high-level interface
+> that simplifies the interaction with these services by providing a unified endpoint to handle specific LLM related requests.
+> See [the MLflow AI Gateway documentation](https://mlflow.org/docs/latest/gateway/index.html) for more details.
## Installation and Setup
@@ -43,6 +46,16 @@ Start the Gateway server:
mlflow gateway start --config-path /path/to/config.yaml
```
+## Example provided by `MLflow`
+
+>The `mlflow.langchain` module provides an API for logging and loading `LangChain` models.
+> This module exports multivariate LangChain models in the langchain flavor and univariate LangChain
+> models in the pyfunc flavor.
+
+See the [API documentation and examples](https://www.mlflow.org/docs/latest/python_api/mlflow.langchain.html).
+
+
+
## Completions Example
```python