23 lines
549 B
C#
23 lines
549 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace AxCopilot.Models;
|
|
|
|
public class ModelCapability
|
|
{
|
|
[JsonPropertyName("service")]
|
|
public string Service { get; set; } = "";
|
|
|
|
[JsonPropertyName("model")]
|
|
public string Model { get; set; } = "";
|
|
|
|
[JsonPropertyName("alias")]
|
|
public string Alias { get; set; } = "";
|
|
|
|
[JsonPropertyName("scores")]
|
|
public Dictionary<string, double> Scores { get; set; } = new Dictionary<string, double>();
|
|
|
|
[JsonPropertyName("enabled")]
|
|
public bool Enabled { get; set; } = true;
|
|
}
|