From 03174c91d08b47a7f750a1042e238ea929984cbe Mon Sep 17 00:00:00 2001 From: Leonid Ganeline Date: Sun, 3 Sep 2023 20:52:20 -0700 Subject: [PATCH] docs: `MLflow API` and examples (#9547) Added docs and links to the API and examples provided by MLflow itself --- .../integrations/providers/mlflow_ai_gateway.mdx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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