Commit 842116de authored by alex yao's avatar alex yao

优化OCR图片插件

parent 99c3f494
......@@ -39,7 +39,7 @@ public class ImageOCRFunction extends AbstractLargeModelFunction {
.addProperties("image_url", new Properties("string", "图片地址")))
.build();
private String prompt = "帮我根据问题和图片给出回复";
private String prompt = "根据用户上传的图片和提出的问题,对图片内容进行提取后根据提出的问题进行总结回答,若是不理解用户提出的问题,则只需要输出图片中的文字内容即可无需对其进行总结等行为,请严格遵守以上内容。";
private String model = "Doubao-vision-lite-32k";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment