60 lines
1.7 KiB
C#
60 lines
1.7 KiB
C#
using FreeRedis;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using VideoAnalysisCore.Enum;
|
|
using VideoAnalysisCore.Model.Dto;
|
|
|
|
namespace VideoAnalysisCore.AICore.ChatGPT.Dto
|
|
{
|
|
public class CallGPTRes
|
|
{
|
|
public CallGPTRes()
|
|
{
|
|
}
|
|
public CallGPTRes(TotalCaptionsDto captions)
|
|
{
|
|
this.TeacherSpeaking = captions.TeacherSpeaking;
|
|
this.TimeBase = captions.TimeBase;
|
|
this.StudentSpeaking = captions.StudentSpeaking;
|
|
}
|
|
/// <summary>
|
|
/// 教师发言时间
|
|
/// <para>秒</para>
|
|
/// </summary>
|
|
public decimal TeacherSpeaking { get; set; } = 0;
|
|
/// <summary>
|
|
/// 学生发言时间
|
|
/// <para>秒</para>
|
|
/// </summary>
|
|
public decimal StudentSpeaking { get; set; } = 0;
|
|
/// <summary>
|
|
/// 高频词汇 从高到低
|
|
/// </summary>
|
|
public string[] Hotwords { get; set; }
|
|
/// <summary>
|
|
/// 教师提问类型
|
|
/// </summary>
|
|
public Dictionary<TeacherAnswerTypeEnum, int>? QuestionType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 时间段概览
|
|
/// </summary>
|
|
public IEnumerable<TimeBase>? TimeOverview { get; set; }
|
|
/// <summary>
|
|
/// 视频时间轴
|
|
/// </summary>
|
|
public IEnumerable<TimeBase>? TimeBase { get; set; }
|
|
/// <summary>
|
|
/// GPT模型id
|
|
/// </summary>
|
|
public string GPTModel { get; set; } = string.Empty;
|
|
/// <summary>
|
|
/// AI综合评估
|
|
/// </summary>
|
|
public AssessmentDto Assessment { get; set; } = default!;
|
|
}
|
|
}
|