openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/FineTuning/Internal/GeneratorStubs.cs
137lines · modecode
| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | |
| 4 | namespace OpenAI.FineTuning; |
| 5 | |
| 6 | // CUSTOM: Made internal. |
| 7 | |
| 8 | [CodeGenModel("FineTuneChatCompletionRequestAssistantMessage")] |
| 9 | internal partial class InternalFineTuneChatCompletionRequestAssistantMessage { } |
| 10 | |
| 11 | [CodeGenModel("FinetuneChatRequestInput")] |
| 12 | internal partial class InternalFinetuneChatRequestInput { } |
| 13 | |
| 14 | [CodeGenModel("FinetuneCompletionRequestInput")] |
| 15 | internal partial class InternalFinetuneCompletionRequestInput { } |
| 16 | |
| 17 | [CodeGenModel("FineTuningIntegration")] |
| 18 | internal partial class InternalFineTuningIntegration { } |
| 19 | |
| 20 | [CodeGenModel("FineTuningIntegrationType")] |
| 21 | internal readonly partial struct InternalFineTuningIntegrationType { } |
| 22 | |
| 23 | [CodeGenModel("FineTuningIntegrationWandb")] |
| 24 | internal partial class InternalFineTuningIntegrationWandb { } |
| 25 | |
| 26 | [CodeGenModel("CreateFineTuningJobRequestWandbIntegrationWandb")] |
| 27 | internal partial class InternalCreateFineTuningJobRequestWandbIntegrationWandb |
| 28 | { |
| 29 | [CodeGenMember("Project")] |
| 30 | public string Project { get; set; } |
| 31 | } |
| 32 | |
| 33 | [CodeGenModel("FineTuningJobObject")] |
| 34 | internal readonly partial struct InternalFineTuningJobObject { } |
| 35 | |
| 36 | [CodeGenModel("FineTuningJobCheckpoint")] |
| 37 | internal partial class InternalFineTuningJobCheckpoint { } |
| 38 | |
| 39 | [CodeGenModel("FineTuningJobCheckpointMetrics")] |
| 40 | internal partial class InternalFineTuningJobCheckpointMetrics { } |
| 41 | |
| 42 | [CodeGenModel("FineTuningJobCheckpointObject")] |
| 43 | internal readonly partial struct InternalFineTuningJobCheckpointObject { } |
| 44 | |
| 45 | [CodeGenModel("ListFineTuningJobCheckpointsResponse")] |
| 46 | internal partial class InternalListFineTuningJobCheckpointsResponse { } |
| 47 | |
| 48 | [CodeGenModel("ListFineTuningJobCheckpointsResponseObject")] |
| 49 | internal readonly partial struct InternalListFineTuningJobCheckpointsResponseObject { } |
| 50 | |
| 51 | [CodeGenModel("ListFineTuningJobEventsResponse")] |
| 52 | internal partial class InternalListFineTuningJobEventsResponse { } |
| 53 | |
| 54 | [CodeGenModel("ListPaginatedFineTuningJobsResponse")] |
| 55 | internal partial class InternalListPaginatedFineTuningJobsResponse { } |
| 56 | |
| 57 | [CodeGenModel("ListPaginatedFineTuningJobsResponseObject")] |
| 58 | internal readonly partial struct InternalListPaginatedFineTuningJobsResponseObject { } |
| 59 | |
| 60 | [CodeGenModel("FineTuningIntegrationWandbWandb")] |
| 61 | internal partial class FineTuningIntegrationWandbWandb { } |
| 62 | |
| 63 | [CodeGenModel("FineTuningJobHyperparametersBatchSizeChoiceEnum")] |
| 64 | internal readonly partial struct FineTuningJobHyperparametersBatchSizeChoiceEnum { } |
| 65 | |
| 66 | [CodeGenModel("FineTuningJobHyperparametersLearningRateMultiplierChoiceEnum")] |
| 67 | internal readonly partial struct FineTuningJobHyperparametersLearningRateMultiplierChoiceEnum { } |
| 68 | |
| 69 | [CodeGenModel("FineTuningJobHyperparametersNEpochsChoiceEnum")] |
| 70 | internal readonly partial struct FineTuningJobHyperparametersNEpochsChoiceEnum { } |
| 71 | |
| 72 | [CodeGenModel("UnknownCreateFineTuningJobRequestIntegration")] |
| 73 | internal partial class UnknownCreateFineTuningJobRequestIntegration { } |
| 74 | |
| 75 | [CodeGenModel("UnknownFineTuningIntegration")] |
| 76 | internal partial class UnknownFineTuningIntegration { } |
| 77 | |
| 78 | [CodeGenModel("FineTuningJobEventObject")] |
| 79 | internal readonly partial struct InternalFineTuningJobEventObject { } |
| 80 | |
| 81 | [CodeGenModel("ListFineTuningJobEventsResponseObject")] |
| 82 | internal readonly partial struct InternalListFineTuningJobEventsResponseObject { } |
| 83 | |
| 84 | [CodeGenModel("CreateFineTuningJobRequestModel")] |
| 85 | internal readonly partial struct InternalCreateFineTuningJobRequestModel { } |
| 86 | |
| 87 | // Future public types follow |
| 88 | |
| 89 | [CodeGenModel("CreateFineTuningJobRequestIntegration")] |
| 90 | internal partial class FineTuningIntegration { } |
| 91 | |
| 92 | [CodeGenModel("FineTuningJob")] |
| 93 | internal partial class FineTuningJob { } |
| 94 | |
| 95 | [CodeGenModel("FineTuningJobError")] |
| 96 | internal partial class FineTuningJobError { } |
| 97 | |
| 98 | [CodeGenModel("FineTuningJobEvent")] |
| 99 | internal partial class FineTuningJobEvent { } |
| 100 | |
| 101 | [CodeGenModel("FineTuningJobEventLevel")] |
| 102 | internal enum FineTuningJobEventLevel |
| 103 | { |
| 104 | Info, |
| 105 | Warn, |
| 106 | Error |
| 107 | } |
| 108 | |
| 109 | [CodeGenModel("FineTuningJobHyperparameters")] |
| 110 | internal readonly partial struct FineTuningJobHyperparameters |
| 111 | { |
| 112 | internal readonly IDictionary<string, BinaryData> SerializedAdditionalRawData { get; } |
| 113 | public BinaryData NEpochs { get; } |
| 114 | public BinaryData BatchSize { get; } |
| 115 | public BinaryData LearningRateMultiplier { get; } |
| 116 | } |
| 117 | |
| 118 | [CodeGenModel("FineTuningJobStatus")] |
| 119 | internal readonly partial struct FineTuningJobStatus { } |
| 120 | |
| 121 | [CodeGenModel("CreateFineTuningJobRequest")] |
| 122 | internal partial class FineTuningOptions { } |
| 123 | |
| 124 | [CodeGenModel("CreateFineTuningJobRequestHyperparametersBatchSizeChoiceEnum")] |
| 125 | internal readonly partial struct HyperparameterBatchSize { } |
| 126 | |
| 127 | [CodeGenModel("CreateFineTuningJobRequestHyperparametersNEpochsChoiceEnum")] |
| 128 | internal readonly partial struct HyperparameterCycleCount { } |
| 129 | |
| 130 | [CodeGenModel("CreateFineTuningJobRequestHyperparametersLearningRateMultiplierChoiceEnum")] |
| 131 | internal readonly partial struct HyperparameterLearningRate { } |
| 132 | |
| 133 | [CodeGenModel("CreateFineTuningJobRequestHyperparameters")] |
| 134 | internal partial class HyperparameterOptions { } |
| 135 | |
| 136 | [CodeGenModel("CreateFineTuningJobRequestWandbIntegration")] |
| 137 | internal partial class WeightsAndBiasesIntegration { } |
| 138 | |