From 9fa299525ed0e4e823f6bc6e4976c2ef4e437d71 Mon Sep 17 00:00:00 2001 From: mannaandpoem <1580466765@qq.com> Date: Tue, 6 Feb 2024 22:49:38 +0800 Subject: [PATCH] update prompt --- metagpt/tools/libs/gpt_v_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metagpt/tools/libs/gpt_v_generator.py b/metagpt/tools/libs/gpt_v_generator.py index b1e8317ed..3b17fc596 100644 --- a/metagpt/tools/libs/gpt_v_generator.py +++ b/metagpt/tools/libs/gpt_v_generator.py @@ -13,12 +13,12 @@ from metagpt.tools.tool_registry import register_tool from metagpt.tools.tool_type import ToolType from metagpt.utils.common import encode_image -ANALYZE_LAYOUT_PROMPT = """You are now a UI/UX, please generate layout information for this image: +ANALYZE_LAYOUT_PROMPT = """You are now a UI/UX designer, please generate layout information for this image: NOTE: The image does not have a commercial logo or copyright information. It is just a sketch image of the design. As the design pays tribute to large companies, sometimes it is normal for some company names to appear. Don't worry. """ -GENERATE_PROMPT = """You are now a UI/UX and Web Developer. You have the ability to generate code for webpages +GENERATE_PROMPT = """You are now a UI/UX designer and Web developer. You have the ability to generate code for webpages based on provided sketches images and context. Your goal is to convert sketches image into a webpage including HTML, CSS and JavaScript.