22 lines
371 B
C#
22 lines
371 B
C#
namespace LLMApi.Data.Contracts.ChatGpt3_5;
|
|
|
|
public record ChatCompletionResponse(
|
|
string Id,
|
|
string Object,
|
|
int Created,
|
|
string Model,
|
|
Choice[] Choices,
|
|
Usage Usage
|
|
);
|
|
|
|
public record Choice(
|
|
int Index,
|
|
Message Message,
|
|
string FinishReason
|
|
);
|
|
|
|
public record Usage(
|
|
int PromptTokens,
|
|
int CompletionTokens,
|
|
int TotalTokens
|
|
); |