重新修改提示词和返回值
This commit is contained in:
@@ -104,6 +104,13 @@ public class ImageRecognitionTest implements CommandLineRunner {
|
||||
item.getSpecification());
|
||||
}
|
||||
}
|
||||
|
||||
if (result.getAttributes() != null) {
|
||||
log.info("属性数量: {}", result.getAttributes().size());
|
||||
for (ImageRecognitionVo.AttributeVo attr : result.getAttributes()) {
|
||||
log.info("属性: {} = {}", attr.getAttrKey(), attr.getAttrValue());
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("BOM识别测试异常", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user