本地大漠模型联调,阿里百炼token

This commit is contained in:
2026-04-05 18:23:04 +08:00
parent db0bde39e3
commit 6043dc2665
8 changed files with 109 additions and 32 deletions

View File

@@ -189,6 +189,18 @@ public class AudioManagement implements Serializable {
@TableField("summary")
private String summary;
@Schema(description = "大模型调用总 token 数")
@TableField("total_tokens")
private Integer totalTokens;
@Schema(description = "大模型输入 token 数")
@TableField("input_tokens")
private Integer inputTokens;
@Schema(description = "大模型输出 token 数")
@TableField("output_tokens")
private Integer outputTokens;
/**
* 前端上传的录音文件
* 此字段不保存在数据库中,仅用于接收前端上传的文件