mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-03-25 10:33:43 +08:00
提取PDF中的图片并调用大模型,识别图片内容并返回
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package org.ruoyi.domain;
|
||||
|
||||
/**
|
||||
* 文件内容结果封装类
|
||||
*/
|
||||
public class PdfFileContentResult {
|
||||
private String filename;
|
||||
private String content;
|
||||
|
||||
public PdfFileContentResult(String filename, String content) {
|
||||
this.filename = filename;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getFilename() {
|
||||
return filename;
|
||||
}
|
||||
|
||||
public void setFilename(String filename) {
|
||||
this.filename = filename;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user