From 43bb2a9f63357a9874ac543eaaf4fa0d15330075 Mon Sep 17 00:00:00 2001 From: Guohao Li Date: Sat, 9 Sep 2023 00:59:57 +0300 Subject: [PATCH] Add `wechat` account (#282) --- README.md | 11 ++++++++--- camel/functions/search_functions.py | 3 +-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d4667fb2c..0da2bb3de 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,17 @@ Open In Colab + + Hugging Face + Slack Discord - - Hugging Face + + Discord Twitter Follow @@ -50,7 +53,9 @@ The rapid advancement of conversational and chat-based language models has led to remarkable progress in complex task-solving. However, their success heavily relies on human input to guide the conversation, which can be challenging and time-consuming. This paper explores the potential of building scalable techniques to facilitate autonomous cooperation among communicative agents and provide insight into their "cognitive" processes. To address the challenges of achieving autonomous cooperation, we propose a novel communicative agent framework named *role-playing*. Our approach involves using *inception prompting* to guide chat agents toward task completion while maintaining consistency with human intentions. We showcase how role-playing can be used to generate conversational data for studying the behaviors and capabilities of chat agents, providing a valuable resource for investigating conversational language models. Our contributions include introducing a novel communicative agent framework, offering a scalable approach for studying the cooperative behaviors and capabilities of multi-agent systems, and open-sourcing our library to support research on communicative agents and beyond. The GitHub repository of this project is made publicly available on: [https://github.com/camel-ai/camel](https://github.com/camel-ai/camel). ## Community -🐫 CAMEL is an open-source library designed for the study of autonomous and communicative agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments. Join us ([slack](https://join.slack.com/t/camel-kwr1314/shared_invite/zt-1vy8u9lbo-ZQmhIAyWSEfSwLCl2r2eKA), [discord](https://discord.gg/CNcNpquyDc)) in pushing the boundaries of simulating AI Society with CAMEL. +🐫 CAMEL is an open-source library designed for the study of autonomous and communicative agents. We believe that studying these agents on a large scale offers valuable insights into their behaviors, capabilities, and potential risks. To facilitate research in this field, we implement and support various types of agents, tasks, prompts, models, and simulated environments. + +Join us ([*Slack*](https://join.slack.com/t/camel-kwr1314/shared_invite/zt-1vy8u9lbo-ZQmhIAyWSEfSwLCl2r2eKA), [*Discord*](https://discord.gg/CNcNpquyDc) or [*WeChat*](https://ghli.org/camel/wechat.png)) in pushing the boundaries of building AI Societiy. ## Try it yourself We provide a [![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1AzP33O8rnMW__7ocWJhVBXjKziJXPtim?usp=sharing) demo showcasing a conversation between two ChatGPT agents playing roles as a python programmer and a stock trader collaborating on developing a trading bot for stock market. diff --git a/camel/functions/search_functions.py b/camel/functions/search_functions.py index b3b213500..faaca8e77 100644 --- a/camel/functions/search_functions.py +++ b/camel/functions/search_functions.py @@ -13,8 +13,6 @@ # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== from typing import List -import wikipedia - from .openai_function import OpenAIFunction @@ -29,6 +27,7 @@ def search_wiki(entity: str) -> str: string: The search result. If the page corresponding to the entity exists, return the summary of this entity in a string. """ + import wikipedia result: str try: