Skip to content

Commit

Permalink
add webui ins
Browse files Browse the repository at this point in the history
  • Loading branch information
FANGAreNotGnu committed Nov 13, 2024
1 parent 2334a49 commit e84bdc8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions docs/tutorials/autogluon-assistant-quick-start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"- Preparing Your Data\n",
"- Using AutoGluon Assistant (via Command Line Interface)\n",
"- Using AutoGluon Assistant (through Python Programming)\n",
"- Using AutoGluon Assistant (via Web UI)\n",
"\n",
"By the end of this tutorial, you'll be able to run your data with our highly accurate ML solutions using just natural language instructions. Let's get started with the installation!"
]
Expand Down Expand Up @@ -58,6 +59,7 @@
"outputs": [],
"source": [
"# Option A: AWS Bedrock (Recommended)\n",
"!export BEDROCK_API_KEY='4509...'\n",
"!export AWS_DEFAULT_REGION='<your-region>'\n",
"!export AWS_ACCESS_KEY_ID='<your-access-key>'\n",
"!export AWS_SECRET_ACCESS_KEY='<your-secret-key>'\n",
Expand Down Expand Up @@ -246,6 +248,7 @@
" 'autogluon': {'predictor_init_kwargs': {}, 'predictor_fit_kwargs': {'presets': 'medium_quality', 'time_limit': 600}},\n",
" 'llm': {\n",
" 'provider': 'bedrock',\n",
" 'api_key_location': 'BEDROCK_API_KEY',\n",
" 'model': 'anthropic.claude-3-5-sonnet-20241022-v2:0',\n",
" 'max_tokens': 512,\n",
" 'proxy_url': None,\n",
Expand Down Expand Up @@ -435,6 +438,51 @@
"```"
]
},
{
"cell_type": "markdown",
"id": "a1b543bf",
"metadata": {},
"source": [
"## Using AutoGluon Assistant (via Web UI)\n",
"\n",
"AutoGluon Assistant Web UI allows users to leverage the capabilities of AG-A through an intuitive web interface.\n",
"\n",
"The web UI enables users to upload datasets, configure AG-A runs with customized settings, preview data, monitor execution progress, view and download results, and supports secure, isolated sessions for concurrent users."
]
},
{
"cell_type": "markdown",
"id": "e50f3025",
"metadata": {},
"source": [
"### To run the AG-A Web UI:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e609ff9b",
"metadata": {},
"outputs": [],
"source": [
"%%bash\n",
"\n",
"aga ui\n",
"\n",
"# OR\n",
"\n",
"# Launch Web-UI on specific port e.g. 8888\n",
"aga ui --port 8888"
]
},
{
"cell_type": "markdown",
"id": "b20d780a",
"metadata": {},
"source": [
"AG-A Web UI should now be accessible in your web browser at http://localhost:8501 or the specified port."
]
},
{
"cell_type": "markdown",
"id": "79eb2f75ce0e5eed",
Expand Down

0 comments on commit e84bdc8

Please sign in to comment.