{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "24b811ea-7714-4c2d-947d-1fb1b2ec980d", "metadata": { "collapsed": false, "deletable": false, "editable": false, "jupyter": { "outputs_hidden": false }}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "2025-04-27 16:56:51.233 | INFO | metagpt_yusin.const:get_metagpt_yusin_package_root:29 - Package root set to /data\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "382ee0ae87fd4555959704f7f29aa79b", "version_major": 2, "version_minor": 0 }, "text/plain": [ "HBox(children=(VBox(children=(VBox(children=(Label(value='Select data sources and LLM models (or Submit defaul…" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from metagpt_yusin.geoagent import GeoAgent; GeoAgent().default()" ] }, { "cell_type": "code", "execution_count": null, "id": "bf9d8a3f-ee15-490b-8ecf-ba58836d2bc2", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "62f50c92-c051-4650-988b-c84b9f22a130", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "id": "161e81a7-680a-431b-af6c-772fe827afd3", "metadata": {}, "source": [ "# Decomposing the overall task into tasks!" ] }, { "cell_type": "code", "execution_count": null, "id": "c3a17761-7ddd-47b8-91b5-40d4e382a816", "metadata": {}, "outputs": [], "source": [ "[\n", " {\n", " \"task_id\": \"1\",\n", " \"dependent_task_ids\": [],\n", " \"instruction\": \"Design ASCII rabbit art\",\n", " \"task_type\": \"other\"\n", " },\n", " {\n", " \"task_id\": \"2\",\n", " \"dependent_task_ids\": [\"1\"],\n", " \"instruction\": \"Create function to plot ASCII rabbit\",\n", " \"task_type\": \"other\"\n", " },\n", " {\n", " \"task_id\": \"3\",\n", " \"dependent_task_ids\": [\"2\"],\n", " \"instruction\": \"Test the plotting function\",\n", " \"task_type\": \"other\"\n", " }\n", "]\n" ] }, { "cell_type": "markdown", "id": "538d829b-61d1-42a2-8c9a-553c5ff45dfa", "metadata": {}, "source": [ "# Here is the code part!" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.5" } }, "nbformat": 4, "nbformat_minor": 5 }