commands
mlflow_assistant.cli.commands
¶
CLI commands for MLflow Assistant.
This module contains the main CLI commands for interacting with MLflow using natural language queries through various AI providers.
cli(verbose)
¶
MLflow Assistant: Interact with MLflow using LLMs.
This CLI tool helps you to interact with MLflow using natural language.
Source code in src/mlflow_assistant/cli/commands.py
mock_process_query(query, provider_config, verbose=False)
¶
Mock function that simulates the query processing workflow.
This will be replaced with the actual implementation later.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
query
|
str
|
The user's query |
required |
provider_config
|
dict[str, Any]
|
The AI provider configuration |
required |
verbose
|
bool
|
Whether to show verbose output |
False
|
Returns:
Type | Description |
---|---|
dict[str, Any]
|
Dictionary with mock response information |
Source code in src/mlflow_assistant/cli/commands.py
setup()
¶
start(verbose)
¶
Start an interactive chat session with MLflow Assistant.
This opens an interactive chat session where you can ask questions about your MLflow experiments, models, and data. Type /bye to exit the session.
Examples of questions you can ask: - What are my best performing models for classification? - Show me details of experiment 'customer_churn' - Compare runs abc123 and def456 - Which hyperparameters should I try next for my regression model?
Commands: - /bye: Exit the chat session - /help: Show help about available commands - /clear: Clear the screen
Source code in src/mlflow_assistant/cli/commands.py
version()
¶
Show MLflow Assistant version information.