From 3527e8a14ddfd8ed2680992edd99d8f80f37ac75 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Tue, 11 Jul 2023 10:45:04 -0700 Subject: [PATCH] update colab link (#1118) * update colab link * typo * upload file instruction --- notebook/autogen_agent_planning.ipynb | 6 +++--- notebook/autogen_agent_web_info.ipynb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/notebook/autogen_agent_planning.ipynb b/notebook/autogen_agent_planning.ipynb index c33568deb..5a0d1028b 100644 --- a/notebook/autogen_agent_planning.ipynb +++ b/notebook/autogen_agent_planning.ipynb @@ -5,7 +5,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "\"Open" + "\"Open" ] }, { @@ -21,7 +21,7 @@ "\n", "FLAML offers an experimental feature of interactive LLM agents, which can be used to solve various tasks with human or automatic feedback, including tasks that require using tools via code.\n", "\n", - "In this notebook, we demonstrate how to use multiple agents to work together and accomplish a task which requires finding info from the web and coding. `AssistantAgent` is an LLM-based agent that can write Python code (in a Python coding block) for a user to execute for a given task. `UserProxyAgent` is an agent which serves as a proxy for a user to execute the code written by `AssistantAgent`. We further create an planning agent for the assistant agent to consult. The planning agent is a variation of the `AssistantAgent`.\n", + "In this notebook, we demonstrate how to use multiple agents to work together and accomplish a task which requires finding info from the web and coding. `AssistantAgent` is an LLM-based agent that can write Python code (in a Python coding block) for a user to execute for a given task. `UserProxyAgent` is an agent which serves as a proxy for a user to execute the code written by `AssistantAgent`. We further create a planning agent for the assistant agent to consult. The planning agent is a variation of the `AssistantAgent`.\n", "\n", "## Requirements\n", "\n", @@ -62,7 +62,7 @@ "- Azure OpenAI API key: os.environ[\"AZURE_OPENAI_API_KEY\"] or `aoai_api_key_file=\"key_aoai.txt\"`. Multiple keys can be stored, one per line.\n", "- Azure OpenAI API base: os.environ[\"AZURE_OPENAI_API_BASE\"] or `aoai_api_base_file=\"base_aoai.txt\"`. Multiple bases can be stored, one per line.\n", "\n", - "It's OK to have only the OpenAI API key, or only the Azure OpenAI API key + base.\n" + "It's OK to have only the OpenAI API key, or only the Azure OpenAI API key + base. If you open this notebook in colab, you can upload your files by clicking the file icon on the left panel and then choose \"upload file\" icon.\n" ] }, { diff --git a/notebook/autogen_agent_web_info.ipynb b/notebook/autogen_agent_web_info.ipynb index 72e6258a0..1e006bdbe 100644 --- a/notebook/autogen_agent_web_info.ipynb +++ b/notebook/autogen_agent_web_info.ipynb @@ -64,7 +64,7 @@ "- Azure OpenAI API key: os.environ[\"AZURE_OPENAI_API_KEY\"] or `aoai_api_key_file=\"key_aoai.txt\"`. Multiple keys can be stored, one per line.\n", "- Azure OpenAI API base: os.environ[\"AZURE_OPENAI_API_BASE\"] or `aoai_api_base_file=\"base_aoai.txt\"`. Multiple bases can be stored, one per line.\n", "\n", - "It's OK to have only the OpenAI API key, or only the Azure OpenAI API key + base.\n", + "It's OK to have only the OpenAI API key, or only the Azure OpenAI API key + base. If you open this notebook in colab, you can upload your files by clicking the file icon on the left panel and then choose \"upload file\" icon.\n", "\n", "The following code excludes openai endpoints from the config list.\n", "Change to `exclude=\"aoai\"` to exclude Azure OpenAI, or remove the `exclude` argument to include both.\n"