feat: 完成用量统计功能模块
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Yi.Framework.AiHub.Domain.Shared.Dtos;
|
||||
|
||||
public class CompleteChatResponse
|
||||
{
|
||||
public TokenUsage? TokenUsage { get; set; }
|
||||
public bool IsFinish { get; set; }
|
||||
public string? Content { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Yi.Framework.AiHub.Domain.Shared.Dtos;
|
||||
|
||||
public class TokenUsage
|
||||
{
|
||||
public int OutputTokenCount { get; set; }
|
||||
|
||||
public int InputTokenCount { get; set; }
|
||||
|
||||
public int TotalTokenCount { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user