🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
docs: Add figure to OpenBB cookbook (#1502)
Harry Yec5af1c414b40
diff --git a/docs/cookbooks/applications/finance_discord_bot.ipynb b/docs/cookbooks/applications/finance_discord_bot.ipynbindex be2487f5e..2d7ce0a47 100644--- a/docs/cookbooks/applications/finance_discord_bot.ipynb+++ b/docs/cookbooks/applications/finance_discord_bot.ipynb@@ -6,7 +6,7 @@"id": "ymsq1Lw0VEqT"},"source": [- "# 📈 Customer Service Discord Bot for Finance with OpenBB\n"+ "# Customer Service Discord Bot for Finance with OpenBB\n"]},{@@ -53,6 +53,15 @@"This setup not only demonstrates a practical application of AI-driven financial assistance but also provides a robust framework adaptable to other domains requiring multi-agent collaboration, real-time data integration, and natural language interfaces."]},+ {+ "cell_type": "markdown",+ "metadata": {+ "id": "2jPxfcAHDtEY"+ },+ "source": [+ ""+ ]+ },{"cell_type": "markdown","metadata": {@@ -120,7 +129,7 @@"id": "jqV12oQfQTyl"},"source": [- "### Setting up Qwen API Key\n",+ "## Setting up Qwen API Key\n","In this tutorial, we will be using **Qwen** model. Qwen is a large language model developed by Alibaba Cloud. It is trained on a massive dataset of text and code and can generate text, translate languages, write different kinds of creative content, and answer your questions in an informative way.\n","\n","You'll need to set up your API keys for Qwen. This ensures that the tools can interact with external services securely.\n",@@ -197,16 +206,17 @@"## Setting up OpenBB Personal Access Token (PAT)\n","**OpenBB** is an open-source platform designed for advanced investment research, empowering users with tools to analyze financial data, create visualizations, and generate detailed reports. Catering to retail investors, financial analysts, and enthusiasts, OpenBB provides access to functionalities typically available only on expensive institutional platforms. It supports stock data exploration, portfolio analysis, market trend evaluation, and integration with premium APIs, all through an intuitive terminal or command-line interface.\n","\n",- "**CAMEL** has integrated an **OpenBB toolkit** that allows CAMEL agents to access plenty of OpenBB's powerful functions easily. For more information about the toolkit, please refer to the [documentation](https://docs.camel-ai.org/camel.toolkits.html#camel.toolkits.OpenBBToolkit).\n",+ "**CAMEL** has integrated an **OpenBB toolkit** that allows CAMEL agents to access plenty of OpenBB's powerful functions easily. For more information about the toolkit, please refer to the [OpenBBToolkit documentation](https://docs.camel-ai.org/camel.toolkits.html#camel.toolkits.OpenBBToolkit).\n","\n","To use the toolkit, we would need an OpennBB Personal Access Token (PAT).\n","\n","### How to obtain an OpenBB PAT\n",- "1. Please login to the [OpenBB Platform](https://my.openbb.co/app/platform/examples) or sign up as prompted if you do not have an account yet.\n",+ "1. Please login to the [OpenBB Platform](https://my.openbb.co/app/platform) or sign up as prompted if you do not have an account yet.\n","2. In 'SETTINGS', go to 'Personal Access Token'.\n","3. You can now see your OpenBB personal access token (PAT).\n","\n",- "Please refer to OpenBB’s documentation for more details.\n"+ "**Note:**\n",+ "Before fetching financial data with OpenBB, please ensure you have set up the necessary API keys for data providers. For detailed instructions on saving your API keys to your OpenBB account, please refer to the [OpenBB Getting Started Guide](https://docs.openbb.co/platform/getting_started/api_keys).\n"]},{@@ -254,12 +264,14 @@"colab": {"base_uri": "https://localhost:8080/"},+ "collapsed": true,"id": "ukAya-TiwoHr","outputId": "a07e42fa-60eb-4a11-9643-c1d2f3714667"},"outputs": [],"source": ["from camel.agents import ChatAgent\n",+ "from camel.messages import BaseMessage\n","from camel.toolkits import OpenBBToolkit, FunctionTool\n","from datetime import date\n","\n",@@ -428,7 +440,7 @@"To build a discord bot, a discord bot token is necessary.\n","\n","If you don't have a bot token, you can obtain one by following these steps:\n",- "1. Go to the Discord Developer Portal:https://discord.com/developers/applications\n",+ "1. Go to the Discord Developer Portal: https://discord.com/developers/applications\n","2. Log in with your Discord account, or create an account if you don't have one\n","3. Click on 'New Application' to create a new bot.\n","4. Give your application a name and click 'Create'.\n",