From 1ac58477e588da65530ea566da542193022fd6c0 Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:53:57 +0530 Subject: [PATCH 1/8] Add files via upload --- .../Cognitive_Assistant_Agent_Team.ipynb | 1129 +++++++++++++++++ ...to_Research_Agent_Intelligence_Agent.ipynb | 650 ++++++++++ .../E_commerce_Shopping_Assistant.ipynb | 638 ++++++++++ .../Home_Buying_Real_Estate_Agent.ipynb | 760 +++++++++++ ...ouTube_Influencer_Intelligence_Agent.ipynb | 673 ++++++++++ .../voiGno_Restaurant_Agent_PraisonAI.ipynb | 547 ++++++++ 6 files changed, 4397 insertions(+) create mode 100644 examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb create mode 100644 examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb create mode 100644 examples/cookbooks/E_commerce_Shopping_Assistant.ipynb create mode 100644 examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb create mode 100644 examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb create mode 100644 examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb diff --git a/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb b/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb new file mode 100644 index 00000000..a054cf01 --- /dev/null +++ b/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb @@ -0,0 +1,1129 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "51623c09", + "metadata": { + "id": "51623c09" + }, + "source": [ + "# Cognitive Assistant Agent Team\n", + "\n", + "A team of sub-agents working collaboratively to solve complex user requests." + ] + }, + { + "cell_type": "markdown", + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb)" + ], + "metadata": { + "id": "YymTE1zgX9y2" + }, + "id": "YymTE1zgX9y2" + }, + { + "cell_type": "markdown", + "source": [ + "# Dependencies" + ], + "metadata": { + "id": "tEF0aobxXgm5" + }, + "id": "tEF0aobxXgm5" + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "9ce5977e", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "9ce5977e", + "outputId": "92f0a4b2-fbb8-4141-f385-d827ece08704" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/497.7 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m163.8/497.7 kB\u001b[0m \u001b[31m4.7 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m \u001b[32m491.5/497.7 kB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m497.7/497.7 kB\u001b[0m \u001b[31m6.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", + " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", + " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m44.3/44.3 kB\u001b[0m \u001b[31m1.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m94.7/94.7 kB\u001b[0m \u001b[31m4.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m8.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.8/176.8 kB\u001b[0m \u001b[31m10.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.9/3.9 MB\u001b[0m \u001b[31m43.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m8.7/8.7 MB\u001b[0m \u001b[31m63.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.4/105.4 kB\u001b[0m \u001b[31m6.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m220.7/220.7 kB\u001b[0m \u001b[31m13.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.2/45.2 kB\u001b[0m \u001b[31m2.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m392.1/392.1 kB\u001b[0m \u001b[31m18.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m99.1/99.1 kB\u001b[0m \u001b[31m4.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m266.1/266.1 kB\u001b[0m \u001b[31m18.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.1/6.1 MB\u001b[0m \u001b[31m76.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.1/79.1 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m469.0/469.0 kB\u001b[0m \u001b[31m31.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h Building wheel for praisonai (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n" + ] + } + ], + "source": [ + "!pip install -q praisonai openai" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# set your OpenAI API key" + ], + "metadata": { + "id": "S1JhxGZ9XlBj" + }, + "id": "S1JhxGZ9XlBj" + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "95f683e0", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "95f683e0", + "outputId": "a9153e56-07af-4902-e23a-7567240c302b" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Import PraisonAI Agents" + ], + "metadata": { + "id": "WOzIiAI5Xo8L" + }, + "id": "WOzIiAI5Xo8L" + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "45c7dda2", + "metadata": { + "id": "45c7dda2" + }, + "outputs": [], + "source": [ + "from praisonaiagents import Agent, Task, PraisonAIAgents" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define agents" + ], + "metadata": { + "id": "br09CepoXthm" + }, + "id": "br09CepoXthm" + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "7183ec1d", + "metadata": { + "id": "7183ec1d" + }, + "outputs": [], + "source": [ + "planner = Agent(\n", + " name=\"PlannerAgent\",\n", + " instructions=\"You are a planning expert. Your job is to break down complex tasks into actionable steps.\",\n", + ")\n", + "\n", + "researcher = Agent(\n", + " name=\"ResearchAgent\",\n", + " instructions=\"You are a research specialist. Find relevant information to support the task at hand.\",\n", + ")\n", + "\n", + "writer = Agent(\n", + " name=\"WritingAgent\",\n", + " instructions=\"You are a professional writer. Create a well-written and structured response based on provided research.\",\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define tasks" + ], + "metadata": { + "id": "77YEFKaGXxSX" + }, + "id": "77YEFKaGXxSX" + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "408c39e9", + "metadata": { + "id": "408c39e9" + }, + "outputs": [], + "source": [ + "planning_task = Task(\n", + " name=\"PlanningTask\",\n", + " description=\"Break down the request into subtasks\",\n", + " expected_output=\"A list of clear, actionable substeps\",\n", + " agent=planner\n", + ")\n", + "\n", + "research_task = Task(\n", + " name=\"ResearchTask\",\n", + " description=\"Research background information on the topic\",\n", + " expected_output=\"Summarized findings and context\",\n", + " agent=researcher\n", + ")\n", + "\n", + "writing_task = Task(\n", + " name=\"WritingTask\",\n", + " description=\"Write a final report based on research and planning\",\n", + " expected_output=\"A coherent and professional report or response\",\n", + " agent=writer\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Build cognitive team system" + ], + "metadata": { + "id": "g8aPj_EmX0bm" + }, + "id": "g8aPj_EmX0bm" + }, + { + "cell_type": "code", + "source": [ + "cognitive_team = PraisonAIAgents(\n", + " agents=[planner, researcher, writer],\n", + " tasks=[planning_task, research_task, writing_task],\n", + " process=\"sequential\", # one task after another\n", + " verbose=True\n", + ")\n" + ], + "metadata": { + "id": "3JMauPEXXVhS" + }, + "id": "3JMauPEXXVhS", + "execution_count": 10, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Run the agent system" + ], + "metadata": { + "id": "o1O0vQGyX32z" + }, + "id": "o1O0vQGyX32z" + }, + { + "cell_type": "code", + "source": [ + "input_query = \"Create a strategy for launching an eco-friendly clothing brand online.\"\n", + "output = cognitive_team.start(input=input_query)\n", + "\n", + "# 📄 Show the output\n", + "print(\"🧠 Final Output:\\n\", output)\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "4a7945abafd844c299b71c77fcc340a0", + "9b57ee1234734563bc35932ac9bfec18", + "02a56f032fdd408d9fcf327d4e5d4bd3", + "78733159c35941809466edd8f229f9f3" + ] + }, + "id": "wusL6r6HXX0f", + "outputId": "11bf9532-1bd1-40f3-db3d-cd35da2a512e" + }, + "id": "wusL6r6HXX0f", + "execution_count": 11, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mPlannerAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: PlannerAgent                                                                                         \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 1.6s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 1.6s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Break down the request into subtasks. Expected Output: A list of clear, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m actionable substeps. Please provide only the final result of your work. Do not add any conversation or extra \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Break down the request into subtasks. Expected Output: A list of clear,      \n",
+              " actionable substeps. Please provide only the final result of your work. Do not add any conversation or extra    \n",
+              " explanation.                                                                                                    \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m Certainly! Please provide the task you need broken down into subtasks. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " Certainly! Please provide the task you need broken down into subtasks.                                          \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mResearchAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: ResearchAgent                                                                                        \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "4a7945abafd844c299b71c77fcc340a0" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 7.7s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 7.7s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Research background information on the topic. Expected Output: Summarized \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m findings and context. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Context: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Result of previous task PlanningTask: Certainly! Please provide the task you need broken down into subtasks. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Please provide only the final result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Research background information on the topic. Expected Output: Summarized    \n",
+              " findings and context.                                                                                           \n",
+              "                                                                                                                 \n",
+              " Context:                                                                                                        \n",
+              "                                                                                                                 \n",
+              " Result of previous task PlanningTask: Certainly! Please provide the task you need broken down into subtasks.    \n",
+              " Please provide only the final result of your work. Do not add any conversation or extra explanation.            \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m Topic: Climate Change and Its Impact on Global Agriculture \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mOverview of Climate Change\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClimate change refers to significant changes in global temperatures and weather patterns over time. While \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mclimate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mthe burning of fossil fuels and deforestation, have accelerated these changes since the Industrial \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mRevolution. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImpact on Agriculture\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mTemperature Changes\u001b[0m: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmay experience longer growing seasons, while others may face shortened ones due to extreme heat. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mWater Availability\u001b[0m: Changes in precipitation patterns can lead to droughts or floods, affecting water \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mavailability for irrigation. This can impact crop productivity and lead to water scarcity in some \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mregions. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSoil Health\u001b[0m: Increased temperatures and altered precipitation can affect soil moisture and fertility, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mleading to soil degradation and erosion. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer temperatures can expand the range and increase the lifecycle of pests and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdiseases, posing new challenges for crop protection. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Viability\u001b[0m: Certain crops may no longer be viable in traditional growing areas, necessitating shifts \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0min agricultural practices and crop selection. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mRegional Variability\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mThe impact of climate change on agriculture varies by region. For example, temperate regions might \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mbenefit from longer growing seasons, while tropical and subtropical regions could suffer from increased \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mheat and water stress. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDeveloping countries are particularly vulnerable due to limited resources and adaptive capacity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mAdaptation Strategies\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops to reduce dependency on a single type and increase \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mresilience to climate variability. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems to optimize water use. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mpests, and diseases. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices such as conservation tillage, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magroforestry, and integrated pest management. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mPolicy and Global Efforts\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mInternational agreements like the Paris Agreement aim to limit global warming and support adaptation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mefforts. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGovernments and organizations are investing in research and development to create climate-resilient \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magricultural systems. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mFuture Outlook\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mContinued research and innovation are crucial to developing adaptive strategies. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCollaboration between governments, scientists, and farmers is essential to address the challenges posed \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mby climate change on agriculture. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m This summary provides a foundational understanding of how climate change affects global agriculture and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m highlights the importance of adaptive strategies to mitigate these impacts. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " Topic: Climate Change and Its Impact on Global Agriculture                                                      \n",
+              "                                                                                                                 \n",
+              "  1 Overview of Climate Change:                                                                                  \n",
+              " Climate change refers to significant changes in global temperatures and weather patterns over time. While \n",
+              "       climate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \n",
+              "       the burning of fossil fuels and deforestation, have accelerated these changes since the Industrial        \n",
+              "       Revolution.                                                                                               \n",
+              "  2 Impact on Agriculture:                                                                                       \n",
+              " Temperature Changes: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions  \n",
+              "       may experience longer growing seasons, while others may face shortened ones due to extreme heat.          \n",
+              " Water Availability: Changes in precipitation patterns can lead to droughts or floods, affecting water     \n",
+              "       availability for irrigation. This can impact crop productivity and lead to water scarcity in some         \n",
+              "       regions.                                                                                                  \n",
+              " Soil Health: Increased temperatures and altered precipitation can affect soil moisture and fertility,     \n",
+              "       leading to soil degradation and erosion.                                                                  \n",
+              " Pests and Diseases: Warmer temperatures can expand the range and increase the lifecycle of pests and      \n",
+              "       diseases, posing new challenges for crop protection.                                                      \n",
+              " Crop Viability: Certain crops may no longer be viable in traditional growing areas, necessitating shifts  \n",
+              "       in agricultural practices and crop selection.                                                             \n",
+              "  3 Regional Variability:                                                                                        \n",
+              " The impact of climate change on agriculture varies by region. For example, temperate regions might        \n",
+              "       benefit from longer growing seasons, while tropical and subtropical regions could suffer from increased   \n",
+              "       heat and water stress.                                                                                    \n",
+              " Developing countries are particularly vulnerable due to limited resources and adaptive capacity.          \n",
+              "  4 Adaptation Strategies:                                                                                       \n",
+              " Crop Diversification: Introducing a variety of crops to reduce dependency on a single type and increase   \n",
+              "       resilience to climate variability.                                                                        \n",
+              " Improved Irrigation: Developing efficient irrigation systems to optimize water use.                       \n",
+              " Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,    \n",
+              "       pests, and diseases.                                                                                      \n",
+              " Sustainable Practices: Implementing sustainable agricultural practices such as conservation tillage,      \n",
+              "       agroforestry, and integrated pest management.                                                             \n",
+              "  5 Policy and Global Efforts:                                                                                   \n",
+              " International agreements like the Paris Agreement aim to limit global warming and support adaptation      \n",
+              "       efforts.                                                                                                  \n",
+              " Governments and organizations are investing in research and development to create climate-resilient       \n",
+              "       agricultural systems.                                                                                     \n",
+              "  6 Future Outlook:                                                                                              \n",
+              " Continued research and innovation are crucial to developing adaptive strategies.                          \n",
+              " Collaboration between governments, scientists, and farmers is essential to address the challenges posed   \n",
+              "       by climate change on agriculture.                                                                         \n",
+              "                                                                                                                 \n",
+              " This summary provides a foundational understanding of how climate change affects global agriculture and         \n",
+              " highlights the importance of adaptive strategies to mitigate these impacts.                                     \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mWritingAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: WritingAgent                                                                                         \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "02a56f032fdd408d9fcf327d4e5d4bd3" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 10.7s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 10.7s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Write a final report based on research and planning. Expected Output: A \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m coherent and professional report or response. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Context: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Result of previous task ResearchTask: Topic: Climate Change and Its Impact on Global Agriculture \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mOverview of Climate Change\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClimate change refers to significant changes in global temperatures and weather patterns over time. While \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mclimate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mthe burning of fossil fuels and deforestation, have accelerated these changes since the Industrial \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mRevolution. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImpact on Agriculture\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mTemperature Changes\u001b[0m: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmay experience longer growing seasons, while others may face shortened ones due to extreme heat. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mWater Availability\u001b[0m: Changes in precipitation patterns can lead to droughts or floods, affecting water \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mavailability for irrigation. This can impact crop productivity and lead to water scarcity in some \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mregions. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSoil Health\u001b[0m: Increased temperatures and altered precipitation can affect soil moisture and fertility, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mleading to soil degradation and erosion. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer temperatures can expand the range and increase the lifecycle of pests and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdiseases, posing new challenges for crop protection. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Viability\u001b[0m: Certain crops may no longer be viable in traditional growing areas, necessitating shifts \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0min agricultural practices and crop selection. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mRegional Variability\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mThe impact of climate change on agriculture varies by region. For example, temperate regions might \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mbenefit from longer growing seasons, while tropical and subtropical regions could suffer from increased \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mheat and water stress. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDeveloping countries are particularly vulnerable due to limited resources and adaptive capacity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mAdaptation Strategies\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops to reduce dependency on a single type and increase \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mresilience to climate variability. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems to optimize water use. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mpests, and diseases. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices such as conservation tillage, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magroforestry, and integrated pest management. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mPolicy and Global Efforts\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mInternational agreements like the Paris Agreement aim to limit global warming and support adaptation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mefforts. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGovernments and organizations are investing in research and development to create climate-resilient \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magricultural systems. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mFuture Outlook\u001b[0m: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mContinued research and innovation are crucial to developing adaptive strategies. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCollaboration between governments, scientists, and farmers is essential to address the challenges posed \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mby climate change on agriculture. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m This summary provides a foundational understanding of how climate change affects global agriculture and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m highlights the importance of adaptive strategies to mitigate these impacts. Please provide only the final \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Write a final report based on research and planning. Expected Output: A      \n",
+              " coherent and professional report or response.                                                                   \n",
+              "                                                                                                                 \n",
+              " Context:                                                                                                        \n",
+              "                                                                                                                 \n",
+              " Result of previous task ResearchTask: Topic: Climate Change and Its Impact on Global Agriculture                \n",
+              "                                                                                                                 \n",
+              "  1 Overview of Climate Change:                                                                                  \n",
+              " Climate change refers to significant changes in global temperatures and weather patterns over time. While \n",
+              "       climate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \n",
+              "       the burning of fossil fuels and deforestation, have accelerated these changes since the Industrial        \n",
+              "       Revolution.                                                                                               \n",
+              "  2 Impact on Agriculture:                                                                                       \n",
+              " Temperature Changes: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions  \n",
+              "       may experience longer growing seasons, while others may face shortened ones due to extreme heat.          \n",
+              " Water Availability: Changes in precipitation patterns can lead to droughts or floods, affecting water     \n",
+              "       availability for irrigation. This can impact crop productivity and lead to water scarcity in some         \n",
+              "       regions.                                                                                                  \n",
+              " Soil Health: Increased temperatures and altered precipitation can affect soil moisture and fertility,     \n",
+              "       leading to soil degradation and erosion.                                                                  \n",
+              " Pests and Diseases: Warmer temperatures can expand the range and increase the lifecycle of pests and      \n",
+              "       diseases, posing new challenges for crop protection.                                                      \n",
+              " Crop Viability: Certain crops may no longer be viable in traditional growing areas, necessitating shifts  \n",
+              "       in agricultural practices and crop selection.                                                             \n",
+              "  3 Regional Variability:                                                                                        \n",
+              " The impact of climate change on agriculture varies by region. For example, temperate regions might        \n",
+              "       benefit from longer growing seasons, while tropical and subtropical regions could suffer from increased   \n",
+              "       heat and water stress.                                                                                    \n",
+              " Developing countries are particularly vulnerable due to limited resources and adaptive capacity.          \n",
+              "  4 Adaptation Strategies:                                                                                       \n",
+              " Crop Diversification: Introducing a variety of crops to reduce dependency on a single type and increase   \n",
+              "       resilience to climate variability.                                                                        \n",
+              " Improved Irrigation: Developing efficient irrigation systems to optimize water use.                       \n",
+              " Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,    \n",
+              "       pests, and diseases.                                                                                      \n",
+              " Sustainable Practices: Implementing sustainable agricultural practices such as conservation tillage,      \n",
+              "       agroforestry, and integrated pest management.                                                             \n",
+              "  5 Policy and Global Efforts:                                                                                   \n",
+              " International agreements like the Paris Agreement aim to limit global warming and support adaptation      \n",
+              "       efforts.                                                                                                  \n",
+              " Governments and organizations are investing in research and development to create climate-resilient       \n",
+              "       agricultural systems.                                                                                     \n",
+              "  6 Future Outlook:                                                                                              \n",
+              " Continued research and innovation are crucial to developing adaptive strategies.                          \n",
+              " Collaboration between governments, scientists, and farmers is essential to address the challenges posed   \n",
+              "       by climate change on agriculture.                                                                         \n",
+              "                                                                                                                 \n",
+              " This summary provides a foundational understanding of how climate change affects global agriculture and         \n",
+              " highlights the importance of adaptive strategies to mitigate these impacts. Please provide only the final       \n",
+              " result of your work. Do not add any conversation or extra explanation.                                          \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mFinal Report: Climate Change and Its Impact on Global Agriculture\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mIntroduction\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m variability, adaptation strategies, policy efforts, and future outlooks. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mImpact on Agriculture\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mTemperature Changes\u001b[0m: The rise in global temperatures induces heat stress in crops, potentially reducing \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0myields. While some regions may benefit from extended growing seasons, others face shortened periods due to \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mextreme heat, adversely affecting crop productivity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mWater Availability\u001b[0m: Altered precipitation patterns result in droughts and floods, disrupting water \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mavailability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mvulnerable regions. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mSoil Health\u001b[0m: Climate change affects soil moisture and fertility, leading to degradation and erosion. These \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mchanges compromise soil health, essential for sustaining agricultural productivity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer climates expand the range and lifecycle of pests and diseases, presenting new \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mchallenges for crop protection and necessitating innovative pest management strategies. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mCrop Viability\u001b[0m: Traditional growing areas may no longer support certain crops, prompting shifts in \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0magricultural practices and crop selection to adapt to changing conditions. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mRegional Variability\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m and water stress. Developing countries, with limited resources and adaptive capacity, are particularly \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m vulnerable to these changes. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mAdaptation Strategies\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops can reduce dependency on a single type, enhancing \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mresilience to climate variability. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems is crucial for optimizing water use and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mensuring crop survival during periods of water scarcity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mpests, and diseases is a promising adaptation strategy. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices, such as conservation tillage, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0magroforestry, and integrated pest management, can mitigate the adverse effects of climate change. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mPolicy and Global Efforts\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m efforts. Governments and organizations are investing in research and development to create climate-resilient \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m agricultural systems, emphasizing the importance of global cooperation in addressing these challenges. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mFuture Outlook\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m sustainability of agricultural systems and food security in the face of climate change. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mConclusion\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m international cooperation. By understanding the impacts and implementing effective adaptation measures, the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m agricultural sector can enhance its resilience and continue to provide for the growing global population. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " Final Report: Climate Change and Its Impact on Global Agriculture                                               \n",
+              "                                                                                                                 \n",
+              " Introduction                                                                                                    \n",
+              "                                                                                                                 \n",
+              " Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a   \n",
+              " profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to     \n",
+              " human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural   \n",
+              " systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional     \n",
+              " variability, adaptation strategies, policy efforts, and future outlooks.                                        \n",
+              "                                                                                                                 \n",
+              " Impact on Agriculture                                                                                           \n",
+              "                                                                                                                 \n",
+              "  1 Temperature Changes: The rise in global temperatures induces heat stress in crops, potentially reducing      \n",
+              "    yields. While some regions may benefit from extended growing seasons, others face shortened periods due to   \n",
+              "    extreme heat, adversely affecting crop productivity.                                                         \n",
+              "  2 Water Availability: Altered precipitation patterns result in droughts and floods, disrupting water           \n",
+              "    availability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in  \n",
+              "    vulnerable regions.                                                                                          \n",
+              "  3 Soil Health: Climate change affects soil moisture and fertility, leading to degradation and erosion. These   \n",
+              "    changes compromise soil health, essential for sustaining agricultural productivity.                          \n",
+              "  4 Pests and Diseases: Warmer climates expand the range and lifecycle of pests and diseases, presenting new     \n",
+              "    challenges for crop protection and necessitating innovative pest management strategies.                      \n",
+              "  5 Crop Viability: Traditional growing areas may no longer support certain crops, prompting shifts in           \n",
+              "    agricultural practices and crop selection to adapt to changing conditions.                                   \n",
+              "                                                                                                                 \n",
+              " Regional Variability                                                                                            \n",
+              "                                                                                                                 \n",
+              " The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \n",
+              " benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat  \n",
+              " and water stress. Developing countries, with limited resources and adaptive capacity, are particularly          \n",
+              " vulnerable to these changes.                                                                                    \n",
+              "                                                                                                                 \n",
+              " Adaptation Strategies                                                                                           \n",
+              "                                                                                                                 \n",
+              "  1 Crop Diversification: Introducing a variety of crops can reduce dependency on a single type, enhancing       \n",
+              "    resilience to climate variability.                                                                           \n",
+              "  2 Improved Irrigation: Developing efficient irrigation systems is crucial for optimizing water use and         \n",
+              "    ensuring crop survival during periods of water scarcity.                                                     \n",
+              "  3 Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,       \n",
+              "    pests, and diseases is a promising adaptation strategy.                                                      \n",
+              "  4 Sustainable Practices: Implementing sustainable agricultural practices, such as conservation tillage,        \n",
+              "    agroforestry, and integrated pest management, can mitigate the adverse effects of climate change.            \n",
+              "                                                                                                                 \n",
+              " Policy and Global Efforts                                                                                       \n",
+              "                                                                                                                 \n",
+              " International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation       \n",
+              " efforts. Governments and organizations are investing in research and development to create climate-resilient    \n",
+              " agricultural systems, emphasizing the importance of global cooperation in addressing these challenges.          \n",
+              "                                                                                                                 \n",
+              " Future Outlook                                                                                                  \n",
+              "                                                                                                                 \n",
+              " Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \n",
+              " change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the      \n",
+              " sustainability of agricultural systems and food security in the face of climate change.                         \n",
+              "                                                                                                                 \n",
+              " Conclusion                                                                                                      \n",
+              "                                                                                                                 \n",
+              " Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and     \n",
+              " international cooperation. By understanding the impacts and implementing effective adaptation measures, the     \n",
+              " agricultural sector can enhance its resilience and continue to provide for the growing global population.       \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "🧠 Final Output:\n", + " **Final Report: Climate Change and Its Impact on Global Agriculture**\n", + "\n", + "**Introduction**\n", + "\n", + "Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional variability, adaptation strategies, policy efforts, and future outlooks.\n", + "\n", + "**Impact on Agriculture**\n", + "\n", + "1. **Temperature Changes**: The rise in global temperatures induces heat stress in crops, potentially reducing yields. While some regions may benefit from extended growing seasons, others face shortened periods due to extreme heat, adversely affecting crop productivity.\n", + "\n", + "2. **Water Availability**: Altered precipitation patterns result in droughts and floods, disrupting water availability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in vulnerable regions.\n", + "\n", + "3. **Soil Health**: Climate change affects soil moisture and fertility, leading to degradation and erosion. These changes compromise soil health, essential for sustaining agricultural productivity.\n", + "\n", + "4. **Pests and Diseases**: Warmer climates expand the range and lifecycle of pests and diseases, presenting new challenges for crop protection and necessitating innovative pest management strategies.\n", + "\n", + "5. **Crop Viability**: Traditional growing areas may no longer support certain crops, prompting shifts in agricultural practices and crop selection to adapt to changing conditions.\n", + "\n", + "**Regional Variability**\n", + "\n", + "The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat and water stress. Developing countries, with limited resources and adaptive capacity, are particularly vulnerable to these changes.\n", + "\n", + "**Adaptation Strategies**\n", + "\n", + "1. **Crop Diversification**: Introducing a variety of crops can reduce dependency on a single type, enhancing resilience to climate variability.\n", + "\n", + "2. **Improved Irrigation**: Developing efficient irrigation systems is crucial for optimizing water use and ensuring crop survival during periods of water scarcity.\n", + "\n", + "3. **Genetic Modification**: Breeding or genetically modifying crops to withstand extreme weather conditions, pests, and diseases is a promising adaptation strategy.\n", + "\n", + "4. **Sustainable Practices**: Implementing sustainable agricultural practices, such as conservation tillage, agroforestry, and integrated pest management, can mitigate the adverse effects of climate change.\n", + "\n", + "**Policy and Global Efforts**\n", + "\n", + "International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation efforts. Governments and organizations are investing in research and development to create climate-resilient agricultural systems, emphasizing the importance of global cooperation in addressing these challenges.\n", + "\n", + "**Future Outlook**\n", + "\n", + "Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the sustainability of agricultural systems and food security in the face of climate change.\n", + "\n", + "**Conclusion**\n", + "\n", + "Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and international cooperation. By understanding the impacts and implementing effective adaptation measures, the agricultural sector can enhance its resilience and continue to provide for the growing global population.\n" + ] + } + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "colab": { + "provenance": [] + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "4a7945abafd844c299b71c77fcc340a0": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_9b57ee1234734563bc35932ac9bfec18", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 7.6s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m Topic: Climate Change and Its Impact on Global Agriculture \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mOverview of Climate Change\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClimate change refers to significant changes in global temperatures and weather patterns over time. While \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mclimate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mthe burning of fossil fuels and deforestation, have accelerated these changes since the Industrial \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mRevolution. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImpact on Agriculture\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mTemperature Changes\u001b[0m: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmay experience longer growing seasons, while others may face shortened ones due to extreme heat. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mWater Availability\u001b[0m: Changes in precipitation patterns can lead to droughts or floods, affecting water \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mavailability for irrigation. This can impact crop productivity and lead to water scarcity in some \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mregions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSoil Health\u001b[0m: Increased temperatures and altered precipitation can affect soil moisture and fertility, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mleading to soil degradation and erosion. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer temperatures can expand the range and increase the lifecycle of pests and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdiseases, posing new challenges for crop protection. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Viability\u001b[0m: Certain crops may no longer be viable in traditional growing areas, necessitating shifts \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0min agricultural practices and crop selection. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mRegional Variability\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mThe impact of climate change on agriculture varies by region. For example, temperate regions might \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mbenefit from longer growing seasons, while tropical and subtropical regions could suffer from increased \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mheat and water stress. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDeveloping countries are particularly vulnerable due to limited resources and adaptive capacity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mAdaptation Strategies\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops to reduce dependency on a single type and increase \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mresilience to climate variability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems to optimize water use. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mpests, and diseases. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices such as conservation tillage, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magroforestry, and integrated pest management. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mPolicy and Global Efforts\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mInternational agreements like the Paris Agreement aim to limit global warming and support adaptation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mefforts. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGovernments and organizations are investing in research and development to create climate-resilient \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magricultural systems. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mFuture Outlook\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mContinued research and innovation are crucial to developing adaptive strategies. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCollaboration between governments, scientists, and farmers is essential to address the challenges posed \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mby climate change on agriculture. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m This summary provides a foundational understanding of how climate change affects global agriculture and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m highlights the importance of adaptive strategies to \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 7.6s ───────────────────────────────────────────────╮\n Topic: Climate Change and Its Impact on Global Agriculture                                                      \n                                                                                                                 \n  1 Overview of Climate Change:                                                                                  \n Climate change refers to significant changes in global temperatures and weather patterns over time. While \n       climate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \n       the burning of fossil fuels and deforestation, have accelerated these changes since the Industrial        \n       Revolution.                                                                                               \n  2 Impact on Agriculture:                                                                                       \n Temperature Changes: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions  \n       may experience longer growing seasons, while others may face shortened ones due to extreme heat.          \n Water Availability: Changes in precipitation patterns can lead to droughts or floods, affecting water     \n       availability for irrigation. This can impact crop productivity and lead to water scarcity in some         \n       regions.                                                                                                  \n Soil Health: Increased temperatures and altered precipitation can affect soil moisture and fertility,     \n       leading to soil degradation and erosion.                                                                  \n Pests and Diseases: Warmer temperatures can expand the range and increase the lifecycle of pests and      \n       diseases, posing new challenges for crop protection.                                                      \n Crop Viability: Certain crops may no longer be viable in traditional growing areas, necessitating shifts  \n       in agricultural practices and crop selection.                                                             \n  3 Regional Variability:                                                                                        \n The impact of climate change on agriculture varies by region. For example, temperate regions might        \n       benefit from longer growing seasons, while tropical and subtropical regions could suffer from increased   \n       heat and water stress.                                                                                    \n Developing countries are particularly vulnerable due to limited resources and adaptive capacity.          \n  4 Adaptation Strategies:                                                                                       \n Crop Diversification: Introducing a variety of crops to reduce dependency on a single type and increase   \n       resilience to climate variability.                                                                        \n Improved Irrigation: Developing efficient irrigation systems to optimize water use.                       \n Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,    \n       pests, and diseases.                                                                                      \n Sustainable Practices: Implementing sustainable agricultural practices such as conservation tillage,      \n       agroforestry, and integrated pest management.                                                             \n  5 Policy and Global Efforts:                                                                                   \n International agreements like the Paris Agreement aim to limit global warming and support adaptation      \n       efforts.                                                                                                  \n Governments and organizations are investing in research and development to create climate-resilient       \n       agricultural systems.                                                                                     \n  6 Future Outlook:                                                                                              \n Continued research and innovation are crucial to developing adaptive strategies.                          \n Collaboration between governments, scientists, and farmers is essential to address the challenges posed   \n       by climate change on agriculture.                                                                         \n                                                                                                                 \n This summary provides a foundational understanding of how climate change affects global agriculture and         \n highlights the importance of adaptive strategies to                                                             \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "9b57ee1234734563bc35932ac9bfec18": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + }, + "02a56f032fdd408d9fcf327d4e5d4bd3": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_78733159c35941809466edd8f229f9f3", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 10.6s \u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mFinal Report: Climate Change and Its Impact on Global Agriculture\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mIntroduction\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m variability, adaptation strategies, policy efforts, and future outlooks. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mImpact on Agriculture\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mTemperature Changes\u001b[0m: The rise in global temperatures induces heat stress in crops, potentially reducing \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0myields. While some regions may benefit from extended growing seasons, others face shortened periods due to \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mextreme heat, adversely affecting crop productivity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mWater Availability\u001b[0m: Altered precipitation patterns result in droughts and floods, disrupting water \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mavailability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvulnerable regions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mSoil Health\u001b[0m: Climate change affects soil moisture and fertility, leading to degradation and erosion. These \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mchanges compromise soil health, essential for sustaining agricultural productivity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer climates expand the range and lifecycle of pests and diseases, presenting new \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mchallenges for crop protection and necessitating innovative pest management strategies. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mCrop Viability\u001b[0m: Traditional growing areas may no longer support certain crops, prompting shifts in \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0magricultural practices and crop selection to adapt to changing conditions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mRegional Variability\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m and water stress. Developing countries, with limited resources and adaptive capacity, are particularly \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m vulnerable to these changes. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mAdaptation Strategies\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops can reduce dependency on a single type, enhancing \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mresilience to climate variability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems is crucial for optimizing water use and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mensuring crop survival during periods of water scarcity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mpests, and diseases is a promising adaptation strategy. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices, such as conservation tillage, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0magroforestry, and integrated pest management, can mitigate the adverse effects of climate change. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mPolicy and Global Efforts\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m efforts. Governments and organizations are investing in research and development to create climate-resilient \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m agricultural systems, emphasizing the importance of global cooperation in addressing these challenges. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mFuture Outlook\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m sustainability of agricultural systems and food security in the face of climate change. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mConclusion\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m international cooperation. By understanding the impacts and implementing effective adaptation measures, the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m agricultural sector can enhance its resilience and continue to provide for the \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 10.6s ──────────────────────────────────────────────╮\n Final Report: Climate Change and Its Impact on Global Agriculture                                               \n                                                                                                                 \n Introduction                                                                                                    \n                                                                                                                 \n Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a   \n profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to     \n human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural   \n systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional     \n variability, adaptation strategies, policy efforts, and future outlooks.                                        \n                                                                                                                 \n Impact on Agriculture                                                                                           \n                                                                                                                 \n  1 Temperature Changes: The rise in global temperatures induces heat stress in crops, potentially reducing      \n    yields. While some regions may benefit from extended growing seasons, others face shortened periods due to   \n    extreme heat, adversely affecting crop productivity.                                                         \n  2 Water Availability: Altered precipitation patterns result in droughts and floods, disrupting water           \n    availability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in  \n    vulnerable regions.                                                                                          \n  3 Soil Health: Climate change affects soil moisture and fertility, leading to degradation and erosion. These   \n    changes compromise soil health, essential for sustaining agricultural productivity.                          \n  4 Pests and Diseases: Warmer climates expand the range and lifecycle of pests and diseases, presenting new     \n    challenges for crop protection and necessitating innovative pest management strategies.                      \n  5 Crop Viability: Traditional growing areas may no longer support certain crops, prompting shifts in           \n    agricultural practices and crop selection to adapt to changing conditions.                                   \n                                                                                                                 \n Regional Variability                                                                                            \n                                                                                                                 \n The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \n benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat  \n and water stress. Developing countries, with limited resources and adaptive capacity, are particularly          \n vulnerable to these changes.                                                                                    \n                                                                                                                 \n Adaptation Strategies                                                                                           \n                                                                                                                 \n  1 Crop Diversification: Introducing a variety of crops can reduce dependency on a single type, enhancing       \n    resilience to climate variability.                                                                           \n  2 Improved Irrigation: Developing efficient irrigation systems is crucial for optimizing water use and         \n    ensuring crop survival during periods of water scarcity.                                                     \n  3 Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,       \n    pests, and diseases is a promising adaptation strategy.                                                      \n  4 Sustainable Practices: Implementing sustainable agricultural practices, such as conservation tillage,        \n    agroforestry, and integrated pest management, can mitigate the adverse effects of climate change.            \n                                                                                                                 \n Policy and Global Efforts                                                                                       \n                                                                                                                 \n International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation       \n efforts. Governments and organizations are investing in research and development to create climate-resilient    \n agricultural systems, emphasizing the importance of global cooperation in addressing these challenges.          \n                                                                                                                 \n Future Outlook                                                                                                  \n                                                                                                                 \n Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \n change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the      \n sustainability of agricultural systems and food security in the face of climate change.                         \n                                                                                                                 \n Conclusion                                                                                                      \n                                                                                                                 \n Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and     \n international cooperation. By understanding the impacts and implementing effective adaptation measures, the     \n agricultural sector can enhance its resilience and continue to provide for the                                  \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "78733159c35941809466edd8f229f9f3": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb b/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb new file mode 100644 index 00000000..c68b8b46 --- /dev/null +++ b/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb @@ -0,0 +1,650 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "c1e38932", + "metadata": { + "id": "c1e38932" + }, + "source": [ + "# Crypto Research Agent: Intelligence Agent\n", + "\n", + "Provides in-depth intelligence on cryptocurrencies and blockchain trends." + ] + }, + { + "cell_type": "markdown", + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb)\n", + "\n" + ], + "metadata": { + "id": "AEOWA14-doQb" + }, + "id": "AEOWA14-doQb" + }, + { + "cell_type": "markdown", + "source": [ + "# Dependencies" + ], + "metadata": { + "id": "BY5w8KLtdNrW" + }, + "id": "BY5w8KLtdNrW" + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "9a818525", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "9a818525", + "outputId": "e7efcca2-e557-4f7b-df9e-aca4819b0f36" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m8.5 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━\u001b[0m \u001b[32m2.3/3.3 MB\u001b[0m \u001b[31m35.3 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m33.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h" + ] + } + ], + "source": [ + "!pip install -q praisonaiagents openai duckduckgo_search" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# set OpenAI API key" + ], + "metadata": { + "id": "AYjc8JUddT_D" + }, + "id": "AYjc8JUddT_D" + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "88607f1c", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "88607f1c", + "outputId": "c2165b61-d633-467a-9ed7-5470619872b3" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "# 🔑 Prompt user to input API Key securely\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Import PraisonAI Agent tools" + ], + "metadata": { + "id": "AdXjFQqfdYgM" + }, + "id": "AdXjFQqfdYgM" + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "d4e08a56", + "metadata": { + "id": "d4e08a56" + }, + "outputs": [], + "source": [ + "from praisonaiagents import Agent, Task, PraisonAIAgents" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# YAML Prompt to guide the agent's behavior" + ], + "metadata": { + "id": "FdIqAryqdcpx" + }, + "id": "FdIqAryqdcpx" + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "14b09931", + "metadata": { + "id": "14b09931" + }, + "outputs": [], + "source": [ + "yaml_prompt = \"\"\"\n", + "name: CryptoResearcherAgent\n", + "role: Cryptocurrency Intelligence Agent\n", + "goal: Provide accurate, timely, and insightful research on cryptocurrency projects, trends, and risks.\n", + "backstory: You are a professional crypto analyst, skilled in assessing coins, tokens, and DeFi protocols using web research and market trends.\n", + "skills:\n", + " - Analyze tokenomics and utility\n", + " - Evaluate risk factors\n", + " - Identify scams or red flags\n", + " - Summarize project fundamentals\n", + "llm: gpt-4o\n", + "verbosity: true\n", + "format: markdown\n", + "\"\"\"\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Main" + ], + "metadata": { + "id": "at0Avm1Jdj8e" + }, + "id": "at0Avm1Jdj8e" + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "427a4c33", + "metadata": { + "id": "427a4c33" + }, + "outputs": [], + "source": [ + "crypto_agent = Agent(\n", + " name=\"CryptoResearcherAgent\",\n", + " instructions=\"\"\"\n", + "You are a cryptocurrency intelligence agent. Use your analytical skills to evaluate coins, blockchain protocols, tokenomics,\n", + "and market trends. Provide critical insight into legitimacy, potential growth, and associated risks.\n", + "Use markdown formatting and structure your research clearly.\n", + "\"\"\",\n", + " llm=\"gpt-4o\",\n", + " verbose=True,\n", + " markdown=True\n", + ")\n" + ] + }, + { + "cell_type": "code", + "source": [ + "crypto_task = Task(\n", + " name=\"CryptoResearchTask\",\n", + " description=\"Research and summarize the fundamentals, risks, and potential of the 'Render Token (RNDR)'\",\n", + " expected_output=\"A detailed markdown report covering utility, tokenomics, risks, growth outlook, and red flags.\",\n", + " agent=crypto_agent\n", + ")\n" + ], + "metadata": { + "id": "WjtlKYqjdCNe" + }, + "id": "WjtlKYqjdCNe", + "execution_count": 7, + "outputs": [] + }, + { + "cell_type": "code", + "source": [ + "crypto_team = PraisonAIAgents(\n", + " agents=[crypto_agent],\n", + " tasks=[crypto_task],\n", + " process=\"sequential\",\n", + " verbose=True\n", + ")\n" + ], + "metadata": { + "id": "MxqIDnRQdETe" + }, + "id": "MxqIDnRQdETe", + "execution_count": 8, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Query the agent with a specific token or trend" + ], + "metadata": { + "id": "hAs8UHnYdhsE" + }, + "id": "hAs8UHnYdhsE" + }, + { + "cell_type": "code", + "source": [ + "query = \"Research Render Token (RNDR), its tokenomics, risks, and growth potential.\"\n", + "output = crypto_team.start(input=query)\n", + "\n", + "# 📄 Output the result\n", + "print(\"🪙 Crypto Research Report:\\n\", output)\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "70fae1edbacb4b3592d5aab39d96c41d", + "1cfd76f73f0a44989fdcfd0b3cb2c12d" + ] + }, + "id": "236n5O9mdHQY", + "outputId": "d519c155-03d0-4610-dfe3-b22855a260d4" + }, + "id": "236n5O9mdHQY", + "execution_count": 9, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mCryptoResearcherAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: CryptoResearcherAgent                                                                                \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "70fae1edbacb4b3592d5aab39d96c41d" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 9.7s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 9.7s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Research and summarize the fundamentals, risks, and potential of the 'Render \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Token (RNDR)'. Expected Output: A detailed markdown report covering utility, tokenomics, risks, growth outlook, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m and red flags.. Please provide only the final result of your work. Do not add any conversation or extra \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Research and summarize the fundamentals, risks, and potential of the 'Render \n",
+              " Token (RNDR)'. Expected Output: A detailed markdown report covering utility, tokenomics, risks, growth outlook, \n",
+              " and red flags.. Please provide only the final result of your work. Do not add any conversation or extra         \n",
+              " explanation.                                                                                                    \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┃ \u001b[1mRender Token (RNDR) Analysis\u001b[0m ┃ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mOverview\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m GPUs to spare, facilitating a marketplace for rendering services. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mUtility\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRendering Services\u001b[0m: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mrendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcompleting these tasks. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDecentralized Network\u001b[0m: By leveraging idle GPU resources globally, Render Network offers a decentralized \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0malternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBlockchain Integration\u001b[0m: The use of blockchain ensures transparency, security, and immutability of \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mtransactions within the network. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mTokenomics\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSupply\u001b[0m: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mrendering services increases. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDistribution\u001b[0m: Tokens are distributed to node operators as compensation for rendering services, incentivizing \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mparticipation in the network. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mStaking\u001b[0m: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0minterests with the network's integrity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mRisks\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMarket Competition\u001b[0m: Render Network faces competition from established cloud rendering services like AWS and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mGoogle Cloud, which have significant resources and market presence. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAdoption and Demand\u001b[0m: The success of RNDR is heavily reliant on the adoption of the Render Network. If the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mnetwork fails to attract a substantial user base, demand for RNDR could stagnate. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRegulatory Risks\u001b[0m: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mits utility and marketability. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnical Challenges\u001b[0m: Ensuring the network's reliability and security is crucial. Any technical failures \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcould undermine trust and deter users. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mGrowth Outlook\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mIncreasing Demand for Rendering\u001b[0m: As industries like gaming, film, and virtual reality continue to grow, the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mdemand for rendering services is expected to rise, potentially benefiting RNDR. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPartnerships and Integrations\u001b[0m: Strategic partnerships with industry players could enhance the network's \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcredibility and expand its user base. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnological Advancements\u001b[0m: Improvements in blockchain technology and GPU capabilities could enhance the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mefficiency and appeal of the Render Network. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mRed Flags\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCentralization Concerns\u001b[0m: While the network is decentralized, the initial distribution and control of tokens \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcould raise concerns about centralization. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mVolatility\u001b[0m: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mstability as a utility token. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDependency on Ethereum\u001b[0m: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mits scalability and transaction costs. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mConclusion\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m technology to create a marketplace for GPU power. While it has potential for growth, particularly with \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m increasing demand for rendering, it faces significant risks from competition, adoption challenges, and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m RNDR. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
+              "Render Token (RNDR) Analysis\n",
+              " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                    Overview                                                     \n",
+              "                                                                                                                 \n",
+              " Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network    \n",
+              " built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle  \n",
+              " GPUs to spare, facilitating a marketplace for rendering services.                                               \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                     Utility                                                     \n",
+              "                                                                                                                 \n",
+              " Rendering Services: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \n",
+              "    rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for        \n",
+              "    completing these tasks.                                                                                      \n",
+              " Decentralized Network: By leveraging idle GPU resources globally, Render Network offers a decentralized      \n",
+              "    alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.   \n",
+              " Blockchain Integration: The use of blockchain ensures transparency, security, and immutability of            \n",
+              "    transactions within the network.                                                                             \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                   Tokenomics                                                    \n",
+              "                                                                                                                 \n",
+              " Supply: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for        \n",
+              "    rendering services increases.                                                                                \n",
+              " Distribution: Tokens are distributed to node operators as compensation for rendering services, incentivizing \n",
+              "    participation in the network.                                                                                \n",
+              " Staking: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their          \n",
+              "    interests with the network's integrity.                                                                      \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                      Risks                                                      \n",
+              "                                                                                                                 \n",
+              " Market Competition: Render Network faces competition from established cloud rendering services like AWS and  \n",
+              "    Google Cloud, which have significant resources and market presence.                                          \n",
+              " Adoption and Demand: The success of RNDR is heavily reliant on the adoption of the Render Network. If the    \n",
+              "    network fails to attract a substantial user base, demand for RNDR could stagnate.                            \n",
+              " Regulatory Risks: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact   \n",
+              "    its utility and marketability.                                                                               \n",
+              " Technical Challenges: Ensuring the network's reliability and security is crucial. Any technical failures     \n",
+              "    could undermine trust and deter users.                                                                       \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                 Growth Outlook                                                  \n",
+              "                                                                                                                 \n",
+              " Increasing Demand for Rendering: As industries like gaming, film, and virtual reality continue to grow, the  \n",
+              "    demand for rendering services is expected to rise, potentially benefiting RNDR.                              \n",
+              " Partnerships and Integrations: Strategic partnerships with industry players could enhance the network's      \n",
+              "    credibility and expand its user base.                                                                        \n",
+              " Technological Advancements: Improvements in blockchain technology and GPU capabilities could enhance the     \n",
+              "    efficiency and appeal of the Render Network.                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                    Red Flags                                                    \n",
+              "                                                                                                                 \n",
+              " Centralization Concerns: While the network is decentralized, the initial distribution and control of tokens  \n",
+              "    could raise concerns about centralization.                                                                   \n",
+              " Volatility: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its    \n",
+              "    stability as a utility token.                                                                                \n",
+              " Dependency on Ethereum: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including    \n",
+              "    its scalability and transaction costs.                                                                       \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                   Conclusion                                                    \n",
+              "                                                                                                                 \n",
+              " Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain   \n",
+              " technology to create a marketplace for GPU power. While it has potential for growth, particularly with          \n",
+              " increasing demand for rendering, it faces significant risks from competition, adoption challenges, and          \n",
+              " regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with \n",
+              " RNDR.                                                                                                           \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "🪙 Crypto Research Report:\n", + " # Render Token (RNDR) Analysis\n", + "\n", + "## Overview\n", + "Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle GPUs to spare, facilitating a marketplace for rendering services.\n", + "\n", + "## Utility\n", + "- **Rendering Services**: RNDR is primarily used to pay for rendering services on the Render Network. Users submit rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for completing these tasks.\n", + "- **Decentralized Network**: By leveraging idle GPU resources globally, Render Network offers a decentralized alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.\n", + "- **Blockchain Integration**: The use of blockchain ensures transparency, security, and immutability of transactions within the network.\n", + "\n", + "## Tokenomics\n", + "- **Supply**: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for rendering services increases.\n", + "- **Distribution**: Tokens are distributed to node operators as compensation for rendering services, incentivizing participation in the network.\n", + "- **Staking**: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their interests with the network's integrity.\n", + "\n", + "## Risks\n", + "- **Market Competition**: Render Network faces competition from established cloud rendering services like AWS and Google Cloud, which have significant resources and market presence.\n", + "- **Adoption and Demand**: The success of RNDR is heavily reliant on the adoption of the Render Network. If the network fails to attract a substantial user base, demand for RNDR could stagnate.\n", + "- **Regulatory Risks**: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact its utility and marketability.\n", + "- **Technical Challenges**: Ensuring the network's reliability and security is crucial. Any technical failures could undermine trust and deter users.\n", + "\n", + "## Growth Outlook\n", + "- **Increasing Demand for Rendering**: As industries like gaming, film, and virtual reality continue to grow, the demand for rendering services is expected to rise, potentially benefiting RNDR.\n", + "- **Partnerships and Integrations**: Strategic partnerships with industry players could enhance the network's credibility and expand its user base.\n", + "- **Technological Advancements**: Improvements in blockchain technology and GPU capabilities could enhance the efficiency and appeal of the Render Network.\n", + "\n", + "## Red Flags\n", + "- **Centralization Concerns**: While the network is decentralized, the initial distribution and control of tokens could raise concerns about centralization.\n", + "- **Volatility**: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its stability as a utility token.\n", + "- **Dependency on Ethereum**: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including its scalability and transaction costs.\n", + "\n", + "## Conclusion\n", + "Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain technology to create a marketplace for GPU power. While it has potential for growth, particularly with increasing demand for rendering, it faces significant risks from competition, adoption challenges, and regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with RNDR.\n" + ] + } + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "colab": { + "provenance": [] + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "70fae1edbacb4b3592d5aab39d96c41d": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_1cfd76f73f0a44989fdcfd0b3cb2c12d", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 9.6s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┃ \u001b[1mRender Token (RNDR) Analysis\u001b[0m ┃ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mOverview\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m GPUs to spare, facilitating a marketplace for rendering services. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mUtility\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRendering Services\u001b[0m: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mrendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcompleting these tasks. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDecentralized Network\u001b[0m: By leveraging idle GPU resources globally, Render Network offers a decentralized \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0malternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBlockchain Integration\u001b[0m: The use of blockchain ensures transparency, security, and immutability of \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mtransactions within the network. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mTokenomics\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSupply\u001b[0m: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mrendering services increases. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDistribution\u001b[0m: Tokens are distributed to node operators as compensation for rendering services, incentivizing \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mparticipation in the network. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mStaking\u001b[0m: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minterests with the network's integrity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mRisks\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMarket Competition\u001b[0m: Render Network faces competition from established cloud rendering services like AWS and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mGoogle Cloud, which have significant resources and market presence. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAdoption and Demand\u001b[0m: The success of RNDR is heavily reliant on the adoption of the Render Network. If the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mnetwork fails to attract a substantial user base, demand for RNDR could stagnate. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRegulatory Risks\u001b[0m: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mits utility and marketability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnical Challenges\u001b[0m: Ensuring the network's reliability and security is crucial. Any technical failures \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcould undermine trust and deter users. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mGrowth Outlook\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mIncreasing Demand for Rendering\u001b[0m: As industries like gaming, film, and virtual reality continue to grow, the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mdemand for rendering services is expected to rise, potentially benefiting RNDR. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPartnerships and Integrations\u001b[0m: Strategic partnerships with industry players could enhance the network's \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcredibility and expand its user base. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnological Advancements\u001b[0m: Improvements in blockchain technology and GPU capabilities could enhance the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mefficiency and appeal of the Render Network. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mRed Flags\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCentralization Concerns\u001b[0m: While the network is decentralized, the initial distribution and control of tokens \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcould raise concerns about centralization. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mVolatility\u001b[0m: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mstability as a utility token. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDependency on Ethereum\u001b[0m: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mits scalability and transaction costs. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mConclusion\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m technology to create a marketplace for GPU power. While it has potential for growth, particularly with \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m increasing demand for rendering, it faces significant risks from competition, adoption challenges, and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m regulatory scrutiny. Investors and users should weigh these factors carefully when \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 9.6s ───────────────────────────────────────────────╮\n ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \nRender Token (RNDR) Analysis\n ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n                                                                                                                 \n                                                                                                                 \n                                                    Overview                                                     \n                                                                                                                 \n Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network    \n built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle  \n GPUs to spare, facilitating a marketplace for rendering services.                                               \n                                                                                                                 \n                                                                                                                 \n                                                     Utility                                                     \n                                                                                                                 \n Rendering Services: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \n    rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for        \n    completing these tasks.                                                                                      \n Decentralized Network: By leveraging idle GPU resources globally, Render Network offers a decentralized      \n    alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.   \n Blockchain Integration: The use of blockchain ensures transparency, security, and immutability of            \n    transactions within the network.                                                                             \n                                                                                                                 \n                                                                                                                 \n                                                   Tokenomics                                                    \n                                                                                                                 \n Supply: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for        \n    rendering services increases.                                                                                \n Distribution: Tokens are distributed to node operators as compensation for rendering services, incentivizing \n    participation in the network.                                                                                \n Staking: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their          \n    interests with the network's integrity.                                                                      \n                                                                                                                 \n                                                                                                                 \n                                                      Risks                                                      \n                                                                                                                 \n Market Competition: Render Network faces competition from established cloud rendering services like AWS and  \n    Google Cloud, which have significant resources and market presence.                                          \n Adoption and Demand: The success of RNDR is heavily reliant on the adoption of the Render Network. If the    \n    network fails to attract a substantial user base, demand for RNDR could stagnate.                            \n Regulatory Risks: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact   \n    its utility and marketability.                                                                               \n Technical Challenges: Ensuring the network's reliability and security is crucial. Any technical failures     \n    could undermine trust and deter users.                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                 Growth Outlook                                                  \n                                                                                                                 \n Increasing Demand for Rendering: As industries like gaming, film, and virtual reality continue to grow, the  \n    demand for rendering services is expected to rise, potentially benefiting RNDR.                              \n Partnerships and Integrations: Strategic partnerships with industry players could enhance the network's      \n    credibility and expand its user base.                                                                        \n Technological Advancements: Improvements in blockchain technology and GPU capabilities could enhance the     \n    efficiency and appeal of the Render Network.                                                                 \n                                                                                                                 \n                                                                                                                 \n                                                    Red Flags                                                    \n                                                                                                                 \n Centralization Concerns: While the network is decentralized, the initial distribution and control of tokens  \n    could raise concerns about centralization.                                                                   \n Volatility: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its    \n    stability as a utility token.                                                                                \n Dependency on Ethereum: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including    \n    its scalability and transaction costs.                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                   Conclusion                                                    \n                                                                                                                 \n Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain   \n technology to create a marketplace for GPU power. While it has potential for growth, particularly with          \n increasing demand for rendering, it faces significant risks from competition, adoption challenges, and          \n regulatory scrutiny. Investors and users should weigh these factors carefully when                              \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "1cfd76f73f0a44989fdcfd0b3cb2c12d": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/examples/cookbooks/E_commerce_Shopping_Assistant.ipynb b/examples/cookbooks/E_commerce_Shopping_Assistant.ipynb new file mode 100644 index 00000000..da8aa37d --- /dev/null +++ b/examples/cookbooks/E_commerce_Shopping_Assistant.ipynb @@ -0,0 +1,638 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "e722180e", + "metadata": { + "id": "e722180e" + }, + "source": [ + "# E-commerce Shopping Assistant\n", + "\n", + "Helps users discover, compare, and decide on product purchases online." + ] + }, + { + "cell_type": "markdown", + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/commerce_Shopping_Assistant.ipynb)" + ], + "metadata": { + "id": "vcl39flucPf5" + }, + "id": "vcl39flucPf5" + }, + { + "cell_type": "markdown", + "source": [ + "# Dependencies" + ], + "metadata": { + "id": "fPf-zKw9b2s2" + }, + "id": "fPf-zKw9b2s2" + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "f6e9a03f", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "f6e9a03f", + "outputId": "55cd3cef-266d-4e53-edde-4ceab0b456cd" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━\u001b[0m \u001b[32m2.4/3.3 MB\u001b[0m \u001b[31m35.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m32.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h" + ] + } + ], + "source": [ + "!pip install -q praisonaiagents openai duckduckgo_search" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# set OpenAI API key" + ], + "metadata": { + "id": "ryXTdYdRb6l7" + }, + "id": "ryXTdYdRb6l7" + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "a91f87c8", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "a91f87c8", + "outputId": "25405986-1ac7-4002-f0ab-76a312e2b3f8" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Import PraisonAI Agent tools" + ], + "metadata": { + "id": "0OW7ml8HcAnh" + }, + "id": "0OW7ml8HcAnh" + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "3c1fdf11", + "metadata": { + "id": "3c1fdf11" + }, + "outputs": [], + "source": [ + "from praisonaiagents import Agent, Task, PraisonAIAgents" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define the Shopping Assistant Agent" + ], + "metadata": { + "id": "Z0rtEk9VcDvt" + }, + "id": "Z0rtEk9VcDvt" + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "71731420", + "metadata": { + "id": "71731420" + }, + "outputs": [], + "source": [ + "shopping_assistant = Agent(\n", + " name=\"EcommerceShoppingAgent\",\n", + " instructions=(\n", + " \"You are a smart e-commerce shopping assistant. \"\n", + " \"Your goal is to help users find the best product deals, recommend items, and compare features from online sources. \"\n", + " \"Use research and product comparison strategies.\"\n", + " ),\n", + " verbose=True,\n", + " markdown=True\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define a Task for Shopping Assistant" + ], + "metadata": { + "id": "jipAX79fcHXy" + }, + "id": "jipAX79fcHXy" + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "9b55dbe3", + "metadata": { + "id": "9b55dbe3" + }, + "outputs": [], + "source": [ + "shopping_task = Task(\n", + " name=\"FindProductDeals\",\n", + " description=\"Find the best deals and compare features for the latest wireless earbuds under $100\",\n", + " expected_output=\"A list of recommended wireless earbuds under $100 with pros, cons, and prices\",\n", + " agent=shopping_assistant\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Create the Assistant System" + ], + "metadata": { + "id": "6lKHyYwycKXr" + }, + "id": "6lKHyYwycKXr" + }, + { + "cell_type": "code", + "source": [ + "assistant_system = PraisonAIAgents(\n", + " agents=[shopping_assistant],\n", + " tasks=[shopping_task],\n", + " process=\"sequential\",\n", + " verbose=True\n", + ")\n" + ], + "metadata": { + "id": "zEpJ7IkFbvKW" + }, + "id": "zEpJ7IkFbvKW", + "execution_count": 7, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Run the Agent System" + ], + "metadata": { + "id": "yuTZ2fWpcNI8" + }, + "id": "yuTZ2fWpcNI8" + }, + { + "cell_type": "code", + "source": [ + "query = \"Find the best wireless earbuds under $100 with noise cancellation\"\n", + "output = assistant_system.start(input=query)\n", + "\n", + "# 📄 Display Output\n", + "print(\"🛍️ Shopping Assistant Output:\\n\", output)\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "8f64ad3584b74928b9069fe84ff178db", + "2e4b43c537924f8e8ab8d17696a90330" + ] + }, + "id": "NQKri37Ubw-S", + "outputId": "6741cd08-37c6-4d5a-aacd-a6ca44104dc1" + }, + "id": "NQKri37Ubw-S", + "execution_count": 8, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mEcommerceShoppingAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: EcommerceShoppingAgent                                                                               \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "8f64ad3584b74928b9069fe84ff178db" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 7.8s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 7.8s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Find the best deals and compare features for the latest wireless earbuds \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m under $100. Expected Output: A list of recommended wireless earbuds under $100 with pros, cons, and prices. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Please provide only the final result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Find the best deals and compare features for the latest wireless earbuds     \n",
+              " under $100. Expected Output: A list of recommended wireless earbuds under $100 with pros, cons, and prices.     \n",
+              " Please provide only the final result of your work. Do not add any conversation or extra explanation.            \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m1. Anker Soundcore Life P2\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mExcellent battery life (up to 40 hours with case) \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality with graphene drivers \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m2. TOZO T6\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $29.99 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAffordable price \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX8 waterproof rating \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTouch controls \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality for the price \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 6 hours per charge) \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m3. JLab Audio JBuds Air\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCustom EQ3 sound settings \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat resistance \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood fit with multiple ear tips \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIntegrated charging cable in the case \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBulky charging case \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m4. Skullcandy Sesh Evo\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTile tracking feature \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat, water, and dust resistance \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDecent sound quality \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood battery life (up to 24 hours with case) \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m5. SoundPEATS TrueFree2\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $39.99 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mSecure fit with ear fins \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 4 hours per charge) \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m These options provide a range of features and prices, allowing you to choose based on your specific needs and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m preferences. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " 1. Anker Soundcore Life P2                                                                                      \n",
+              "                                                                                                                 \n",
+              " Price: $49.99                                                                                                \n",
+              " Pros:                                                                                                        \n",
+              " Excellent battery life (up to 40 hours with case)                                                         \n",
+              " IPX7 waterproof rating                                                                                    \n",
+              " Good sound quality with graphene drivers                                                                  \n",
+              " USB-C charging                                                                                            \n",
+              " Cons:                                                                                                        \n",
+              " No active noise cancellation                                                                              \n",
+              " Limited touch controls                                                                                    \n",
+              "                                                                                                                 \n",
+              " 2. TOZO T6                                                                                                      \n",
+              "                                                                                                                 \n",
+              " Price: $29.99                                                                                                \n",
+              " Pros:                                                                                                        \n",
+              " Affordable price                                                                                          \n",
+              " IPX8 waterproof rating                                                                                    \n",
+              " Touch controls                                                                                            \n",
+              " Good sound quality for the price                                                                          \n",
+              " Cons:                                                                                                        \n",
+              " Average battery life (up to 6 hours per charge)                                                           \n",
+              " No active noise cancellation                                                                              \n",
+              "                                                                                                                 \n",
+              " 3. JLab Audio JBuds Air                                                                                         \n",
+              "                                                                                                                 \n",
+              " Price: $49.99                                                                                                \n",
+              " Pros:                                                                                                        \n",
+              " Custom EQ3 sound settings                                                                                 \n",
+              " IP55 sweat resistance                                                                                     \n",
+              " Good fit with multiple ear tips                                                                           \n",
+              " Integrated charging cable in the case                                                                     \n",
+              " Cons:                                                                                                        \n",
+              " Bulky charging case                                                                                       \n",
+              " No active noise cancellation                                                                              \n",
+              "                                                                                                                 \n",
+              " 4. Skullcandy Sesh Evo                                                                                          \n",
+              "                                                                                                                 \n",
+              " Price: $49.99                                                                                                \n",
+              " Pros:                                                                                                        \n",
+              " Tile tracking feature                                                                                     \n",
+              " IP55 sweat, water, and dust resistance                                                                    \n",
+              " Decent sound quality                                                                                      \n",
+              " Good battery life (up to 24 hours with case)                                                              \n",
+              " Cons:                                                                                                        \n",
+              " Limited touch controls                                                                                    \n",
+              " No active noise cancellation                                                                              \n",
+              "                                                                                                                 \n",
+              " 5. SoundPEATS TrueFree2                                                                                         \n",
+              "                                                                                                                 \n",
+              " Price: $39.99                                                                                                \n",
+              " Pros:                                                                                                        \n",
+              " Secure fit with ear fins                                                                                  \n",
+              " IPX7 waterproof rating                                                                                    \n",
+              " Good sound quality                                                                                        \n",
+              " USB-C charging                                                                                            \n",
+              " Cons:                                                                                                        \n",
+              " No active noise cancellation                                                                              \n",
+              " Average battery life (up to 4 hours per charge)                                                           \n",
+              "                                                                                                                 \n",
+              " These options provide a range of features and prices, allowing you to choose based on your specific needs and   \n",
+              " preferences.                                                                                                    \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "🛍️ Shopping Assistant Output:\n", + " **1. Anker Soundcore Life P2**\n", + "\n", + "- **Price:** $49.99\n", + "- **Pros:** \n", + " - Excellent battery life (up to 40 hours with case)\n", + " - IPX7 waterproof rating\n", + " - Good sound quality with graphene drivers\n", + " - USB-C charging\n", + "- **Cons:** \n", + " - No active noise cancellation\n", + " - Limited touch controls\n", + "\n", + "**2. TOZO T6**\n", + "\n", + "- **Price:** $29.99\n", + "- **Pros:** \n", + " - Affordable price\n", + " - IPX8 waterproof rating\n", + " - Touch controls\n", + " - Good sound quality for the price\n", + "- **Cons:** \n", + " - Average battery life (up to 6 hours per charge)\n", + " - No active noise cancellation\n", + "\n", + "**3. JLab Audio JBuds Air**\n", + "\n", + "- **Price:** $49.99\n", + "- **Pros:** \n", + " - Custom EQ3 sound settings\n", + " - IP55 sweat resistance\n", + " - Good fit with multiple ear tips\n", + " - Integrated charging cable in the case\n", + "- **Cons:** \n", + " - Bulky charging case\n", + " - No active noise cancellation\n", + "\n", + "**4. Skullcandy Sesh Evo**\n", + "\n", + "- **Price:** $49.99\n", + "- **Pros:** \n", + " - Tile tracking feature\n", + " - IP55 sweat, water, and dust resistance\n", + " - Decent sound quality\n", + " - Good battery life (up to 24 hours with case)\n", + "- **Cons:** \n", + " - Limited touch controls\n", + " - No active noise cancellation\n", + "\n", + "**5. SoundPEATS TrueFree2**\n", + "\n", + "- **Price:** $39.99\n", + "- **Pros:** \n", + " - Secure fit with ear fins\n", + " - IPX7 waterproof rating\n", + " - Good sound quality\n", + " - USB-C charging\n", + "- **Cons:** \n", + " - No active noise cancellation\n", + " - Average battery life (up to 4 hours per charge)\n", + "\n", + "These options provide a range of features and prices, allowing you to choose based on your specific needs and preferences.\n" + ] + } + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "colab": { + "provenance": [] + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "8f64ad3584b74928b9069fe84ff178db": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_2e4b43c537924f8e8ab8d17696a90330", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 7.7s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m1. Anker Soundcore Life P2\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mExcellent battery life (up to 40 hours with case) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality with graphene drivers \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m2. TOZO T6\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $29.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAffordable price \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX8 waterproof rating \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTouch controls \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality for the price \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 6 hours per charge) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m3. JLab Audio JBuds Air\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCustom EQ3 sound settings \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat resistance \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood fit with multiple ear tips \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIntegrated charging cable in the case \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBulky charging case \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m4. Skullcandy Sesh Evo\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTile tracking feature \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat, water, and dust resistance \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDecent sound quality \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood battery life (up to 24 hours with case) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m5. SoundPEATS TrueFree2\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $39.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mSecure fit with ear fins \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 4 hours per charge) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m These options provide a range of features and prices, allowing you to choose based on your specific needs and \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 7.7s ───────────────────────────────────────────────╮\n 1. Anker Soundcore Life P2                                                                                      \n                                                                                                                 \n Price: $49.99                                                                                                \n Pros:                                                                                                        \n Excellent battery life (up to 40 hours with case)                                                         \n IPX7 waterproof rating                                                                                    \n Good sound quality with graphene drivers                                                                  \n USB-C charging                                                                                            \n Cons:                                                                                                        \n No active noise cancellation                                                                              \n Limited touch controls                                                                                    \n                                                                                                                 \n 2. TOZO T6                                                                                                      \n                                                                                                                 \n Price: $29.99                                                                                                \n Pros:                                                                                                        \n Affordable price                                                                                          \n IPX8 waterproof rating                                                                                    \n Touch controls                                                                                            \n Good sound quality for the price                                                                          \n Cons:                                                                                                        \n Average battery life (up to 6 hours per charge)                                                           \n No active noise cancellation                                                                              \n                                                                                                                 \n 3. JLab Audio JBuds Air                                                                                         \n                                                                                                                 \n Price: $49.99                                                                                                \n Pros:                                                                                                        \n Custom EQ3 sound settings                                                                                 \n IP55 sweat resistance                                                                                     \n Good fit with multiple ear tips                                                                           \n Integrated charging cable in the case                                                                     \n Cons:                                                                                                        \n Bulky charging case                                                                                       \n No active noise cancellation                                                                              \n                                                                                                                 \n 4. Skullcandy Sesh Evo                                                                                          \n                                                                                                                 \n Price: $49.99                                                                                                \n Pros:                                                                                                        \n Tile tracking feature                                                                                     \n IP55 sweat, water, and dust resistance                                                                    \n Decent sound quality                                                                                      \n Good battery life (up to 24 hours with case)                                                              \n Cons:                                                                                                        \n Limited touch controls                                                                                    \n No active noise cancellation                                                                              \n                                                                                                                 \n 5. SoundPEATS TrueFree2                                                                                         \n                                                                                                                 \n Price: $39.99                                                                                                \n Pros:                                                                                                        \n Secure fit with ear fins                                                                                  \n IPX7 waterproof rating                                                                                    \n Good sound quality                                                                                        \n USB-C charging                                                                                            \n Cons:                                                                                                        \n No active noise cancellation                                                                              \n Average battery life (up to 4 hours per charge)                                                           \n                                                                                                                 \n These options provide a range of features and prices, allowing you to choose based on your specific needs and   \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "2e4b43c537924f8e8ab8d17696a90330": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb b/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb new file mode 100644 index 00000000..05b49027 --- /dev/null +++ b/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb @@ -0,0 +1,760 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "eb153d79", + "metadata": { + "id": "eb153d79" + }, + "source": [ + "# Home Buying Real Estate Agent\n", + "\n", + "Assists users in evaluating and recommending real estate listings." + ] + }, + { + "cell_type": "markdown", + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb)\n", + "\n" + ], + "metadata": { + "id": "N1N183yMfJ_0" + }, + "id": "N1N183yMfJ_0" + }, + { + "cell_type": "markdown", + "source": [ + "# Dependencies" + ], + "metadata": { + "id": "bTkerYnid8ao" + }, + "id": "bTkerYnid8ao" + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "51e87f94", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "51e87f94", + "outputId": "df61cc7b-72d1-4b51-c5f0-071a6ecd6b8e" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/176.8 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.8/176.8 kB\u001b[0m \u001b[31m5.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/130.2 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/105.4 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.4/105.4 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/45.2 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.2/45.2 kB\u001b[0m \u001b[31m2.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h" + ] + } + ], + "source": [ + "!pip install -q praisonaiagents openai" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Set OpenAI API Key" + ], + "metadata": { + "id": "fojF7UVJeaI5" + }, + "id": "fojF7UVJeaI5" + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "be325f31", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "be325f31", + "outputId": "489cd22b-bf0a-4984-e54a-a94d379d61e9" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "# 🔑 Enter your API Key securely\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Import PraisonAI Agent Framework" + ], + "metadata": { + "id": "R1G-5soreoNI" + }, + "id": "R1G-5soreoNI" + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "5e58b964", + "metadata": { + "id": "5e58b964" + }, + "outputs": [], + "source": [ + "from praisonaiagents import Agent, Task, PraisonAIAgents" + ] + }, + { + "cell_type": "markdown", + "id": "b57756cb", + "metadata": { + "id": "b57756cb" + }, + "source": [ + "# YAML configuration style for the agent behavior" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "0efc056c", + "metadata": { + "id": "0efc056c" + }, + "outputs": [], + "source": [ + "yaml_prompt = \"\"\"\n", + "name: HomeBuyingAssistant\n", + "role: Real Estate Advisor Agent\n", + "goal: Assist users in making informed decisions when buying residential property.\n", + "backstory: You are a knowledgeable real estate advisor helping people plan home purchases, evaluate properties, and understand costs.\n", + "skills:\n", + " - Mortgage and loan explanation\n", + " - Property comparison\n", + " - Cost of living and taxes\n", + " - First-time homebuyer guidance\n", + "llm: gpt-4o\n", + "verbosity: true\n", + "format: markdown\n", + "\"\"\"\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Create the Real Estate Agent" + ], + "metadata": { + "id": "f-IQLlIKe1UF" + }, + "id": "f-IQLlIKe1UF" + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "a3c2ec29", + "metadata": { + "id": "a3c2ec29" + }, + "outputs": [], + "source": [ + "real_estate_agent = Agent(\n", + " name=\"HomeBuyingAssistant\",\n", + " instructions=\"\"\"\n", + "You are a home-buying real estate advisor agent.\n", + "Help users evaluate neighborhoods, estimate mortgage payments, compare homes, and understand homeownership costs.\n", + "Explain clearly, format in markdown, and be friendly but professional.\n", + "\"\"\",\n", + " llm=\"gpt-4o\",\n", + " verbose=True,\n", + " markdown=True\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define the Home Buying Task" + ], + "metadata": { + "id": "NxRYnlwge7sA" + }, + "id": "NxRYnlwge7sA" + }, + { + "cell_type": "code", + "source": [ + "real_estate_task = Task(\n", + " name=\"HomePurchaseGuidance\",\n", + " description=\"Guide a first-time homebuyer looking to purchase a 3-bedroom house in Austin, TX under $500,000.\",\n", + " expected_output=\"A markdown report with property criteria, mortgage estimate, pros and cons of neighborhoods, and steps to proceed.\",\n", + " agent=real_estate_agent\n", + ")\n" + ], + "metadata": { + "id": "ucU_MEM7e5Vf" + }, + "id": "ucU_MEM7e5Vf", + "execution_count": 7, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Create Agent System" + ], + "metadata": { + "id": "72wNG8q4e_iV" + }, + "id": "72wNG8q4e_iV" + }, + { + "cell_type": "code", + "source": [ + "home_buying_system = PraisonAIAgents(\n", + " agents=[real_estate_agent],\n", + " tasks=[real_estate_task],\n", + " process=\"sequential\",\n", + " verbose=True\n", + ")\n" + ], + "metadata": { + "id": "fP1Xmk8xe-ea" + }, + "id": "fP1Xmk8xe-ea", + "execution_count": 8, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Run the Agent" + ], + "metadata": { + "id": "W7XhaDskfGTo" + }, + "id": "W7XhaDskfGTo" + }, + { + "cell_type": "code", + "source": [ + "# Input your query here\n", + "query = \"Help a first-time buyer find a 3-bedroom home under $500,000 in Austin, TX. Include loan and tax guidance.\"\n", + "output = home_buying_system.start(input=query)\n", + "\n", + "# 🏠 Show the results\n", + "print(\"🏠 Home Buying Report:\\n\", output)\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "44f97685092540e3b962554218f00438", + "112e5b9377114efe996da4ddbc181454" + ] + }, + "id": "1KEkwZbVfD33", + "outputId": "71f8a42e-d177-462b-f44c-9f97243180ec" + }, + "id": "1KEkwZbVfD33", + "execution_count": 9, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mHomeBuyingAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: HomeBuyingAssistant                                                                                  \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "44f97685092540e3b962554218f00438" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 6.6s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 6.6s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Guide a first-time homebuyer looking to purchase a 3-bedroom house in \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Austin, TX under $500,000.. Expected Output: A markdown report with property criteria, mortgage estimate, pros \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m and cons of neighborhoods, and steps to proceed.. Please provide only the final result of your work. Do not add \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m any conversation or extra explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Guide a first-time homebuyer looking to purchase a 3-bedroom house in        \n",
+              " Austin, TX under $500,000.. Expected Output: A markdown report with property criteria, mortgage estimate, pros  \n",
+              " and cons of neighborhoods, and steps to proceed.. Please provide only the final result of your work. Do not add \n",
+              " any conversation or extra explanation.                                                                          \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┃ \u001b[1mFirst-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\u001b[0m ┃ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mProperty Criteria\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLocation:\u001b[0m Austin, TX \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mType:\u001b[0m 3-bedroom house \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBudget:\u001b[0m Under $500,000 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mMortgage Estimate\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m of 7%: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDown Payment:\u001b[0m $100,000 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLoan Amount:\u001b[0m $400,000 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMonthly Mortgage Payment:\u001b[0m Approximately $2,661 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mNote: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable) \u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mwill add to the monthly cost.\u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mNeighborhood Evaluation\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m1. \u001b[0m\u001b[1mSouth Austin\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVibrant community with a mix of cultures. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClose to downtown and entertainment options. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood schools and parks. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTraffic congestion during peak hours. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher property taxes in some areas. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m2. \u001b[0m\u001b[1mNorth Austin\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mMore affordable housing options. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGrowing tech industry presence. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFamily-friendly neighborhoods. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFurther from downtown. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited public transportation options. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m3. \u001b[0m\u001b[1mEast Austin\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTrendy and rapidly developing area. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRich cultural history and diversity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mProximity to downtown. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRising property prices. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGentrification concerns. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1m4. \u001b[0m\u001b[1mWest Austin\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mScenic views and outdoor activities. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigh-rated schools. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mQuiet and upscale neighborhoods. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher cost of living. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited affordable housing options. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mSteps to Proceed\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mFinancial Preparation:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mReview your credit score and financial standing. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGet pre-approved for a mortgage to understand your budget. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mNeighborhood Research:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVisit potential neighborhoods at different times of the day. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConsider proximity to work, schools, and amenities. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mEngage a Real Estate Agent:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mChoose an agent familiar with Austin's market. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDiscuss your needs and preferences. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mHouse Hunting:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAttend open houses and schedule private showings. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCompare properties based on criteria and budget. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mMake an Offer:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mWork with your agent to make a competitive offer. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBe prepared for negotiations. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mHome Inspection and Closing:\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConduct a thorough home inspection. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFinalize mortgage details and close the deal. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mRemember, buying a home is a significant investment. Take your time to ensure it meets your needs and \u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mfinancial situation.\u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
+              "First-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\n",
+              " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                Property Criteria                                                \n",
+              "                                                                                                                 \n",
+              " Location: Austin, TX                                                                                         \n",
+              " Type: 3-bedroom house                                                                                        \n",
+              " Budget: Under $500,000                                                                                       \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                Mortgage Estimate                                                \n",
+              "                                                                                                                 \n",
+              " Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate   \n",
+              " of 7%:                                                                                                          \n",
+              "                                                                                                                 \n",
+              " Down Payment: $100,000                                                                                       \n",
+              " Loan Amount: $400,000                                                                                        \n",
+              " Monthly Mortgage Payment: Approximately $2,661                                                               \n",
+              "                                                                                                                 \n",
+              " Note: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable)      \n",
+              " will add to the monthly cost.                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                             Neighborhood Evaluation                                             \n",
+              "                                                                                                                 \n",
+              "                                                 1. South Austin                                                 \n",
+              "                                                                                                                 \n",
+              " Pros:                                                                                                        \n",
+              " Vibrant community with a mix of cultures.                                                                 \n",
+              " Close to downtown and entertainment options.                                                              \n",
+              " Good schools and parks.                                                                                   \n",
+              " Cons:                                                                                                        \n",
+              " Traffic congestion during peak hours.                                                                     \n",
+              " Higher property taxes in some areas.                                                                      \n",
+              "                                                                                                                 \n",
+              "                                                 2. North Austin                                                 \n",
+              "                                                                                                                 \n",
+              " Pros:                                                                                                        \n",
+              " More affordable housing options.                                                                          \n",
+              " Growing tech industry presence.                                                                           \n",
+              " Family-friendly neighborhoods.                                                                            \n",
+              " Cons:                                                                                                        \n",
+              " Further from downtown.                                                                                    \n",
+              " Limited public transportation options.                                                                    \n",
+              "                                                                                                                 \n",
+              "                                                 3. East Austin                                                  \n",
+              "                                                                                                                 \n",
+              " Pros:                                                                                                        \n",
+              " Trendy and rapidly developing area.                                                                       \n",
+              " Rich cultural history and diversity.                                                                      \n",
+              " Proximity to downtown.                                                                                    \n",
+              " Cons:                                                                                                        \n",
+              " Rising property prices.                                                                                   \n",
+              " Gentrification concerns.                                                                                  \n",
+              "                                                                                                                 \n",
+              "                                                 4. West Austin                                                  \n",
+              "                                                                                                                 \n",
+              " Pros:                                                                                                        \n",
+              " Scenic views and outdoor activities.                                                                      \n",
+              " High-rated schools.                                                                                       \n",
+              " Quiet and upscale neighborhoods.                                                                          \n",
+              " Cons:                                                                                                        \n",
+              " Higher cost of living.                                                                                    \n",
+              " Limited affordable housing options.                                                                       \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                Steps to Proceed                                                 \n",
+              "                                                                                                                 \n",
+              "  1 Financial Preparation:                                                                                       \n",
+              " Review your credit score and financial standing.                                                          \n",
+              " Get pre-approved for a mortgage to understand your budget.                                                \n",
+              "  2 Neighborhood Research:                                                                                       \n",
+              " Visit potential neighborhoods at different times of the day.                                              \n",
+              " Consider proximity to work, schools, and amenities.                                                       \n",
+              "  3 Engage a Real Estate Agent:                                                                                  \n",
+              " Choose an agent familiar with Austin's market.                                                            \n",
+              " Discuss your needs and preferences.                                                                       \n",
+              "  4 House Hunting:                                                                                               \n",
+              " Attend open houses and schedule private showings.                                                         \n",
+              " Compare properties based on criteria and budget.                                                          \n",
+              "  5 Make an Offer:                                                                                               \n",
+              " Work with your agent to make a competitive offer.                                                         \n",
+              " Be prepared for negotiations.                                                                             \n",
+              "  6 Home Inspection and Closing:                                                                                 \n",
+              " Conduct a thorough home inspection.                                                                       \n",
+              " Finalize mortgage details and close the deal.                                                             \n",
+              "                                                                                                                 \n",
+              " Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and         \n",
+              " financial situation.                                                                                          \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "🏠 Home Buying Report:\n", + " # First-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\n", + "\n", + "## Property Criteria\n", + "- **Location:** Austin, TX\n", + "- **Type:** 3-bedroom house\n", + "- **Budget:** Under $500,000\n", + "\n", + "## Mortgage Estimate\n", + "Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate of 7%:\n", + "\n", + "- **Down Payment:** $100,000\n", + "- **Loan Amount:** $400,000\n", + "- **Monthly Mortgage Payment:** Approximately $2,661\n", + "\n", + "> *Note: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable) will add to the monthly cost.*\n", + "\n", + "## Neighborhood Evaluation\n", + "\n", + "### 1. **South Austin**\n", + "- **Pros:**\n", + " - Vibrant community with a mix of cultures.\n", + " - Close to downtown and entertainment options.\n", + " - Good schools and parks.\n", + "- **Cons:**\n", + " - Traffic congestion during peak hours.\n", + " - Higher property taxes in some areas.\n", + "\n", + "### 2. **North Austin**\n", + "- **Pros:**\n", + " - More affordable housing options.\n", + " - Growing tech industry presence.\n", + " - Family-friendly neighborhoods.\n", + "- **Cons:**\n", + " - Further from downtown.\n", + " - Limited public transportation options.\n", + "\n", + "### 3. **East Austin**\n", + "- **Pros:**\n", + " - Trendy and rapidly developing area.\n", + " - Rich cultural history and diversity.\n", + " - Proximity to downtown.\n", + "- **Cons:**\n", + " - Rising property prices.\n", + " - Gentrification concerns.\n", + "\n", + "### 4. **West Austin**\n", + "- **Pros:**\n", + " - Scenic views and outdoor activities.\n", + " - High-rated schools.\n", + " - Quiet and upscale neighborhoods.\n", + "- **Cons:**\n", + " - Higher cost of living.\n", + " - Limited affordable housing options.\n", + "\n", + "## Steps to Proceed\n", + "\n", + "1. **Financial Preparation:**\n", + " - Review your credit score and financial standing.\n", + " - Get pre-approved for a mortgage to understand your budget.\n", + "\n", + "2. **Neighborhood Research:**\n", + " - Visit potential neighborhoods at different times of the day.\n", + " - Consider proximity to work, schools, and amenities.\n", + "\n", + "3. **Engage a Real Estate Agent:**\n", + " - Choose an agent familiar with Austin's market.\n", + " - Discuss your needs and preferences.\n", + "\n", + "4. **House Hunting:**\n", + " - Attend open houses and schedule private showings.\n", + " - Compare properties based on criteria and budget.\n", + "\n", + "5. **Make an Offer:**\n", + " - Work with your agent to make a competitive offer.\n", + " - Be prepared for negotiations.\n", + "\n", + "6. **Home Inspection and Closing:**\n", + " - Conduct a thorough home inspection.\n", + " - Finalize mortgage details and close the deal.\n", + "\n", + "> *Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and financial situation.*\n" + ] + } + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "colab": { + "provenance": [] + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "44f97685092540e3b962554218f00438": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_112e5b9377114efe996da4ddbc181454", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 6.5s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┃ \u001b[1mFirst-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\u001b[0m ┃ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mProperty Criteria\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLocation:\u001b[0m Austin, TX \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mType:\u001b[0m 3-bedroom house \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBudget:\u001b[0m Under $500,000 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mMortgage Estimate\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m of 7%: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDown Payment:\u001b[0m $100,000 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLoan Amount:\u001b[0m $400,000 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMonthly Mortgage Payment:\u001b[0m Approximately $2,661 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mNote: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable) \u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mwill add to the monthly cost.\u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mNeighborhood Evaluation\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m1. \u001b[0m\u001b[1mSouth Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVibrant community with a mix of cultures. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClose to downtown and entertainment options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood schools and parks. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTraffic congestion during peak hours. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher property taxes in some areas. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m2. \u001b[0m\u001b[1mNorth Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mMore affordable housing options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGrowing tech industry presence. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFamily-friendly neighborhoods. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFurther from downtown. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited public transportation options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m3. \u001b[0m\u001b[1mEast Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTrendy and rapidly developing area. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRich cultural history and diversity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mProximity to downtown. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRising property prices. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGentrification concerns. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m4. \u001b[0m\u001b[1mWest Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mScenic views and outdoor activities. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigh-rated schools. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mQuiet and upscale neighborhoods. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher cost of living. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited affordable housing options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mSteps to Proceed\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mFinancial Preparation:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mReview your credit score and financial standing. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGet pre-approved for a mortgage to understand your budget. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mNeighborhood Research:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVisit potential neighborhoods at different times of the day. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConsider proximity to work, schools, and amenities. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mEngage a Real Estate Agent:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mChoose an agent familiar with Austin's market. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDiscuss your needs and preferences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mHouse Hunting:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAttend open houses and schedule private showings. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCompare properties based on criteria and budget. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mMake an Offer:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mWork with your agent to make a competitive offer. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBe prepared for negotiations. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mHome Inspection and Closing:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConduct a thorough home inspection. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFinalize mortgage details and close the deal. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[35m*Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and \u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[35mfinancial situation\u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 6.5s ───────────────────────────────────────────────╮\n ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \nFirst-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\n ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n                                                                                                                 \n                                                                                                                 \n                                                Property Criteria                                                \n                                                                                                                 \n Location: Austin, TX                                                                                         \n Type: 3-bedroom house                                                                                        \n Budget: Under $500,000                                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                Mortgage Estimate                                                \n                                                                                                                 \n Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate   \n of 7%:                                                                                                          \n                                                                                                                 \n Down Payment: $100,000                                                                                       \n Loan Amount: $400,000                                                                                        \n Monthly Mortgage Payment: Approximately $2,661                                                               \n                                                                                                                 \n Note: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable)      \n will add to the monthly cost.                                                                                 \n                                                                                                                 \n                                                                                                                 \n                                             Neighborhood Evaluation                                             \n                                                                                                                 \n                                                 1. South Austin                                                 \n                                                                                                                 \n Pros:                                                                                                        \n Vibrant community with a mix of cultures.                                                                 \n Close to downtown and entertainment options.                                                              \n Good schools and parks.                                                                                   \n Cons:                                                                                                        \n Traffic congestion during peak hours.                                                                     \n Higher property taxes in some areas.                                                                      \n                                                                                                                 \n                                                 2. North Austin                                                 \n                                                                                                                 \n Pros:                                                                                                        \n More affordable housing options.                                                                          \n Growing tech industry presence.                                                                           \n Family-friendly neighborhoods.                                                                            \n Cons:                                                                                                        \n Further from downtown.                                                                                    \n Limited public transportation options.                                                                    \n                                                                                                                 \n                                                 3. East Austin                                                  \n                                                                                                                 \n Pros:                                                                                                        \n Trendy and rapidly developing area.                                                                       \n Rich cultural history and diversity.                                                                      \n Proximity to downtown.                                                                                    \n Cons:                                                                                                        \n Rising property prices.                                                                                   \n Gentrification concerns.                                                                                  \n                                                                                                                 \n                                                 4. West Austin                                                  \n                                                                                                                 \n Pros:                                                                                                        \n Scenic views and outdoor activities.                                                                      \n High-rated schools.                                                                                       \n Quiet and upscale neighborhoods.                                                                          \n Cons:                                                                                                        \n Higher cost of living.                                                                                    \n Limited affordable housing options.                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                Steps to Proceed                                                 \n                                                                                                                 \n  1 Financial Preparation:                                                                                       \n Review your credit score and financial standing.                                                          \n Get pre-approved for a mortgage to understand your budget.                                                \n  2 Neighborhood Research:                                                                                       \n Visit potential neighborhoods at different times of the day.                                              \n Consider proximity to work, schools, and amenities.                                                       \n  3 Engage a Real Estate Agent:                                                                                  \n Choose an agent familiar with Austin's market.                                                            \n Discuss your needs and preferences.                                                                       \n  4 House Hunting:                                                                                               \n Attend open houses and schedule private showings.                                                         \n Compare properties based on criteria and budget.                                                          \n  5 Make an Offer:                                                                                               \n Work with your agent to make a competitive offer.                                                         \n Be prepared for negotiations.                                                                             \n  6 Home Inspection and Closing:                                                                                 \n Conduct a thorough home inspection.                                                                       \n Finalize mortgage details and close the deal.                                                             \n                                                                                                                 \n ▌ *Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and        \n ▌ financial situation                                                                                           \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "112e5b9377114efe996da4ddbc181454": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb b/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb new file mode 100644 index 00000000..50822bfd --- /dev/null +++ b/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb @@ -0,0 +1,673 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "c417d47b", + "metadata": { + "id": "c417d47b" + }, + "source": [ + "# YouTube Influencer Intelligence Agent\n", + "\n", + "Analyzes YouTube influencers for marketing or collaboration purposes." + ] + }, + { + "cell_type": "markdown", + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb)" + ], + "metadata": { + "id": "xox_eBaJg4rq" + }, + "id": "xox_eBaJg4rq" + }, + { + "cell_type": "markdown", + "source": [ + "# Dependencies" + ], + "metadata": { + "id": "jsaqhbElgHza" + }, + "id": "jsaqhbElgHza" + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "324febba", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "324febba", + "outputId": "148556a5-fd5e-44ee-e4e1-56ae68709464" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/176.8 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.8/176.8 kB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.4/105.4 kB\u001b[0m \u001b[31m5.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m41.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.2/45.2 kB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h" + ] + } + ], + "source": [ + "!pip install -q praisonaiagents openai duckduckgo_search" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Set OpenAI API Key" + ], + "metadata": { + "id": "pnILL4wigO--" + }, + "id": "pnILL4wigO--" + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "2997709c", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "2997709c", + "outputId": "c6369f33-76c5-4b23-fd68-ed1ec92eec0e" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "# 🔑 Securely input your API key\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Import PraisonAI Agents" + ], + "metadata": { + "id": "fhuSmjHFgW8t" + }, + "id": "fhuSmjHFgW8t" + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "1c01dc84", + "metadata": { + "id": "1c01dc84" + }, + "outputs": [], + "source": [ + "from praisonaiagents import Agent, Task, PraisonAIAgents" + ] + }, + { + "cell_type": "markdown", + "id": "49a41cdd", + "metadata": { + "id": "49a41cdd" + }, + "source": [ + "# YAML Prompt" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "0b3a6096", + "metadata": { + "id": "0b3a6096" + }, + "outputs": [], + "source": [ + "yaml_prompt = \"\"\"\n", + "name: YouTubeInfluencerIntelligence\n", + "role: YouTube Channel Analysis and Strategy Expert\n", + "goal: Analyze YouTube influencers and channels to provide strategic insights, trends, and content suggestions.\n", + "backstory: You are a YouTube analytics expert trained in identifying trends, engagement metrics, and content strategies.\n", + "skills:\n", + " - Analyze subscriber and engagement data\n", + " - Spot content patterns and trends\n", + " - Recommend growth strategies\n", + " - Detect potential monetization methods\n", + "llm: gpt-4o\n", + "verbosity: true\n", + "format: markdown\n", + "\"\"\"\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define the Intelligence Agent" + ], + "metadata": { + "id": "dQ0vQrsggiqt" + }, + "id": "dQ0vQrsggiqt" + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "f293e64e", + "metadata": { + "id": "f293e64e" + }, + "outputs": [], + "source": [ + "yt_agent = Agent(\n", + " name=\"YouTubeInfluencerIntel\",\n", + " instructions=\"\"\"\n", + "You are a YouTube intelligence analyst. Your job is to research a specific channel, niche, or influencer topic.\n", + "Provide growth recommendations, engagement analysis, trending strategies, and monetization tips. Format in markdown.\n", + "\"\"\",\n", + " llm=\"gpt-4o\",\n", + " verbose=True,\n", + " markdown=True\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define the Task" + ], + "metadata": { + "id": "ULFepw5ggoRY" + }, + "id": "ULFepw5ggoRY" + }, + { + "cell_type": "code", + "source": [ + "yt_task = Task(\n", + " name=\"AnalyzeInfluencerChannel\",\n", + " description=\"Analyze the growth strategy of the YouTube channel 'Ali Abdaal' and suggest content ideas for a new productivity creator.\",\n", + " expected_output=\"A markdown report with channel strengths, content patterns, audience engagement tips, and content ideas.\",\n", + " agent=yt_agent\n", + ")\n" + ], + "metadata": { + "id": "pplhgO0WglsY" + }, + "id": "pplhgO0WglsY", + "execution_count": 6, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Create Agent System" + ], + "metadata": { + "id": "JCLR8cZEguUV" + }, + "id": "JCLR8cZEguUV" + }, + { + "cell_type": "code", + "source": [ + "yt_intel_system = PraisonAIAgents(\n", + " agents=[yt_agent],\n", + " tasks=[yt_task],\n", + " process=\"sequential\",\n", + " verbose=True\n", + ")\n" + ], + "metadata": { + "id": "DT34DDBmgqbk" + }, + "id": "DT34DDBmgqbk", + "execution_count": 7, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Run the Agent" + ], + "metadata": { + "id": "N1gjbZ33gzzN" + }, + "id": "N1gjbZ33gzzN" + }, + { + "cell_type": "code", + "source": [ + "query = \"Study the YouTube channel 'Ali Abdaal'. What makes it grow? Give tips for new productivity YouTubers.\"\n", + "output = yt_intel_system.start(input=query)\n", + "\n", + "# 🎬 Output\n", + "print(\"🎥 YouTube Intelligence Report:\\n\", output)\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "b04f460c5c974d6b9360a8bea97ab662", + "f464ceb8423c4e4484b6fd5318cca4c6" + ] + }, + "id": "yjM_e2rQgw2h", + "outputId": "90bb00e7-5829-4f53-ef90-ca9df38a3e23" + }, + "id": "yjM_e2rQgw2h", + "execution_count": 8, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mYouTubeInfluencerIntel\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: YouTubeInfluencerIntel                                                                               \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "b04f460c5c974d6b9360a8bea97ab662" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 12.5s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 12.5s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Analyze the growth strategy of the YouTube channel 'Ali Abdaal' and suggest \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m content ideas for a new productivity creator.. Expected Output: A markdown report with channel strengths, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m content patterns, audience engagement tips, and content ideas.. Please provide only the final result of your \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Analyze the growth strategy of the YouTube channel 'Ali Abdaal' and suggest  \n",
+              " content ideas for a new productivity creator.. Expected Output: A markdown report with channel strengths,       \n",
+              " content patterns, audience engagement tips, and content ideas.. Please provide only the final result of your    \n",
+              " work. Do not add any conversation or extra explanation.                                                         \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┃ \u001b[1mYouTube Channel Analysis: Ali Abdaal\u001b[0m ┃ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mChannel Strengths\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mEducational Content\u001b[0m: Ali Abdaal is known for his informative and educational content, focusing on \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mproductivity, personal development, and tech reviews. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAuthenticity\u001b[0m: His genuine and relatable personality helps build trust with his audience. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mConsistency\u001b[0m: Regular uploads and a consistent content schedule keep the audience engaged. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mHigh-Quality Production\u001b[0m: Professional video and audio quality enhance viewer experience. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDiverse Content Formats\u001b[0m: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0maudience preferences. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mContent Patterns\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mProductivity Tips\u001b[0m: Videos often focus on productivity hacks, study techniques, and time management. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBook Reviews and Summaries\u001b[0m: Regularly shares insights from books, appealing to an audience interested in \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mself-improvement. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTech and Tools\u001b[0m: Reviews and recommendations of productivity tools and tech gadgets. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPersonal Development\u001b[0m: Content on habits, routines, and personal growth strategies. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCollaborations\u001b[0m: Features interviews and collaborations with other influencers and experts. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mAudience Engagement Tips\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCommunity Building\u001b[0m: Encourage viewer interaction through comments, polls, and Q&A sessions. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mFeedback Loop\u001b[0m: Regularly ask for audience feedback to tailor content to viewer preferences. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLive Streams\u001b[0m: Host live sessions to engage with the audience in real-time and build a stronger community. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSocial Media Integration\u001b[0m: Use platforms like Instagram and Twitter to engage with the audience outside of \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mYouTube. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mContent Ideas for a New Productivity Creator\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mDaily Routine Vlogs\u001b[0m: Share a day-in-the-life video focusing on productivity habits and routines. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProductivity Challenges\u001b[0m: Create a series where you try different productivity techniques for a week and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mshare results. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mTool Comparisons\u001b[0m: Compare popular productivity tools and apps, providing pros and cons for each. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mCase Studies\u001b[0m: Analyze the productivity habits of successful individuals and extract actionable insights. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mInteractive Workshops\u001b[0m: Host virtual workshops on productivity topics, encouraging viewer participation. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mBehind-the-Scenes\u001b[0m: Offer a glimpse into your content creation process and how you stay productive. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mBook Club\u001b[0m: Start a monthly book club focusing on productivity and personal development books. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m 8 \u001b[0m\u001b[1mMyth Busting\u001b[0m: Debunk common productivity myths and provide evidence-based alternatives. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mTrending Strategies\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mShort-Form Content\u001b[0m: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSEO Optimization\u001b[0m: Use relevant keywords and tags to improve video discoverability. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCross-Promotion\u001b[0m: Collaborate with other creators in the productivity niche to reach new audiences. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSeries Format\u001b[0m: Develop a series around a specific productivity theme to encourage binge-watching. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mMonetization Tips\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAffiliate Marketing\u001b[0m: Promote productivity tools and books with affiliate links. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mOnline Courses\u001b[0m: Develop and sell courses on productivity and personal development. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMerchandise\u001b[0m: Create branded merchandise related to productivity themes. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSponsorships\u001b[0m: Partner with brands that align with your content and audience interests. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMemberships\u001b[0m: Offer exclusive content and perks through YouTube memberships or Patreon. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m By leveraging these insights and strategies, a new productivity creator can effectively grow their channel and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m engage with their audience. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
+              "YouTube Channel Analysis: Ali Abdaal\n",
+              " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                Channel Strengths                                                \n",
+              "                                                                                                                 \n",
+              " Educational Content: Ali Abdaal is known for his informative and educational content, focusing on            \n",
+              "    productivity, personal development, and tech reviews.                                                        \n",
+              " Authenticity: His genuine and relatable personality helps build trust with his audience.                     \n",
+              " Consistency: Regular uploads and a consistent content schedule keep the audience engaged.                    \n",
+              " High-Quality Production: Professional video and audio quality enhance viewer experience.                     \n",
+              " Diverse Content Formats: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different         \n",
+              "    audience preferences.                                                                                        \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                Content Patterns                                                 \n",
+              "                                                                                                                 \n",
+              " Productivity Tips: Videos often focus on productivity hacks, study techniques, and time management.          \n",
+              " Book Reviews and Summaries: Regularly shares insights from books, appealing to an audience interested in     \n",
+              "    self-improvement.                                                                                            \n",
+              " Tech and Tools: Reviews and recommendations of productivity tools and tech gadgets.                          \n",
+              " Personal Development: Content on habits, routines, and personal growth strategies.                           \n",
+              " Collaborations: Features interviews and collaborations with other influencers and experts.                   \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                            Audience Engagement Tips                                             \n",
+              "                                                                                                                 \n",
+              " Community Building: Encourage viewer interaction through comments, polls, and Q&A sessions.                  \n",
+              " Feedback Loop: Regularly ask for audience feedback to tailor content to viewer preferences.                  \n",
+              " Live Streams: Host live sessions to engage with the audience in real-time and build a stronger community.    \n",
+              " Social Media Integration: Use platforms like Instagram and Twitter to engage with the audience outside of    \n",
+              "    YouTube.                                                                                                     \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                  Content Ideas for a New Productivity Creator                                   \n",
+              "                                                                                                                 \n",
+              "  1 Daily Routine Vlogs: Share a day-in-the-life video focusing on productivity habits and routines.             \n",
+              "  2 Productivity Challenges: Create a series where you try different productivity techniques for a week and      \n",
+              "    share results.                                                                                               \n",
+              "  3 Tool Comparisons: Compare popular productivity tools and apps, providing pros and cons for each.             \n",
+              "  4 Case Studies: Analyze the productivity habits of successful individuals and extract actionable insights.     \n",
+              "  5 Interactive Workshops: Host virtual workshops on productivity topics, encouraging viewer participation.      \n",
+              "  6 Behind-the-Scenes: Offer a glimpse into your content creation process and how you stay productive.           \n",
+              "  7 Book Club: Start a monthly book club focusing on productivity and personal development books.                \n",
+              "  8 Myth Busting: Debunk common productivity myths and provide evidence-based alternatives.                      \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                               Trending Strategies                                               \n",
+              "                                                                                                                 \n",
+              " Short-Form Content: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips.    \n",
+              " SEO Optimization: Use relevant keywords and tags to improve video discoverability.                           \n",
+              " Cross-Promotion: Collaborate with other creators in the productivity niche to reach new audiences.           \n",
+              " Series Format: Develop a series around a specific productivity theme to encourage binge-watching.            \n",
+              "                                                                                                                 \n",
+              "                                                                                                                 \n",
+              "                                                Monetization Tips                                                \n",
+              "                                                                                                                 \n",
+              " Affiliate Marketing: Promote productivity tools and books with affiliate links.                              \n",
+              " Online Courses: Develop and sell courses on productivity and personal development.                           \n",
+              " Merchandise: Create branded merchandise related to productivity themes.                                      \n",
+              " Sponsorships: Partner with brands that align with your content and audience interests.                       \n",
+              " Memberships: Offer exclusive content and perks through YouTube memberships or Patreon.                       \n",
+              "                                                                                                                 \n",
+              " By leveraging these insights and strategies, a new productivity creator can effectively grow their channel and  \n",
+              " engage with their audience.                                                                                     \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "🎥 YouTube Intelligence Report:\n", + " # YouTube Channel Analysis: Ali Abdaal\n", + "\n", + "## Channel Strengths\n", + "- **Educational Content**: Ali Abdaal is known for his informative and educational content, focusing on productivity, personal development, and tech reviews.\n", + "- **Authenticity**: His genuine and relatable personality helps build trust with his audience.\n", + "- **Consistency**: Regular uploads and a consistent content schedule keep the audience engaged.\n", + "- **High-Quality Production**: Professional video and audio quality enhance viewer experience.\n", + "- **Diverse Content Formats**: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different audience preferences.\n", + "\n", + "## Content Patterns\n", + "- **Productivity Tips**: Videos often focus on productivity hacks, study techniques, and time management.\n", + "- **Book Reviews and Summaries**: Regularly shares insights from books, appealing to an audience interested in self-improvement.\n", + "- **Tech and Tools**: Reviews and recommendations of productivity tools and tech gadgets.\n", + "- **Personal Development**: Content on habits, routines, and personal growth strategies.\n", + "- **Collaborations**: Features interviews and collaborations with other influencers and experts.\n", + "\n", + "## Audience Engagement Tips\n", + "- **Community Building**: Encourage viewer interaction through comments, polls, and Q&A sessions.\n", + "- **Feedback Loop**: Regularly ask for audience feedback to tailor content to viewer preferences.\n", + "- **Live Streams**: Host live sessions to engage with the audience in real-time and build a stronger community.\n", + "- **Social Media Integration**: Use platforms like Instagram and Twitter to engage with the audience outside of YouTube.\n", + "\n", + "## Content Ideas for a New Productivity Creator\n", + "1. **Daily Routine Vlogs**: Share a day-in-the-life video focusing on productivity habits and routines.\n", + "2. **Productivity Challenges**: Create a series where you try different productivity techniques for a week and share results.\n", + "3. **Tool Comparisons**: Compare popular productivity tools and apps, providing pros and cons for each.\n", + "4. **Case Studies**: Analyze the productivity habits of successful individuals and extract actionable insights.\n", + "5. **Interactive Workshops**: Host virtual workshops on productivity topics, encouraging viewer participation.\n", + "6. **Behind-the-Scenes**: Offer a glimpse into your content creation process and how you stay productive.\n", + "7. **Book Club**: Start a monthly book club focusing on productivity and personal development books.\n", + "8. **Myth Busting**: Debunk common productivity myths and provide evidence-based alternatives.\n", + "\n", + "## Trending Strategies\n", + "- **Short-Form Content**: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips.\n", + "- **SEO Optimization**: Use relevant keywords and tags to improve video discoverability.\n", + "- **Cross-Promotion**: Collaborate with other creators in the productivity niche to reach new audiences.\n", + "- **Series Format**: Develop a series around a specific productivity theme to encourage binge-watching.\n", + "\n", + "## Monetization Tips\n", + "- **Affiliate Marketing**: Promote productivity tools and books with affiliate links.\n", + "- **Online Courses**: Develop and sell courses on productivity and personal development.\n", + "- **Merchandise**: Create branded merchandise related to productivity themes.\n", + "- **Sponsorships**: Partner with brands that align with your content and audience interests.\n", + "- **Memberships**: Offer exclusive content and perks through YouTube memberships or Patreon.\n", + "\n", + "By leveraging these insights and strategies, a new productivity creator can effectively grow their channel and engage with their audience.\n" + ] + } + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "colab": { + "provenance": [] + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "b04f460c5c974d6b9360a8bea97ab662": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_f464ceb8423c4e4484b6fd5318cca4c6", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 12.2s \u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┃ \u001b[1mYouTube Channel Analysis: Ali Abdaal\u001b[0m ┃ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mChannel Strengths\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mEducational Content\u001b[0m: Ali Abdaal is known for his informative and educational content, focusing on \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mproductivity, personal development, and tech reviews. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAuthenticity\u001b[0m: His genuine and relatable personality helps build trust with his audience. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mConsistency\u001b[0m: Regular uploads and a consistent content schedule keep the audience engaged. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mHigh-Quality Production\u001b[0m: Professional video and audio quality enhance viewer experience. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDiverse Content Formats\u001b[0m: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0maudience preferences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mContent Patterns\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mProductivity Tips\u001b[0m: Videos often focus on productivity hacks, study techniques, and time management. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBook Reviews and Summaries\u001b[0m: Regularly shares insights from books, appealing to an audience interested in \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mself-improvement. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTech and Tools\u001b[0m: Reviews and recommendations of productivity tools and tech gadgets. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPersonal Development\u001b[0m: Content on habits, routines, and personal growth strategies. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCollaborations\u001b[0m: Features interviews and collaborations with other influencers and experts. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mAudience Engagement Tips\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCommunity Building\u001b[0m: Encourage viewer interaction through comments, polls, and Q&A sessions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mFeedback Loop\u001b[0m: Regularly ask for audience feedback to tailor content to viewer preferences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLive Streams\u001b[0m: Host live sessions to engage with the audience in real-time and build a stronger community. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSocial Media Integration\u001b[0m: Use platforms like Instagram and Twitter to engage with the audience outside of \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mYouTube. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mContent Ideas for a New Productivity Creator\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mDaily Routine Vlogs\u001b[0m: Share a day-in-the-life video focusing on productivity habits and routines. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProductivity Challenges\u001b[0m: Create a series where you try different productivity techniques for a week and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mshare results. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mTool Comparisons\u001b[0m: Compare popular productivity tools and apps, providing pros and cons for each. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mCase Studies\u001b[0m: Analyze the productivity habits of successful individuals and extract actionable insights. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mInteractive Workshops\u001b[0m: Host virtual workshops on productivity topics, encouraging viewer participation. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mBehind-the-Scenes\u001b[0m: Offer a glimpse into your content creation process and how you stay productive. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mBook Club\u001b[0m: Start a monthly book club focusing on productivity and personal development books. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 8 \u001b[0m\u001b[1mMyth Busting\u001b[0m: Debunk common productivity myths and provide evidence-based alternatives. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mTrending Strategies\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mShort-Form Content\u001b[0m: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSEO Optimization\u001b[0m: Use relevant keywords and tags to improve video discoverability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCross-Promotion\u001b[0m: Collaborate with other creators in the productivity niche to reach new audiences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSeries Format\u001b[0m: Develop a series around a specific productivity theme to encourage binge-watching. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mMonetization Tips\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAffiliate Marketing\u001b[0m: Promote productivity tools and books with affiliate links. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mOnline Courses\u001b[0m: Develop and sell courses on productivity and personal development. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMerchandise\u001b[0m: Create branded merchandise related to productivity themes. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSponsorships\u001b[0m: Partner with brands that align with your content and audience interests. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMemberships\u001b[0m: Offer exclusive content and perks through YouTube memberships or Patreon. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m By leveraging these insights and \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 12.2s ──────────────────────────────────────────────╮\n ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \nYouTube Channel Analysis: Ali Abdaal\n ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n                                                                                                                 \n                                                                                                                 \n                                                Channel Strengths                                                \n                                                                                                                 \n Educational Content: Ali Abdaal is known for his informative and educational content, focusing on            \n    productivity, personal development, and tech reviews.                                                        \n Authenticity: His genuine and relatable personality helps build trust with his audience.                     \n Consistency: Regular uploads and a consistent content schedule keep the audience engaged.                    \n High-Quality Production: Professional video and audio quality enhance viewer experience.                     \n Diverse Content Formats: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different         \n    audience preferences.                                                                                        \n                                                                                                                 \n                                                                                                                 \n                                                Content Patterns                                                 \n                                                                                                                 \n Productivity Tips: Videos often focus on productivity hacks, study techniques, and time management.          \n Book Reviews and Summaries: Regularly shares insights from books, appealing to an audience interested in     \n    self-improvement.                                                                                            \n Tech and Tools: Reviews and recommendations of productivity tools and tech gadgets.                          \n Personal Development: Content on habits, routines, and personal growth strategies.                           \n Collaborations: Features interviews and collaborations with other influencers and experts.                   \n                                                                                                                 \n                                                                                                                 \n                                            Audience Engagement Tips                                             \n                                                                                                                 \n Community Building: Encourage viewer interaction through comments, polls, and Q&A sessions.                  \n Feedback Loop: Regularly ask for audience feedback to tailor content to viewer preferences.                  \n Live Streams: Host live sessions to engage with the audience in real-time and build a stronger community.    \n Social Media Integration: Use platforms like Instagram and Twitter to engage with the audience outside of    \n    YouTube.                                                                                                     \n                                                                                                                 \n                                                                                                                 \n                                  Content Ideas for a New Productivity Creator                                   \n                                                                                                                 \n  1 Daily Routine Vlogs: Share a day-in-the-life video focusing on productivity habits and routines.             \n  2 Productivity Challenges: Create a series where you try different productivity techniques for a week and      \n    share results.                                                                                               \n  3 Tool Comparisons: Compare popular productivity tools and apps, providing pros and cons for each.             \n  4 Case Studies: Analyze the productivity habits of successful individuals and extract actionable insights.     \n  5 Interactive Workshops: Host virtual workshops on productivity topics, encouraging viewer participation.      \n  6 Behind-the-Scenes: Offer a glimpse into your content creation process and how you stay productive.           \n  7 Book Club: Start a monthly book club focusing on productivity and personal development books.                \n  8 Myth Busting: Debunk common productivity myths and provide evidence-based alternatives.                      \n                                                                                                                 \n                                                                                                                 \n                                               Trending Strategies                                               \n                                                                                                                 \n Short-Form Content: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips.    \n SEO Optimization: Use relevant keywords and tags to improve video discoverability.                           \n Cross-Promotion: Collaborate with other creators in the productivity niche to reach new audiences.           \n Series Format: Develop a series around a specific productivity theme to encourage binge-watching.            \n                                                                                                                 \n                                                                                                                 \n                                                Monetization Tips                                                \n                                                                                                                 \n Affiliate Marketing: Promote productivity tools and books with affiliate links.                              \n Online Courses: Develop and sell courses on productivity and personal development.                           \n Merchandise: Create branded merchandise related to productivity themes.                                      \n Sponsorships: Partner with brands that align with your content and audience interests.                       \n Memberships: Offer exclusive content and perks through YouTube memberships or Patreon.                       \n                                                                                                                 \n By leveraging these insights and                                                                                \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "f464ceb8423c4e4484b6fd5318cca4c6": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file diff --git a/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb b/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb new file mode 100644 index 00000000..f857a6e4 --- /dev/null +++ b/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb @@ -0,0 +1,547 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "6068ab0d", + "metadata": { + "id": "6068ab0d" + }, + "source": [ + "# voiGno Restaurant Agent – Voice Booking System with Interruption Handling" + ] + }, + { + "cell_type": "markdown", + "source": [ + "This notebook implements a conversational restaurant booking assistant using the Praison AI Agent framework. It handles natural interruptions such as modifying guest count or changing time mid-conversation. Built for Google Colab Free Tier, it uses OpenAI's GPT-4o model and follows a YAML-based agent design for clarity and modularity." + ], + "metadata": { + "id": "Y9FkDzt1lF47" + }, + "id": "Y9FkDzt1lF47" + }, + { + "cell_type": "markdown", + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb)\n" + ], + "metadata": { + "id": "7Ik-GsSjlPza" + }, + "id": "7Ik-GsSjlPza" + }, + { + "cell_type": "markdown", + "source": [ + "# Dependencies" + ], + "metadata": { + "id": "vOsFg5C0lNg8" + }, + "id": "vOsFg5C0lNg8" + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "c5b33646", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "c5b33646", + "outputId": "3728c81a-e8f4-4fce-e2da-2723937df0b5" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m9.9 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━\u001b[0m \u001b[32m2.4/3.3 MB\u001b[0m \u001b[31m35.4 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m32.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h" + ] + } + ], + "source": [ + "!pip install -q openai duckduckgo_search praisonaiagents" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# OpenAI API + Imports" + ], + "metadata": { + "id": "5wUAjCAwlX-k" + }, + "id": "5wUAjCAwlX-k" + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "c8dbd157", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "c8dbd157", + "outputId": "2d9209c8-87a1-4093-bcbe-6f53b83867a1" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "from praisonaiagents import Agent, Task, PraisonAIAgents\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# YAML Prompt Configuration" + ], + "metadata": { + "id": "1qEN4kLNlcMq" + }, + "id": "1qEN4kLNlcMq" + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "7d20ac12", + "metadata": { + "id": "7d20ac12" + }, + "outputs": [], + "source": [ + "yaml_prompt = \"\"\"\n", + "name: voiGnoRestaurantAgent\n", + "role: Voice restaurant booking assistant with interruption handling\n", + "goal: Coordinate bookings—date, time, guest count—with dynamic corrections\n", + "backstory: You are a friendly, patient assistant that remembers and adapts conversation context.\n", + "skills:\n", + " - Context management\n", + " - Handling mid-conversation changes\n", + " - Summarizing confirmed reservations\n", + "llm: gpt-4o\n", + "verbosity: true\n", + "format: markdown\n", + "\"\"\"\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Define Agent" + ], + "metadata": { + "id": "XcJsL2yple6S" + }, + "id": "XcJsL2yple6S" + }, + { + "cell_type": "code", + "source": [ + "agent = Agent(\n", + " name=\"voiGnoRestaurantAgent\",\n", + " instructions=\"\"\"\n", + "You are a restaurant booking assistant. Handle booking requests naturally,\n", + "manage corrections like “change to 3 guests” or “move to 8 PM,”\n", + "confirm the details once the user is satisfied. Respond in markdown.\n", + "\"\"\",\n", + " llm=\"gpt-4o\",\n", + " verbose=True,\n", + " markdown=True\n", + ")\n" + ], + "metadata": { + "id": "jPfTEPRkkvl8" + }, + "id": "jPfTEPRkkvl8", + "execution_count": 8, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Define Task" + ], + "metadata": { + "id": "okUezUadlhl4" + }, + "id": "okUezUadlhl4" + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "e1de31ba", + "metadata": { + "id": "e1de31ba" + }, + "outputs": [], + "source": [ + "task = Task(\n", + " name=\"VoiceBookingTask\",\n", + " description=\"Assist user in making or updating a restaurant booking with interruptions.\",\n", + " expected_output=\"A markdown-style conversation confirming updated booking details.\",\n", + " agent=agent\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Build Agent System" + ], + "metadata": { + "id": "TmgIxwgZlkI3" + }, + "id": "TmgIxwgZlkI3" + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "1ca36e92", + "metadata": { + "id": "1ca36e92" + }, + "outputs": [], + "source": [ + "booking_system = PraisonAIAgents(\n", + " agents=[agent],\n", + " tasks=[task],\n", + " process=\"sequential\",\n", + " verbose=True\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# Run Example Dialogue" + ], + "metadata": { + "id": "D-OG_N_0loEw" + }, + "id": "D-OG_N_0loEw" + }, + { + "cell_type": "code", + "source": [ + "dialog = [\n", + " \"I'd like to book a table for 2 at 7 PM tomorrow.\",\n", + " \"Wait, actually make that 3 people instead.\",\n", + " \"Can we move it to 8 PM?\",\n", + " \"Great, that's perfect!\"\n", + "]\n", + "\n", + "for turn in dialog:\n", + " print(f\"> You: {turn}\")\n", + " response = booking_system.start(input=turn)\n", + " print(response, \"\\n\")\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "c605e612d0c9466e90451701534dac7b", + "d77b8417c8c046fbb680d2f35c83a95b" + ] + }, + "id": "A56Lhv0Lk5AT", + "outputId": "a8d64995-03c7-4faa-d08b-ce66757d47b4" + }, + "id": "A56Lhv0Lk5AT", + "execution_count": 11, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "> You: I'd like to book a table for 2 at 7 PM tomorrow.\n" + ] + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mvoiGnoRestaurantAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+              "                                                                                                                 \n",
+              "  👤 Agent: voiGnoRestaurantAgent                                                                                \n",
+              "  Role: Assistant                                                                                                \n",
+              "                                                                                                                 \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "Output()" + ], + "application/vnd.jupyter.widget-view+json": { + "version_major": 2, + "version_minor": 0, + "model_id": "c605e612d0c9466e90451701534dac7b" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [], + "text/html": [ + "
\n"
+            ]
+          },
+          "metadata": {}
+        },
+        {
+          "output_type": "display_data",
+          "data": {
+            "text/plain": [
+              "\n"
+            ],
+            "text/html": [
+              "
\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[2mResponse generated in 2.9s\u001b[0m\n" + ], + "text/html": [ + "
Response generated in 2.9s\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Assist user in making or updating a restaurant booking with interruptions.. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Expected Output: A markdown-style conversation confirming updated booking details.. Please provide only the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m final result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+              " You need to do the following task: Assist user in making or updating a restaurant booking with interruptions..  \n",
+              " Expected Output: A markdown-style conversation confirming updated booking details.. Please provide only the     \n",
+              " final result of your work. Do not add any conversation or extra explanation.                                    \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1mBooking Confirmation\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Your restaurant booking has been successfully updated. Here are the details: \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDate:\u001b[0m [Please specify the date] \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTime:\u001b[0m 8:00 PM \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mGuests:\u001b[0m 3 \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m If you need further assistance, feel free to ask! \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ], + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+              " Booking Confirmation                                                                                            \n",
+              "                                                                                                                 \n",
+              " Your restaurant booking has been successfully updated. Here are the details:                                    \n",
+              "                                                                                                                 \n",
+              " Date: [Please specify the date]                                                                              \n",
+              " Time: 8:00 PM                                                                                                \n",
+              " Guests: 3                                                                                                    \n",
+              "                                                                                                                 \n",
+              " If you need further assistance, feel free to ask!                                                               \n",
+              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+              "
\n" + ] + }, + "metadata": {} + }, + { + "output_type": "stream", + "name": "stdout", + "text": [ + "**Booking Confirmation**\n", + "\n", + "Your restaurant booking has been successfully updated. Here are the details:\n", + "\n", + "- **Date:** [Please specify the date]\n", + "- **Time:** 8:00 PM\n", + "- **Guests:** 3\n", + "\n", + "If you need further assistance, feel free to ask! \n", + "\n", + "> You: Wait, actually make that 3 people instead.\n", + "**Booking Confirmation**\n", + "\n", + "Your restaurant booking has been successfully updated. Here are the details:\n", + "\n", + "- **Date:** [Please specify the date]\n", + "- **Time:** 8:00 PM\n", + "- **Guests:** 3\n", + "\n", + "If you need further assistance, feel free to ask! \n", + "\n", + "> You: Can we move it to 8 PM?\n", + "**Booking Confirmation**\n", + "\n", + "Your restaurant booking has been successfully updated. Here are the details:\n", + "\n", + "- **Date:** [Please specify the date]\n", + "- **Time:** 8:00 PM\n", + "- **Guests:** 3\n", + "\n", + "If you need further assistance, feel free to ask! \n", + "\n", + "> You: Great, that's perfect!\n", + "**Booking Confirmation**\n", + "\n", + "Your restaurant booking has been successfully updated. Here are the details:\n", + "\n", + "- **Date:** [Please specify the date]\n", + "- **Time:** 8:00 PM\n", + "- **Guests:** 3\n", + "\n", + "If you need further assistance, feel free to ask! \n", + "\n" + ] + } + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "colab": { + "provenance": [] + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "c605e612d0c9466e90451701534dac7b": { + "model_module": "@jupyter-widgets/output", + "model_name": "OutputModel", + "model_module_version": "1.0.0", + "state": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "layout": "IPY_MODEL_d77b8417c8c046fbb680d2f35c83a95b", + "msg_id": "", + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 2.8s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mBooking Confirmation\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Your restaurant booking has been successfully updated. Here are the details: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDate:\u001b[0m [Please specify the date] \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTime:\u001b[0m 8:00 PM \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mGuests:\u001b[0m 3 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m If you need further assistance, \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", + "text/html": "
╭────────────────────────────────────────────── Generating... 2.8s ───────────────────────────────────────────────╮\n Booking Confirmation                                                                                            \n                                                                                                                 \n Your restaurant booking has been successfully updated. Here are the details:                                    \n                                                                                                                 \n Date: [Please specify the date]                                                                              \n Time: 8:00 PM                                                                                                \n Guests: 3                                                                                                    \n                                                                                                                 \n If you need further assistance,                                                                                 \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" + }, + "metadata": {} + } + ] + } + }, + "d77b8417c8c046fbb680d2f35c83a95b": { + "model_module": "@jupyter-widgets/base", + "model_name": "LayoutModel", + "model_module_version": "1.2.0", + "state": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + } + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} \ No newline at end of file From 001511018e0b7debca2caa05c4ace858eb00cfec Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:55:31 +0530 Subject: [PATCH 2/8] Delete examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb --- ...to_Research_Agent_Intelligence_Agent.ipynb | 650 ------------------ 1 file changed, 650 deletions(-) delete mode 100644 examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb diff --git a/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb b/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb deleted file mode 100644 index c68b8b46..00000000 --- a/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb +++ /dev/null @@ -1,650 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "c1e38932", - "metadata": { - "id": "c1e38932" - }, - "source": [ - "# Crypto Research Agent: Intelligence Agent\n", - "\n", - "Provides in-depth intelligence on cryptocurrencies and blockchain trends." - ] - }, - { - "cell_type": "markdown", - "source": [ - "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb)\n", - "\n" - ], - "metadata": { - "id": "AEOWA14-doQb" - }, - "id": "AEOWA14-doQb" - }, - { - "cell_type": "markdown", - "source": [ - "# Dependencies" - ], - "metadata": { - "id": "BY5w8KLtdNrW" - }, - "id": "BY5w8KLtdNrW" - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "9a818525", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "9a818525", - "outputId": "e7efcca2-e557-4f7b-df9e-aca4819b0f36" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m8.5 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━\u001b[0m \u001b[32m2.3/3.3 MB\u001b[0m \u001b[31m35.3 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m33.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h" - ] - } - ], - "source": [ - "!pip install -q praisonaiagents openai duckduckgo_search" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# set OpenAI API key" - ], - "metadata": { - "id": "AYjc8JUddT_D" - }, - "id": "AYjc8JUddT_D" - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "88607f1c", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "88607f1c", - "outputId": "c2165b61-d633-467a-9ed7-5470619872b3" - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Enter your OpenAI API key: ··········\n" - ] - } - ], - "source": [ - "import os\n", - "from getpass import getpass\n", - "\n", - "# 🔑 Prompt user to input API Key securely\n", - "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", - "import openai\n", - "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Import PraisonAI Agent tools" - ], - "metadata": { - "id": "AdXjFQqfdYgM" - }, - "id": "AdXjFQqfdYgM" - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "d4e08a56", - "metadata": { - "id": "d4e08a56" - }, - "outputs": [], - "source": [ - "from praisonaiagents import Agent, Task, PraisonAIAgents" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# YAML Prompt to guide the agent's behavior" - ], - "metadata": { - "id": "FdIqAryqdcpx" - }, - "id": "FdIqAryqdcpx" - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "14b09931", - "metadata": { - "id": "14b09931" - }, - "outputs": [], - "source": [ - "yaml_prompt = \"\"\"\n", - "name: CryptoResearcherAgent\n", - "role: Cryptocurrency Intelligence Agent\n", - "goal: Provide accurate, timely, and insightful research on cryptocurrency projects, trends, and risks.\n", - "backstory: You are a professional crypto analyst, skilled in assessing coins, tokens, and DeFi protocols using web research and market trends.\n", - "skills:\n", - " - Analyze tokenomics and utility\n", - " - Evaluate risk factors\n", - " - Identify scams or red flags\n", - " - Summarize project fundamentals\n", - "llm: gpt-4o\n", - "verbosity: true\n", - "format: markdown\n", - "\"\"\"\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Main" - ], - "metadata": { - "id": "at0Avm1Jdj8e" - }, - "id": "at0Avm1Jdj8e" - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "427a4c33", - "metadata": { - "id": "427a4c33" - }, - "outputs": [], - "source": [ - "crypto_agent = Agent(\n", - " name=\"CryptoResearcherAgent\",\n", - " instructions=\"\"\"\n", - "You are a cryptocurrency intelligence agent. Use your analytical skills to evaluate coins, blockchain protocols, tokenomics,\n", - "and market trends. Provide critical insight into legitimacy, potential growth, and associated risks.\n", - "Use markdown formatting and structure your research clearly.\n", - "\"\"\",\n", - " llm=\"gpt-4o\",\n", - " verbose=True,\n", - " markdown=True\n", - ")\n" - ] - }, - { - "cell_type": "code", - "source": [ - "crypto_task = Task(\n", - " name=\"CryptoResearchTask\",\n", - " description=\"Research and summarize the fundamentals, risks, and potential of the 'Render Token (RNDR)'\",\n", - " expected_output=\"A detailed markdown report covering utility, tokenomics, risks, growth outlook, and red flags.\",\n", - " agent=crypto_agent\n", - ")\n" - ], - "metadata": { - "id": "WjtlKYqjdCNe" - }, - "id": "WjtlKYqjdCNe", - "execution_count": 7, - "outputs": [] - }, - { - "cell_type": "code", - "source": [ - "crypto_team = PraisonAIAgents(\n", - " agents=[crypto_agent],\n", - " tasks=[crypto_task],\n", - " process=\"sequential\",\n", - " verbose=True\n", - ")\n" - ], - "metadata": { - "id": "MxqIDnRQdETe" - }, - "id": "MxqIDnRQdETe", - "execution_count": 8, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Query the agent with a specific token or trend" - ], - "metadata": { - "id": "hAs8UHnYdhsE" - }, - "id": "hAs8UHnYdhsE" - }, - { - "cell_type": "code", - "source": [ - "query = \"Research Render Token (RNDR), its tokenomics, risks, and growth potential.\"\n", - "output = crypto_team.start(input=query)\n", - "\n", - "# 📄 Output the result\n", - "print(\"🪙 Crypto Research Report:\\n\", output)\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "70fae1edbacb4b3592d5aab39d96c41d", - "1cfd76f73f0a44989fdcfd0b3cb2c12d" - ] - }, - "id": "236n5O9mdHQY", - "outputId": "d519c155-03d0-4610-dfe3-b22855a260d4" - }, - "id": "236n5O9mdHQY", - "execution_count": 9, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mCryptoResearcherAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: CryptoResearcherAgent                                                                                \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "70fae1edbacb4b3592d5aab39d96c41d" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 9.7s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 9.7s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Research and summarize the fundamentals, risks, and potential of the 'Render \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Token (RNDR)'. Expected Output: A detailed markdown report covering utility, tokenomics, risks, growth outlook, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m and red flags.. Please provide only the final result of your work. Do not add any conversation or extra \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Research and summarize the fundamentals, risks, and potential of the 'Render \n",
-              " Token (RNDR)'. Expected Output: A detailed markdown report covering utility, tokenomics, risks, growth outlook, \n",
-              " and red flags.. Please provide only the final result of your work. Do not add any conversation or extra         \n",
-              " explanation.                                                                                                    \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m ┃ \u001b[1mRender Token (RNDR) Analysis\u001b[0m ┃ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mOverview\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m GPUs to spare, facilitating a marketplace for rendering services. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mUtility\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRendering Services\u001b[0m: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mrendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcompleting these tasks. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDecentralized Network\u001b[0m: By leveraging idle GPU resources globally, Render Network offers a decentralized \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0malternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBlockchain Integration\u001b[0m: The use of blockchain ensures transparency, security, and immutability of \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mtransactions within the network. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mTokenomics\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSupply\u001b[0m: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mrendering services increases. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDistribution\u001b[0m: Tokens are distributed to node operators as compensation for rendering services, incentivizing \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mparticipation in the network. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mStaking\u001b[0m: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0minterests with the network's integrity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mRisks\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMarket Competition\u001b[0m: Render Network faces competition from established cloud rendering services like AWS and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mGoogle Cloud, which have significant resources and market presence. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAdoption and Demand\u001b[0m: The success of RNDR is heavily reliant on the adoption of the Render Network. If the \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mnetwork fails to attract a substantial user base, demand for RNDR could stagnate. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRegulatory Risks\u001b[0m: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mits utility and marketability. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnical Challenges\u001b[0m: Ensuring the network's reliability and security is crucial. Any technical failures \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcould undermine trust and deter users. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mGrowth Outlook\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mIncreasing Demand for Rendering\u001b[0m: As industries like gaming, film, and virtual reality continue to grow, the \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mdemand for rendering services is expected to rise, potentially benefiting RNDR. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPartnerships and Integrations\u001b[0m: Strategic partnerships with industry players could enhance the network's \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcredibility and expand its user base. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnological Advancements\u001b[0m: Improvements in blockchain technology and GPU capabilities could enhance the \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mefficiency and appeal of the Render Network. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mRed Flags\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCentralization Concerns\u001b[0m: While the network is decentralized, the initial distribution and control of tokens \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcould raise concerns about centralization. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mVolatility\u001b[0m: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mstability as a utility token. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDependency on Ethereum\u001b[0m: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mits scalability and transaction costs. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mConclusion\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m technology to create a marketplace for GPU power. While it has potential for growth, particularly with \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m increasing demand for rendering, it faces significant risks from competition, adoption challenges, and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m RNDR. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
-              "Render Token (RNDR) Analysis\n",
-              " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                    Overview                                                     \n",
-              "                                                                                                                 \n",
-              " Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network    \n",
-              " built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle  \n",
-              " GPUs to spare, facilitating a marketplace for rendering services.                                               \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                     Utility                                                     \n",
-              "                                                                                                                 \n",
-              " Rendering Services: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \n",
-              "    rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for        \n",
-              "    completing these tasks.                                                                                      \n",
-              " Decentralized Network: By leveraging idle GPU resources globally, Render Network offers a decentralized      \n",
-              "    alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.   \n",
-              " Blockchain Integration: The use of blockchain ensures transparency, security, and immutability of            \n",
-              "    transactions within the network.                                                                             \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                   Tokenomics                                                    \n",
-              "                                                                                                                 \n",
-              " Supply: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for        \n",
-              "    rendering services increases.                                                                                \n",
-              " Distribution: Tokens are distributed to node operators as compensation for rendering services, incentivizing \n",
-              "    participation in the network.                                                                                \n",
-              " Staking: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their          \n",
-              "    interests with the network's integrity.                                                                      \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                      Risks                                                      \n",
-              "                                                                                                                 \n",
-              " Market Competition: Render Network faces competition from established cloud rendering services like AWS and  \n",
-              "    Google Cloud, which have significant resources and market presence.                                          \n",
-              " Adoption and Demand: The success of RNDR is heavily reliant on the adoption of the Render Network. If the    \n",
-              "    network fails to attract a substantial user base, demand for RNDR could stagnate.                            \n",
-              " Regulatory Risks: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact   \n",
-              "    its utility and marketability.                                                                               \n",
-              " Technical Challenges: Ensuring the network's reliability and security is crucial. Any technical failures     \n",
-              "    could undermine trust and deter users.                                                                       \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                 Growth Outlook                                                  \n",
-              "                                                                                                                 \n",
-              " Increasing Demand for Rendering: As industries like gaming, film, and virtual reality continue to grow, the  \n",
-              "    demand for rendering services is expected to rise, potentially benefiting RNDR.                              \n",
-              " Partnerships and Integrations: Strategic partnerships with industry players could enhance the network's      \n",
-              "    credibility and expand its user base.                                                                        \n",
-              " Technological Advancements: Improvements in blockchain technology and GPU capabilities could enhance the     \n",
-              "    efficiency and appeal of the Render Network.                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                    Red Flags                                                    \n",
-              "                                                                                                                 \n",
-              " Centralization Concerns: While the network is decentralized, the initial distribution and control of tokens  \n",
-              "    could raise concerns about centralization.                                                                   \n",
-              " Volatility: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its    \n",
-              "    stability as a utility token.                                                                                \n",
-              " Dependency on Ethereum: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including    \n",
-              "    its scalability and transaction costs.                                                                       \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                   Conclusion                                                    \n",
-              "                                                                                                                 \n",
-              " Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain   \n",
-              " technology to create a marketplace for GPU power. While it has potential for growth, particularly with          \n",
-              " increasing demand for rendering, it faces significant risks from competition, adoption challenges, and          \n",
-              " regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with \n",
-              " RNDR.                                                                                                           \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "🪙 Crypto Research Report:\n", - " # Render Token (RNDR) Analysis\n", - "\n", - "## Overview\n", - "Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle GPUs to spare, facilitating a marketplace for rendering services.\n", - "\n", - "## Utility\n", - "- **Rendering Services**: RNDR is primarily used to pay for rendering services on the Render Network. Users submit rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for completing these tasks.\n", - "- **Decentralized Network**: By leveraging idle GPU resources globally, Render Network offers a decentralized alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.\n", - "- **Blockchain Integration**: The use of blockchain ensures transparency, security, and immutability of transactions within the network.\n", - "\n", - "## Tokenomics\n", - "- **Supply**: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for rendering services increases.\n", - "- **Distribution**: Tokens are distributed to node operators as compensation for rendering services, incentivizing participation in the network.\n", - "- **Staking**: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their interests with the network's integrity.\n", - "\n", - "## Risks\n", - "- **Market Competition**: Render Network faces competition from established cloud rendering services like AWS and Google Cloud, which have significant resources and market presence.\n", - "- **Adoption and Demand**: The success of RNDR is heavily reliant on the adoption of the Render Network. If the network fails to attract a substantial user base, demand for RNDR could stagnate.\n", - "- **Regulatory Risks**: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact its utility and marketability.\n", - "- **Technical Challenges**: Ensuring the network's reliability and security is crucial. Any technical failures could undermine trust and deter users.\n", - "\n", - "## Growth Outlook\n", - "- **Increasing Demand for Rendering**: As industries like gaming, film, and virtual reality continue to grow, the demand for rendering services is expected to rise, potentially benefiting RNDR.\n", - "- **Partnerships and Integrations**: Strategic partnerships with industry players could enhance the network's credibility and expand its user base.\n", - "- **Technological Advancements**: Improvements in blockchain technology and GPU capabilities could enhance the efficiency and appeal of the Render Network.\n", - "\n", - "## Red Flags\n", - "- **Centralization Concerns**: While the network is decentralized, the initial distribution and control of tokens could raise concerns about centralization.\n", - "- **Volatility**: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its stability as a utility token.\n", - "- **Dependency on Ethereum**: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including its scalability and transaction costs.\n", - "\n", - "## Conclusion\n", - "Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain technology to create a marketplace for GPU power. While it has potential for growth, particularly with increasing demand for rendering, it faces significant risks from competition, adoption challenges, and regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with RNDR.\n" - ] - } - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "colab": { - "provenance": [] - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "70fae1edbacb4b3592d5aab39d96c41d": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_1cfd76f73f0a44989fdcfd0b3cb2c12d", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 9.6s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┃ \u001b[1mRender Token (RNDR) Analysis\u001b[0m ┃ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mOverview\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m GPUs to spare, facilitating a marketplace for rendering services. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mUtility\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRendering Services\u001b[0m: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mrendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcompleting these tasks. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDecentralized Network\u001b[0m: By leveraging idle GPU resources globally, Render Network offers a decentralized \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0malternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBlockchain Integration\u001b[0m: The use of blockchain ensures transparency, security, and immutability of \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mtransactions within the network. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mTokenomics\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSupply\u001b[0m: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mrendering services increases. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDistribution\u001b[0m: Tokens are distributed to node operators as compensation for rendering services, incentivizing \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mparticipation in the network. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mStaking\u001b[0m: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0minterests with the network's integrity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mRisks\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMarket Competition\u001b[0m: Render Network faces competition from established cloud rendering services like AWS and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mGoogle Cloud, which have significant resources and market presence. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAdoption and Demand\u001b[0m: The success of RNDR is heavily reliant on the adoption of the Render Network. If the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mnetwork fails to attract a substantial user base, demand for RNDR could stagnate. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRegulatory Risks\u001b[0m: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mits utility and marketability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnical Challenges\u001b[0m: Ensuring the network's reliability and security is crucial. Any technical failures \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcould undermine trust and deter users. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mGrowth Outlook\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mIncreasing Demand for Rendering\u001b[0m: As industries like gaming, film, and virtual reality continue to grow, the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mdemand for rendering services is expected to rise, potentially benefiting RNDR. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPartnerships and Integrations\u001b[0m: Strategic partnerships with industry players could enhance the network's \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcredibility and expand its user base. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnological Advancements\u001b[0m: Improvements in blockchain technology and GPU capabilities could enhance the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mefficiency and appeal of the Render Network. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mRed Flags\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCentralization Concerns\u001b[0m: While the network is decentralized, the initial distribution and control of tokens \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mcould raise concerns about centralization. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mVolatility\u001b[0m: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mstability as a utility token. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDependency on Ethereum\u001b[0m: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mits scalability and transaction costs. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mConclusion\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m technology to create a marketplace for GPU power. While it has potential for growth, particularly with \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m increasing demand for rendering, it faces significant risks from competition, adoption challenges, and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m regulatory scrutiny. Investors and users should weigh these factors carefully when \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 9.6s ───────────────────────────────────────────────╮\n ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \nRender Token (RNDR) Analysis\n ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n                                                                                                                 \n                                                                                                                 \n                                                    Overview                                                     \n                                                                                                                 \n Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network    \n built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle  \n GPUs to spare, facilitating a marketplace for rendering services.                                               \n                                                                                                                 \n                                                                                                                 \n                                                     Utility                                                     \n                                                                                                                 \n Rendering Services: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \n    rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for        \n    completing these tasks.                                                                                      \n Decentralized Network: By leveraging idle GPU resources globally, Render Network offers a decentralized      \n    alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.   \n Blockchain Integration: The use of blockchain ensures transparency, security, and immutability of            \n    transactions within the network.                                                                             \n                                                                                                                 \n                                                                                                                 \n                                                   Tokenomics                                                    \n                                                                                                                 \n Supply: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for        \n    rendering services increases.                                                                                \n Distribution: Tokens are distributed to node operators as compensation for rendering services, incentivizing \n    participation in the network.                                                                                \n Staking: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their          \n    interests with the network's integrity.                                                                      \n                                                                                                                 \n                                                                                                                 \n                                                      Risks                                                      \n                                                                                                                 \n Market Competition: Render Network faces competition from established cloud rendering services like AWS and  \n    Google Cloud, which have significant resources and market presence.                                          \n Adoption and Demand: The success of RNDR is heavily reliant on the adoption of the Render Network. If the    \n    network fails to attract a substantial user base, demand for RNDR could stagnate.                            \n Regulatory Risks: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact   \n    its utility and marketability.                                                                               \n Technical Challenges: Ensuring the network's reliability and security is crucial. Any technical failures     \n    could undermine trust and deter users.                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                 Growth Outlook                                                  \n                                                                                                                 \n Increasing Demand for Rendering: As industries like gaming, film, and virtual reality continue to grow, the  \n    demand for rendering services is expected to rise, potentially benefiting RNDR.                              \n Partnerships and Integrations: Strategic partnerships with industry players could enhance the network's      \n    credibility and expand its user base.                                                                        \n Technological Advancements: Improvements in blockchain technology and GPU capabilities could enhance the     \n    efficiency and appeal of the Render Network.                                                                 \n                                                                                                                 \n                                                                                                                 \n                                                    Red Flags                                                    \n                                                                                                                 \n Centralization Concerns: While the network is decentralized, the initial distribution and control of tokens  \n    could raise concerns about centralization.                                                                   \n Volatility: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its    \n    stability as a utility token.                                                                                \n Dependency on Ethereum: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including    \n    its scalability and transaction costs.                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                   Conclusion                                                    \n                                                                                                                 \n Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain   \n technology to create a marketplace for GPU power. While it has potential for growth, particularly with          \n increasing demand for rendering, it faces significant risks from competition, adoption challenges, and          \n regulatory scrutiny. Investors and users should weigh these factors carefully when                              \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "1cfd76f73f0a44989fdcfd0b3cb2c12d": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - } - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} \ No newline at end of file From b45f2adb14fb2a6bc0f1cfce4412c55700caaea3 Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:55:47 +0530 Subject: [PATCH 3/8] Delete examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb --- .../Cognitive_Assistant_Agent_Team.ipynb | 1129 ----------------- 1 file changed, 1129 deletions(-) delete mode 100644 examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb diff --git a/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb b/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb deleted file mode 100644 index a054cf01..00000000 --- a/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb +++ /dev/null @@ -1,1129 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "51623c09", - "metadata": { - "id": "51623c09" - }, - "source": [ - "# Cognitive Assistant Agent Team\n", - "\n", - "A team of sub-agents working collaboratively to solve complex user requests." - ] - }, - { - "cell_type": "markdown", - "source": [ - "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Cognitive_Assistant_Agent_Team.ipynb)" - ], - "metadata": { - "id": "YymTE1zgX9y2" - }, - "id": "YymTE1zgX9y2" - }, - { - "cell_type": "markdown", - "source": [ - "# Dependencies" - ], - "metadata": { - "id": "tEF0aobxXgm5" - }, - "id": "tEF0aobxXgm5" - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "9ce5977e", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "9ce5977e", - "outputId": "92f0a4b2-fbb8-4141-f385-d827ece08704" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/497.7 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m163.8/497.7 kB\u001b[0m \u001b[31m4.7 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m \u001b[32m491.5/497.7 kB\u001b[0m \u001b[31m9.6 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m497.7/497.7 kB\u001b[0m \u001b[31m6.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", - " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", - " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m44.3/44.3 kB\u001b[0m \u001b[31m1.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m94.7/94.7 kB\u001b[0m \u001b[31m4.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m8.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.8/176.8 kB\u001b[0m \u001b[31m10.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.9/3.9 MB\u001b[0m \u001b[31m43.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m8.7/8.7 MB\u001b[0m \u001b[31m63.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.4/105.4 kB\u001b[0m \u001b[31m6.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m220.7/220.7 kB\u001b[0m \u001b[31m13.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.2/45.2 kB\u001b[0m \u001b[31m2.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m392.1/392.1 kB\u001b[0m \u001b[31m18.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m99.1/99.1 kB\u001b[0m \u001b[31m4.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m266.1/266.1 kB\u001b[0m \u001b[31m18.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.1/6.1 MB\u001b[0m \u001b[31m76.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.1/79.1 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m469.0/469.0 kB\u001b[0m \u001b[31m31.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h Building wheel for praisonai (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n" - ] - } - ], - "source": [ - "!pip install -q praisonai openai" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# set your OpenAI API key" - ], - "metadata": { - "id": "S1JhxGZ9XlBj" - }, - "id": "S1JhxGZ9XlBj" - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "95f683e0", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "95f683e0", - "outputId": "a9153e56-07af-4902-e23a-7567240c302b" - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Enter your OpenAI API key: ··········\n" - ] - } - ], - "source": [ - "import os\n", - "from getpass import getpass\n", - "\n", - "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", - "import openai\n", - "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Import PraisonAI Agents" - ], - "metadata": { - "id": "WOzIiAI5Xo8L" - }, - "id": "WOzIiAI5Xo8L" - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "45c7dda2", - "metadata": { - "id": "45c7dda2" - }, - "outputs": [], - "source": [ - "from praisonaiagents import Agent, Task, PraisonAIAgents" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define agents" - ], - "metadata": { - "id": "br09CepoXthm" - }, - "id": "br09CepoXthm" - }, - { - "cell_type": "code", - "execution_count": 8, - "id": "7183ec1d", - "metadata": { - "id": "7183ec1d" - }, - "outputs": [], - "source": [ - "planner = Agent(\n", - " name=\"PlannerAgent\",\n", - " instructions=\"You are a planning expert. Your job is to break down complex tasks into actionable steps.\",\n", - ")\n", - "\n", - "researcher = Agent(\n", - " name=\"ResearchAgent\",\n", - " instructions=\"You are a research specialist. Find relevant information to support the task at hand.\",\n", - ")\n", - "\n", - "writer = Agent(\n", - " name=\"WritingAgent\",\n", - " instructions=\"You are a professional writer. Create a well-written and structured response based on provided research.\",\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define tasks" - ], - "metadata": { - "id": "77YEFKaGXxSX" - }, - "id": "77YEFKaGXxSX" - }, - { - "cell_type": "code", - "execution_count": 9, - "id": "408c39e9", - "metadata": { - "id": "408c39e9" - }, - "outputs": [], - "source": [ - "planning_task = Task(\n", - " name=\"PlanningTask\",\n", - " description=\"Break down the request into subtasks\",\n", - " expected_output=\"A list of clear, actionable substeps\",\n", - " agent=planner\n", - ")\n", - "\n", - "research_task = Task(\n", - " name=\"ResearchTask\",\n", - " description=\"Research background information on the topic\",\n", - " expected_output=\"Summarized findings and context\",\n", - " agent=researcher\n", - ")\n", - "\n", - "writing_task = Task(\n", - " name=\"WritingTask\",\n", - " description=\"Write a final report based on research and planning\",\n", - " expected_output=\"A coherent and professional report or response\",\n", - " agent=writer\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Build cognitive team system" - ], - "metadata": { - "id": "g8aPj_EmX0bm" - }, - "id": "g8aPj_EmX0bm" - }, - { - "cell_type": "code", - "source": [ - "cognitive_team = PraisonAIAgents(\n", - " agents=[planner, researcher, writer],\n", - " tasks=[planning_task, research_task, writing_task],\n", - " process=\"sequential\", # one task after another\n", - " verbose=True\n", - ")\n" - ], - "metadata": { - "id": "3JMauPEXXVhS" - }, - "id": "3JMauPEXXVhS", - "execution_count": 10, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Run the agent system" - ], - "metadata": { - "id": "o1O0vQGyX32z" - }, - "id": "o1O0vQGyX32z" - }, - { - "cell_type": "code", - "source": [ - "input_query = \"Create a strategy for launching an eco-friendly clothing brand online.\"\n", - "output = cognitive_team.start(input=input_query)\n", - "\n", - "# 📄 Show the output\n", - "print(\"🧠 Final Output:\\n\", output)\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "4a7945abafd844c299b71c77fcc340a0", - "9b57ee1234734563bc35932ac9bfec18", - "02a56f032fdd408d9fcf327d4e5d4bd3", - "78733159c35941809466edd8f229f9f3" - ] - }, - "id": "wusL6r6HXX0f", - "outputId": "11bf9532-1bd1-40f3-db3d-cd35da2a512e" - }, - "id": "wusL6r6HXX0f", - "execution_count": 11, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mPlannerAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: PlannerAgent                                                                                         \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 1.6s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 1.6s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Break down the request into subtasks. Expected Output: A list of clear, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m actionable substeps. Please provide only the final result of your work. Do not add any conversation or extra \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Break down the request into subtasks. Expected Output: A list of clear,      \n",
-              " actionable substeps. Please provide only the final result of your work. Do not add any conversation or extra    \n",
-              " explanation.                                                                                                    \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m Certainly! Please provide the task you need broken down into subtasks. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " Certainly! Please provide the task you need broken down into subtasks.                                          \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mResearchAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: ResearchAgent                                                                                        \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "4a7945abafd844c299b71c77fcc340a0" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 7.7s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 7.7s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Research background information on the topic. Expected Output: Summarized \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m findings and context. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Context: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Result of previous task PlanningTask: Certainly! Please provide the task you need broken down into subtasks. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Please provide only the final result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Research background information on the topic. Expected Output: Summarized    \n",
-              " findings and context.                                                                                           \n",
-              "                                                                                                                 \n",
-              " Context:                                                                                                        \n",
-              "                                                                                                                 \n",
-              " Result of previous task PlanningTask: Certainly! Please provide the task you need broken down into subtasks.    \n",
-              " Please provide only the final result of your work. Do not add any conversation or extra explanation.            \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m Topic: Climate Change and Its Impact on Global Agriculture \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mOverview of Climate Change\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClimate change refers to significant changes in global temperatures and weather patterns over time. While \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mclimate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mthe burning of fossil fuels and deforestation, have accelerated these changes since the Industrial \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mRevolution. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImpact on Agriculture\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mTemperature Changes\u001b[0m: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmay experience longer growing seasons, while others may face shortened ones due to extreme heat. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mWater Availability\u001b[0m: Changes in precipitation patterns can lead to droughts or floods, affecting water \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mavailability for irrigation. This can impact crop productivity and lead to water scarcity in some \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mregions. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSoil Health\u001b[0m: Increased temperatures and altered precipitation can affect soil moisture and fertility, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mleading to soil degradation and erosion. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer temperatures can expand the range and increase the lifecycle of pests and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdiseases, posing new challenges for crop protection. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Viability\u001b[0m: Certain crops may no longer be viable in traditional growing areas, necessitating shifts \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0min agricultural practices and crop selection. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mRegional Variability\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mThe impact of climate change on agriculture varies by region. For example, temperate regions might \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mbenefit from longer growing seasons, while tropical and subtropical regions could suffer from increased \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mheat and water stress. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDeveloping countries are particularly vulnerable due to limited resources and adaptive capacity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mAdaptation Strategies\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops to reduce dependency on a single type and increase \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mresilience to climate variability. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems to optimize water use. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mpests, and diseases. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices such as conservation tillage, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magroforestry, and integrated pest management. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mPolicy and Global Efforts\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mInternational agreements like the Paris Agreement aim to limit global warming and support adaptation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mefforts. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGovernments and organizations are investing in research and development to create climate-resilient \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magricultural systems. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mFuture Outlook\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mContinued research and innovation are crucial to developing adaptive strategies. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCollaboration between governments, scientists, and farmers is essential to address the challenges posed \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mby climate change on agriculture. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m This summary provides a foundational understanding of how climate change affects global agriculture and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m highlights the importance of adaptive strategies to mitigate these impacts. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " Topic: Climate Change and Its Impact on Global Agriculture                                                      \n",
-              "                                                                                                                 \n",
-              "  1 Overview of Climate Change:                                                                                  \n",
-              " Climate change refers to significant changes in global temperatures and weather patterns over time. While \n",
-              "       climate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \n",
-              "       the burning of fossil fuels and deforestation, have accelerated these changes since the Industrial        \n",
-              "       Revolution.                                                                                               \n",
-              "  2 Impact on Agriculture:                                                                                       \n",
-              " Temperature Changes: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions  \n",
-              "       may experience longer growing seasons, while others may face shortened ones due to extreme heat.          \n",
-              " Water Availability: Changes in precipitation patterns can lead to droughts or floods, affecting water     \n",
-              "       availability for irrigation. This can impact crop productivity and lead to water scarcity in some         \n",
-              "       regions.                                                                                                  \n",
-              " Soil Health: Increased temperatures and altered precipitation can affect soil moisture and fertility,     \n",
-              "       leading to soil degradation and erosion.                                                                  \n",
-              " Pests and Diseases: Warmer temperatures can expand the range and increase the lifecycle of pests and      \n",
-              "       diseases, posing new challenges for crop protection.                                                      \n",
-              " Crop Viability: Certain crops may no longer be viable in traditional growing areas, necessitating shifts  \n",
-              "       in agricultural practices and crop selection.                                                             \n",
-              "  3 Regional Variability:                                                                                        \n",
-              " The impact of climate change on agriculture varies by region. For example, temperate regions might        \n",
-              "       benefit from longer growing seasons, while tropical and subtropical regions could suffer from increased   \n",
-              "       heat and water stress.                                                                                    \n",
-              " Developing countries are particularly vulnerable due to limited resources and adaptive capacity.          \n",
-              "  4 Adaptation Strategies:                                                                                       \n",
-              " Crop Diversification: Introducing a variety of crops to reduce dependency on a single type and increase   \n",
-              "       resilience to climate variability.                                                                        \n",
-              " Improved Irrigation: Developing efficient irrigation systems to optimize water use.                       \n",
-              " Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,    \n",
-              "       pests, and diseases.                                                                                      \n",
-              " Sustainable Practices: Implementing sustainable agricultural practices such as conservation tillage,      \n",
-              "       agroforestry, and integrated pest management.                                                             \n",
-              "  5 Policy and Global Efforts:                                                                                   \n",
-              " International agreements like the Paris Agreement aim to limit global warming and support adaptation      \n",
-              "       efforts.                                                                                                  \n",
-              " Governments and organizations are investing in research and development to create climate-resilient       \n",
-              "       agricultural systems.                                                                                     \n",
-              "  6 Future Outlook:                                                                                              \n",
-              " Continued research and innovation are crucial to developing adaptive strategies.                          \n",
-              " Collaboration between governments, scientists, and farmers is essential to address the challenges posed   \n",
-              "       by climate change on agriculture.                                                                         \n",
-              "                                                                                                                 \n",
-              " This summary provides a foundational understanding of how climate change affects global agriculture and         \n",
-              " highlights the importance of adaptive strategies to mitigate these impacts.                                     \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mWritingAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: WritingAgent                                                                                         \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "02a56f032fdd408d9fcf327d4e5d4bd3" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 10.7s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 10.7s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Write a final report based on research and planning. Expected Output: A \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m coherent and professional report or response. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Context: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Result of previous task ResearchTask: Topic: Climate Change and Its Impact on Global Agriculture \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mOverview of Climate Change\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClimate change refers to significant changes in global temperatures and weather patterns over time. While \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mclimate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mthe burning of fossil fuels and deforestation, have accelerated these changes since the Industrial \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mRevolution. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImpact on Agriculture\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mTemperature Changes\u001b[0m: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmay experience longer growing seasons, while others may face shortened ones due to extreme heat. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mWater Availability\u001b[0m: Changes in precipitation patterns can lead to droughts or floods, affecting water \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mavailability for irrigation. This can impact crop productivity and lead to water scarcity in some \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mregions. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSoil Health\u001b[0m: Increased temperatures and altered precipitation can affect soil moisture and fertility, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mleading to soil degradation and erosion. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer temperatures can expand the range and increase the lifecycle of pests and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdiseases, posing new challenges for crop protection. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Viability\u001b[0m: Certain crops may no longer be viable in traditional growing areas, necessitating shifts \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0min agricultural practices and crop selection. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mRegional Variability\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mThe impact of climate change on agriculture varies by region. For example, temperate regions might \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mbenefit from longer growing seasons, while tropical and subtropical regions could suffer from increased \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mheat and water stress. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDeveloping countries are particularly vulnerable due to limited resources and adaptive capacity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mAdaptation Strategies\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops to reduce dependency on a single type and increase \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mresilience to climate variability. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems to optimize water use. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mpests, and diseases. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices such as conservation tillage, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magroforestry, and integrated pest management. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mPolicy and Global Efforts\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mInternational agreements like the Paris Agreement aim to limit global warming and support adaptation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mefforts. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGovernments and organizations are investing in research and development to create climate-resilient \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magricultural systems. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mFuture Outlook\u001b[0m: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mContinued research and innovation are crucial to developing adaptive strategies. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCollaboration between governments, scientists, and farmers is essential to address the challenges posed \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mby climate change on agriculture. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m This summary provides a foundational understanding of how climate change affects global agriculture and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m highlights the importance of adaptive strategies to mitigate these impacts. Please provide only the final \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Write a final report based on research and planning. Expected Output: A      \n",
-              " coherent and professional report or response.                                                                   \n",
-              "                                                                                                                 \n",
-              " Context:                                                                                                        \n",
-              "                                                                                                                 \n",
-              " Result of previous task ResearchTask: Topic: Climate Change and Its Impact on Global Agriculture                \n",
-              "                                                                                                                 \n",
-              "  1 Overview of Climate Change:                                                                                  \n",
-              " Climate change refers to significant changes in global temperatures and weather patterns over time. While \n",
-              "       climate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \n",
-              "       the burning of fossil fuels and deforestation, have accelerated these changes since the Industrial        \n",
-              "       Revolution.                                                                                               \n",
-              "  2 Impact on Agriculture:                                                                                       \n",
-              " Temperature Changes: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions  \n",
-              "       may experience longer growing seasons, while others may face shortened ones due to extreme heat.          \n",
-              " Water Availability: Changes in precipitation patterns can lead to droughts or floods, affecting water     \n",
-              "       availability for irrigation. This can impact crop productivity and lead to water scarcity in some         \n",
-              "       regions.                                                                                                  \n",
-              " Soil Health: Increased temperatures and altered precipitation can affect soil moisture and fertility,     \n",
-              "       leading to soil degradation and erosion.                                                                  \n",
-              " Pests and Diseases: Warmer temperatures can expand the range and increase the lifecycle of pests and      \n",
-              "       diseases, posing new challenges for crop protection.                                                      \n",
-              " Crop Viability: Certain crops may no longer be viable in traditional growing areas, necessitating shifts  \n",
-              "       in agricultural practices and crop selection.                                                             \n",
-              "  3 Regional Variability:                                                                                        \n",
-              " The impact of climate change on agriculture varies by region. For example, temperate regions might        \n",
-              "       benefit from longer growing seasons, while tropical and subtropical regions could suffer from increased   \n",
-              "       heat and water stress.                                                                                    \n",
-              " Developing countries are particularly vulnerable due to limited resources and adaptive capacity.          \n",
-              "  4 Adaptation Strategies:                                                                                       \n",
-              " Crop Diversification: Introducing a variety of crops to reduce dependency on a single type and increase   \n",
-              "       resilience to climate variability.                                                                        \n",
-              " Improved Irrigation: Developing efficient irrigation systems to optimize water use.                       \n",
-              " Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,    \n",
-              "       pests, and diseases.                                                                                      \n",
-              " Sustainable Practices: Implementing sustainable agricultural practices such as conservation tillage,      \n",
-              "       agroforestry, and integrated pest management.                                                             \n",
-              "  5 Policy and Global Efforts:                                                                                   \n",
-              " International agreements like the Paris Agreement aim to limit global warming and support adaptation      \n",
-              "       efforts.                                                                                                  \n",
-              " Governments and organizations are investing in research and development to create climate-resilient       \n",
-              "       agricultural systems.                                                                                     \n",
-              "  6 Future Outlook:                                                                                              \n",
-              " Continued research and innovation are crucial to developing adaptive strategies.                          \n",
-              " Collaboration between governments, scientists, and farmers is essential to address the challenges posed   \n",
-              "       by climate change on agriculture.                                                                         \n",
-              "                                                                                                                 \n",
-              " This summary provides a foundational understanding of how climate change affects global agriculture and         \n",
-              " highlights the importance of adaptive strategies to mitigate these impacts. Please provide only the final       \n",
-              " result of your work. Do not add any conversation or extra explanation.                                          \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mFinal Report: Climate Change and Its Impact on Global Agriculture\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mIntroduction\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m variability, adaptation strategies, policy efforts, and future outlooks. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mImpact on Agriculture\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mTemperature Changes\u001b[0m: The rise in global temperatures induces heat stress in crops, potentially reducing \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0myields. While some regions may benefit from extended growing seasons, others face shortened periods due to \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mextreme heat, adversely affecting crop productivity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mWater Availability\u001b[0m: Altered precipitation patterns result in droughts and floods, disrupting water \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mavailability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mvulnerable regions. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mSoil Health\u001b[0m: Climate change affects soil moisture and fertility, leading to degradation and erosion. These \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mchanges compromise soil health, essential for sustaining agricultural productivity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer climates expand the range and lifecycle of pests and diseases, presenting new \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mchallenges for crop protection and necessitating innovative pest management strategies. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mCrop Viability\u001b[0m: Traditional growing areas may no longer support certain crops, prompting shifts in \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0magricultural practices and crop selection to adapt to changing conditions. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mRegional Variability\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m and water stress. Developing countries, with limited resources and adaptive capacity, are particularly \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m vulnerable to these changes. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mAdaptation Strategies\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops can reduce dependency on a single type, enhancing \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mresilience to climate variability. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems is crucial for optimizing water use and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mensuring crop survival during periods of water scarcity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mpests, and diseases is a promising adaptation strategy. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices, such as conservation tillage, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0magroforestry, and integrated pest management, can mitigate the adverse effects of climate change. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mPolicy and Global Efforts\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m efforts. Governments and organizations are investing in research and development to create climate-resilient \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m agricultural systems, emphasizing the importance of global cooperation in addressing these challenges. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mFuture Outlook\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m sustainability of agricultural systems and food security in the face of climate change. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mConclusion\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m international cooperation. By understanding the impacts and implementing effective adaptation measures, the \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m agricultural sector can enhance its resilience and continue to provide for the growing global population. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " Final Report: Climate Change and Its Impact on Global Agriculture                                               \n",
-              "                                                                                                                 \n",
-              " Introduction                                                                                                    \n",
-              "                                                                                                                 \n",
-              " Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a   \n",
-              " profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to     \n",
-              " human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural   \n",
-              " systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional     \n",
-              " variability, adaptation strategies, policy efforts, and future outlooks.                                        \n",
-              "                                                                                                                 \n",
-              " Impact on Agriculture                                                                                           \n",
-              "                                                                                                                 \n",
-              "  1 Temperature Changes: The rise in global temperatures induces heat stress in crops, potentially reducing      \n",
-              "    yields. While some regions may benefit from extended growing seasons, others face shortened periods due to   \n",
-              "    extreme heat, adversely affecting crop productivity.                                                         \n",
-              "  2 Water Availability: Altered precipitation patterns result in droughts and floods, disrupting water           \n",
-              "    availability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in  \n",
-              "    vulnerable regions.                                                                                          \n",
-              "  3 Soil Health: Climate change affects soil moisture and fertility, leading to degradation and erosion. These   \n",
-              "    changes compromise soil health, essential for sustaining agricultural productivity.                          \n",
-              "  4 Pests and Diseases: Warmer climates expand the range and lifecycle of pests and diseases, presenting new     \n",
-              "    challenges for crop protection and necessitating innovative pest management strategies.                      \n",
-              "  5 Crop Viability: Traditional growing areas may no longer support certain crops, prompting shifts in           \n",
-              "    agricultural practices and crop selection to adapt to changing conditions.                                   \n",
-              "                                                                                                                 \n",
-              " Regional Variability                                                                                            \n",
-              "                                                                                                                 \n",
-              " The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \n",
-              " benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat  \n",
-              " and water stress. Developing countries, with limited resources and adaptive capacity, are particularly          \n",
-              " vulnerable to these changes.                                                                                    \n",
-              "                                                                                                                 \n",
-              " Adaptation Strategies                                                                                           \n",
-              "                                                                                                                 \n",
-              "  1 Crop Diversification: Introducing a variety of crops can reduce dependency on a single type, enhancing       \n",
-              "    resilience to climate variability.                                                                           \n",
-              "  2 Improved Irrigation: Developing efficient irrigation systems is crucial for optimizing water use and         \n",
-              "    ensuring crop survival during periods of water scarcity.                                                     \n",
-              "  3 Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,       \n",
-              "    pests, and diseases is a promising adaptation strategy.                                                      \n",
-              "  4 Sustainable Practices: Implementing sustainable agricultural practices, such as conservation tillage,        \n",
-              "    agroforestry, and integrated pest management, can mitigate the adverse effects of climate change.            \n",
-              "                                                                                                                 \n",
-              " Policy and Global Efforts                                                                                       \n",
-              "                                                                                                                 \n",
-              " International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation       \n",
-              " efforts. Governments and organizations are investing in research and development to create climate-resilient    \n",
-              " agricultural systems, emphasizing the importance of global cooperation in addressing these challenges.          \n",
-              "                                                                                                                 \n",
-              " Future Outlook                                                                                                  \n",
-              "                                                                                                                 \n",
-              " Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \n",
-              " change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the      \n",
-              " sustainability of agricultural systems and food security in the face of climate change.                         \n",
-              "                                                                                                                 \n",
-              " Conclusion                                                                                                      \n",
-              "                                                                                                                 \n",
-              " Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and     \n",
-              " international cooperation. By understanding the impacts and implementing effective adaptation measures, the     \n",
-              " agricultural sector can enhance its resilience and continue to provide for the growing global population.       \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "🧠 Final Output:\n", - " **Final Report: Climate Change and Its Impact on Global Agriculture**\n", - "\n", - "**Introduction**\n", - "\n", - "Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional variability, adaptation strategies, policy efforts, and future outlooks.\n", - "\n", - "**Impact on Agriculture**\n", - "\n", - "1. **Temperature Changes**: The rise in global temperatures induces heat stress in crops, potentially reducing yields. While some regions may benefit from extended growing seasons, others face shortened periods due to extreme heat, adversely affecting crop productivity.\n", - "\n", - "2. **Water Availability**: Altered precipitation patterns result in droughts and floods, disrupting water availability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in vulnerable regions.\n", - "\n", - "3. **Soil Health**: Climate change affects soil moisture and fertility, leading to degradation and erosion. These changes compromise soil health, essential for sustaining agricultural productivity.\n", - "\n", - "4. **Pests and Diseases**: Warmer climates expand the range and lifecycle of pests and diseases, presenting new challenges for crop protection and necessitating innovative pest management strategies.\n", - "\n", - "5. **Crop Viability**: Traditional growing areas may no longer support certain crops, prompting shifts in agricultural practices and crop selection to adapt to changing conditions.\n", - "\n", - "**Regional Variability**\n", - "\n", - "The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat and water stress. Developing countries, with limited resources and adaptive capacity, are particularly vulnerable to these changes.\n", - "\n", - "**Adaptation Strategies**\n", - "\n", - "1. **Crop Diversification**: Introducing a variety of crops can reduce dependency on a single type, enhancing resilience to climate variability.\n", - "\n", - "2. **Improved Irrigation**: Developing efficient irrigation systems is crucial for optimizing water use and ensuring crop survival during periods of water scarcity.\n", - "\n", - "3. **Genetic Modification**: Breeding or genetically modifying crops to withstand extreme weather conditions, pests, and diseases is a promising adaptation strategy.\n", - "\n", - "4. **Sustainable Practices**: Implementing sustainable agricultural practices, such as conservation tillage, agroforestry, and integrated pest management, can mitigate the adverse effects of climate change.\n", - "\n", - "**Policy and Global Efforts**\n", - "\n", - "International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation efforts. Governments and organizations are investing in research and development to create climate-resilient agricultural systems, emphasizing the importance of global cooperation in addressing these challenges.\n", - "\n", - "**Future Outlook**\n", - "\n", - "Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the sustainability of agricultural systems and food security in the face of climate change.\n", - "\n", - "**Conclusion**\n", - "\n", - "Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and international cooperation. By understanding the impacts and implementing effective adaptation measures, the agricultural sector can enhance its resilience and continue to provide for the growing global population.\n" - ] - } - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "colab": { - "provenance": [] - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "4a7945abafd844c299b71c77fcc340a0": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_9b57ee1234734563bc35932ac9bfec18", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 7.6s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m Topic: Climate Change and Its Impact on Global Agriculture \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mOverview of Climate Change\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClimate change refers to significant changes in global temperatures and weather patterns over time. While \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mclimate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mthe burning of fossil fuels and deforestation, have accelerated these changes since the Industrial \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mRevolution. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImpact on Agriculture\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mTemperature Changes\u001b[0m: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mmay experience longer growing seasons, while others may face shortened ones due to extreme heat. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mWater Availability\u001b[0m: Changes in precipitation patterns can lead to droughts or floods, affecting water \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mavailability for irrigation. This can impact crop productivity and lead to water scarcity in some \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mregions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSoil Health\u001b[0m: Increased temperatures and altered precipitation can affect soil moisture and fertility, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mleading to soil degradation and erosion. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer temperatures can expand the range and increase the lifecycle of pests and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mdiseases, posing new challenges for crop protection. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Viability\u001b[0m: Certain crops may no longer be viable in traditional growing areas, necessitating shifts \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0min agricultural practices and crop selection. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mRegional Variability\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mThe impact of climate change on agriculture varies by region. For example, temperate regions might \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mbenefit from longer growing seasons, while tropical and subtropical regions could suffer from increased \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mheat and water stress. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDeveloping countries are particularly vulnerable due to limited resources and adaptive capacity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mAdaptation Strategies\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops to reduce dependency on a single type and increase \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mresilience to climate variability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems to optimize water use. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mpests, and diseases. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices such as conservation tillage, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magroforestry, and integrated pest management. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mPolicy and Global Efforts\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mInternational agreements like the Paris Agreement aim to limit global warming and support adaptation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mefforts. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGovernments and organizations are investing in research and development to create climate-resilient \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0magricultural systems. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mFuture Outlook\u001b[0m: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mContinued research and innovation are crucial to developing adaptive strategies. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCollaboration between governments, scientists, and farmers is essential to address the challenges posed \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m \u001b[0mby climate change on agriculture. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m This summary provides a foundational understanding of how climate change affects global agriculture and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m highlights the importance of adaptive strategies to \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 7.6s ───────────────────────────────────────────────╮\n Topic: Climate Change and Its Impact on Global Agriculture                                                      \n                                                                                                                 \n  1 Overview of Climate Change:                                                                                  \n Climate change refers to significant changes in global temperatures and weather patterns over time. While \n       climate change is a natural phenomenon, scientific evidence indicates that human activities, particularly \n       the burning of fossil fuels and deforestation, have accelerated these changes since the Industrial        \n       Revolution.                                                                                               \n  2 Impact on Agriculture:                                                                                       \n Temperature Changes: Rising temperatures can lead to heat stress on crops, reducing yields. Some regions  \n       may experience longer growing seasons, while others may face shortened ones due to extreme heat.          \n Water Availability: Changes in precipitation patterns can lead to droughts or floods, affecting water     \n       availability for irrigation. This can impact crop productivity and lead to water scarcity in some         \n       regions.                                                                                                  \n Soil Health: Increased temperatures and altered precipitation can affect soil moisture and fertility,     \n       leading to soil degradation and erosion.                                                                  \n Pests and Diseases: Warmer temperatures can expand the range and increase the lifecycle of pests and      \n       diseases, posing new challenges for crop protection.                                                      \n Crop Viability: Certain crops may no longer be viable in traditional growing areas, necessitating shifts  \n       in agricultural practices and crop selection.                                                             \n  3 Regional Variability:                                                                                        \n The impact of climate change on agriculture varies by region. For example, temperate regions might        \n       benefit from longer growing seasons, while tropical and subtropical regions could suffer from increased   \n       heat and water stress.                                                                                    \n Developing countries are particularly vulnerable due to limited resources and adaptive capacity.          \n  4 Adaptation Strategies:                                                                                       \n Crop Diversification: Introducing a variety of crops to reduce dependency on a single type and increase   \n       resilience to climate variability.                                                                        \n Improved Irrigation: Developing efficient irrigation systems to optimize water use.                       \n Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,    \n       pests, and diseases.                                                                                      \n Sustainable Practices: Implementing sustainable agricultural practices such as conservation tillage,      \n       agroforestry, and integrated pest management.                                                             \n  5 Policy and Global Efforts:                                                                                   \n International agreements like the Paris Agreement aim to limit global warming and support adaptation      \n       efforts.                                                                                                  \n Governments and organizations are investing in research and development to create climate-resilient       \n       agricultural systems.                                                                                     \n  6 Future Outlook:                                                                                              \n Continued research and innovation are crucial to developing adaptive strategies.                          \n Collaboration between governments, scientists, and farmers is essential to address the challenges posed   \n       by climate change on agriculture.                                                                         \n                                                                                                                 \n This summary provides a foundational understanding of how climate change affects global agriculture and         \n highlights the importance of adaptive strategies to                                                             \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "9b57ee1234734563bc35932ac9bfec18": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - }, - "02a56f032fdd408d9fcf327d4e5d4bd3": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_78733159c35941809466edd8f229f9f3", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 10.6s \u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mFinal Report: Climate Change and Its Impact on Global Agriculture\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mIntroduction\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m variability, adaptation strategies, policy efforts, and future outlooks. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mImpact on Agriculture\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mTemperature Changes\u001b[0m: The rise in global temperatures induces heat stress in crops, potentially reducing \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0myields. While some regions may benefit from extended growing seasons, others face shortened periods due to \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mextreme heat, adversely affecting crop productivity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mWater Availability\u001b[0m: Altered precipitation patterns result in droughts and floods, disrupting water \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mavailability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mvulnerable regions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mSoil Health\u001b[0m: Climate change affects soil moisture and fertility, leading to degradation and erosion. These \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mchanges compromise soil health, essential for sustaining agricultural productivity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mPests and Diseases\u001b[0m: Warmer climates expand the range and lifecycle of pests and diseases, presenting new \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mchallenges for crop protection and necessitating innovative pest management strategies. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mCrop Viability\u001b[0m: Traditional growing areas may no longer support certain crops, prompting shifts in \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0magricultural practices and crop selection to adapt to changing conditions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mRegional Variability\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m and water stress. Developing countries, with limited resources and adaptive capacity, are particularly \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m vulnerable to these changes. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mAdaptation Strategies\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mCrop Diversification\u001b[0m: Introducing a variety of crops can reduce dependency on a single type, enhancing \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mresilience to climate variability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mImproved Irrigation\u001b[0m: Developing efficient irrigation systems is crucial for optimizing water use and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mensuring crop survival during periods of water scarcity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mGenetic Modification\u001b[0m: Breeding or genetically modifying crops to withstand extreme weather conditions, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mpests, and diseases is a promising adaptation strategy. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mSustainable Practices\u001b[0m: Implementing sustainable agricultural practices, such as conservation tillage, \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0magroforestry, and integrated pest management, can mitigate the adverse effects of climate change. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mPolicy and Global Efforts\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m efforts. Governments and organizations are investing in research and development to create climate-resilient \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m agricultural systems, emphasizing the importance of global cooperation in addressing these challenges. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mFuture Outlook\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m sustainability of agricultural systems and food security in the face of climate change. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mConclusion\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m international cooperation. By understanding the impacts and implementing effective adaptation measures, the \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m agricultural sector can enhance its resilience and continue to provide for the \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 10.6s ──────────────────────────────────────────────╮\n Final Report: Climate Change and Its Impact on Global Agriculture                                               \n                                                                                                                 \n Introduction                                                                                                    \n                                                                                                                 \n Climate change, characterized by significant alterations in global temperatures and weather patterns, poses a   \n profound threat to global agriculture. While naturally occurring, the acceleration of climate change due to     \n human activities such as fossil fuel combustion and deforestation has exacerbated its impacts on agricultural   \n systems worldwide. This report examines the multifaceted effects of climate change on agriculture, regional     \n variability, adaptation strategies, policy efforts, and future outlooks.                                        \n                                                                                                                 \n Impact on Agriculture                                                                                           \n                                                                                                                 \n  1 Temperature Changes: The rise in global temperatures induces heat stress in crops, potentially reducing      \n    yields. While some regions may benefit from extended growing seasons, others face shortened periods due to   \n    extreme heat, adversely affecting crop productivity.                                                         \n  2 Water Availability: Altered precipitation patterns result in droughts and floods, disrupting water           \n    availability for irrigation. This variability threatens crop productivity and exacerbates water scarcity in  \n    vulnerable regions.                                                                                          \n  3 Soil Health: Climate change affects soil moisture and fertility, leading to degradation and erosion. These   \n    changes compromise soil health, essential for sustaining agricultural productivity.                          \n  4 Pests and Diseases: Warmer climates expand the range and lifecycle of pests and diseases, presenting new     \n    challenges for crop protection and necessitating innovative pest management strategies.                      \n  5 Crop Viability: Traditional growing areas may no longer support certain crops, prompting shifts in           \n    agricultural practices and crop selection to adapt to changing conditions.                                   \n                                                                                                                 \n Regional Variability                                                                                            \n                                                                                                                 \n The impact of climate change on agriculture is not uniform across the globe. Temperate regions might experience \n benefits such as longer growing seasons, while tropical and subtropical areas could suffer from increased heat  \n and water stress. Developing countries, with limited resources and adaptive capacity, are particularly          \n vulnerable to these changes.                                                                                    \n                                                                                                                 \n Adaptation Strategies                                                                                           \n                                                                                                                 \n  1 Crop Diversification: Introducing a variety of crops can reduce dependency on a single type, enhancing       \n    resilience to climate variability.                                                                           \n  2 Improved Irrigation: Developing efficient irrigation systems is crucial for optimizing water use and         \n    ensuring crop survival during periods of water scarcity.                                                     \n  3 Genetic Modification: Breeding or genetically modifying crops to withstand extreme weather conditions,       \n    pests, and diseases is a promising adaptation strategy.                                                      \n  4 Sustainable Practices: Implementing sustainable agricultural practices, such as conservation tillage,        \n    agroforestry, and integrated pest management, can mitigate the adverse effects of climate change.            \n                                                                                                                 \n Policy and Global Efforts                                                                                       \n                                                                                                                 \n International agreements, such as the Paris Agreement, aim to limit global warming and support adaptation       \n efforts. Governments and organizations are investing in research and development to create climate-resilient    \n agricultural systems, emphasizing the importance of global cooperation in addressing these challenges.          \n                                                                                                                 \n Future Outlook                                                                                                  \n                                                                                                                 \n Continued research and innovation are vital for developing adaptive strategies to combat the impacts of climate \n change on agriculture. Collaboration among governments, scientists, and farmers is essential to ensure the      \n sustainability of agricultural systems and food security in the face of climate change.                         \n                                                                                                                 \n Conclusion                                                                                                      \n                                                                                                                 \n Climate change presents significant challenges to global agriculture, necessitating adaptive strategies and     \n international cooperation. By understanding the impacts and implementing effective adaptation measures, the     \n agricultural sector can enhance its resilience and continue to provide for the                                  \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "78733159c35941809466edd8f229f9f3": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - } - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} \ No newline at end of file From 73a9e6bdecb46b65b55fdd38f1928bf33e7bb6ce Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:56:00 +0530 Subject: [PATCH 4/8] Delete examples/cookbooks/E_commerce_Shopping_Assistant.ipynb --- .../E_commerce_Shopping_Assistant.ipynb | 638 ------------------ 1 file changed, 638 deletions(-) delete mode 100644 examples/cookbooks/E_commerce_Shopping_Assistant.ipynb diff --git a/examples/cookbooks/E_commerce_Shopping_Assistant.ipynb b/examples/cookbooks/E_commerce_Shopping_Assistant.ipynb deleted file mode 100644 index da8aa37d..00000000 --- a/examples/cookbooks/E_commerce_Shopping_Assistant.ipynb +++ /dev/null @@ -1,638 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "e722180e", - "metadata": { - "id": "e722180e" - }, - "source": [ - "# E-commerce Shopping Assistant\n", - "\n", - "Helps users discover, compare, and decide on product purchases online." - ] - }, - { - "cell_type": "markdown", - "source": [ - "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/commerce_Shopping_Assistant.ipynb)" - ], - "metadata": { - "id": "vcl39flucPf5" - }, - "id": "vcl39flucPf5" - }, - { - "cell_type": "markdown", - "source": [ - "# Dependencies" - ], - "metadata": { - "id": "fPf-zKw9b2s2" - }, - "id": "fPf-zKw9b2s2" - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "f6e9a03f", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "f6e9a03f", - "outputId": "55cd3cef-266d-4e53-edde-4ceab0b456cd" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━\u001b[0m \u001b[32m2.4/3.3 MB\u001b[0m \u001b[31m35.1 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m32.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h" - ] - } - ], - "source": [ - "!pip install -q praisonaiagents openai duckduckgo_search" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# set OpenAI API key" - ], - "metadata": { - "id": "ryXTdYdRb6l7" - }, - "id": "ryXTdYdRb6l7" - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "a91f87c8", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "a91f87c8", - "outputId": "25405986-1ac7-4002-f0ab-76a312e2b3f8" - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Enter your OpenAI API key: ··········\n" - ] - } - ], - "source": [ - "import os\n", - "from getpass import getpass\n", - "\n", - "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", - "import openai\n", - "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Import PraisonAI Agent tools" - ], - "metadata": { - "id": "0OW7ml8HcAnh" - }, - "id": "0OW7ml8HcAnh" - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "3c1fdf11", - "metadata": { - "id": "3c1fdf11" - }, - "outputs": [], - "source": [ - "from praisonaiagents import Agent, Task, PraisonAIAgents" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define the Shopping Assistant Agent" - ], - "metadata": { - "id": "Z0rtEk9VcDvt" - }, - "id": "Z0rtEk9VcDvt" - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "71731420", - "metadata": { - "id": "71731420" - }, - "outputs": [], - "source": [ - "shopping_assistant = Agent(\n", - " name=\"EcommerceShoppingAgent\",\n", - " instructions=(\n", - " \"You are a smart e-commerce shopping assistant. \"\n", - " \"Your goal is to help users find the best product deals, recommend items, and compare features from online sources. \"\n", - " \"Use research and product comparison strategies.\"\n", - " ),\n", - " verbose=True,\n", - " markdown=True\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define a Task for Shopping Assistant" - ], - "metadata": { - "id": "jipAX79fcHXy" - }, - "id": "jipAX79fcHXy" - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "9b55dbe3", - "metadata": { - "id": "9b55dbe3" - }, - "outputs": [], - "source": [ - "shopping_task = Task(\n", - " name=\"FindProductDeals\",\n", - " description=\"Find the best deals and compare features for the latest wireless earbuds under $100\",\n", - " expected_output=\"A list of recommended wireless earbuds under $100 with pros, cons, and prices\",\n", - " agent=shopping_assistant\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Create the Assistant System" - ], - "metadata": { - "id": "6lKHyYwycKXr" - }, - "id": "6lKHyYwycKXr" - }, - { - "cell_type": "code", - "source": [ - "assistant_system = PraisonAIAgents(\n", - " agents=[shopping_assistant],\n", - " tasks=[shopping_task],\n", - " process=\"sequential\",\n", - " verbose=True\n", - ")\n" - ], - "metadata": { - "id": "zEpJ7IkFbvKW" - }, - "id": "zEpJ7IkFbvKW", - "execution_count": 7, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Run the Agent System" - ], - "metadata": { - "id": "yuTZ2fWpcNI8" - }, - "id": "yuTZ2fWpcNI8" - }, - { - "cell_type": "code", - "source": [ - "query = \"Find the best wireless earbuds under $100 with noise cancellation\"\n", - "output = assistant_system.start(input=query)\n", - "\n", - "# 📄 Display Output\n", - "print(\"🛍️ Shopping Assistant Output:\\n\", output)\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "8f64ad3584b74928b9069fe84ff178db", - "2e4b43c537924f8e8ab8d17696a90330" - ] - }, - "id": "NQKri37Ubw-S", - "outputId": "6741cd08-37c6-4d5a-aacd-a6ca44104dc1" - }, - "id": "NQKri37Ubw-S", - "execution_count": 8, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mEcommerceShoppingAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: EcommerceShoppingAgent                                                                               \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "8f64ad3584b74928b9069fe84ff178db" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 7.8s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 7.8s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Find the best deals and compare features for the latest wireless earbuds \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m under $100. Expected Output: A list of recommended wireless earbuds under $100 with pros, cons, and prices. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Please provide only the final result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Find the best deals and compare features for the latest wireless earbuds     \n",
-              " under $100. Expected Output: A list of recommended wireless earbuds under $100 with pros, cons, and prices.     \n",
-              " Please provide only the final result of your work. Do not add any conversation or extra explanation.            \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m1. Anker Soundcore Life P2\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mExcellent battery life (up to 40 hours with case) \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality with graphene drivers \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m2. TOZO T6\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $29.99 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAffordable price \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX8 waterproof rating \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTouch controls \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality for the price \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 6 hours per charge) \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m3. JLab Audio JBuds Air\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCustom EQ3 sound settings \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat resistance \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood fit with multiple ear tips \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIntegrated charging cable in the case \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBulky charging case \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m4. Skullcandy Sesh Evo\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTile tracking feature \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat, water, and dust resistance \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDecent sound quality \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood battery life (up to 24 hours with case) \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m5. SoundPEATS TrueFree2\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $39.99 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mSecure fit with ear fins \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 4 hours per charge) \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m These options provide a range of features and prices, allowing you to choose based on your specific needs and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m preferences. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " 1. Anker Soundcore Life P2                                                                                      \n",
-              "                                                                                                                 \n",
-              " Price: $49.99                                                                                                \n",
-              " Pros:                                                                                                        \n",
-              " Excellent battery life (up to 40 hours with case)                                                         \n",
-              " IPX7 waterproof rating                                                                                    \n",
-              " Good sound quality with graphene drivers                                                                  \n",
-              " USB-C charging                                                                                            \n",
-              " Cons:                                                                                                        \n",
-              " No active noise cancellation                                                                              \n",
-              " Limited touch controls                                                                                    \n",
-              "                                                                                                                 \n",
-              " 2. TOZO T6                                                                                                      \n",
-              "                                                                                                                 \n",
-              " Price: $29.99                                                                                                \n",
-              " Pros:                                                                                                        \n",
-              " Affordable price                                                                                          \n",
-              " IPX8 waterproof rating                                                                                    \n",
-              " Touch controls                                                                                            \n",
-              " Good sound quality for the price                                                                          \n",
-              " Cons:                                                                                                        \n",
-              " Average battery life (up to 6 hours per charge)                                                           \n",
-              " No active noise cancellation                                                                              \n",
-              "                                                                                                                 \n",
-              " 3. JLab Audio JBuds Air                                                                                         \n",
-              "                                                                                                                 \n",
-              " Price: $49.99                                                                                                \n",
-              " Pros:                                                                                                        \n",
-              " Custom EQ3 sound settings                                                                                 \n",
-              " IP55 sweat resistance                                                                                     \n",
-              " Good fit with multiple ear tips                                                                           \n",
-              " Integrated charging cable in the case                                                                     \n",
-              " Cons:                                                                                                        \n",
-              " Bulky charging case                                                                                       \n",
-              " No active noise cancellation                                                                              \n",
-              "                                                                                                                 \n",
-              " 4. Skullcandy Sesh Evo                                                                                          \n",
-              "                                                                                                                 \n",
-              " Price: $49.99                                                                                                \n",
-              " Pros:                                                                                                        \n",
-              " Tile tracking feature                                                                                     \n",
-              " IP55 sweat, water, and dust resistance                                                                    \n",
-              " Decent sound quality                                                                                      \n",
-              " Good battery life (up to 24 hours with case)                                                              \n",
-              " Cons:                                                                                                        \n",
-              " Limited touch controls                                                                                    \n",
-              " No active noise cancellation                                                                              \n",
-              "                                                                                                                 \n",
-              " 5. SoundPEATS TrueFree2                                                                                         \n",
-              "                                                                                                                 \n",
-              " Price: $39.99                                                                                                \n",
-              " Pros:                                                                                                        \n",
-              " Secure fit with ear fins                                                                                  \n",
-              " IPX7 waterproof rating                                                                                    \n",
-              " Good sound quality                                                                                        \n",
-              " USB-C charging                                                                                            \n",
-              " Cons:                                                                                                        \n",
-              " No active noise cancellation                                                                              \n",
-              " Average battery life (up to 4 hours per charge)                                                           \n",
-              "                                                                                                                 \n",
-              " These options provide a range of features and prices, allowing you to choose based on your specific needs and   \n",
-              " preferences.                                                                                                    \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "🛍️ Shopping Assistant Output:\n", - " **1. Anker Soundcore Life P2**\n", - "\n", - "- **Price:** $49.99\n", - "- **Pros:** \n", - " - Excellent battery life (up to 40 hours with case)\n", - " - IPX7 waterproof rating\n", - " - Good sound quality with graphene drivers\n", - " - USB-C charging\n", - "- **Cons:** \n", - " - No active noise cancellation\n", - " - Limited touch controls\n", - "\n", - "**2. TOZO T6**\n", - "\n", - "- **Price:** $29.99\n", - "- **Pros:** \n", - " - Affordable price\n", - " - IPX8 waterproof rating\n", - " - Touch controls\n", - " - Good sound quality for the price\n", - "- **Cons:** \n", - " - Average battery life (up to 6 hours per charge)\n", - " - No active noise cancellation\n", - "\n", - "**3. JLab Audio JBuds Air**\n", - "\n", - "- **Price:** $49.99\n", - "- **Pros:** \n", - " - Custom EQ3 sound settings\n", - " - IP55 sweat resistance\n", - " - Good fit with multiple ear tips\n", - " - Integrated charging cable in the case\n", - "- **Cons:** \n", - " - Bulky charging case\n", - " - No active noise cancellation\n", - "\n", - "**4. Skullcandy Sesh Evo**\n", - "\n", - "- **Price:** $49.99\n", - "- **Pros:** \n", - " - Tile tracking feature\n", - " - IP55 sweat, water, and dust resistance\n", - " - Decent sound quality\n", - " - Good battery life (up to 24 hours with case)\n", - "- **Cons:** \n", - " - Limited touch controls\n", - " - No active noise cancellation\n", - "\n", - "**5. SoundPEATS TrueFree2**\n", - "\n", - "- **Price:** $39.99\n", - "- **Pros:** \n", - " - Secure fit with ear fins\n", - " - IPX7 waterproof rating\n", - " - Good sound quality\n", - " - USB-C charging\n", - "- **Cons:** \n", - " - No active noise cancellation\n", - " - Average battery life (up to 4 hours per charge)\n", - "\n", - "These options provide a range of features and prices, allowing you to choose based on your specific needs and preferences.\n" - ] - } - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "colab": { - "provenance": [] - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "8f64ad3584b74928b9069fe84ff178db": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_2e4b43c537924f8e8ab8d17696a90330", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 7.7s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m1. Anker Soundcore Life P2\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mExcellent battery life (up to 40 hours with case) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality with graphene drivers \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m2. TOZO T6\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $29.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAffordable price \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX8 waterproof rating \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTouch controls \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality for the price \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 6 hours per charge) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m3. JLab Audio JBuds Air\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCustom EQ3 sound settings \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat resistance \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood fit with multiple ear tips \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIntegrated charging cable in the case \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBulky charging case \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m4. Skullcandy Sesh Evo\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $49.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTile tracking feature \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIP55 sweat, water, and dust resistance \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDecent sound quality \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood battery life (up to 24 hours with case) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited touch controls \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m5. SoundPEATS TrueFree2\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPrice:\u001b[0m $39.99 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mSecure fit with ear fins \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mIPX7 waterproof rating \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood sound quality \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mUSB-C charging \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mNo active noise cancellation \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAverage battery life (up to 4 hours per charge) \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m These options provide a range of features and prices, allowing you to choose based on your specific needs and \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 7.7s ───────────────────────────────────────────────╮\n 1. Anker Soundcore Life P2                                                                                      \n                                                                                                                 \n Price: $49.99                                                                                                \n Pros:                                                                                                        \n Excellent battery life (up to 40 hours with case)                                                         \n IPX7 waterproof rating                                                                                    \n Good sound quality with graphene drivers                                                                  \n USB-C charging                                                                                            \n Cons:                                                                                                        \n No active noise cancellation                                                                              \n Limited touch controls                                                                                    \n                                                                                                                 \n 2. TOZO T6                                                                                                      \n                                                                                                                 \n Price: $29.99                                                                                                \n Pros:                                                                                                        \n Affordable price                                                                                          \n IPX8 waterproof rating                                                                                    \n Touch controls                                                                                            \n Good sound quality for the price                                                                          \n Cons:                                                                                                        \n Average battery life (up to 6 hours per charge)                                                           \n No active noise cancellation                                                                              \n                                                                                                                 \n 3. JLab Audio JBuds Air                                                                                         \n                                                                                                                 \n Price: $49.99                                                                                                \n Pros:                                                                                                        \n Custom EQ3 sound settings                                                                                 \n IP55 sweat resistance                                                                                     \n Good fit with multiple ear tips                                                                           \n Integrated charging cable in the case                                                                     \n Cons:                                                                                                        \n Bulky charging case                                                                                       \n No active noise cancellation                                                                              \n                                                                                                                 \n 4. Skullcandy Sesh Evo                                                                                          \n                                                                                                                 \n Price: $49.99                                                                                                \n Pros:                                                                                                        \n Tile tracking feature                                                                                     \n IP55 sweat, water, and dust resistance                                                                    \n Decent sound quality                                                                                      \n Good battery life (up to 24 hours with case)                                                              \n Cons:                                                                                                        \n Limited touch controls                                                                                    \n No active noise cancellation                                                                              \n                                                                                                                 \n 5. SoundPEATS TrueFree2                                                                                         \n                                                                                                                 \n Price: $39.99                                                                                                \n Pros:                                                                                                        \n Secure fit with ear fins                                                                                  \n IPX7 waterproof rating                                                                                    \n Good sound quality                                                                                        \n USB-C charging                                                                                            \n Cons:                                                                                                        \n No active noise cancellation                                                                              \n Average battery life (up to 4 hours per charge)                                                           \n                                                                                                                 \n These options provide a range of features and prices, allowing you to choose based on your specific needs and   \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "2e4b43c537924f8e8ab8d17696a90330": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - } - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} \ No newline at end of file From 8a970bb6ee8564ef755a82039e3794e6afc4b4cf Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:56:16 +0530 Subject: [PATCH 5/8] Delete examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb --- .../Home_Buying_Real_Estate_Agent.ipynb | 760 ------------------ 1 file changed, 760 deletions(-) delete mode 100644 examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb diff --git a/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb b/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb deleted file mode 100644 index 05b49027..00000000 --- a/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb +++ /dev/null @@ -1,760 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "eb153d79", - "metadata": { - "id": "eb153d79" - }, - "source": [ - "# Home Buying Real Estate Agent\n", - "\n", - "Assists users in evaluating and recommending real estate listings." - ] - }, - { - "cell_type": "markdown", - "source": [ - "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Home_Buying_Real_Estate_Agent.ipynb)\n", - "\n" - ], - "metadata": { - "id": "N1N183yMfJ_0" - }, - "id": "N1N183yMfJ_0" - }, - { - "cell_type": "markdown", - "source": [ - "# Dependencies" - ], - "metadata": { - "id": "bTkerYnid8ao" - }, - "id": "bTkerYnid8ao" - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "51e87f94", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "51e87f94", - "outputId": "df61cc7b-72d1-4b51-c5f0-071a6ecd6b8e" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/176.8 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.8/176.8 kB\u001b[0m \u001b[31m5.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/130.2 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/105.4 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.4/105.4 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/45.2 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.2/45.2 kB\u001b[0m \u001b[31m2.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h" - ] - } - ], - "source": [ - "!pip install -q praisonaiagents openai" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Set OpenAI API Key" - ], - "metadata": { - "id": "fojF7UVJeaI5" - }, - "id": "fojF7UVJeaI5" - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "be325f31", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "be325f31", - "outputId": "489cd22b-bf0a-4984-e54a-a94d379d61e9" - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Enter your OpenAI API key: ··········\n" - ] - } - ], - "source": [ - "import os\n", - "from getpass import getpass\n", - "\n", - "# 🔑 Enter your API Key securely\n", - "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", - "import openai\n", - "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Import PraisonAI Agent Framework" - ], - "metadata": { - "id": "R1G-5soreoNI" - }, - "id": "R1G-5soreoNI" - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "5e58b964", - "metadata": { - "id": "5e58b964" - }, - "outputs": [], - "source": [ - "from praisonaiagents import Agent, Task, PraisonAIAgents" - ] - }, - { - "cell_type": "markdown", - "id": "b57756cb", - "metadata": { - "id": "b57756cb" - }, - "source": [ - "# YAML configuration style for the agent behavior" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "0efc056c", - "metadata": { - "id": "0efc056c" - }, - "outputs": [], - "source": [ - "yaml_prompt = \"\"\"\n", - "name: HomeBuyingAssistant\n", - "role: Real Estate Advisor Agent\n", - "goal: Assist users in making informed decisions when buying residential property.\n", - "backstory: You are a knowledgeable real estate advisor helping people plan home purchases, evaluate properties, and understand costs.\n", - "skills:\n", - " - Mortgage and loan explanation\n", - " - Property comparison\n", - " - Cost of living and taxes\n", - " - First-time homebuyer guidance\n", - "llm: gpt-4o\n", - "verbosity: true\n", - "format: markdown\n", - "\"\"\"\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Create the Real Estate Agent" - ], - "metadata": { - "id": "f-IQLlIKe1UF" - }, - "id": "f-IQLlIKe1UF" - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "a3c2ec29", - "metadata": { - "id": "a3c2ec29" - }, - "outputs": [], - "source": [ - "real_estate_agent = Agent(\n", - " name=\"HomeBuyingAssistant\",\n", - " instructions=\"\"\"\n", - "You are a home-buying real estate advisor agent.\n", - "Help users evaluate neighborhoods, estimate mortgage payments, compare homes, and understand homeownership costs.\n", - "Explain clearly, format in markdown, and be friendly but professional.\n", - "\"\"\",\n", - " llm=\"gpt-4o\",\n", - " verbose=True,\n", - " markdown=True\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define the Home Buying Task" - ], - "metadata": { - "id": "NxRYnlwge7sA" - }, - "id": "NxRYnlwge7sA" - }, - { - "cell_type": "code", - "source": [ - "real_estate_task = Task(\n", - " name=\"HomePurchaseGuidance\",\n", - " description=\"Guide a first-time homebuyer looking to purchase a 3-bedroom house in Austin, TX under $500,000.\",\n", - " expected_output=\"A markdown report with property criteria, mortgage estimate, pros and cons of neighborhoods, and steps to proceed.\",\n", - " agent=real_estate_agent\n", - ")\n" - ], - "metadata": { - "id": "ucU_MEM7e5Vf" - }, - "id": "ucU_MEM7e5Vf", - "execution_count": 7, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Create Agent System" - ], - "metadata": { - "id": "72wNG8q4e_iV" - }, - "id": "72wNG8q4e_iV" - }, - { - "cell_type": "code", - "source": [ - "home_buying_system = PraisonAIAgents(\n", - " agents=[real_estate_agent],\n", - " tasks=[real_estate_task],\n", - " process=\"sequential\",\n", - " verbose=True\n", - ")\n" - ], - "metadata": { - "id": "fP1Xmk8xe-ea" - }, - "id": "fP1Xmk8xe-ea", - "execution_count": 8, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Run the Agent" - ], - "metadata": { - "id": "W7XhaDskfGTo" - }, - "id": "W7XhaDskfGTo" - }, - { - "cell_type": "code", - "source": [ - "# Input your query here\n", - "query = \"Help a first-time buyer find a 3-bedroom home under $500,000 in Austin, TX. Include loan and tax guidance.\"\n", - "output = home_buying_system.start(input=query)\n", - "\n", - "# 🏠 Show the results\n", - "print(\"🏠 Home Buying Report:\\n\", output)\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "44f97685092540e3b962554218f00438", - "112e5b9377114efe996da4ddbc181454" - ] - }, - "id": "1KEkwZbVfD33", - "outputId": "71f8a42e-d177-462b-f44c-9f97243180ec" - }, - "id": "1KEkwZbVfD33", - "execution_count": 9, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mHomeBuyingAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: HomeBuyingAssistant                                                                                  \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "44f97685092540e3b962554218f00438" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 6.6s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 6.6s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Guide a first-time homebuyer looking to purchase a 3-bedroom house in \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Austin, TX under $500,000.. Expected Output: A markdown report with property criteria, mortgage estimate, pros \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m and cons of neighborhoods, and steps to proceed.. Please provide only the final result of your work. Do not add \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m any conversation or extra explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Guide a first-time homebuyer looking to purchase a 3-bedroom house in        \n",
-              " Austin, TX under $500,000.. Expected Output: A markdown report with property criteria, mortgage estimate, pros  \n",
-              " and cons of neighborhoods, and steps to proceed.. Please provide only the final result of your work. Do not add \n",
-              " any conversation or extra explanation.                                                                          \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m ┃ \u001b[1mFirst-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\u001b[0m ┃ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mProperty Criteria\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLocation:\u001b[0m Austin, TX \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mType:\u001b[0m 3-bedroom house \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBudget:\u001b[0m Under $500,000 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mMortgage Estimate\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m of 7%: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDown Payment:\u001b[0m $100,000 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLoan Amount:\u001b[0m $400,000 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMonthly Mortgage Payment:\u001b[0m Approximately $2,661 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mNote: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable) \u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mwill add to the monthly cost.\u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mNeighborhood Evaluation\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m1. \u001b[0m\u001b[1mSouth Austin\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVibrant community with a mix of cultures. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClose to downtown and entertainment options. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood schools and parks. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTraffic congestion during peak hours. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher property taxes in some areas. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m2. \u001b[0m\u001b[1mNorth Austin\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mMore affordable housing options. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGrowing tech industry presence. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFamily-friendly neighborhoods. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFurther from downtown. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited public transportation options. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m3. \u001b[0m\u001b[1mEast Austin\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTrendy and rapidly developing area. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRich cultural history and diversity. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mProximity to downtown. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRising property prices. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGentrification concerns. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1m4. \u001b[0m\u001b[1mWest Austin\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mScenic views and outdoor activities. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigh-rated schools. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mQuiet and upscale neighborhoods. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher cost of living. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited affordable housing options. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mSteps to Proceed\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mFinancial Preparation:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mReview your credit score and financial standing. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGet pre-approved for a mortgage to understand your budget. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mNeighborhood Research:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVisit potential neighborhoods at different times of the day. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConsider proximity to work, schools, and amenities. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mEngage a Real Estate Agent:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mChoose an agent familiar with Austin's market. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDiscuss your needs and preferences. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mHouse Hunting:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAttend open houses and schedule private showings. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCompare properties based on criteria and budget. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mMake an Offer:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mWork with your agent to make a competitive offer. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBe prepared for negotiations. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mHome Inspection and Closing:\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConduct a thorough home inspection. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFinalize mortgage details and close the deal. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mRemember, buying a home is a significant investment. Take your time to ensure it meets your needs and \u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mfinancial situation.\u001b[0m\u001b[35m \u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
-              "First-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\n",
-              " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                Property Criteria                                                \n",
-              "                                                                                                                 \n",
-              " Location: Austin, TX                                                                                         \n",
-              " Type: 3-bedroom house                                                                                        \n",
-              " Budget: Under $500,000                                                                                       \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                Mortgage Estimate                                                \n",
-              "                                                                                                                 \n",
-              " Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate   \n",
-              " of 7%:                                                                                                          \n",
-              "                                                                                                                 \n",
-              " Down Payment: $100,000                                                                                       \n",
-              " Loan Amount: $400,000                                                                                        \n",
-              " Monthly Mortgage Payment: Approximately $2,661                                                               \n",
-              "                                                                                                                 \n",
-              " Note: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable)      \n",
-              " will add to the monthly cost.                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                             Neighborhood Evaluation                                             \n",
-              "                                                                                                                 \n",
-              "                                                 1. South Austin                                                 \n",
-              "                                                                                                                 \n",
-              " Pros:                                                                                                        \n",
-              " Vibrant community with a mix of cultures.                                                                 \n",
-              " Close to downtown and entertainment options.                                                              \n",
-              " Good schools and parks.                                                                                   \n",
-              " Cons:                                                                                                        \n",
-              " Traffic congestion during peak hours.                                                                     \n",
-              " Higher property taxes in some areas.                                                                      \n",
-              "                                                                                                                 \n",
-              "                                                 2. North Austin                                                 \n",
-              "                                                                                                                 \n",
-              " Pros:                                                                                                        \n",
-              " More affordable housing options.                                                                          \n",
-              " Growing tech industry presence.                                                                           \n",
-              " Family-friendly neighborhoods.                                                                            \n",
-              " Cons:                                                                                                        \n",
-              " Further from downtown.                                                                                    \n",
-              " Limited public transportation options.                                                                    \n",
-              "                                                                                                                 \n",
-              "                                                 3. East Austin                                                  \n",
-              "                                                                                                                 \n",
-              " Pros:                                                                                                        \n",
-              " Trendy and rapidly developing area.                                                                       \n",
-              " Rich cultural history and diversity.                                                                      \n",
-              " Proximity to downtown.                                                                                    \n",
-              " Cons:                                                                                                        \n",
-              " Rising property prices.                                                                                   \n",
-              " Gentrification concerns.                                                                                  \n",
-              "                                                                                                                 \n",
-              "                                                 4. West Austin                                                  \n",
-              "                                                                                                                 \n",
-              " Pros:                                                                                                        \n",
-              " Scenic views and outdoor activities.                                                                      \n",
-              " High-rated schools.                                                                                       \n",
-              " Quiet and upscale neighborhoods.                                                                          \n",
-              " Cons:                                                                                                        \n",
-              " Higher cost of living.                                                                                    \n",
-              " Limited affordable housing options.                                                                       \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                Steps to Proceed                                                 \n",
-              "                                                                                                                 \n",
-              "  1 Financial Preparation:                                                                                       \n",
-              " Review your credit score and financial standing.                                                          \n",
-              " Get pre-approved for a mortgage to understand your budget.                                                \n",
-              "  2 Neighborhood Research:                                                                                       \n",
-              " Visit potential neighborhoods at different times of the day.                                              \n",
-              " Consider proximity to work, schools, and amenities.                                                       \n",
-              "  3 Engage a Real Estate Agent:                                                                                  \n",
-              " Choose an agent familiar with Austin's market.                                                            \n",
-              " Discuss your needs and preferences.                                                                       \n",
-              "  4 House Hunting:                                                                                               \n",
-              " Attend open houses and schedule private showings.                                                         \n",
-              " Compare properties based on criteria and budget.                                                          \n",
-              "  5 Make an Offer:                                                                                               \n",
-              " Work with your agent to make a competitive offer.                                                         \n",
-              " Be prepared for negotiations.                                                                             \n",
-              "  6 Home Inspection and Closing:                                                                                 \n",
-              " Conduct a thorough home inspection.                                                                       \n",
-              " Finalize mortgage details and close the deal.                                                             \n",
-              "                                                                                                                 \n",
-              " Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and         \n",
-              " financial situation.                                                                                          \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "🏠 Home Buying Report:\n", - " # First-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\n", - "\n", - "## Property Criteria\n", - "- **Location:** Austin, TX\n", - "- **Type:** 3-bedroom house\n", - "- **Budget:** Under $500,000\n", - "\n", - "## Mortgage Estimate\n", - "Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate of 7%:\n", - "\n", - "- **Down Payment:** $100,000\n", - "- **Loan Amount:** $400,000\n", - "- **Monthly Mortgage Payment:** Approximately $2,661\n", - "\n", - "> *Note: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable) will add to the monthly cost.*\n", - "\n", - "## Neighborhood Evaluation\n", - "\n", - "### 1. **South Austin**\n", - "- **Pros:**\n", - " - Vibrant community with a mix of cultures.\n", - " - Close to downtown and entertainment options.\n", - " - Good schools and parks.\n", - "- **Cons:**\n", - " - Traffic congestion during peak hours.\n", - " - Higher property taxes in some areas.\n", - "\n", - "### 2. **North Austin**\n", - "- **Pros:**\n", - " - More affordable housing options.\n", - " - Growing tech industry presence.\n", - " - Family-friendly neighborhoods.\n", - "- **Cons:**\n", - " - Further from downtown.\n", - " - Limited public transportation options.\n", - "\n", - "### 3. **East Austin**\n", - "- **Pros:**\n", - " - Trendy and rapidly developing area.\n", - " - Rich cultural history and diversity.\n", - " - Proximity to downtown.\n", - "- **Cons:**\n", - " - Rising property prices.\n", - " - Gentrification concerns.\n", - "\n", - "### 4. **West Austin**\n", - "- **Pros:**\n", - " - Scenic views and outdoor activities.\n", - " - High-rated schools.\n", - " - Quiet and upscale neighborhoods.\n", - "- **Cons:**\n", - " - Higher cost of living.\n", - " - Limited affordable housing options.\n", - "\n", - "## Steps to Proceed\n", - "\n", - "1. **Financial Preparation:**\n", - " - Review your credit score and financial standing.\n", - " - Get pre-approved for a mortgage to understand your budget.\n", - "\n", - "2. **Neighborhood Research:**\n", - " - Visit potential neighborhoods at different times of the day.\n", - " - Consider proximity to work, schools, and amenities.\n", - "\n", - "3. **Engage a Real Estate Agent:**\n", - " - Choose an agent familiar with Austin's market.\n", - " - Discuss your needs and preferences.\n", - "\n", - "4. **House Hunting:**\n", - " - Attend open houses and schedule private showings.\n", - " - Compare properties based on criteria and budget.\n", - "\n", - "5. **Make an Offer:**\n", - " - Work with your agent to make a competitive offer.\n", - " - Be prepared for negotiations.\n", - "\n", - "6. **Home Inspection and Closing:**\n", - " - Conduct a thorough home inspection.\n", - " - Finalize mortgage details and close the deal.\n", - "\n", - "> *Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and financial situation.*\n" - ] - } - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "colab": { - "provenance": [] - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "44f97685092540e3b962554218f00438": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_112e5b9377114efe996da4ddbc181454", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 6.5s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┃ \u001b[1mFirst-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\u001b[0m ┃ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mProperty Criteria\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLocation:\u001b[0m Austin, TX \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mType:\u001b[0m 3-bedroom house \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBudget:\u001b[0m Under $500,000 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mMortgage Estimate\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m of 7%: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDown Payment:\u001b[0m $100,000 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLoan Amount:\u001b[0m $400,000 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMonthly Mortgage Payment:\u001b[0m Approximately $2,661 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mNote: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable) \u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[3;35mwill add to the monthly cost.\u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mNeighborhood Evaluation\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m1. \u001b[0m\u001b[1mSouth Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVibrant community with a mix of cultures. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mClose to downtown and entertainment options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGood schools and parks. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTraffic congestion during peak hours. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher property taxes in some areas. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m2. \u001b[0m\u001b[1mNorth Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mMore affordable housing options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGrowing tech industry presence. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFamily-friendly neighborhoods. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFurther from downtown. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited public transportation options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m3. \u001b[0m\u001b[1mEast Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mTrendy and rapidly developing area. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRich cultural history and diversity. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mProximity to downtown. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mRising property prices. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGentrification concerns. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1m4. \u001b[0m\u001b[1mWest Austin\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPros:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mScenic views and outdoor activities. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigh-rated schools. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mQuiet and upscale neighborhoods. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCons:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mHigher cost of living. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mLimited affordable housing options. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mSteps to Proceed\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mFinancial Preparation:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mReview your credit score and financial standing. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mGet pre-approved for a mortgage to understand your budget. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mNeighborhood Research:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mVisit potential neighborhoods at different times of the day. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConsider proximity to work, schools, and amenities. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mEngage a Real Estate Agent:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mChoose an agent familiar with Austin's market. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mDiscuss your needs and preferences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mHouse Hunting:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mAttend open houses and schedule private showings. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mCompare properties based on criteria and budget. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mMake an Offer:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mWork with your agent to make a competitive offer. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mBe prepared for negotiations. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mHome Inspection and Closing:\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mConduct a thorough home inspection. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0m\u001b[1;33m • \u001b[0mFinalize mortgage details and close the deal. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[35m*Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and \u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[35m▌ \u001b[0m\u001b[35mfinancial situation\u001b[0m\u001b[35m \u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 6.5s ───────────────────────────────────────────────╮\n ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \nFirst-Time Homebuyer Guide: 3-Bedroom House in Austin, TX\n ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n                                                                                                                 \n                                                                                                                 \n                                                Property Criteria                                                \n                                                                                                                 \n Location: Austin, TX                                                                                         \n Type: 3-bedroom house                                                                                        \n Budget: Under $500,000                                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                Mortgage Estimate                                                \n                                                                                                                 \n Assuming a purchase price of $500,000, a 20% down payment, and a 30-year fixed mortgage with an interest rate   \n of 7%:                                                                                                          \n                                                                                                                 \n Down Payment: $100,000                                                                                       \n Loan Amount: $400,000                                                                                        \n Monthly Mortgage Payment: Approximately $2,661                                                               \n                                                                                                                 \n Note: This estimate includes principal and interest only. Taxes, insurance, and HOA fees (if applicable)      \n will add to the monthly cost.                                                                                 \n                                                                                                                 \n                                                                                                                 \n                                             Neighborhood Evaluation                                             \n                                                                                                                 \n                                                 1. South Austin                                                 \n                                                                                                                 \n Pros:                                                                                                        \n Vibrant community with a mix of cultures.                                                                 \n Close to downtown and entertainment options.                                                              \n Good schools and parks.                                                                                   \n Cons:                                                                                                        \n Traffic congestion during peak hours.                                                                     \n Higher property taxes in some areas.                                                                      \n                                                                                                                 \n                                                 2. North Austin                                                 \n                                                                                                                 \n Pros:                                                                                                        \n More affordable housing options.                                                                          \n Growing tech industry presence.                                                                           \n Family-friendly neighborhoods.                                                                            \n Cons:                                                                                                        \n Further from downtown.                                                                                    \n Limited public transportation options.                                                                    \n                                                                                                                 \n                                                 3. East Austin                                                  \n                                                                                                                 \n Pros:                                                                                                        \n Trendy and rapidly developing area.                                                                       \n Rich cultural history and diversity.                                                                      \n Proximity to downtown.                                                                                    \n Cons:                                                                                                        \n Rising property prices.                                                                                   \n Gentrification concerns.                                                                                  \n                                                                                                                 \n                                                 4. West Austin                                                  \n                                                                                                                 \n Pros:                                                                                                        \n Scenic views and outdoor activities.                                                                      \n High-rated schools.                                                                                       \n Quiet and upscale neighborhoods.                                                                          \n Cons:                                                                                                        \n Higher cost of living.                                                                                    \n Limited affordable housing options.                                                                       \n                                                                                                                 \n                                                                                                                 \n                                                Steps to Proceed                                                 \n                                                                                                                 \n  1 Financial Preparation:                                                                                       \n Review your credit score and financial standing.                                                          \n Get pre-approved for a mortgage to understand your budget.                                                \n  2 Neighborhood Research:                                                                                       \n Visit potential neighborhoods at different times of the day.                                              \n Consider proximity to work, schools, and amenities.                                                       \n  3 Engage a Real Estate Agent:                                                                                  \n Choose an agent familiar with Austin's market.                                                            \n Discuss your needs and preferences.                                                                       \n  4 House Hunting:                                                                                               \n Attend open houses and schedule private showings.                                                         \n Compare properties based on criteria and budget.                                                          \n  5 Make an Offer:                                                                                               \n Work with your agent to make a competitive offer.                                                         \n Be prepared for negotiations.                                                                             \n  6 Home Inspection and Closing:                                                                                 \n Conduct a thorough home inspection.                                                                       \n Finalize mortgage details and close the deal.                                                             \n                                                                                                                 \n ▌ *Remember, buying a home is a significant investment. Take your time to ensure it meets your needs and        \n ▌ financial situation                                                                                           \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "112e5b9377114efe996da4ddbc181454": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - } - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} \ No newline at end of file From 6323da9c88570e120a81998f398135a53edd090d Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:56:32 +0530 Subject: [PATCH 6/8] Delete examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb --- ...ouTube_Influencer_Intelligence_Agent.ipynb | 673 ------------------ 1 file changed, 673 deletions(-) delete mode 100644 examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb diff --git a/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb b/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb deleted file mode 100644 index 50822bfd..00000000 --- a/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb +++ /dev/null @@ -1,673 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "c417d47b", - "metadata": { - "id": "c417d47b" - }, - "source": [ - "# YouTube Influencer Intelligence Agent\n", - "\n", - "Analyzes YouTube influencers for marketing or collaboration purposes." - ] - }, - { - "cell_type": "markdown", - "source": [ - "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/YouTube_Influencer_Intelligence_Agent.ipynb)" - ], - "metadata": { - "id": "xox_eBaJg4rq" - }, - "id": "xox_eBaJg4rq" - }, - { - "cell_type": "markdown", - "source": [ - "# Dependencies" - ], - "metadata": { - "id": "jsaqhbElgHza" - }, - "id": "jsaqhbElgHza" - }, - { - "cell_type": "code", - "execution_count": 1, - "id": "324febba", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "324febba", - "outputId": "148556a5-fd5e-44ee-e4e1-56ae68709464" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/176.8 kB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m176.8/176.8 kB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m130.2/130.2 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m105.4/105.4 kB\u001b[0m \u001b[31m5.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m41.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.2/45.2 kB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h" - ] - } - ], - "source": [ - "!pip install -q praisonaiagents openai duckduckgo_search" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Set OpenAI API Key" - ], - "metadata": { - "id": "pnILL4wigO--" - }, - "id": "pnILL4wigO--" - }, - { - "cell_type": "code", - "execution_count": 2, - "id": "2997709c", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "2997709c", - "outputId": "c6369f33-76c5-4b23-fd68-ed1ec92eec0e" - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Enter your OpenAI API key: ··········\n" - ] - } - ], - "source": [ - "import os\n", - "from getpass import getpass\n", - "\n", - "# 🔑 Securely input your API key\n", - "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", - "import openai\n", - "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Import PraisonAI Agents" - ], - "metadata": { - "id": "fhuSmjHFgW8t" - }, - "id": "fhuSmjHFgW8t" - }, - { - "cell_type": "code", - "execution_count": 3, - "id": "1c01dc84", - "metadata": { - "id": "1c01dc84" - }, - "outputs": [], - "source": [ - "from praisonaiagents import Agent, Task, PraisonAIAgents" - ] - }, - { - "cell_type": "markdown", - "id": "49a41cdd", - "metadata": { - "id": "49a41cdd" - }, - "source": [ - "# YAML Prompt" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "id": "0b3a6096", - "metadata": { - "id": "0b3a6096" - }, - "outputs": [], - "source": [ - "yaml_prompt = \"\"\"\n", - "name: YouTubeInfluencerIntelligence\n", - "role: YouTube Channel Analysis and Strategy Expert\n", - "goal: Analyze YouTube influencers and channels to provide strategic insights, trends, and content suggestions.\n", - "backstory: You are a YouTube analytics expert trained in identifying trends, engagement metrics, and content strategies.\n", - "skills:\n", - " - Analyze subscriber and engagement data\n", - " - Spot content patterns and trends\n", - " - Recommend growth strategies\n", - " - Detect potential monetization methods\n", - "llm: gpt-4o\n", - "verbosity: true\n", - "format: markdown\n", - "\"\"\"\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define the Intelligence Agent" - ], - "metadata": { - "id": "dQ0vQrsggiqt" - }, - "id": "dQ0vQrsggiqt" - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "f293e64e", - "metadata": { - "id": "f293e64e" - }, - "outputs": [], - "source": [ - "yt_agent = Agent(\n", - " name=\"YouTubeInfluencerIntel\",\n", - " instructions=\"\"\"\n", - "You are a YouTube intelligence analyst. Your job is to research a specific channel, niche, or influencer topic.\n", - "Provide growth recommendations, engagement analysis, trending strategies, and monetization tips. Format in markdown.\n", - "\"\"\",\n", - " llm=\"gpt-4o\",\n", - " verbose=True,\n", - " markdown=True\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define the Task" - ], - "metadata": { - "id": "ULFepw5ggoRY" - }, - "id": "ULFepw5ggoRY" - }, - { - "cell_type": "code", - "source": [ - "yt_task = Task(\n", - " name=\"AnalyzeInfluencerChannel\",\n", - " description=\"Analyze the growth strategy of the YouTube channel 'Ali Abdaal' and suggest content ideas for a new productivity creator.\",\n", - " expected_output=\"A markdown report with channel strengths, content patterns, audience engagement tips, and content ideas.\",\n", - " agent=yt_agent\n", - ")\n" - ], - "metadata": { - "id": "pplhgO0WglsY" - }, - "id": "pplhgO0WglsY", - "execution_count": 6, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Create Agent System" - ], - "metadata": { - "id": "JCLR8cZEguUV" - }, - "id": "JCLR8cZEguUV" - }, - { - "cell_type": "code", - "source": [ - "yt_intel_system = PraisonAIAgents(\n", - " agents=[yt_agent],\n", - " tasks=[yt_task],\n", - " process=\"sequential\",\n", - " verbose=True\n", - ")\n" - ], - "metadata": { - "id": "DT34DDBmgqbk" - }, - "id": "DT34DDBmgqbk", - "execution_count": 7, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Run the Agent" - ], - "metadata": { - "id": "N1gjbZ33gzzN" - }, - "id": "N1gjbZ33gzzN" - }, - { - "cell_type": "code", - "source": [ - "query = \"Study the YouTube channel 'Ali Abdaal'. What makes it grow? Give tips for new productivity YouTubers.\"\n", - "output = yt_intel_system.start(input=query)\n", - "\n", - "# 🎬 Output\n", - "print(\"🎥 YouTube Intelligence Report:\\n\", output)\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "b04f460c5c974d6b9360a8bea97ab662", - "f464ceb8423c4e4484b6fd5318cca4c6" - ] - }, - "id": "yjM_e2rQgw2h", - "outputId": "90bb00e7-5829-4f53-ef90-ca9df38a3e23" - }, - "id": "yjM_e2rQgw2h", - "execution_count": 8, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mYouTubeInfluencerIntel\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: YouTubeInfluencerIntel                                                                               \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "b04f460c5c974d6b9360a8bea97ab662" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 12.5s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 12.5s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Analyze the growth strategy of the YouTube channel 'Ali Abdaal' and suggest \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m content ideas for a new productivity creator.. Expected Output: A markdown report with channel strengths, \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m content patterns, audience engagement tips, and content ideas.. Please provide only the final result of your \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Analyze the growth strategy of the YouTube channel 'Ali Abdaal' and suggest  \n",
-              " content ideas for a new productivity creator.. Expected Output: A markdown report with channel strengths,       \n",
-              " content patterns, audience engagement tips, and content ideas.. Please provide only the final result of your    \n",
-              " work. Do not add any conversation or extra explanation.                                                         \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m ┃ \u001b[1mYouTube Channel Analysis: Ali Abdaal\u001b[0m ┃ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mChannel Strengths\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mEducational Content\u001b[0m: Ali Abdaal is known for his informative and educational content, focusing on \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mproductivity, personal development, and tech reviews. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAuthenticity\u001b[0m: His genuine and relatable personality helps build trust with his audience. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mConsistency\u001b[0m: Regular uploads and a consistent content schedule keep the audience engaged. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mHigh-Quality Production\u001b[0m: Professional video and audio quality enhance viewer experience. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDiverse Content Formats\u001b[0m: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0maudience preferences. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mContent Patterns\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mProductivity Tips\u001b[0m: Videos often focus on productivity hacks, study techniques, and time management. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBook Reviews and Summaries\u001b[0m: Regularly shares insights from books, appealing to an audience interested in \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mself-improvement. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTech and Tools\u001b[0m: Reviews and recommendations of productivity tools and tech gadgets. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPersonal Development\u001b[0m: Content on habits, routines, and personal growth strategies. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCollaborations\u001b[0m: Features interviews and collaborations with other influencers and experts. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mAudience Engagement Tips\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCommunity Building\u001b[0m: Encourage viewer interaction through comments, polls, and Q&A sessions. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mFeedback Loop\u001b[0m: Regularly ask for audience feedback to tailor content to viewer preferences. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLive Streams\u001b[0m: Host live sessions to engage with the audience in real-time and build a stronger community. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSocial Media Integration\u001b[0m: Use platforms like Instagram and Twitter to engage with the audience outside of \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mYouTube. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mContent Ideas for a New Productivity Creator\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mDaily Routine Vlogs\u001b[0m: Share a day-in-the-life video focusing on productivity habits and routines. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProductivity Challenges\u001b[0m: Create a series where you try different productivity techniques for a week and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mshare results. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mTool Comparisons\u001b[0m: Compare popular productivity tools and apps, providing pros and cons for each. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mCase Studies\u001b[0m: Analyze the productivity habits of successful individuals and extract actionable insights. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mInteractive Workshops\u001b[0m: Host virtual workshops on productivity topics, encouraging viewer participation. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mBehind-the-Scenes\u001b[0m: Offer a glimpse into your content creation process and how you stay productive. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mBook Club\u001b[0m: Start a monthly book club focusing on productivity and personal development books. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m 8 \u001b[0m\u001b[1mMyth Busting\u001b[0m: Debunk common productivity myths and provide evidence-based alternatives. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mTrending Strategies\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mShort-Form Content\u001b[0m: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSEO Optimization\u001b[0m: Use relevant keywords and tags to improve video discoverability. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCross-Promotion\u001b[0m: Collaborate with other creators in the productivity niche to reach new audiences. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSeries Format\u001b[0m: Develop a series around a specific productivity theme to encourage binge-watching. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;4mMonetization Tips\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAffiliate Marketing\u001b[0m: Promote productivity tools and books with affiliate links. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mOnline Courses\u001b[0m: Develop and sell courses on productivity and personal development. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMerchandise\u001b[0m: Create branded merchandise related to productivity themes. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSponsorships\u001b[0m: Partner with brands that align with your content and audience interests. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMemberships\u001b[0m: Offer exclusive content and perks through YouTube memberships or Patreon. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m By leveraging these insights and strategies, a new productivity creator can effectively grow their channel and \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m engage with their audience. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
-              "YouTube Channel Analysis: Ali Abdaal\n",
-              " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                Channel Strengths                                                \n",
-              "                                                                                                                 \n",
-              " Educational Content: Ali Abdaal is known for his informative and educational content, focusing on            \n",
-              "    productivity, personal development, and tech reviews.                                                        \n",
-              " Authenticity: His genuine and relatable personality helps build trust with his audience.                     \n",
-              " Consistency: Regular uploads and a consistent content schedule keep the audience engaged.                    \n",
-              " High-Quality Production: Professional video and audio quality enhance viewer experience.                     \n",
-              " Diverse Content Formats: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different         \n",
-              "    audience preferences.                                                                                        \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                Content Patterns                                                 \n",
-              "                                                                                                                 \n",
-              " Productivity Tips: Videos often focus on productivity hacks, study techniques, and time management.          \n",
-              " Book Reviews and Summaries: Regularly shares insights from books, appealing to an audience interested in     \n",
-              "    self-improvement.                                                                                            \n",
-              " Tech and Tools: Reviews and recommendations of productivity tools and tech gadgets.                          \n",
-              " Personal Development: Content on habits, routines, and personal growth strategies.                           \n",
-              " Collaborations: Features interviews and collaborations with other influencers and experts.                   \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                            Audience Engagement Tips                                             \n",
-              "                                                                                                                 \n",
-              " Community Building: Encourage viewer interaction through comments, polls, and Q&A sessions.                  \n",
-              " Feedback Loop: Regularly ask for audience feedback to tailor content to viewer preferences.                  \n",
-              " Live Streams: Host live sessions to engage with the audience in real-time and build a stronger community.    \n",
-              " Social Media Integration: Use platforms like Instagram and Twitter to engage with the audience outside of    \n",
-              "    YouTube.                                                                                                     \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                  Content Ideas for a New Productivity Creator                                   \n",
-              "                                                                                                                 \n",
-              "  1 Daily Routine Vlogs: Share a day-in-the-life video focusing on productivity habits and routines.             \n",
-              "  2 Productivity Challenges: Create a series where you try different productivity techniques for a week and      \n",
-              "    share results.                                                                                               \n",
-              "  3 Tool Comparisons: Compare popular productivity tools and apps, providing pros and cons for each.             \n",
-              "  4 Case Studies: Analyze the productivity habits of successful individuals and extract actionable insights.     \n",
-              "  5 Interactive Workshops: Host virtual workshops on productivity topics, encouraging viewer participation.      \n",
-              "  6 Behind-the-Scenes: Offer a glimpse into your content creation process and how you stay productive.           \n",
-              "  7 Book Club: Start a monthly book club focusing on productivity and personal development books.                \n",
-              "  8 Myth Busting: Debunk common productivity myths and provide evidence-based alternatives.                      \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                               Trending Strategies                                               \n",
-              "                                                                                                                 \n",
-              " Short-Form Content: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips.    \n",
-              " SEO Optimization: Use relevant keywords and tags to improve video discoverability.                           \n",
-              " Cross-Promotion: Collaborate with other creators in the productivity niche to reach new audiences.           \n",
-              " Series Format: Develop a series around a specific productivity theme to encourage binge-watching.            \n",
-              "                                                                                                                 \n",
-              "                                                                                                                 \n",
-              "                                                Monetization Tips                                                \n",
-              "                                                                                                                 \n",
-              " Affiliate Marketing: Promote productivity tools and books with affiliate links.                              \n",
-              " Online Courses: Develop and sell courses on productivity and personal development.                           \n",
-              " Merchandise: Create branded merchandise related to productivity themes.                                      \n",
-              " Sponsorships: Partner with brands that align with your content and audience interests.                       \n",
-              " Memberships: Offer exclusive content and perks through YouTube memberships or Patreon.                       \n",
-              "                                                                                                                 \n",
-              " By leveraging these insights and strategies, a new productivity creator can effectively grow their channel and  \n",
-              " engage with their audience.                                                                                     \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "🎥 YouTube Intelligence Report:\n", - " # YouTube Channel Analysis: Ali Abdaal\n", - "\n", - "## Channel Strengths\n", - "- **Educational Content**: Ali Abdaal is known for his informative and educational content, focusing on productivity, personal development, and tech reviews.\n", - "- **Authenticity**: His genuine and relatable personality helps build trust with his audience.\n", - "- **Consistency**: Regular uploads and a consistent content schedule keep the audience engaged.\n", - "- **High-Quality Production**: Professional video and audio quality enhance viewer experience.\n", - "- **Diverse Content Formats**: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different audience preferences.\n", - "\n", - "## Content Patterns\n", - "- **Productivity Tips**: Videos often focus on productivity hacks, study techniques, and time management.\n", - "- **Book Reviews and Summaries**: Regularly shares insights from books, appealing to an audience interested in self-improvement.\n", - "- **Tech and Tools**: Reviews and recommendations of productivity tools and tech gadgets.\n", - "- **Personal Development**: Content on habits, routines, and personal growth strategies.\n", - "- **Collaborations**: Features interviews and collaborations with other influencers and experts.\n", - "\n", - "## Audience Engagement Tips\n", - "- **Community Building**: Encourage viewer interaction through comments, polls, and Q&A sessions.\n", - "- **Feedback Loop**: Regularly ask for audience feedback to tailor content to viewer preferences.\n", - "- **Live Streams**: Host live sessions to engage with the audience in real-time and build a stronger community.\n", - "- **Social Media Integration**: Use platforms like Instagram and Twitter to engage with the audience outside of YouTube.\n", - "\n", - "## Content Ideas for a New Productivity Creator\n", - "1. **Daily Routine Vlogs**: Share a day-in-the-life video focusing on productivity habits and routines.\n", - "2. **Productivity Challenges**: Create a series where you try different productivity techniques for a week and share results.\n", - "3. **Tool Comparisons**: Compare popular productivity tools and apps, providing pros and cons for each.\n", - "4. **Case Studies**: Analyze the productivity habits of successful individuals and extract actionable insights.\n", - "5. **Interactive Workshops**: Host virtual workshops on productivity topics, encouraging viewer participation.\n", - "6. **Behind-the-Scenes**: Offer a glimpse into your content creation process and how you stay productive.\n", - "7. **Book Club**: Start a monthly book club focusing on productivity and personal development books.\n", - "8. **Myth Busting**: Debunk common productivity myths and provide evidence-based alternatives.\n", - "\n", - "## Trending Strategies\n", - "- **Short-Form Content**: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips.\n", - "- **SEO Optimization**: Use relevant keywords and tags to improve video discoverability.\n", - "- **Cross-Promotion**: Collaborate with other creators in the productivity niche to reach new audiences.\n", - "- **Series Format**: Develop a series around a specific productivity theme to encourage binge-watching.\n", - "\n", - "## Monetization Tips\n", - "- **Affiliate Marketing**: Promote productivity tools and books with affiliate links.\n", - "- **Online Courses**: Develop and sell courses on productivity and personal development.\n", - "- **Merchandise**: Create branded merchandise related to productivity themes.\n", - "- **Sponsorships**: Partner with brands that align with your content and audience interests.\n", - "- **Memberships**: Offer exclusive content and perks through YouTube memberships or Patreon.\n", - "\n", - "By leveraging these insights and strategies, a new productivity creator can effectively grow their channel and engage with their audience.\n" - ] - } - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "colab": { - "provenance": [] - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "b04f460c5c974d6b9360a8bea97ab662": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_f464ceb8423c4e4484b6fd5318cca4c6", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 12.2s \u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┃ \u001b[1mYouTube Channel Analysis: Ali Abdaal\u001b[0m ┃ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mChannel Strengths\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mEducational Content\u001b[0m: Ali Abdaal is known for his informative and educational content, focusing on \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mproductivity, personal development, and tech reviews. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAuthenticity\u001b[0m: His genuine and relatable personality helps build trust with his audience. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mConsistency\u001b[0m: Regular uploads and a consistent content schedule keep the audience engaged. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mHigh-Quality Production\u001b[0m: Professional video and audio quality enhance viewer experience. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDiverse Content Formats\u001b[0m: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0maudience preferences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mContent Patterns\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mProductivity Tips\u001b[0m: Videos often focus on productivity hacks, study techniques, and time management. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBook Reviews and Summaries\u001b[0m: Regularly shares insights from books, appealing to an audience interested in \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mself-improvement. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTech and Tools\u001b[0m: Reviews and recommendations of productivity tools and tech gadgets. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPersonal Development\u001b[0m: Content on habits, routines, and personal growth strategies. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCollaborations\u001b[0m: Features interviews and collaborations with other influencers and experts. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mAudience Engagement Tips\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCommunity Building\u001b[0m: Encourage viewer interaction through comments, polls, and Q&A sessions. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mFeedback Loop\u001b[0m: Regularly ask for audience feedback to tailor content to viewer preferences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mLive Streams\u001b[0m: Host live sessions to engage with the audience in real-time and build a stronger community. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSocial Media Integration\u001b[0m: Use platforms like Instagram and Twitter to engage with the audience outside of \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mYouTube. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mContent Ideas for a New Productivity Creator\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 1 \u001b[0m\u001b[1mDaily Routine Vlogs\u001b[0m: Share a day-in-the-life video focusing on productivity habits and routines. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 2 \u001b[0m\u001b[1mProductivity Challenges\u001b[0m: Create a series where you try different productivity techniques for a week and \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m \u001b[0mshare results. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 3 \u001b[0m\u001b[1mTool Comparisons\u001b[0m: Compare popular productivity tools and apps, providing pros and cons for each. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 4 \u001b[0m\u001b[1mCase Studies\u001b[0m: Analyze the productivity habits of successful individuals and extract actionable insights. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 5 \u001b[0m\u001b[1mInteractive Workshops\u001b[0m: Host virtual workshops on productivity topics, encouraging viewer participation. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 6 \u001b[0m\u001b[1mBehind-the-Scenes\u001b[0m: Offer a glimpse into your content creation process and how you stay productive. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 7 \u001b[0m\u001b[1mBook Club\u001b[0m: Start a monthly book club focusing on productivity and personal development books. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m 8 \u001b[0m\u001b[1mMyth Busting\u001b[0m: Debunk common productivity myths and provide evidence-based alternatives. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mTrending Strategies\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mShort-Form Content\u001b[0m: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSEO Optimization\u001b[0m: Use relevant keywords and tags to improve video discoverability. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCross-Promotion\u001b[0m: Collaborate with other creators in the productivity niche to reach new audiences. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSeries Format\u001b[0m: Develop a series around a specific productivity theme to encourage binge-watching. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;4mMonetization Tips\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAffiliate Marketing\u001b[0m: Promote productivity tools and books with affiliate links. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mOnline Courses\u001b[0m: Develop and sell courses on productivity and personal development. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMerchandise\u001b[0m: Create branded merchandise related to productivity themes. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSponsorships\u001b[0m: Partner with brands that align with your content and audience interests. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMemberships\u001b[0m: Offer exclusive content and perks through YouTube memberships or Patreon. \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m By leveraging these insights and \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 12.2s ──────────────────────────────────────────────╮\n ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \nYouTube Channel Analysis: Ali Abdaal\n ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n                                                                                                                 \n                                                                                                                 \n                                                Channel Strengths                                                \n                                                                                                                 \n Educational Content: Ali Abdaal is known for his informative and educational content, focusing on            \n    productivity, personal development, and tech reviews.                                                        \n Authenticity: His genuine and relatable personality helps build trust with his audience.                     \n Consistency: Regular uploads and a consistent content schedule keep the audience engaged.                    \n High-Quality Production: Professional video and audio quality enhance viewer experience.                     \n Diverse Content Formats: Utilizes a mix of long-form videos, vlogs, and shorts to cater to different         \n    audience preferences.                                                                                        \n                                                                                                                 \n                                                                                                                 \n                                                Content Patterns                                                 \n                                                                                                                 \n Productivity Tips: Videos often focus on productivity hacks, study techniques, and time management.          \n Book Reviews and Summaries: Regularly shares insights from books, appealing to an audience interested in     \n    self-improvement.                                                                                            \n Tech and Tools: Reviews and recommendations of productivity tools and tech gadgets.                          \n Personal Development: Content on habits, routines, and personal growth strategies.                           \n Collaborations: Features interviews and collaborations with other influencers and experts.                   \n                                                                                                                 \n                                                                                                                 \n                                            Audience Engagement Tips                                             \n                                                                                                                 \n Community Building: Encourage viewer interaction through comments, polls, and Q&A sessions.                  \n Feedback Loop: Regularly ask for audience feedback to tailor content to viewer preferences.                  \n Live Streams: Host live sessions to engage with the audience in real-time and build a stronger community.    \n Social Media Integration: Use platforms like Instagram and Twitter to engage with the audience outside of    \n    YouTube.                                                                                                     \n                                                                                                                 \n                                                                                                                 \n                                  Content Ideas for a New Productivity Creator                                   \n                                                                                                                 \n  1 Daily Routine Vlogs: Share a day-in-the-life video focusing on productivity habits and routines.             \n  2 Productivity Challenges: Create a series where you try different productivity techniques for a week and      \n    share results.                                                                                               \n  3 Tool Comparisons: Compare popular productivity tools and apps, providing pros and cons for each.             \n  4 Case Studies: Analyze the productivity habits of successful individuals and extract actionable insights.     \n  5 Interactive Workshops: Host virtual workshops on productivity topics, encouraging viewer participation.      \n  6 Behind-the-Scenes: Offer a glimpse into your content creation process and how you stay productive.           \n  7 Book Club: Start a monthly book club focusing on productivity and personal development books.                \n  8 Myth Busting: Debunk common productivity myths and provide evidence-based alternatives.                      \n                                                                                                                 \n                                                                                                                 \n                                               Trending Strategies                                               \n                                                                                                                 \n Short-Form Content: Leverage YouTube Shorts to capture attention with quick, impactful productivity tips.    \n SEO Optimization: Use relevant keywords and tags to improve video discoverability.                           \n Cross-Promotion: Collaborate with other creators in the productivity niche to reach new audiences.           \n Series Format: Develop a series around a specific productivity theme to encourage binge-watching.            \n                                                                                                                 \n                                                                                                                 \n                                                Monetization Tips                                                \n                                                                                                                 \n Affiliate Marketing: Promote productivity tools and books with affiliate links.                              \n Online Courses: Develop and sell courses on productivity and personal development.                           \n Merchandise: Create branded merchandise related to productivity themes.                                      \n Sponsorships: Partner with brands that align with your content and audience interests.                       \n Memberships: Offer exclusive content and perks through YouTube memberships or Patreon.                       \n                                                                                                                 \n By leveraging these insights and                                                                                \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "f464ceb8423c4e4484b6fd5318cca4c6": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - } - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} \ No newline at end of file From 8c7c35d317d0ffee7b3efaf7c90c51cbcad289dc Mon Sep 17 00:00:00 2001 From: DhivyaBharathy <157012713+DhivyaBharathy-web@users.noreply.github.com> Date: Sun, 22 Jun 2025 17:56:46 +0530 Subject: [PATCH 7/8] Delete examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb --- .../voiGno_Restaurant_Agent_PraisonAI.ipynb | 547 ------------------ 1 file changed, 547 deletions(-) delete mode 100644 examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb diff --git a/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb b/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb deleted file mode 100644 index f857a6e4..00000000 --- a/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb +++ /dev/null @@ -1,547 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "id": "6068ab0d", - "metadata": { - "id": "6068ab0d" - }, - "source": [ - "# voiGno Restaurant Agent – Voice Booking System with Interruption Handling" - ] - }, - { - "cell_type": "markdown", - "source": [ - "This notebook implements a conversational restaurant booking assistant using the Praison AI Agent framework. It handles natural interruptions such as modifying guest count or changing time mid-conversation. Built for Google Colab Free Tier, it uses OpenAI's GPT-4o model and follows a YAML-based agent design for clarity and modularity." - ], - "metadata": { - "id": "Y9FkDzt1lF47" - }, - "id": "Y9FkDzt1lF47" - }, - { - "cell_type": "markdown", - "source": [ - "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/voiGno_Restaurant_Agent_PraisonAI.ipynb)\n" - ], - "metadata": { - "id": "7Ik-GsSjlPza" - }, - "id": "7Ik-GsSjlPza" - }, - { - "cell_type": "markdown", - "source": [ - "# Dependencies" - ], - "metadata": { - "id": "vOsFg5C0lNg8" - }, - "id": "vOsFg5C0lNg8" - }, - { - "cell_type": "code", - "execution_count": 5, - "id": "c5b33646", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "c5b33646", - "outputId": "3728c81a-e8f4-4fce-e2da-2723937df0b5" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r\u001b[2K \u001b[91m━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m9.9 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[91m╸\u001b[0m\u001b[90m━━━━━━━━━━\u001b[0m \u001b[32m2.4/3.3 MB\u001b[0m \u001b[31m35.4 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m32.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h" - ] - } - ], - "source": [ - "!pip install -q openai duckduckgo_search praisonaiagents" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# OpenAI API + Imports" - ], - "metadata": { - "id": "5wUAjCAwlX-k" - }, - "id": "5wUAjCAwlX-k" - }, - { - "cell_type": "code", - "execution_count": 6, - "id": "c8dbd157", - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "c8dbd157", - "outputId": "2d9209c8-87a1-4093-bcbe-6f53b83867a1" - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Enter your OpenAI API key: ··········\n" - ] - } - ], - "source": [ - "import os\n", - "from getpass import getpass\n", - "\n", - "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", - "import openai\n", - "from praisonaiagents import Agent, Task, PraisonAIAgents\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# YAML Prompt Configuration" - ], - "metadata": { - "id": "1qEN4kLNlcMq" - }, - "id": "1qEN4kLNlcMq" - }, - { - "cell_type": "code", - "execution_count": 7, - "id": "7d20ac12", - "metadata": { - "id": "7d20ac12" - }, - "outputs": [], - "source": [ - "yaml_prompt = \"\"\"\n", - "name: voiGnoRestaurantAgent\n", - "role: Voice restaurant booking assistant with interruption handling\n", - "goal: Coordinate bookings—date, time, guest count—with dynamic corrections\n", - "backstory: You are a friendly, patient assistant that remembers and adapts conversation context.\n", - "skills:\n", - " - Context management\n", - " - Handling mid-conversation changes\n", - " - Summarizing confirmed reservations\n", - "llm: gpt-4o\n", - "verbosity: true\n", - "format: markdown\n", - "\"\"\"\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Define Agent" - ], - "metadata": { - "id": "XcJsL2yple6S" - }, - "id": "XcJsL2yple6S" - }, - { - "cell_type": "code", - "source": [ - "agent = Agent(\n", - " name=\"voiGnoRestaurantAgent\",\n", - " instructions=\"\"\"\n", - "You are a restaurant booking assistant. Handle booking requests naturally,\n", - "manage corrections like “change to 3 guests” or “move to 8 PM,”\n", - "confirm the details once the user is satisfied. Respond in markdown.\n", - "\"\"\",\n", - " llm=\"gpt-4o\",\n", - " verbose=True,\n", - " markdown=True\n", - ")\n" - ], - "metadata": { - "id": "jPfTEPRkkvl8" - }, - "id": "jPfTEPRkkvl8", - "execution_count": 8, - "outputs": [] - }, - { - "cell_type": "markdown", - "source": [ - "# Define Task" - ], - "metadata": { - "id": "okUezUadlhl4" - }, - "id": "okUezUadlhl4" - }, - { - "cell_type": "code", - "execution_count": 9, - "id": "e1de31ba", - "metadata": { - "id": "e1de31ba" - }, - "outputs": [], - "source": [ - "task = Task(\n", - " name=\"VoiceBookingTask\",\n", - " description=\"Assist user in making or updating a restaurant booking with interruptions.\",\n", - " expected_output=\"A markdown-style conversation confirming updated booking details.\",\n", - " agent=agent\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Build Agent System" - ], - "metadata": { - "id": "TmgIxwgZlkI3" - }, - "id": "TmgIxwgZlkI3" - }, - { - "cell_type": "code", - "execution_count": 10, - "id": "1ca36e92", - "metadata": { - "id": "1ca36e92" - }, - "outputs": [], - "source": [ - "booking_system = PraisonAIAgents(\n", - " agents=[agent],\n", - " tasks=[task],\n", - " process=\"sequential\",\n", - " verbose=True\n", - ")\n" - ] - }, - { - "cell_type": "markdown", - "source": [ - "# Run Example Dialogue" - ], - "metadata": { - "id": "D-OG_N_0loEw" - }, - "id": "D-OG_N_0loEw" - }, - { - "cell_type": "code", - "source": [ - "dialog = [\n", - " \"I'd like to book a table for 2 at 7 PM tomorrow.\",\n", - " \"Wait, actually make that 3 people instead.\",\n", - " \"Can we move it to 8 PM?\",\n", - " \"Great, that's perfect!\"\n", - "]\n", - "\n", - "for turn in dialog:\n", - " print(f\"> You: {turn}\")\n", - " response = booking_system.start(input=turn)\n", - " print(response, \"\\n\")\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/", - "height": 1000, - "referenced_widgets": [ - "c605e612d0c9466e90451701534dac7b", - "d77b8417c8c046fbb680d2f35c83a95b" - ] - }, - "id": "A56Lhv0Lk5AT", - "outputId": "a8d64995-03c7-4faa-d08b-ce66757d47b4" - }, - "id": "A56Lhv0Lk5AT", - "execution_count": 11, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "> You: I'd like to book a table for 2 at 7 PM tomorrow.\n" - ] - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mvoiGnoRestaurantAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", - "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
-              "                                                                                                                 \n",
-              "  👤 Agent: voiGnoRestaurantAgent                                                                                \n",
-              "  Role: Assistant                                                                                                \n",
-              "                                                                                                                 \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "Output()" - ], - "application/vnd.jupyter.widget-view+json": { - "version_major": 2, - "version_minor": 0, - "model_id": "c605e612d0c9466e90451701534dac7b" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [], - "text/html": [ - "
\n"
-            ]
-          },
-          "metadata": {}
-        },
-        {
-          "output_type": "display_data",
-          "data": {
-            "text/plain": [
-              "\n"
-            ],
-            "text/html": [
-              "
\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[2mResponse generated in 2.9s\u001b[0m\n" - ], - "text/html": [ - "
Response generated in 2.9s\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m You need to do the following task: Assist user in making or updating a restaurant booking with interruptions.. \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Expected Output: A markdown-style conversation confirming updated booking details.. Please provide only the \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m final result of your work. Do not add any conversation or extra explanation. \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
-              " You need to do the following task: Assist user in making or updating a restaurant booking with interruptions..  \n",
-              " Expected Output: A markdown-style conversation confirming updated booking details.. Please provide only the     \n",
-              " final result of your work. Do not add any conversation or extra explanation.                                    \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": [ - "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1mBooking Confirmation\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m Your restaurant booking has been successfully updated. Here are the details: \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDate:\u001b[0m [Please specify the date] \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTime:\u001b[0m 8:00 PM \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mGuests:\u001b[0m 3 \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", - "\u001b[36m│\u001b[0m If you need further assistance, feel free to ask! \u001b[36m│\u001b[0m\n", - "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" - ], - "text/html": [ - "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
-              " Booking Confirmation                                                                                            \n",
-              "                                                                                                                 \n",
-              " Your restaurant booking has been successfully updated. Here are the details:                                    \n",
-              "                                                                                                                 \n",
-              " Date: [Please specify the date]                                                                              \n",
-              " Time: 8:00 PM                                                                                                \n",
-              " Guests: 3                                                                                                    \n",
-              "                                                                                                                 \n",
-              " If you need further assistance, feel free to ask!                                                               \n",
-              "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
-              "
\n" - ] - }, - "metadata": {} - }, - { - "output_type": "stream", - "name": "stdout", - "text": [ - "**Booking Confirmation**\n", - "\n", - "Your restaurant booking has been successfully updated. Here are the details:\n", - "\n", - "- **Date:** [Please specify the date]\n", - "- **Time:** 8:00 PM\n", - "- **Guests:** 3\n", - "\n", - "If you need further assistance, feel free to ask! \n", - "\n", - "> You: Wait, actually make that 3 people instead.\n", - "**Booking Confirmation**\n", - "\n", - "Your restaurant booking has been successfully updated. Here are the details:\n", - "\n", - "- **Date:** [Please specify the date]\n", - "- **Time:** 8:00 PM\n", - "- **Guests:** 3\n", - "\n", - "If you need further assistance, feel free to ask! \n", - "\n", - "> You: Can we move it to 8 PM?\n", - "**Booking Confirmation**\n", - "\n", - "Your restaurant booking has been successfully updated. Here are the details:\n", - "\n", - "- **Date:** [Please specify the date]\n", - "- **Time:** 8:00 PM\n", - "- **Guests:** 3\n", - "\n", - "If you need further assistance, feel free to ask! \n", - "\n", - "> You: Great, that's perfect!\n", - "**Booking Confirmation**\n", - "\n", - "Your restaurant booking has been successfully updated. Here are the details:\n", - "\n", - "- **Date:** [Please specify the date]\n", - "- **Time:** 8:00 PM\n", - "- **Guests:** 3\n", - "\n", - "If you need further assistance, feel free to ask! \n", - "\n" - ] - } - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "name": "python3" - }, - "colab": { - "provenance": [] - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "c605e612d0c9466e90451701534dac7b": { - "model_module": "@jupyter-widgets/output", - "model_name": "OutputModel", - "model_module_version": "1.0.0", - "state": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "layout": "IPY_MODEL_d77b8417c8c046fbb680d2f35c83a95b", - "msg_id": "", - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "\u001b[32m╭─\u001b[0m\u001b[32m─────────────────────────────────────────────\u001b[0m\u001b[32m Generating... 2.8s \u001b[0m\u001b[32m──────────────────────────────────────────────\u001b[0m\u001b[32m─╮\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1mBooking Confirmation\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m Your restaurant booking has been successfully updated. Here are the details: \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDate:\u001b[0m [Please specify the date] \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTime:\u001b[0m 8:00 PM \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mGuests:\u001b[0m 3 \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m \u001b[32m│\u001b[0m\n\u001b[32m│\u001b[0m If you need further assistance, \u001b[32m│\u001b[0m\n\u001b[32m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n", - "text/html": "
╭────────────────────────────────────────────── Generating... 2.8s ───────────────────────────────────────────────╮\n Booking Confirmation                                                                                            \n                                                                                                                 \n Your restaurant booking has been successfully updated. Here are the details:                                    \n                                                                                                                 \n Date: [Please specify the date]                                                                              \n Time: 8:00 PM                                                                                                \n Guests: 3                                                                                                    \n                                                                                                                 \n If you need further assistance,                                                                                 \n╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n
\n" - }, - "metadata": {} - } - ] - } - }, - "d77b8417c8c046fbb680d2f35c83a95b": { - "model_module": "@jupyter-widgets/base", - "model_name": "LayoutModel", - "model_module_version": "1.2.0", - "state": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null - } - } - } - } - }, - "nbformat": 4, - "nbformat_minor": 5 -} \ No newline at end of file From 5b71e7af4bd61715f5e723d5e4a10f0d2eccac74 Mon Sep 17 00:00:00 2001 From: DhivyaBharathy-web Date: Sun, 22 Jun 2025 12:41:13 +0000 Subject: [PATCH 8/8] Add Crypto_Research_Agent_Intelligence_Agent notebook --- ...to_Research_Agent_Intelligence_Agent.ipynb | 570 ++++++++++++++++++ 1 file changed, 570 insertions(+) create mode 100644 examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb diff --git a/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb b/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb new file mode 100644 index 00000000..496b43be --- /dev/null +++ b/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb @@ -0,0 +1,570 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "c1e38932", + "metadata": { + "id": "c1e38932" + }, + "source": [ + "# Crypto Research Agent: Intelligence Agent\n", + "\n", + "Provides in-depth intelligence on cryptocurrencies and blockchain trends." + ] + }, + { + "cell_type": "markdown", + "id": "AEOWA14-doQb", + "metadata": { + "id": "AEOWA14-doQb" + }, + "source": [ + "[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/DhivyaBharathy-web/PraisonAI/blob/main/examples/cookbooks/Crypto_Research_Agent_Intelligence_Agent.ipynb)\n", + "\n" + ] + }, + { + "cell_type": "markdown", + "id": "BY5w8KLtdNrW", + "metadata": { + "id": "BY5w8KLtdNrW" + }, + "source": [ + "# Dependencies" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "9a818525", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "9a818525", + "outputId": "e7efcca2-e557-4f7b-df9e-aca4819b0f36" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\u001b[?25l \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.0/3.3 MB\u001b[0m \u001b[31m?\u001b[0m eta \u001b[36m-:--:--\u001b[0m\r", + "\u001b[2K \u001b[91m━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m0.3/3.3 MB\u001b[0m \u001b[31m8.5 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r", + "\u001b[2K \u001b[91m━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[90m╺\u001b[0m\u001b[90m━━━━━━━━━━━\u001b[0m \u001b[32m2.3/3.3 MB\u001b[0m \u001b[31m35.3 MB/s\u001b[0m eta \u001b[36m0:00:01\u001b[0m\r", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m33.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h" + ] + } + ], + "source": [ + "!pip install -q praisonaiagents openai duckduckgo_search" + ] + }, + { + "cell_type": "markdown", + "id": "AYjc8JUddT_D", + "metadata": { + "id": "AYjc8JUddT_D" + }, + "source": [ + "# set OpenAI API key" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "88607f1c", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "88607f1c", + "outputId": "c2165b61-d633-467a-9ed7-5470619872b3" + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enter your OpenAI API key: ··········\n" + ] + } + ], + "source": [ + "import os\n", + "from getpass import getpass\n", + "\n", + "# 🔑 Prompt user to input API Key securely\n", + "os.environ[\"OPENAI_API_KEY\"] = getpass(\"Enter your OpenAI API key: \")\n", + "import openai\n", + "openai.api_key = os.getenv(\"OPENAI_API_KEY\")\n" + ] + }, + { + "cell_type": "markdown", + "id": "AdXjFQqfdYgM", + "metadata": { + "id": "AdXjFQqfdYgM" + }, + "source": [ + "# Import PraisonAI Agent tools" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "d4e08a56", + "metadata": { + "id": "d4e08a56" + }, + "outputs": [], + "source": [ + "from praisonaiagents import Agent, Task, PraisonAIAgents" + ] + }, + { + "cell_type": "markdown", + "id": "FdIqAryqdcpx", + "metadata": { + "id": "FdIqAryqdcpx" + }, + "source": [ + "# YAML Prompt to guide the agent's behavior" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "id": "14b09931", + "metadata": { + "id": "14b09931" + }, + "outputs": [], + "source": [ + "yaml_prompt = \"\"\"\n", + "name: CryptoResearcherAgent\n", + "role: Cryptocurrency Intelligence Agent\n", + "goal: Provide accurate, timely, and insightful research on cryptocurrency projects, trends, and risks.\n", + "backstory: You are a professional crypto analyst, skilled in assessing coins, tokens, and DeFi protocols using web research and market trends.\n", + "skills:\n", + " - Analyze tokenomics and utility\n", + " - Evaluate risk factors\n", + " - Identify scams or red flags\n", + " - Summarize project fundamentals\n", + "llm: gpt-4o\n", + "verbosity: true\n", + "format: markdown\n", + "\"\"\"\n" + ] + }, + { + "cell_type": "markdown", + "id": "at0Avm1Jdj8e", + "metadata": { + "id": "at0Avm1Jdj8e" + }, + "source": [ + "# Main" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "427a4c33", + "metadata": { + "id": "427a4c33" + }, + "outputs": [], + "source": [ + "crypto_agent = Agent(\n", + " name=\"CryptoResearcherAgent\",\n", + " instructions=\"\"\"\n", + "You are a cryptocurrency intelligence agent. Use your analytical skills to evaluate coins, blockchain protocols, tokenomics,\n", + "and market trends. Provide critical insight into legitimacy, potential growth, and associated risks.\n", + "Use markdown formatting and structure your research clearly.\n", + "\"\"\",\n", + " llm=\"gpt-4o\",\n", + " verbose=True,\n", + " markdown=True\n", + ")\n" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "WjtlKYqjdCNe", + "metadata": { + "id": "WjtlKYqjdCNe" + }, + "outputs": [], + "source": [ + "crypto_task = Task(\n", + " name=\"CryptoResearchTask\",\n", + " description=\"Research and summarize the fundamentals, risks, and potential of the 'Render Token (RNDR)'\",\n", + " expected_output=\"A detailed markdown report covering utility, tokenomics, risks, growth outlook, and red flags.\",\n", + " agent=crypto_agent\n", + ")\n" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "MxqIDnRQdETe", + "metadata": { + "id": "MxqIDnRQdETe" + }, + "outputs": [], + "source": [ + "crypto_team = PraisonAIAgents(\n", + " agents=[crypto_agent],\n", + " tasks=[crypto_task],\n", + " process=\"sequential\",\n", + " verbose=True\n", + ")\n" + ] + }, + { + "cell_type": "markdown", + "id": "hAs8UHnYdhsE", + "metadata": { + "id": "hAs8UHnYdhsE" + }, + "source": [ + "# Query the agent with a specific token or trend" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "236n5O9mdHQY", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000, + "referenced_widgets": [ + "70fae1edbacb4b3592d5aab39d96c41d", + "1cfd76f73f0a44989fdcfd0b3cb2c12d" + ] + }, + "id": "236n5O9mdHQY", + "outputId": "d519c155-03d0-4610-dfe3-b22855a260d4" + }, + "outputs": [ + { + "data": { + "text/html": [ + "
╭─ Agent Info ────────────────────────────────────────────────────────────────────────────────────────────────────╮\n",
+       "                                                                                                                 \n",
+       "  👤 Agent: CryptoResearcherAgent                                                                                \n",
+       "  Role: Assistant                                                                                                \n",
+       "                                                                                                                 \n",
+       "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[38;2;210;227;200m╭─\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[1;38;2;210;227;200mAgent Info\u001b[0m\u001b[38;2;210;227;200m \u001b[0m\u001b[38;2;210;227;200m───────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\u001b[38;2;210;227;200m─╮\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;255;155;155m👤 Agent:\u001b[0m \u001b[38;2;255;229;229mCryptoResearcherAgent\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[1;38;2;180;180;179mRole:\u001b[0m \u001b[38;2;255;229;229mAssistant\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m│\u001b[0m \u001b[38;2;210;227;200m│\u001b[0m\n", + "\u001b[38;2;210;227;200m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "70fae1edbacb4b3592d5aab39d96c41d", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
\n"
+      ],
+      "text/plain": []
+     },
+     "metadata": {},
+     "output_type": "display_data"
+    },
+    {
+     "data": {
+      "text/html": [
+       "
\n",
+       "
\n" + ], + "text/plain": [ + "\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
Response generated in 9.7s\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[2mResponse generated in 9.7s\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
╭───────────────────────────────────────────────────── Task ──────────────────────────────────────────────────────╮\n",
+       " You need to do the following task: Research and summarize the fundamentals, risks, and potential of the 'Render \n",
+       " Token (RNDR)'. Expected Output: A detailed markdown report covering utility, tokenomics, risks, growth outlook, \n",
+       " and red flags.. Please provide only the final result of your work. Do not add any conversation or extra         \n",
+       " explanation.                                                                                                    \n",
+       "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m────────────────────────────────────────────────────\u001b[0m\u001b[36m Task \u001b[0m\u001b[36m─────────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m You need to do the following task: Research and summarize the fundamentals, risks, and potential of the 'Render \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Token (RNDR)'. Expected Output: A detailed markdown report covering utility, tokenomics, risks, growth outlook, \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m and red flags.. Please provide only the final result of your work. Do not add any conversation or extra \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m explanation. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "text/html": [ + "
╭─────────────────────────────────────────────────── Response ────────────────────────────────────────────────────╮\n",
+       " ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \n",
+       "Render Token (RNDR) Analysis\n",
+       " ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                    Overview                                                     \n",
+       "                                                                                                                 \n",
+       " Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network    \n",
+       " built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle  \n",
+       " GPUs to spare, facilitating a marketplace for rendering services.                                               \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                     Utility                                                     \n",
+       "                                                                                                                 \n",
+       " Rendering Services: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \n",
+       "    rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for        \n",
+       "    completing these tasks.                                                                                      \n",
+       " Decentralized Network: By leveraging idle GPU resources globally, Render Network offers a decentralized      \n",
+       "    alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.   \n",
+       " Blockchain Integration: The use of blockchain ensures transparency, security, and immutability of            \n",
+       "    transactions within the network.                                                                             \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                   Tokenomics                                                    \n",
+       "                                                                                                                 \n",
+       " Supply: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for        \n",
+       "    rendering services increases.                                                                                \n",
+       " Distribution: Tokens are distributed to node operators as compensation for rendering services, incentivizing \n",
+       "    participation in the network.                                                                                \n",
+       " Staking: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their          \n",
+       "    interests with the network's integrity.                                                                      \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                      Risks                                                      \n",
+       "                                                                                                                 \n",
+       " Market Competition: Render Network faces competition from established cloud rendering services like AWS and  \n",
+       "    Google Cloud, which have significant resources and market presence.                                          \n",
+       " Adoption and Demand: The success of RNDR is heavily reliant on the adoption of the Render Network. If the    \n",
+       "    network fails to attract a substantial user base, demand for RNDR could stagnate.                            \n",
+       " Regulatory Risks: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact   \n",
+       "    its utility and marketability.                                                                               \n",
+       " Technical Challenges: Ensuring the network's reliability and security is crucial. Any technical failures     \n",
+       "    could undermine trust and deter users.                                                                       \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                 Growth Outlook                                                  \n",
+       "                                                                                                                 \n",
+       " Increasing Demand for Rendering: As industries like gaming, film, and virtual reality continue to grow, the  \n",
+       "    demand for rendering services is expected to rise, potentially benefiting RNDR.                              \n",
+       " Partnerships and Integrations: Strategic partnerships with industry players could enhance the network's      \n",
+       "    credibility and expand its user base.                                                                        \n",
+       " Technological Advancements: Improvements in blockchain technology and GPU capabilities could enhance the     \n",
+       "    efficiency and appeal of the Render Network.                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                    Red Flags                                                    \n",
+       "                                                                                                                 \n",
+       " Centralization Concerns: While the network is decentralized, the initial distribution and control of tokens  \n",
+       "    could raise concerns about centralization.                                                                   \n",
+       " Volatility: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its    \n",
+       "    stability as a utility token.                                                                                \n",
+       " Dependency on Ethereum: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including    \n",
+       "    its scalability and transaction costs.                                                                       \n",
+       "                                                                                                                 \n",
+       "                                                                                                                 \n",
+       "                                                   Conclusion                                                    \n",
+       "                                                                                                                 \n",
+       " Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain   \n",
+       " technology to create a marketplace for GPU power. While it has potential for growth, particularly with          \n",
+       " increasing demand for rendering, it faces significant risks from competition, adoption challenges, and          \n",
+       " regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with \n",
+       " RNDR.                                                                                                           \n",
+       "╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
+       "
\n" + ], + "text/plain": [ + "\u001b[36m╭─\u001b[0m\u001b[36m──────────────────────────────────────────────────\u001b[0m\u001b[36m Response \u001b[0m\u001b[36m───────────────────────────────────────────────────\u001b[0m\u001b[36m─╮\u001b[0m\n", + "\u001b[36m│\u001b[0m ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┃ \u001b[1mRender Token (RNDR) Analysis\u001b[0m ┃ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mOverview\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m GPUs to spare, facilitating a marketplace for rendering services. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mUtility\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRendering Services\u001b[0m: RNDR is primarily used to pay for rendering services on the Render Network. Users submit \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mrendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcompleting these tasks. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDecentralized Network\u001b[0m: By leveraging idle GPU resources globally, Render Network offers a decentralized \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0malternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mBlockchain Integration\u001b[0m: The use of blockchain ensures transparency, security, and immutability of \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mtransactions within the network. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mTokenomics\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mSupply\u001b[0m: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mrendering services increases. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDistribution\u001b[0m: Tokens are distributed to node operators as compensation for rendering services, incentivizing \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mparticipation in the network. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mStaking\u001b[0m: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0minterests with the network's integrity. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mRisks\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mMarket Competition\u001b[0m: Render Network faces competition from established cloud rendering services like AWS and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mGoogle Cloud, which have significant resources and market presence. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mAdoption and Demand\u001b[0m: The success of RNDR is heavily reliant on the adoption of the Render Network. If the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mnetwork fails to attract a substantial user base, demand for RNDR could stagnate. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mRegulatory Risks\u001b[0m: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mits utility and marketability. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnical Challenges\u001b[0m: Ensuring the network's reliability and security is crucial. Any technical failures \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcould undermine trust and deter users. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mGrowth Outlook\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mIncreasing Demand for Rendering\u001b[0m: As industries like gaming, film, and virtual reality continue to grow, the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mdemand for rendering services is expected to rise, potentially benefiting RNDR. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mPartnerships and Integrations\u001b[0m: Strategic partnerships with industry players could enhance the network's \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcredibility and expand its user base. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mTechnological Advancements\u001b[0m: Improvements in blockchain technology and GPU capabilities could enhance the \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mefficiency and appeal of the Render Network. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mRed Flags\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mCentralization Concerns\u001b[0m: While the network is decentralized, the initial distribution and control of tokens \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mcould raise concerns about centralization. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mVolatility\u001b[0m: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mstability as a utility token. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m • \u001b[0m\u001b[1mDependency on Ethereum\u001b[0m: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;33m \u001b[0mits scalability and transaction costs. \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[1;4mConclusion\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m technology to create a marketplace for GPU power. While it has potential for growth, particularly with \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m increasing demand for rendering, it faces significant risks from competition, adoption challenges, and \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with \u001b[36m│\u001b[0m\n", + "\u001b[36m│\u001b[0m RNDR. \u001b[36m│\u001b[0m\n", + "\u001b[36m╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯\u001b[0m\n" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "🪙 Crypto Research Report:\n", + " # Render Token (RNDR) Analysis\n", + "\n", + "## Overview\n", + "Render Token (RNDR) is a utility token used within the Render Network, a decentralized GPU rendering network built on the Ethereum blockchain. It aims to connect users in need of rendering power with those who have idle GPUs to spare, facilitating a marketplace for rendering services.\n", + "\n", + "## Utility\n", + "- **Rendering Services**: RNDR is primarily used to pay for rendering services on the Render Network. Users submit rendering jobs and pay in RNDR tokens, while node operators (those providing GPU power) earn RNDR for completing these tasks.\n", + "- **Decentralized Network**: By leveraging idle GPU resources globally, Render Network offers a decentralized alternative to traditional cloud rendering services, potentially reducing costs and increasing efficiency.\n", + "- **Blockchain Integration**: The use of blockchain ensures transparency, security, and immutability of transactions within the network.\n", + "\n", + "## Tokenomics\n", + "- **Supply**: RNDR has a capped supply, which can create scarcity and potentially drive value as demand for rendering services increases.\n", + "- **Distribution**: Tokens are distributed to node operators as compensation for rendering services, incentivizing participation in the network.\n", + "- **Staking**: Node operators may need to stake RNDR tokens as a form of security deposit, aligning their interests with the network's integrity.\n", + "\n", + "## Risks\n", + "- **Market Competition**: Render Network faces competition from established cloud rendering services like AWS and Google Cloud, which have significant resources and market presence.\n", + "- **Adoption and Demand**: The success of RNDR is heavily reliant on the adoption of the Render Network. If the network fails to attract a substantial user base, demand for RNDR could stagnate.\n", + "- **Regulatory Risks**: As with many cryptocurrencies, RNDR is subject to regulatory scrutiny which could impact its utility and marketability.\n", + "- **Technical Challenges**: Ensuring the network's reliability and security is crucial. Any technical failures could undermine trust and deter users.\n", + "\n", + "## Growth Outlook\n", + "- **Increasing Demand for Rendering**: As industries like gaming, film, and virtual reality continue to grow, the demand for rendering services is expected to rise, potentially benefiting RNDR.\n", + "- **Partnerships and Integrations**: Strategic partnerships with industry players could enhance the network's credibility and expand its user base.\n", + "- **Technological Advancements**: Improvements in blockchain technology and GPU capabilities could enhance the efficiency and appeal of the Render Network.\n", + "\n", + "## Red Flags\n", + "- **Centralization Concerns**: While the network is decentralized, the initial distribution and control of tokens could raise concerns about centralization.\n", + "- **Volatility**: Like many cryptocurrencies, RNDR is subject to high market volatility, which could affect its stability as a utility token.\n", + "- **Dependency on Ethereum**: As an ERC-20 token, RNDR's performance is tied to the Ethereum network, including its scalability and transaction costs.\n", + "\n", + "## Conclusion\n", + "Render Token (RNDR) presents a promising solution for decentralized rendering services, leveraging blockchain technology to create a marketplace for GPU power. While it has potential for growth, particularly with increasing demand for rendering, it faces significant risks from competition, adoption challenges, and regulatory scrutiny. Investors and users should weigh these factors carefully when considering involvement with RNDR.\n" + ] + } + ], + "source": [ + "query = \"Research Render Token (RNDR), its tokenomics, risks, and growth potential.\"\n", + "output = crypto_team.start(input=query)\n", + "\n", + "# 📄 Output the result\n", + "print(\"🪙 Crypto Research Report:\\n\", output)\n" + ] + } + ], + "metadata": { + "colab": { + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}