docs: add MLflow AI Gateway cookbook example#7511
Open
PattaraS wants to merge 2 commits intomicrosoft:mainfrom
Open
docs: add MLflow AI Gateway cookbook example#7511PattaraS wants to merge 2 commits intomicrosoft:mainfrom
PattaraS wants to merge 2 commits intomicrosoft:mainfrom
Conversation
Adds a Jupyter notebook demonstrating how to use MLflow AI Gateway as an LLM backend for AutoGen agents via OpenAIChatCompletionClient with a custom base_url pointing to the gateway's OpenAI-compatible endpoint.
Add screenshots for endpoint creation, budget tracking, and usage tracing. Simplify prerequisites to UI-only setup with link to docs for advanced options.
Author
|
@microsoft-github-policy-service agree company="Databricks" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a cookbook recipe showing how to use MLflow AI Gateway as an LLM backend for AutoGen agents.
Files added:
python/docs/src/user-guide/core-user-guide/cookbook/mlflow-gateway.ipynb— notebookpython/docs/src/user-guide/core-user-guide/cookbook/mlflow_gateway_images/— 5 screenshotscookbook/index.mdtoctreeWhat is MLflow AI Gateway?
MLflow AI Gateway is a database-backed LLM proxy built into the MLflow tracking server (MLflow ≥ 3.0). It exposes an OpenAI-compatible REST API routing to OpenAI, Anthropic, Gemini, Mistral, Bedrock, Ollama, and more — with encrypted secrets management, fallback/retry, traffic splitting, budget tracking, and built-in usage tracing. All configured through the MLflow UI.
Notebook Contents
OpenAIChatCompletionClientwith custombase_urlpointing to/gateway/openai/v1AssistantAgentandRoundRobinGroupChatAI Disclosure
This pull request was AI-assisted by Claude. All code and content was reviewed and validated by a human contributor. Screenshots were captured manually from a running MLflow server.