diff --git a/community_usecase/product_survey/main.py b/community_usecase/product_research/main.py similarity index 86% rename from community_usecase/product_survey/main.py rename to community_usecase/product_research/main.py index 86a2040..75420a5 100644 --- a/community_usecase/product_survey/main.py +++ b/community_usecase/product_research/main.py @@ -63,37 +63,37 @@ def construct_society(question: str) -> RolePlaying: models = { "user": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), "assistant": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), "browsing": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), "planning": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), "video": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), "image": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), "document": ModelFactory.create( model_platform=ModelPlatformType.OPENAI, - model_type=ModelType.GPT_4_1, + model_type=ModelType.GPT_4O, model_config_dict={"temperature": 0}, ), } @@ -111,7 +111,7 @@ def construct_society(question: str) -> RolePlaying: *AudioAnalysisToolkit().get_tools(), # This requires OpenAI Key *CodeExecutionToolkit(sandbox="subprocess", verbose=True).get_tools(), *ImageAnalysisToolkit(model=models["image"]).get_tools(), - SearchToolkit().search_duckduckgo, + # SearchToolkit().search_duckduckgo, SearchToolkit().search_google, # Comment this out if you don't have google search SearchToolkit().search_wiki, *ExcelToolkit().get_tools(), @@ -144,7 +144,11 @@ def construct_society(question: str) -> RolePlaying: def main(): r"""Main function to run the OWL system with an example question.""" # Default research question - default_task = "please give me a product survey report for manus product.which official web url is https://manus.im.And then using vite to create react framework to make a ppt website for it.Finally,download the this web into pdf file and open it by local app.please make full use of the Browsertoolkit、TerminalToolkit、PyAutoGUIToolkit、FileWriteToolkit etc." + default_task = """ +please give me a product research report for Manus vs OWL.there are official web url are https://manus.im and https://github.com/camel-ai/owl. +and then put the content in markdown format.then using markdown-pdf to convert the markdown file into pdf file. refer:https://www.npmjs.com/package/markdown-pdf. +Finally,search the suitable local app to open this pdf by local app.please make full use of the Browsertoolkit、TerminalToolkit、PyAutoGUIToolkit、FileWriteToolkit etc. +""" # Override default task if command line argument is provided task = sys.argv[1] if len(sys.argv) > 1 else default_task