Skip to content

Commit af4290d

Browse files
committed
feat: datatypes are updated
1 parent 1928201 commit af4290d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Runtime/DataTypes.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public struct Usage
2121

2222
public class OpenAIFile
2323
{
24+
public string Prompt { get; set; }
25+
public object Completion { get; set; }
2426
public string Id { get; set; }
2527
public string Object { get; set; }
2628
public long Bytes { get; set; }
@@ -94,6 +96,7 @@ public sealed class CreateChatCompletionRequest
9496
public float? FrequencyPenalty { get; set; } = 0;
9597
public Dictionary<string, string> LogitBias { get; set; }
9698
public string User { get; set; }
99+
public string SystemFingerprint { get; set; }
97100
}
98101

99102
public struct CreateChatCompletionResponse : IResponse
@@ -106,6 +109,7 @@ public struct CreateChatCompletionResponse : IResponse
106109
public long Created { get; set; }
107110
public List<ChatChoice> Choices { get; set; }
108111
public Usage Usage { get; set; }
112+
public string SystemFingerprint { get; set; }
109113
}
110114

111115
public struct ChatChoice
@@ -287,6 +291,7 @@ public struct ListFilesResponse: IResponse
287291
public string Warning { get; set; }
288292
public string Object { get; set; }
289293
public List<OpenAIFile> Data { get; set; }
294+
public bool HasMore { get; set; }
290295
}
291296

292297
public struct DeleteResponse: IResponse
@@ -328,6 +333,7 @@ public struct ListFineTunesResponse: IResponse
328333
public string Warning { get; set; }
329334
public string Object { get; set; }
330335
public List<FineTune> Data { get; set; }
336+
public object NextStartingAfter { get; set; }
331337
}
332338

333339
public struct ListFineTuneEventsResponse: IResponse

0 commit comments

Comments
 (0)