The MLflow AI Gateway for LLMs 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.
Installation and Setup
Installmlflow with MLflow GenAI dependencies:
Example provided by MLflow
TheSee the API documentation and examples for more information.mlflow.langchainmodule provides an API for logging and loadingLangChainmodels. This module exports multivariate LangChain models in the langchain flavor and univariate LangChain models in the pyfunc flavor.
Completions Example
Embeddings Example
Chat Example
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.