mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-19 18:12:15 +00:00
Make properties immutable
This commit is contained in:
parent
57054edb33
commit
c490e0c668
@ -2,9 +2,13 @@
|
||||
|
||||
public sealed record EmbeddingResponse
|
||||
{
|
||||
public string? Id { get; set; }
|
||||
public string? Object { get; set; }
|
||||
public List<EmbeddingData>? Data { get; set; }
|
||||
public string? Model { get; set; }
|
||||
public Usage? Usage { get; set; }
|
||||
public string? Id { get; init; }
|
||||
|
||||
public string? Object { get; init; }
|
||||
|
||||
public List<EmbeddingData>? Data { get; init; }
|
||||
|
||||
public string? Model { get; init; }
|
||||
|
||||
public EmbeddingUsage? Usage { get; init; }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user