修复 更改模型的引用
This commit is contained in:
parent
b161d83aac
commit
270395e939
|
|
@ -24,8 +24,6 @@ namespace VideoAnalysisCore.AICore.GPT
|
|||
//public const string Gemini_3_Chat_thinking = "gemini-3-pro-preview-thinking";
|
||||
public const string Gemini_3_Chat = "gemini-3.1-pro-preview";
|
||||
//public const string Gemini_3_Chat_flash = "gemini-3-flash-preview";
|
||||
public const string Gemini_31_Chat_flash = "gemini-3.1-flash-preview";
|
||||
|
||||
|
||||
public const string Gemini_31_Chat_flash = "gemini-3.1-flash-lite-preview";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ namespace VideoAnalysisCore.AICore.GPT
|
|||
输出格式:
|
||||
输出格式为json: {checkResFormat}
|
||||
""";
|
||||
return await chatGPTClient.ChatAsync<CheckMessageDto>(taskInfo.Id.ToString(), checkMessage, "结果检查");
|
||||
return await chatGPTClient.ChatAsync<CheckMessageDto>(taskInfo.Id.ToString(), checkMessage, "结果检查",ChatGPTType.GPT54);
|
||||
}
|
||||
/// <summary>
|
||||
/// 采用改进意见
|
||||
|
|
@ -762,7 +762,7 @@ namespace VideoAnalysisCore.AICore.GPT
|
|||
}
|
||||
var maxVideoTime = captions?.TimeBase?.LastOrDefault()?.End ?? 0;
|
||||
List<VideoKnowRes>? questionRes = null;
|
||||
var tryCount = 20;
|
||||
var tryCount = 3;
|
||||
var last改进意见 = string.Empty;
|
||||
while (tryCount-- > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue