feat: 增加EmbeddingResponse的object字段并完善AiGateWayManager的Usage统计,更新CORS配置
This commit is contained in:
@@ -105,6 +105,8 @@ public record EmbeddingCreateResponse : ThorBaseResponse
|
||||
|
||||
public record EmbeddingResponse
|
||||
{
|
||||
[JsonPropertyName("object")] public string Object { get; set; } = "embedding";
|
||||
|
||||
[JsonPropertyName("index")] public int? Index { get; set; }
|
||||
|
||||
[JsonPropertyName("embedding")] public object Embedding { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user