diff --git a/codegen/generator/src/OpenAI.Library.Plugin.csproj b/codegen/generator/src/OpenAI.Library.Plugin.csproj index 869603005..681ba7abc 100644 --- a/codegen/generator/src/OpenAI.Library.Plugin.csproj +++ b/codegen/generator/src/OpenAI.Library.Plugin.csproj @@ -8,7 +8,7 @@ - + diff --git a/codegen/generator/src/OpenAILibraryGenerator.cs b/codegen/generator/src/OpenAILibraryGenerator.cs index 0d656eea6..adf0a2e82 100644 --- a/codegen/generator/src/OpenAILibraryGenerator.cs +++ b/codegen/generator/src/OpenAILibraryGenerator.cs @@ -10,14 +10,8 @@ namespace OpenAILibraryPlugin [ExportMetadata("GeneratorName", nameof(OpenAILibraryGenerator))] public class OpenAILibraryGenerator : ScmCodeModelGenerator { - private static OpenAILibraryGenerator? s_instance; - internal static OpenAILibraryGenerator Instance => s_instance ?? throw new InvalidOperationException("OpenAILibraryGenerator was not initialized."); - [ImportingConstructor] - public OpenAILibraryGenerator(GeneratorContext context) : base(context) - { - s_instance = this; - } + public OpenAILibraryGenerator(GeneratorContext context) : base(context) { } protected override void Configure() { diff --git a/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs b/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs index 8857325e8..5f47ad39e 100644 --- a/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs +++ b/codegen/generator/src/Visitors/ContentInnerCollectionDefinedVisitor.cs @@ -17,7 +17,7 @@ public class ContentInnerCollectionDefinedVisitor : ScmLibraryVisitor { private const string Comment = "Plugin customization: add Content.IsInnerCollectionDefined() check"; - protected override MethodProvider VisitMethod(MethodProvider method) + protected override MethodProvider? VisitMethod(MethodProvider method) { if (method.Signature.Name != "JsonModelWriteCore" || method.BodyStatements is not MethodBodyStatements methodBodyStatements) diff --git a/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs b/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs index 1284d9c8b..15e30e37d 100644 --- a/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs +++ b/codegen/generator/src/Visitors/ImplicitConversionToBinaryContentVisitor.cs @@ -9,7 +9,7 @@ namespace OpenAILibraryPlugin.Visitors; /// public class ImplicitConversionToBinaryContentVisitor : ScmLibraryVisitor { - protected override MethodProvider VisitMethod(MethodProvider method) + protected override MethodProvider? VisitMethod(MethodProvider method) { if (method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Implicit) && method.Signature.Modifiers.HasFlag(MethodSignatureModifiers.Operator) && diff --git a/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs b/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs index 3058920f0..fc98d87c3 100644 --- a/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs +++ b/codegen/generator/src/Visitors/PageOrderRemovalVisitor.cs @@ -99,23 +99,20 @@ private static InputParameter CreateSyntheticPageOrderInputParameter() additionalProperties: null, modelAsStruct: true, serializationOptions: new()); - return new InputParameter( + return new InputQueryParameter( name: "order", - nameInRequest: "order", + serializedName: "order", summary: "", doc: "", - inputModelType, - InputRequestLocation.Query, + type: inputModelType, defaultValue: null, - InputParameterKind.Spread, + scope: InputParameterScope.Spread, isRequired: false, + isReadOnly: false, isApiVersion: false, - isContentType: false, - isEndpoint: false, - skipUrlEncoding: false, explode: true, - arraySerializationDelimiter: null, - headerCollectionPrefix: null, - serverUrlTemplate: null); + access: null, + collectionFormat: null, + arraySerializationDelimiter: null); } } \ No newline at end of file diff --git a/codegen/generator/src/Visitors/PaginationVisitor.cs b/codegen/generator/src/Visitors/PaginationVisitor.cs index eab5c829e..5066588ad 100644 --- a/codegen/generator/src/Visitors/PaginationVisitor.cs +++ b/codegen/generator/src/Visitors/PaginationVisitor.cs @@ -229,7 +229,8 @@ private bool TryHandleGetRawPagesAsyncMethod(MethodProvider method) if (binaryExpr.Left is VariableExpression leftVar && leftVar.Declaration.RequestedName == "nextToken" && binaryExpr.Right is KeywordExpression rightKeyword && - rightKeyword.Keyword == "null") + rightKeyword.Keyword == "null" + && hasMoreVariable != null) { // Create "!hasMore" condition. Note the hasMoreVariable gets assigned earlier in the method statements // in the WhileStatement handler below. diff --git a/codegen/package.json b/codegen/package.json index c3653c9cc..47ed1732f 100644 --- a/codegen/package.json +++ b/codegen/package.json @@ -29,11 +29,11 @@ ], "dependencies": { "@open-ai/plugin": "file:", - "@azure-tools/typespec-client-generator-core": "0.57.2", - "@azure-tools/typespec-azure-core": "0.57.0", - "@typespec/http-client-csharp": "1.0.0-alpha.20250722.1", - "@typespec/http": "1.1.0", - "@typespec/openapi": "1.1.0" + "@azure-tools/typespec-client-generator-core": "0.59.0", + "@azure-tools/typespec-azure-core": "0.59.0", + "@typespec/http-client-csharp": "1.0.0-alpha.20250827.2", + "@typespec/http": "1.3.0", + "@typespec/openapi": "1.3.0" }, "devDependencies": { "@types/node": "^22.8.1", diff --git a/package-lock.json b/package-lock.json index cc5c4e631..c47a25acd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,12 +19,12 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@azure-tools/typespec-azure-core": "0.57.0", - "@azure-tools/typespec-client-generator-core": "0.57.2", + "@azure-tools/typespec-azure-core": "0.59.0", + "@azure-tools/typespec-client-generator-core": "0.59.0", "@open-ai/plugin": "file:", - "@typespec/http": "1.1.0", - "@typespec/http-client-csharp": "1.0.0-alpha.20250722.1", - "@typespec/openapi": "1.1.0" + "@typespec/http": "1.3.0", + "@typespec/http-client-csharp": "1.0.0-alpha.20250827.2", + "@typespec/openapi": "1.3.0" }, "devDependencies": { "@types/node": "^22.8.1", @@ -52,23 +52,23 @@ } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.57.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.57.0.tgz", - "integrity": "sha512-O+F3axrJOJHjYGrQLRWoydHtWjWiXeAlaaILncS0I0xe6kinyFkpn7VIVKxH9ZZ+hPmkDAZybO53656R3PRfUA==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.59.0.tgz", + "integrity": "sha512-3vTWDTSR+P0qeyFcOKTgXortNOeA3nsyKTPpZqfFZVTtNFiiO17UWAM2Eg3i0IpNQ3qxMMAksIkwt1bqltTDqA==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0", - "@typespec/rest": "^0.71.0" + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0", + "@typespec/rest": "^0.73.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.57.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.57.2.tgz", - "integrity": "sha512-/HPdsWAO5aRolTf9pOa1ZFIDpKhi22oZmNj7ypHTjntSJh7bn3Q6tw9J/10n4eyvkUElLVqa691fODfeIZH/qA==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.59.0.tgz", + "integrity": "sha512-5+pVcOr7Uyq4IaZ3oLjLi8jnBuR+t/B8hQF4CZo+goe/uK+WkmDfw1TlY14G2ve7W7v8m9+Sk2nil6bN1uHWEQ==", "license": "MIT", "dependencies": { "change-case": "~5.4.4", @@ -79,28 +79,16 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.57.0", - "@typespec/compiler": "^1.1.0", - "@typespec/events": "^0.71.0", - "@typespec/http": "^1.1.0", - "@typespec/openapi": "^1.1.0", - "@typespec/rest": "^0.71.0", - "@typespec/sse": "^0.71.0", - "@typespec/streams": "^0.71.0", - "@typespec/versioning": "^0.71.0", - "@typespec/xml": "^0.71.0" - } - }, - "node_modules/@azure-tools/typespec-client-generator-core/node_modules/yaml": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", - "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", - "license": "ISC", - "bin": { - "yaml": "bin.mjs" - }, - "engines": { - "node": ">= 14.6" + "@azure-tools/typespec-azure-core": "^0.59.0", + "@typespec/compiler": "^1.3.0", + "@typespec/events": "^0.73.0", + "@typespec/http": "^1.3.0", + "@typespec/openapi": "^1.3.0", + "@typespec/rest": "^0.73.0", + "@typespec/sse": "^0.73.0", + "@typespec/streams": "^0.73.0", + "@typespec/versioning": "^0.73.0", + "@typespec/xml": "^0.73.0" } }, "node_modules/@babel/code-frame": { @@ -138,13 +126,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.27.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.5.tgz", - "integrity": "sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==", + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.3.tgz", + "integrity": "sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.27.3" + "@babel/types": "^7.28.2" }, "bin": { "parser": "bin/babel-parser.js" @@ -154,9 +142,9 @@ } }, "node_modules/@babel/types": { - "version": "7.27.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.6.tgz", - "integrity": "sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==", + "version": "7.28.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.2.tgz", + "integrity": "sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==", "dev": true, "license": "MIT", "dependencies": { @@ -566,15 +554,15 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "4.1.8", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.1.8.tgz", - "integrity": "sha512-d/QAsnwuHX2OPolxvYcgSj7A9DO9H6gVOy2DvBTx+P2LH2iRTo/RSGV3iwCzW024nP9hw98KIuDmdyhZQj1UQg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.2.tgz", + "integrity": "sha512-E+KExNurKcUJJdxmjglTl141EwxWyAHplvsYJQgSwXf8qiNWkTxTuCCqmhFEmbIXd4zLaGMfQFJ6WrZ7fSeV3g==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/figures": "^1.0.12", - "@inquirer/type": "^3.0.7", + "@inquirer/core": "^10.2.0", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, @@ -591,14 +579,14 @@ } }, "node_modules/@inquirer/confirm": { - "version": "5.1.12", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.12.tgz", - "integrity": "sha512-dpq+ielV9/bqgXRUbNH//KsY6WEw9DrGPmipkpmgC1Y46cwuBTNx7PXFWTjc3MQ+urcc0QxoVHcMI0FW4Ok0hg==", + "version": "5.1.16", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.16.tgz", + "integrity": "sha512-j1a5VstaK5KQy8Mu8cHmuQvN1Zc62TbLhjJxwHvKPPKEoowSF6h/0UdOpA9DNdWZ+9Inq73+puRq1df6OJ8Sag==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7" + "@inquirer/core": "^10.2.0", + "@inquirer/type": "^3.0.8" }, "engines": { "node": ">=18" @@ -613,14 +601,14 @@ } }, "node_modules/@inquirer/core": { - "version": "10.1.13", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.13.tgz", - "integrity": "sha512-1viSxebkYN2nJULlzCxES6G9/stgHSepZ9LqqfdIGPHj5OHhiBUXVS0a6R0bEC2A+VL4D9w6QB66ebCr6HGllA==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.2.0.tgz", + "integrity": "sha512-NyDSjPqhSvpZEMZrLCYUquWNl+XC/moEcVFqS55IEYIYsY0a1cUCevSqk7ctOlnm/RaSBU5psFryNlxcmGrjaA==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/figures": "^1.0.12", - "@inquirer/type": "^3.0.7", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", "ansi-escapes": "^4.3.2", "cli-width": "^4.1.0", "mute-stream": "^2.0.0", @@ -641,15 +629,15 @@ } }, "node_modules/@inquirer/editor": { - "version": "4.2.13", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.13.tgz", - "integrity": "sha512-WbicD9SUQt/K8O5Vyk9iC2ojq5RHoCLK6itpp2fHsWe44VxxcA9z3GTWlvjSTGmMQpZr+lbVmrxdHcumJoLbMA==", + "version": "4.2.18", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.18.tgz", + "integrity": "sha512-yeQN3AXjCm7+Hmq5L6Dm2wEDeBRdAZuyZ4I7tWSSanbxDzqM0KqzoDbKM7p4ebllAYdoQuPJS6N71/3L281i6w==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7", - "external-editor": "^3.1.0" + "@inquirer/core": "^10.2.0", + "@inquirer/external-editor": "^1.0.1", + "@inquirer/type": "^3.0.8" }, "engines": { "node": ">=18" @@ -664,14 +652,14 @@ } }, "node_modules/@inquirer/expand": { - "version": "4.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.15.tgz", - "integrity": "sha512-4Y+pbr/U9Qcvf+N/goHzPEXiHH8680lM3Dr3Y9h9FFw4gHS+zVpbj8LfbKWIb/jayIB4aSO4pWiBTrBYWkvi5A==", + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.18.tgz", + "integrity": "sha512-xUjteYtavH7HwDMzq4Cn2X4Qsh5NozoDHCJTdoXg9HfZ4w3R6mxV1B9tL7DGJX2eq/zqtsFjhm0/RJIMGlh3ag==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7", + "@inquirer/core": "^10.2.0", + "@inquirer/type": "^3.0.8", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -686,10 +674,32 @@ } } }, + "node_modules/@inquirer/external-editor": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz", + "integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==", + "license": "MIT", + "peer": true, + "dependencies": { + "chardet": "^2.1.0", + "iconv-lite": "^0.6.3" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@types/node": ">=18" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + } + } + }, "node_modules/@inquirer/figures": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.12.tgz", - "integrity": "sha512-MJttijd8rMFcKJC8NYmprWr6hD3r9Gd9qUC0XwPNwoEPWSMVJwA2MlXxF+nhZZNMY+HXsWa+o7KY2emWYIn0jQ==", + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.13.tgz", + "integrity": "sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==", "license": "MIT", "peer": true, "engines": { @@ -697,14 +707,14 @@ } }, "node_modules/@inquirer/input": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.12.tgz", - "integrity": "sha512-xJ6PFZpDjC+tC1P8ImGprgcsrzQRsUh9aH3IZixm1lAZFK49UGHxM3ltFfuInN2kPYNfyoPRh+tU4ftsjPLKqQ==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.2.tgz", + "integrity": "sha512-hqOvBZj/MhQCpHUuD3MVq18SSoDNHy7wEnQ8mtvs71K8OPZVXJinOzcvQna33dNYLYE4LkA9BlhAhK6MJcsVbw==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7" + "@inquirer/core": "^10.2.0", + "@inquirer/type": "^3.0.8" }, "engines": { "node": ">=18" @@ -719,14 +729,14 @@ } }, "node_modules/@inquirer/number": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.15.tgz", - "integrity": "sha512-xWg+iYfqdhRiM55MvqiTCleHzszpoigUpN5+t1OMcRkJrUrw7va3AzXaxvS+Ak7Gny0j2mFSTv2JJj8sMtbV2g==", + "version": "3.0.18", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.18.tgz", + "integrity": "sha512-7exgBm52WXZRczsydCVftozFTrrwbG5ySE0GqUd2zLNSBXyIucs2Wnm7ZKLe/aUu6NUg9dg7Q80QIHCdZJiY4A==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7" + "@inquirer/core": "^10.2.0", + "@inquirer/type": "^3.0.8" }, "engines": { "node": ">=18" @@ -741,14 +751,14 @@ } }, "node_modules/@inquirer/password": { - "version": "4.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.15.tgz", - "integrity": "sha512-75CT2p43DGEnfGTaqFpbDC2p2EEMrq0S+IRrf9iJvYreMy5mAWj087+mdKyLHapUEPLjN10mNvABpGbk8Wdraw==", + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.18.tgz", + "integrity": "sha512-zXvzAGxPQTNk/SbT3carAD4Iqi6A2JS2qtcqQjsL22uvD+JfQzUrDEtPjLL7PLn8zlSNyPdY02IiQjzoL9TStA==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7", + "@inquirer/core": "^10.2.0", + "@inquirer/type": "^3.0.8", "ansi-escapes": "^4.3.2" }, "engines": { @@ -764,22 +774,22 @@ } }, "node_modules/@inquirer/prompts": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.5.3.tgz", - "integrity": "sha512-8YL0WiV7J86hVAxrh3fE5mDCzcTDe1670unmJRz6ArDgN+DBK1a0+rbnNWp4DUB5rPMwqD5ZP6YHl9KK1mbZRg==", + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.4.tgz", + "integrity": "sha512-MuxVZ1en1g5oGamXV3DWP89GEkdD54alcfhHd7InUW5BifAdKQEK9SLFa/5hlWbvuhMPlobF0WAx7Okq988Jxg==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/checkbox": "^4.1.8", - "@inquirer/confirm": "^5.1.12", - "@inquirer/editor": "^4.2.13", - "@inquirer/expand": "^4.0.15", - "@inquirer/input": "^4.1.12", - "@inquirer/number": "^3.0.15", - "@inquirer/password": "^4.0.15", - "@inquirer/rawlist": "^4.1.3", - "@inquirer/search": "^3.0.15", - "@inquirer/select": "^4.2.3" + "@inquirer/checkbox": "^4.2.2", + "@inquirer/confirm": "^5.1.16", + "@inquirer/editor": "^4.2.18", + "@inquirer/expand": "^4.0.18", + "@inquirer/input": "^4.2.2", + "@inquirer/number": "^3.0.18", + "@inquirer/password": "^4.0.18", + "@inquirer/rawlist": "^4.1.6", + "@inquirer/search": "^3.1.1", + "@inquirer/select": "^4.3.2" }, "engines": { "node": ">=18" @@ -794,14 +804,14 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.3.tgz", - "integrity": "sha512-7XrV//6kwYumNDSsvJIPeAqa8+p7GJh7H5kRuxirct2cgOcSWwwNGoXDRgpNFbY/MG2vQ4ccIWCi8+IXXyFMZA==", + "version": "4.1.6", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.6.tgz", + "integrity": "sha512-KOZqa3QNr3f0pMnufzL7K+nweFFCCBs6LCXZzXDrVGTyssjLeudn5ySktZYv1XiSqobyHRYYK0c6QsOxJEhXKA==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/type": "^3.0.7", + "@inquirer/core": "^10.2.0", + "@inquirer/type": "^3.0.8", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -817,15 +827,15 @@ } }, "node_modules/@inquirer/search": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.15.tgz", - "integrity": "sha512-YBMwPxYBrADqyvP4nNItpwkBnGGglAvCLVW8u4pRmmvOsHUtCAUIMbUrLX5B3tFL1/WsLGdQ2HNzkqswMs5Uaw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.1.1.tgz", + "integrity": "sha512-TkMUY+A2p2EYVY3GCTItYGvqT6LiLzHBnqsU1rJbrpXUijFfM6zvUx0R4civofVwFCmJZcKqOVwwWAjplKkhxA==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/figures": "^1.0.12", - "@inquirer/type": "^3.0.7", + "@inquirer/core": "^10.2.0", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -841,15 +851,15 @@ } }, "node_modules/@inquirer/select": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.2.3.tgz", - "integrity": "sha512-OAGhXU0Cvh0PhLz9xTF/kx6g6x+sP+PcyTiLvCrewI99P3BBeexD+VbuwkNDvqGkk3y2h5ZiWLeRP7BFlhkUDg==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.3.2.tgz", + "integrity": "sha512-nwous24r31M+WyDEHV+qckXkepvihxhnyIaod2MG7eCE6G0Zm/HUF6jgN8GXgf4U7AU6SLseKdanY195cwvU6w==", "license": "MIT", "peer": true, "dependencies": { - "@inquirer/core": "^10.1.13", - "@inquirer/figures": "^1.0.12", - "@inquirer/type": "^3.0.7", + "@inquirer/core": "^10.2.0", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", "ansi-escapes": "^4.3.2", "yoctocolors-cjs": "^2.1.2" }, @@ -866,9 +876,9 @@ } }, "node_modules/@inquirer/type": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.7.tgz", - "integrity": "sha512-PfunHQcjwnju84L+ycmcMKB/pTPIngjUJvfnRhKY6FKPuYXlM4aQCb/nIdTFR6BEhMjFvngzvng/vBAJMZpLSA==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.8.tgz", + "integrity": "sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==", "license": "MIT", "peer": true, "engines": { @@ -902,9 +912,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", "dev": true, "license": "MIT", "engines": { @@ -1023,18 +1033,14 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", - "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/sourcemap-codec": "^1.5.0", "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { @@ -1047,27 +1053,17 @@ "node": ">=6.0.0" } }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", "dev": true, "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "version": "0.3.30", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.30.tgz", + "integrity": "sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1133,9 +1129,9 @@ "license": "MIT" }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.44.0.tgz", - "integrity": "sha512-xEiEE5oDW6tK4jXCAyliuntGR+amEMO7HLtdSshVuhFnKTYoeYMyXQK7pLouAJJj5KHdwdn87bfHAR2nSdNAUA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.49.0.tgz", + "integrity": "sha512-rlKIeL854Ed0e09QGYFlmDNbka6I3EQFw7iZuugQjMb11KMpJCLPFL4ZPbMfaEhLADEL1yx0oujGkBQ7+qW3eA==", "cpu": [ "arm" ], @@ -1147,9 +1143,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.44.0.tgz", - "integrity": "sha512-uNSk/TgvMbskcHxXYHzqwiyBlJ/lGcv8DaUfcnNwict8ba9GTTNxfn3/FAoFZYgkaXXAdrAA+SLyKplyi349Jw==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.49.0.tgz", + "integrity": "sha512-cqPpZdKUSQYRtLLr6R4X3sD4jCBO1zUmeo3qrWBCqYIeH8Q3KRL4F3V7XJ2Rm8/RJOQBZuqzQGWPjjvFUcYa/w==", "cpu": [ "arm64" ], @@ -1161,9 +1157,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.44.0.tgz", - "integrity": "sha512-VGF3wy0Eq1gcEIkSCr8Ke03CWT+Pm2yveKLaDvq51pPpZza3JX/ClxXOCmTYYq3us5MvEuNRTaeyFThCKRQhOA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.49.0.tgz", + "integrity": "sha512-99kMMSMQT7got6iYX3yyIiJfFndpojBmkHfTc1rIje8VbjhmqBXE+nb7ZZP3A5skLyujvT0eIUCUsxAe6NjWbw==", "cpu": [ "arm64" ], @@ -1175,9 +1171,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.44.0.tgz", - "integrity": "sha512-fBkyrDhwquRvrTxSGH/qqt3/T0w5Rg0L7ZIDypvBPc1/gzjJle6acCpZ36blwuwcKD/u6oCE/sRWlUAcxLWQbQ==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.49.0.tgz", + "integrity": "sha512-y8cXoD3wdWUDpjOLMKLx6l+NFz3NlkWKcBCBfttUn+VGSfgsQ5o/yDUGtzE9HvsodkP0+16N0P4Ty1VuhtRUGg==", "cpu": [ "x64" ], @@ -1189,9 +1185,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.44.0.tgz", - "integrity": "sha512-u5AZzdQJYJXByB8giQ+r4VyfZP+walV+xHWdaFx/1VxsOn6eWJhK2Vl2eElvDJFKQBo/hcYIBg/jaKS8ZmKeNQ==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.49.0.tgz", + "integrity": "sha512-3mY5Pr7qv4GS4ZvWoSP8zha8YoiqrU+e0ViPvB549jvliBbdNLrg2ywPGkgLC3cmvN8ya3za+Q2xVyT6z+vZqA==", "cpu": [ "arm64" ], @@ -1203,9 +1199,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.44.0.tgz", - "integrity": "sha512-qC0kS48c/s3EtdArkimctY7h3nHicQeEUdjJzYVJYR3ct3kWSafmn6jkNCA8InbUdge6PVx6keqjk5lVGJf99g==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.49.0.tgz", + "integrity": "sha512-C9KzzOAQU5gU4kG8DTk+tjdKjpWhVWd5uVkinCwwFub2m7cDYLOdtXoMrExfeBmeRy9kBQMkiyJ+HULyF1yj9w==", "cpu": [ "x64" ], @@ -1217,9 +1213,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.44.0.tgz", - "integrity": "sha512-x+e/Z9H0RAWckn4V2OZZl6EmV0L2diuX3QB0uM1r6BvhUIv6xBPL5mrAX2E3e8N8rEHVPwFfz/ETUbV4oW9+lQ==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.49.0.tgz", + "integrity": "sha512-OVSQgEZDVLnTbMq5NBs6xkmz3AADByCWI4RdKSFNlDsYXdFtlxS59J+w+LippJe8KcmeSSM3ba+GlsM9+WwC1w==", "cpu": [ "arm" ], @@ -1231,9 +1227,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.44.0.tgz", - "integrity": "sha512-1exwiBFf4PU/8HvI8s80icyCcnAIB86MCBdst51fwFmH5dyeoWVPVgmQPcKrMtBQ0W5pAs7jBCWuRXgEpRzSCg==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.49.0.tgz", + "integrity": "sha512-ZnfSFA7fDUHNa4P3VwAcfaBLakCbYaxCk0jUnS3dTou9P95kwoOLAMlT3WmEJDBCSrOEFFV0Y1HXiwfLYJuLlA==", "cpu": [ "arm" ], @@ -1245,9 +1241,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.44.0.tgz", - "integrity": "sha512-ZTR2mxBHb4tK4wGf9b8SYg0Y6KQPjGpR4UWwTFdnmjB4qRtoATZ5dWn3KsDwGa5Z2ZBOE7K52L36J9LueKBdOQ==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.49.0.tgz", + "integrity": "sha512-Z81u+gfrobVK2iV7GqZCBfEB1y6+I61AH466lNK+xy1jfqFLiQ9Qv716WUM5fxFrYxwC7ziVdZRU9qvGHkYIJg==", "cpu": [ "arm64" ], @@ -1259,9 +1255,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.44.0.tgz", - "integrity": "sha512-GFWfAhVhWGd4r6UxmnKRTBwP1qmModHtd5gkraeW2G490BpFOZkFtem8yuX2NyafIP/mGpRJgTJ2PwohQkUY/Q==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.49.0.tgz", + "integrity": "sha512-zoAwS0KCXSnTp9NH/h9aamBAIve0DXeYpll85shf9NJ0URjSTzzS+Z9evmolN+ICfD3v8skKUPyk2PO0uGdFqg==", "cpu": [ "arm64" ], @@ -1273,9 +1269,9 @@ ] }, "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.44.0.tgz", - "integrity": "sha512-xw+FTGcov/ejdusVOqKgMGW3c4+AgqrfvzWEVXcNP6zq2ue+lsYUgJ+5Rtn/OTJf7e2CbgTFvzLW2j0YAtj0Gg==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.49.0.tgz", + "integrity": "sha512-2QyUyQQ1ZtwZGiq0nvODL+vLJBtciItC3/5cYN8ncDQcv5avrt2MbKt1XU/vFAJlLta5KujqyHdYtdag4YEjYQ==", "cpu": [ "loong64" ], @@ -1286,10 +1282,10 @@ "linux" ] }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.44.0.tgz", - "integrity": "sha512-bKGibTr9IdF0zr21kMvkZT4K6NV+jjRnBoVMt2uNMG0BYWm3qOVmYnXKzx7UhwrviKnmK46IKMByMgvpdQlyJQ==", + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.49.0.tgz", + "integrity": "sha512-k9aEmOWt+mrMuD3skjVJSSxHckJp+SiFzFG+v8JLXbc/xi9hv2icSkR3U7uQzqy+/QbbYY7iNB9eDTwrELo14g==", "cpu": [ "ppc64" ], @@ -1301,9 +1297,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.44.0.tgz", - "integrity": "sha512-vV3cL48U5kDaKZtXrti12YRa7TyxgKAIDoYdqSIOMOFBXqFj2XbChHAtXquEn2+n78ciFgr4KIqEbydEGPxXgA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.49.0.tgz", + "integrity": "sha512-rDKRFFIWJ/zJn6uk2IdYLc09Z7zkE5IFIOWqpuU0o6ZpHcdniAyWkwSUWE/Z25N/wNDmFHHMzin84qW7Wzkjsw==", "cpu": [ "riscv64" ], @@ -1315,9 +1311,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.44.0.tgz", - "integrity": "sha512-TDKO8KlHJuvTEdfw5YYFBjhFts2TR0VpZsnLLSYmB7AaohJhM8ctDSdDnUGq77hUh4m/djRafw+9zQpkOanE2Q==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.49.0.tgz", + "integrity": "sha512-FkkhIY/hYFVnOzz1WeV3S9Bd1h0hda/gRqvZCMpHWDHdiIHn6pqsY3b5eSbvGccWHMQ1uUzgZTKS4oGpykf8Tw==", "cpu": [ "riscv64" ], @@ -1329,9 +1325,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.44.0.tgz", - "integrity": "sha512-8541GEyktXaw4lvnGp9m84KENcxInhAt6vPWJ9RodsB/iGjHoMB2Pp5MVBCiKIRxrxzJhGCxmNzdu+oDQ7kwRA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.49.0.tgz", + "integrity": "sha512-gRf5c+A7QiOG3UwLyOOtyJMD31JJhMjBvpfhAitPAoqZFcOeK3Kc1Veg1z/trmt+2P6F/biT02fU19GGTS529A==", "cpu": [ "s390x" ], @@ -1343,9 +1339,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.44.0.tgz", - "integrity": "sha512-iUVJc3c0o8l9Sa/qlDL2Z9UP92UZZW1+EmQ4xfjTc1akr0iUFZNfxrXJ/R1T90h/ILm9iXEY6+iPrmYB3pXKjw==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.49.0.tgz", + "integrity": "sha512-BR7+blScdLW1h/2hB/2oXM+dhTmpW3rQt1DeSiCP9mc2NMMkqVgjIN3DDsNpKmezffGC9R8XKVOLmBkRUcK/sA==", "cpu": [ "x64" ], @@ -1357,9 +1353,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.44.0.tgz", - "integrity": "sha512-PQUobbhLTQT5yz/SPg116VJBgz+XOtXt8D1ck+sfJJhuEsMj2jSej5yTdp8CvWBSceu+WW+ibVL6dm0ptG5fcA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.49.0.tgz", + "integrity": "sha512-hDMOAe+6nX3V5ei1I7Au3wcr9h3ktKzDvF2ne5ovX8RZiAHEtX1A5SNNk4zt1Qt77CmnbqT+upb/umzoPMWiPg==", "cpu": [ "x64" ], @@ -1371,9 +1367,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.44.0.tgz", - "integrity": "sha512-M0CpcHf8TWn+4oTxJfh7LQuTuaYeXGbk0eageVjQCKzYLsajWS/lFC94qlRqOlyC2KvRT90ZrfXULYmukeIy7w==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.49.0.tgz", + "integrity": "sha512-wkNRzfiIGaElC9kXUT+HLx17z7D0jl+9tGYRKwd8r7cUqTL7GYAvgUY++U2hK6Ar7z5Z6IRRoWC8kQxpmM7TDA==", "cpu": [ "arm64" ], @@ -1385,9 +1381,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.44.0.tgz", - "integrity": "sha512-3XJ0NQtMAXTWFW8FqZKcw3gOQwBtVWP/u8TpHP3CRPXD7Pd6s8lLdH3sHWh8vqKCyyiI8xW5ltJScQmBU9j7WA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.49.0.tgz", + "integrity": "sha512-gq5aW/SyNpjp71AAzroH37DtINDcX1Qw2iv9Chyz49ZgdOP3NV8QCyKZUrGsYX9Yyggj5soFiRCgsL3HwD8TdA==", "cpu": [ "ia32" ], @@ -1399,9 +1395,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.44.0.tgz", - "integrity": "sha512-Q2Mgwt+D8hd5FIPUuPDsvPR7Bguza6yTkJxspDGkZj7tBRn2y4KSWYuIXpftFSjBra76TbKerCV7rgFPQrn+wQ==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.49.0.tgz", + "integrity": "sha512-gEtqFbzmZLFk2xKh7g0Rlo8xzho8KrEFEkzvHbfUGkrgXOpZ4XagQ6n+wIZFNh1nTb8UD16J4nFSFKXYgnbdBg==", "cpu": [ "x64" ], @@ -1447,9 +1443,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.15.33", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.33.tgz", - "integrity": "sha512-wzoocdnnpSxZ+6CjW4ADCK1jVmd1S/J3ArNWfn8FDDQtRm8dkDg7TA+mvek2wNrfCgwuZxqEOiB9B1XCJ6+dbw==", + "version": "22.18.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.0.tgz", + "integrity": "sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==", "devOptional": true, "license": "MIT", "dependencies": { @@ -1457,9 +1453,9 @@ } }, "node_modules/@typespec/compiler": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.1.0.tgz", - "integrity": "sha512-dtwosIqd2UUEEIVBR+oDiUtN4n1lP8/9GxQVno+wbkijQgKDj4Hg0Vaq6HG4BduF7RptDdtzkdGQCS9CgOIdRA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.3.0.tgz", + "integrity": "sha512-OqpoNP3C2y8riA6C5RofPMvmj9jNiGyyhde0tM2ZE7IBOv7BBaTDqw4CJD22YnC8JEilRfPmvdVCViNrPHEjrA==", "license": "MIT", "peer": true, "dependencies": { @@ -1472,14 +1468,14 @@ "is-unicode-supported": "^2.1.0", "mustache": "~4.2.0", "picocolors": "~1.1.1", - "prettier": "~3.5.3", + "prettier": "~3.6.2", "semver": "^7.7.1", "tar": "^7.4.3", "temporal-polyfill": "^0.3.0", "vscode-languageserver": "~9.0.1", "vscode-languageserver-textdocument": "~1.0.12", - "yaml": "~2.7.0", - "yargs": "~17.7.2" + "yaml": "~2.8.0", + "yargs": "~18.0.0" }, "bin": { "tsp": "cmd/tsp.js", @@ -1490,29 +1486,29 @@ } }, "node_modules/@typespec/events": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.71.0.tgz", - "integrity": "sha512-dJeyqBGqTTSlFDVWpdqeMjDpEyRmenH3yDABK3T/30MrO94sdXigxmeBnPCcOaaqst6pV3anFuKwfAqEN3GnbA==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.73.0.tgz", + "integrity": "sha512-etlhp86amDaElD/UX27u9I4O58zREov73HkkV3xbdTWpv2RqOKyD3mkyGAWsW3hKaGVIxwHOvKcOZ2j+b07Gpw==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@typespec/http": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.1.0.tgz", - "integrity": "sha512-1doVGmkv3N8l57fVuci4jGMZ61EZBlDzuNZO2b9o0+mexCOs/P96CIpFkaNVvTQgjpyFsW1DlXiUKAvUC9zQfg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.3.0.tgz", + "integrity": "sha512-4W3KsmBHZGgECVbvyh7S7KQG06948XyVVzae+UbVDDxoUj/x4Ry0AXw3q4HmzB2BVhxw6JBrwBuVa5mxjVMzdw==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/streams": "^0.71.0" + "@typespec/compiler": "^1.3.0", + "@typespec/streams": "^0.73.0" }, "peerDependenciesMeta": { "@typespec/streams": { @@ -1521,100 +1517,101 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "1.0.0-alpha.20250722.1", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250722.1.tgz", - "integrity": "sha512-dKcFGXM+Bm0iJdmdTFCQwrNyI9RQ5XwIyXpRI15z/zbLL7qdrbO9cyp1IP2H0A7jI6/rdfkMaKv6m9KTAgi/wA==", + "version": "1.0.0-alpha.20250827.2", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250827.2.tgz", + "integrity": "sha512-TodwID2apHysku1tkxA/GAQCgPCZbrdkq+6bc15CU/k9WfWqBig7whIOeBULs7zlACkbmZXkyCOt9kDcMslhSg==", "license": "MIT", "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", - "@azure-tools/typespec-client-generator-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0", - "@typespec/openapi": "^1.1.0", - "@typespec/rest": ">=0.71.0 <0.72.0 || ~0.72.0-0", - "@typespec/versioning": ">=0.71.0 <0.72.0 || ~0.72.0-0" + "@azure-tools/typespec-azure-core": ">=0.59.0 <0.60.0 || ~0.60.0-0", + "@azure-tools/typespec-client-generator-core": ">=0.59.0 <0.60.0 || ~0.60.0-0", + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0", + "@typespec/openapi": "^1.3.0", + "@typespec/rest": ">=0.73.0 <0.74.0 || ~0.74.0-0", + "@typespec/streams": ">=0.73.0 <0.74.0 || ~0.74.0-0", + "@typespec/versioning": ">=0.73.0 <0.74.0 || ~0.74.0-0" } }, "node_modules/@typespec/openapi": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.1.0.tgz", - "integrity": "sha512-HPvrpSS7eSVk3fEkWndcDTrAZssWRYv3FyDTqVqljildc7FAiXdo88+r5CCK8endmgIrES7uJdHLkcIGUZx1pg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.3.0.tgz", + "integrity": "sha512-BSeshjCZQodVGyVHn7ytcUeIcUGjqbG2Ac0NLOQaaKnISVrhTWNcgo5aFTqxAa24ZL/EuhqlSauLyYce2EV9fw==", "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0" + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0" } }, "node_modules/@typespec/rest": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.71.0.tgz", - "integrity": "sha512-5qX+nWO5Jx4P1iTTT2REgdCtHsTMjlv/gL90u8cO1ih3yHDtf18a41UL6jSYaVUIvIj6rlmrgopActf0FhhUcw==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.73.0.tgz", + "integrity": "sha512-28hgFGvreBg34Xuguw+E++pQC/kbRxy1Bpx/9nU7x87Ly6ykns3lpx74gjY9ByE8VYKVbXtC7lzdnp19DRSjIQ==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0" + "@typespec/compiler": "^1.3.0", + "@typespec/http": "^1.3.0" } }, "node_modules/@typespec/sse": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.71.0.tgz", - "integrity": "sha512-4lAwDMj8h/50s6zp/8IX8CLW+H3P+od5O32Bb8+fyTabEo7+H3PbdBbIJGv9Sj7+l8+bZXsyfRXa+aJxR9o2ZA==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.73.0.tgz", + "integrity": "sha512-WTnRJ1b1M3RPzlHxhnK9sh6+AGKPKWpuA0TSAqzyxb/uRHFYLNeoDKPOnlQ749SJ8lJz71Oh0nUsP3vB0EzO6Q==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0", - "@typespec/events": "^0.71.0", - "@typespec/http": "^1.1.0", - "@typespec/streams": "^0.71.0" + "@typespec/compiler": "^1.3.0", + "@typespec/events": "^0.73.0", + "@typespec/http": "^1.3.0", + "@typespec/streams": "^0.73.0" } }, "node_modules/@typespec/streams": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.71.0.tgz", - "integrity": "sha512-ofyAcg8GnO6uTffGo00D6MMfRkqie4QtnUUSGNC1Bam2WG+wkeSG/huP0WNRT8GofzK1N0M6QqQwAW/vdq9ymQ==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.73.0.tgz", + "integrity": "sha512-pL4xffHXEIhBQKPlB9L4AKuM0bn44WsGKjnz91wa6wBtP/CbsPrGQicof0Z7GPGdddtDi4G8PWGmJtVFw53V9g==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@typespec/versioning": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.71.0.tgz", - "integrity": "sha512-8qknFLOpZTVzQ+SveXg9G7WJV8P80yxLlj0nOc3ZLBKiPgM6FF7vGWHRNtnh7s3gSXvWyxopaJ9fZSLZSJmbww==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.73.0.tgz", + "integrity": "sha512-cfFvzTsvsu4VpdwZcRULr3p/fawKZnjiJClQxlLcYW0dLs/5k5jh7l0YyPkYvgkOcncUrIB6hIu82tQhKrMDKQ==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@typespec/xml": { - "version": "0.71.0", - "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.71.0.tgz", - "integrity": "sha512-IcBM4fd5li+hfaUoxeiFrUJx+gCGwIJ+LojdbAZPP3Kbdv12RS+8+CHH6d9qGV3qExgWGCny6WDUrUIaVCLonw==", + "version": "0.73.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.73.0.tgz", + "integrity": "sha512-vlMM8/L22O/PbI3ovj3qoww/3Z8wNwn7og4jzlGRM93jZBJvrOeDSwZo1Dc4rMJyU6KfjPkP3/l5TLbgW8x0zA==", "license": "MIT", "peer": true, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.1.0" + "@typespec/compiler": "^1.3.0" } }, "node_modules/@vitest/coverage-v8": { @@ -1839,15 +1836,13 @@ } }, "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, "engines": { - "node": ">=8" + "node": ">=10" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" @@ -1919,6 +1914,74 @@ "node": ">=14.14.0" } }, + "node_modules/c8/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/c8/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/c8/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/c8/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/cac": { "version": "6.7.14", "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", @@ -1955,9 +2018,9 @@ "license": "MIT" }, "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", + "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==", "license": "MIT", "peer": true }, @@ -1995,31 +2058,100 @@ } }, "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", + "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", "license": "ISC", + "peer": true, "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "string-width": "^7.2.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/cliui/node_modules/ansi-regex": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "license": "MIT", + "peer": true + }, + "node_modules/cliui/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-regex": "^6.0.1" }, "engines": { "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", "license": "MIT", + "peer": true, "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/chalk/wrap-ansi?sponsor=1" @@ -2084,6 +2216,22 @@ "copyup": "copyfiles" } }, + "node_modules/copyfiles/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/copyfiles/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -2096,19 +2244,6 @@ "wrap-ansi": "^7.0.0" } }, - "node_modules/copyfiles/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/copyfiles/node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -2327,21 +2462,6 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "license": "MIT", - "peer": true, - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -2366,9 +2486,9 @@ } }, "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==", "funding": [ { "type": "github", @@ -2482,6 +2602,19 @@ "node": "6.* || 8.* || >= 10.*" } }, + "node_modules/get-east-asian-width": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz", + "integrity": "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/get-func-name": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", @@ -2588,13 +2721,13 @@ } }, "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "license": "MIT", "peer": true, "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { "node": ">=0.10.0" @@ -2749,9 +2882,9 @@ } }, "node_modules/istanbul-reports": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", - "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -2843,13 +2976,13 @@ "license": "ISC" }, "node_modules/magic-string": { - "version": "0.30.17", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", - "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", + "version": "0.30.18", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.18.tgz", + "integrity": "sha512-yi8swmWbO17qHhwIBNeeZxTceJMeBvWJaId6dyvTSOwTipqeHhMhOrz6513r1sOKnpvQ7zkhlG8tPrpilwTxHQ==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0" + "@jridgewell/sourcemap-codec": "^1.5.5" } }, "node_modules/magicast": { @@ -2958,32 +3091,29 @@ } }, "node_modules/mkdirp": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", - "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, "license": "MIT", - "peer": true, "bin": { - "mkdirp": "dist/cjs/src/bin.js" + "mkdirp": "bin/cmd.js" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" } }, "node_modules/mlly": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.7.4.tgz", - "integrity": "sha512-qmdSIPC4bDJXgZTCR7XosJiNKySV7O215tsPtDN9iEO/7q/76b/ijtgRu/+epFXSJhijtTCCGp3DWS549P3xKw==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.0.tgz", + "integrity": "sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==", "dev": true, "license": "MIT", "dependencies": { - "acorn": "^8.14.0", - "pathe": "^2.0.1", - "pkg-types": "^1.3.0", - "ufo": "^1.5.4" + "acorn": "^8.15.0", + "pathe": "^2.0.3", + "pkg-types": "^1.3.1", + "ufo": "^1.6.1" } }, "node_modules/mlly/node_modules/pathe": { @@ -3115,16 +3245,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -3317,9 +3437,9 @@ } }, "node_modules/prettier": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz", - "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz", + "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==", "license": "MIT", "peer": true, "bin": { @@ -3347,19 +3467,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -3411,6 +3518,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -3500,9 +3608,9 @@ } }, "node_modules/rollup": { - "version": "4.44.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.44.0.tgz", - "integrity": "sha512-qHcdEzLCiktQIfwBq420pn2dP+30uzqYxv9ETm91wdt2R9AFcWfjNAmje4NWlnCIQ5RMTzVf0ZyisOKqHR6RwA==", + "version": "4.49.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.49.0.tgz", + "integrity": "sha512-3IVq0cGJ6H7fKXXEdVt+RcYvRCt8beYY9K1760wGQwSAHZcS9eot1zDG5axUbcp/kWRi5zKIIDX8MoKv/TzvZA==", "dev": true, "license": "MIT", "dependencies": { @@ -3516,26 +3624,26 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.44.0", - "@rollup/rollup-android-arm64": "4.44.0", - "@rollup/rollup-darwin-arm64": "4.44.0", - "@rollup/rollup-darwin-x64": "4.44.0", - "@rollup/rollup-freebsd-arm64": "4.44.0", - "@rollup/rollup-freebsd-x64": "4.44.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.44.0", - "@rollup/rollup-linux-arm-musleabihf": "4.44.0", - "@rollup/rollup-linux-arm64-gnu": "4.44.0", - "@rollup/rollup-linux-arm64-musl": "4.44.0", - "@rollup/rollup-linux-loongarch64-gnu": "4.44.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.44.0", - "@rollup/rollup-linux-riscv64-gnu": "4.44.0", - "@rollup/rollup-linux-riscv64-musl": "4.44.0", - "@rollup/rollup-linux-s390x-gnu": "4.44.0", - "@rollup/rollup-linux-x64-gnu": "4.44.0", - "@rollup/rollup-linux-x64-musl": "4.44.0", - "@rollup/rollup-win32-arm64-msvc": "4.44.0", - "@rollup/rollup-win32-ia32-msvc": "4.44.0", - "@rollup/rollup-win32-x64-msvc": "4.44.0", + "@rollup/rollup-android-arm-eabi": "4.49.0", + "@rollup/rollup-android-arm64": "4.49.0", + "@rollup/rollup-darwin-arm64": "4.49.0", + "@rollup/rollup-darwin-x64": "4.49.0", + "@rollup/rollup-freebsd-arm64": "4.49.0", + "@rollup/rollup-freebsd-x64": "4.49.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.49.0", + "@rollup/rollup-linux-arm-musleabihf": "4.49.0", + "@rollup/rollup-linux-arm64-gnu": "4.49.0", + "@rollup/rollup-linux-arm64-musl": "4.49.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.49.0", + "@rollup/rollup-linux-ppc64-gnu": "4.49.0", + "@rollup/rollup-linux-riscv64-gnu": "4.49.0", + "@rollup/rollup-linux-riscv64-musl": "4.49.0", + "@rollup/rollup-linux-s390x-gnu": "4.49.0", + "@rollup/rollup-linux-x64-gnu": "4.49.0", + "@rollup/rollup-linux-x64-musl": "4.49.0", + "@rollup/rollup-win32-arm64-msvc": "4.49.0", + "@rollup/rollup-win32-ia32-msvc": "4.49.0", + "@rollup/rollup-win32-x64-msvc": "4.49.0", "fsevents": "~2.3.2" } }, @@ -3809,6 +3917,22 @@ "node": ">=18" } }, + "node_modules/tar/node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "license": "MIT", + "peer": true, + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/temporal-polyfill": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.3.0.tgz", @@ -3912,19 +4036,6 @@ "node": ">=14.0.0" } }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "license": "MIT", - "peer": true, - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -3971,9 +4082,9 @@ } }, "node_modules/typescript": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", - "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", + "version": "5.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", + "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", "dev": true, "license": "Apache-2.0", "bin": { @@ -4307,6 +4418,38 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "peer": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -4344,45 +4487,109 @@ } }, "node_modules/yaml": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", - "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", + "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", "license": "ISC", - "peer": true, "bin": { "yaml": "bin.mjs" }, "engines": { - "node": ">= 14" + "node": ">= 14.6" } }, "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", + "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", "license": "MIT", + "peer": true, "dependencies": { - "cliui": "^8.0.1", + "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", + "string-width": "^7.2.0", "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" + "yargs-parser": "^22.0.0" }, "engines": { - "node": ">=12" + "node": "^20.19.0 || ^22.12.0 || >=23" } }, "node_modules/yargs-parser": { "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, "license": "ISC", "engines": { "node": ">=12" } }, + "node_modules/yargs/node_modules/ansi-regex": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.0.tgz", + "integrity": "sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==", + "license": "MIT", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/yargs/node_modules/emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "license": "MIT", + "peer": true + }, + "node_modules/yargs/node_modules/string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "license": "MIT", + "peer": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "22.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", + "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", + "license": "ISC", + "peer": true, + "engines": { + "node": "^20.19.0 || ^22.12.0 || >=23" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -4397,9 +4604,9 @@ } }, "node_modules/yoctocolors-cjs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", - "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", + "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", "license": "MIT", "peer": true, "engines": { diff --git a/specification/client/graders.client.tsp b/specification/client/graders.client.tsp index c7e5992a8..dc3cc91f4 100644 --- a/specification/client/graders.client.tsp +++ b/specification/client/graders.client.tsp @@ -6,3 +6,8 @@ using Azure.ClientGenerator.Core; @@convenientAPI(Graders.runGrader, false); @@convenientAPI(Graders.validateGrader, false); + +@@usage(RunGraderRequest, Usage.json); +@@usage(RunGraderResponse, Usage.output); +@@usage(ValidateGraderRequest, Usage.json); +@@usage(ValidateGraderResponse, Usage.output); diff --git a/src/Custom/Assistants/AssistantClient.cs b/src/Custom/Assistants/AssistantClient.cs index 024f8c04c..c800784ef 100644 --- a/src/Custom/Assistants/AssistantClient.cs +++ b/src/Custom/Assistants/AssistantClient.cs @@ -1258,23 +1258,23 @@ private static BinaryContent CreateThreadAndRunProtocolContent( { Argument.AssertNotNullOrEmpty(assistantId, nameof(assistantId)); InternalCreateThreadAndRunRequest internalRequest = new( - assistantId, - threadOptions, - runOptions.InstructionsOverride, - runOptions.ToolsOverride, - runOptions.Metadata, - runOptions.Temperature, + assistantId: assistantId, + thread: threadOptions, + instructions: runOptions.InstructionsOverride, + tools: runOptions.ToolsOverride, + metadata: runOptions.Metadata, + temperature: runOptions.Temperature, // TODO: reconcile exposure of the the two different tool_resources, if needed - runOptions.NucleusSamplingFactor, - runOptions.Stream, - runOptions.MaxInputTokenCount, - runOptions.MaxOutputTokenCount, - runOptions.TruncationStrategy, - runOptions.AllowParallelToolCalls, - runOptions.ModelOverride, - threadOptions.ToolResources, - runOptions.ResponseFormat, - runOptions.ToolConstraint, + topP: runOptions.NucleusSamplingFactor, + stream: runOptions.Stream, + maxPromptTokens: runOptions.MaxInputTokenCount, + maxCompletionTokens: runOptions.MaxOutputTokenCount, + truncationStrategy: runOptions.TruncationStrategy, + parallelToolCalls: runOptions.AllowParallelToolCalls, + model: runOptions.ModelOverride, + toolResources: threadOptions.ToolResources, + responseFormat: runOptions.ResponseFormat, + toolChoice: runOptions.ToolConstraint, additionalBinaryDataProperties: null); return BinaryContent.Create(internalRequest, ModelSerializationExtensions.WireOptions); } diff --git a/src/Custom/Assistants/ThreadInitializationMessage.cs b/src/Custom/Assistants/ThreadInitializationMessage.cs index 76865b2c5..a5a3e502b 100644 --- a/src/Custom/Assistants/ThreadInitializationMessage.cs +++ b/src/Custom/Assistants/ThreadInitializationMessage.cs @@ -13,13 +13,13 @@ public partial class ThreadInitializationMessage : MessageCreationOptions /// /// The content items that should be included in the message, added to the thread being created. /// - public ThreadInitializationMessage(MessageRole role, IEnumerable content) : base(null, null, role, content?.ToList(), null) + public ThreadInitializationMessage(MessageRole role, IEnumerable content) : base(attachments: null, metadata: null, role: role, content: content?.ToList(), additionalBinaryDataProperties: null) { Argument.AssertNotNull(content, nameof(content)); } internal ThreadInitializationMessage(MessageCreationOptions baseOptions) - : base(baseOptions.Attachments, baseOptions.Metadata, baseOptions.Role, baseOptions.Content, null) + : base(attachments: baseOptions.Attachments, metadata: baseOptions.Metadata, role: baseOptions.Role, content: baseOptions.Content, additionalBinaryDataProperties: null) { } internal ThreadInitializationMessage() : this(default, null) diff --git a/src/Custom/Audio/AudioTranslation.Serialization.cs b/src/Custom/Audio/AudioTranslation.Serialization.cs index 5b04f8050..98eff2f2a 100644 --- a/src/Custom/Audio/AudioTranslation.Serialization.cs +++ b/src/Custom/Audio/AudioTranslation.Serialization.cs @@ -12,7 +12,7 @@ internal static AudioTranslation FromResponse(PipelineResponse response) if (response?.Headers?.TryGetValue("Content-Type", out string contentType) == true && contentType.StartsWith("text/plain", StringComparison.Ordinal)) { - return new AudioTranslation(null, text: response.Content?.ToString(), null, task: default, null, null); + return new AudioTranslation(language: null, text: response.Content?.ToString(), segments: null, task: default, duration: null, additionalBinaryDataProperties: null); } using var document = JsonDocument.Parse(response.Content); diff --git a/src/Custom/Audio/OpenAIAudioModelFactory.cs b/src/Custom/Audio/OpenAIAudioModelFactory.cs index 3d168a3c5..9b8067ca4 100644 --- a/src/Custom/Audio/OpenAIAudioModelFactory.cs +++ b/src/Custom/Audio/OpenAIAudioModelFactory.cs @@ -25,13 +25,13 @@ public static AudioTranscription AudioTranscription(string language = null, Time transcriptionTokenLogProbabilities ??= new List(); return new AudioTranscription( - language, - text, - words.ToList(), - segments.ToList(), - "transcribe", - duration, - transcriptionTokenLogProbabilities.ToList(), + language: language, + text: text, + words: words.ToList(), + segments: segments.ToList(), + task: "transcribe", + duration: duration, + transcriptionTokenLogProbabilities: transcriptionTokenLogProbabilities.ToList(), additionalBinaryDataProperties: null); } @@ -42,11 +42,11 @@ public static AudioTranslation AudioTranslation(string language = null, TimeSpan segments ??= new List(); return new AudioTranslation( - language, - text, + language: language, + text: text, segments: segments.ToList(), task: "translate", - duration, + duration: duration, additionalBinaryDataProperties: null); } @@ -55,16 +55,16 @@ public static AudioTranslation AudioTranslation(string language = null, TimeSpan public static TranscribedSegment TranscribedSegment(int id = default, int seekOffset = default, TimeSpan startTime = default, TimeSpan endTime = default, string text = null, ReadOnlyMemory tokenIds = default, float temperature = default, float averageLogProbability = default, float compressionRatio = default, float noSpeechProbability = default) { return new TranscribedSegment( - id, - text, - temperature, - compressionRatio, - startTime, - endTime, - seekOffset, - tokenIds, - averageLogProbability, - noSpeechProbability, + id: id, + text: text, + temperature: temperature, + compressionRatio: compressionRatio, + startTime: startTime, + endTime: endTime, + seekOffset: seekOffset, + tokenIds: tokenIds, + averageLogProbability: averageLogProbability, + noSpeechProbability: noSpeechProbability, additionalBinaryDataProperties: null); } diff --git a/src/Custom/Chat/Internal/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs b/src/Custom/Chat/Internal/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs index 4fec659e2..06886b4e7 100644 --- a/src/Custom/Chat/Internal/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs +++ b/src/Custom/Chat/Internal/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs @@ -33,7 +33,7 @@ internal string InternalUrl /// Either a URL of the image or the base64 encoded image data. /// is null. public InternalChatCompletionRequestMessageContentPartImageImageUrl(Uri uri, ChatImageDetailLevel? detailLevel = default) - : this(detailLevel, null, null) + : this(null, detailLevel, null) { Argument.AssertNotNull(uri, nameof(uri)); _imageUri = uri; @@ -41,7 +41,7 @@ public InternalChatCompletionRequestMessageContentPartImageImageUrl(Uri uri, Cha } public InternalChatCompletionRequestMessageContentPartImageImageUrl(BinaryData imageBytes, string imageBytesMediaType, ChatImageDetailLevel? detailLevel = default) - : this(detailLevel, null, null) + : this(null, detailLevel, null) { Argument.AssertNotNull(imageBytes, nameof(imageBytes)); Argument.AssertNotNull(imageBytesMediaType, nameof(imageBytesMediaType)); diff --git a/src/Custom/Chat/Messages/AssistantChatMessage.cs b/src/Custom/Chat/Messages/AssistantChatMessage.cs index 2fd886132..e37ba06ab 100644 --- a/src/Custom/Chat/Messages/AssistantChatMessage.cs +++ b/src/Custom/Chat/Messages/AssistantChatMessage.cs @@ -21,7 +21,15 @@ public partial class AssistantChatMessage : ChatMessage /// The collection of content items associated with the message. /// public AssistantChatMessage(IEnumerable contentParts) - : this(new ChatMessageContent(contentParts), ChatMessageRole.Assistant, null, null, null, null, null, null) + : this( + content: new ChatMessageContent(contentParts), + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: null, + participantName: null, + toolCalls: null, + functionCall: null, + outputAudioReference: null) { Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); } @@ -34,7 +42,15 @@ public AssistantChatMessage(IEnumerable contentParts) /// The collection of text and image content items associated with the message. /// public AssistantChatMessage(params ChatMessageContentPart[] contentParts) - : this(new ChatMessageContent(contentParts), ChatMessageRole.Assistant, null, null, null, null, null, null) + : this( + content: new ChatMessageContent(contentParts), + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: null, + participantName: null, + toolCalls: null, + functionCall: null, + outputAudioReference: null) { Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); } @@ -45,7 +61,15 @@ public AssistantChatMessage(params ChatMessageContentPart[] contentParts) /// /// The text content of the message. public AssistantChatMessage(string content) - : this(new ChatMessageContent([content]), ChatMessageRole.Assistant, null, null, null, null, null, null) + : this( + content: new ChatMessageContent([content]), + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: null, + participantName: null, + toolCalls: null, + functionCall: null, + outputAudioReference: null) { Argument.AssertNotNull(content, nameof(content)); } @@ -56,7 +80,15 @@ public AssistantChatMessage(string content) /// /// The tool_calls made by the model. public AssistantChatMessage(IEnumerable toolCalls) - : this(null, ChatMessageRole.Assistant, null, null, null, null, null, null) + : this( + content: null, + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: null, + participantName: null, + toolCalls: null, + functionCall: null, + outputAudioReference: null) { Argument.AssertNotNullOrEmpty(toolCalls, nameof(toolCalls)); @@ -73,7 +105,15 @@ public AssistantChatMessage(IEnumerable toolCalls) /// The function_call made by the model. [Obsolete($"This constructor is obsolete. Please use the constructor that takes an IEnumerable parameter instead.")] public AssistantChatMessage(ChatFunctionCall functionCall) - : this(null, ChatMessageRole.Assistant, null, null, null, null, functionCall, null) + : this( + content: null, + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: null, + participantName: null, + toolCalls: null, + functionCall: functionCall, + outputAudioReference: null) { Argument.AssertNotNull(functionCall, nameof(functionCall)); } @@ -85,7 +125,15 @@ public AssistantChatMessage(ChatFunctionCall functionCall) /// The audio reference with an id, produced by the model. [Experimental("OPENAI001")] public AssistantChatMessage(ChatOutputAudioReference outputAudioReference) - : this(null, ChatMessageRole.Assistant, null, null, null, null, null, outputAudioReference) + : this( + content: null, + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: null, + participantName: null, + toolCalls: null, + functionCall: null, + outputAudioReference: outputAudioReference) { Argument.AssertNotNull(outputAudioReference, nameof(outputAudioReference)); } @@ -106,13 +154,13 @@ public AssistantChatMessage(ChatOutputAudioReference outputAudioReference) /// public AssistantChatMessage(ChatCompletion chatCompletion) : this( - chatCompletion?.Content, - ChatMessageRole.Assistant, - null, - chatCompletion?.Refusal, - null, - null, - chatCompletion?.FunctionCall, + content: chatCompletion?.Content, + role: ChatMessageRole.Assistant, + additionalBinaryDataProperties: null, + refusal: chatCompletion?.Refusal, + participantName: null, + toolCalls: null, + functionCall: chatCompletion?.FunctionCall, outputAudioReference: chatCompletion?.OutputAudio is not null ? new(chatCompletion.OutputAudio.Id) : null) diff --git a/src/Custom/Chat/Messages/ChatMessage.cs b/src/Custom/Chat/Messages/ChatMessage.cs index d998db46a..5e61093e7 100644 --- a/src/Custom/Chat/Messages/ChatMessage.cs +++ b/src/Custom/Chat/Messages/ChatMessage.cs @@ -69,7 +69,7 @@ public partial class ChatMessage // CUSTOM: Made internal. internal ChatMessage(ChatMessageRole role) - : this(null, role, null) + : this(content: null, role: role, additionalBinaryDataProperties: null) { } #region SystemChatMessage diff --git a/src/Custom/Chat/Messages/DeveloperChatMessage.cs b/src/Custom/Chat/Messages/DeveloperChatMessage.cs index c48d8fd1c..39ee4003b 100644 --- a/src/Custom/Chat/Messages/DeveloperChatMessage.cs +++ b/src/Custom/Chat/Messages/DeveloperChatMessage.cs @@ -23,7 +23,7 @@ public partial class DeveloperChatMessage : ChatMessage /// The collection of content items associated with the message. /// public DeveloperChatMessage(IEnumerable contentParts) - : this(new ChatMessageContent(contentParts), ChatMessageRole.Developer, null, null) + : this(content: new ChatMessageContent(contentParts), role: ChatMessageRole.Developer, participantName: null, additionalBinaryDataProperties: null) { } /// @@ -34,7 +34,7 @@ public DeveloperChatMessage(IEnumerable contentParts) /// The collection of content items associated with the message. /// public DeveloperChatMessage(params ChatMessageContentPart[] contentParts) - : this(new ChatMessageContent(contentParts), ChatMessageRole.Developer, null, null) + : this(content: new ChatMessageContent(contentParts), role: ChatMessageRole.Developer, participantName: null, additionalBinaryDataProperties: null) { Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); } @@ -44,7 +44,7 @@ public DeveloperChatMessage(params ChatMessageContentPart[] contentParts) /// /// The text content of the message. public DeveloperChatMessage(string content) - : this(new ChatMessageContent([content]), ChatMessageRole.Developer, null, null) + : this(content: new ChatMessageContent([content]), role: ChatMessageRole.Developer, participantName: null, additionalBinaryDataProperties: null) { Argument.AssertNotNull(content, nameof(content)); } diff --git a/src/Custom/Chat/Messages/FunctionChatMessage.cs b/src/Custom/Chat/Messages/FunctionChatMessage.cs index 4448b00de..883180718 100644 --- a/src/Custom/Chat/Messages/FunctionChatMessage.cs +++ b/src/Custom/Chat/Messages/FunctionChatMessage.cs @@ -25,7 +25,7 @@ public partial class FunctionChatMessage : ChatMessage /// restriction (e.g. JSON) imposed on this content. /// public FunctionChatMessage(string functionName, string content) - : this(content is null ? null : new ChatMessageContent([content]), ChatMessageRole.Function, null, functionName) + : this(content: content is null ? null : new ChatMessageContent([content]), role: ChatMessageRole.Function, additionalBinaryDataProperties: null, functionName: functionName) { Argument.AssertNotNull(functionName, nameof(functionName)); diff --git a/src/Custom/Chat/Messages/SystemChatMessage.cs b/src/Custom/Chat/Messages/SystemChatMessage.cs index 2b1bbd629..8223ac55e 100644 --- a/src/Custom/Chat/Messages/SystemChatMessage.cs +++ b/src/Custom/Chat/Messages/SystemChatMessage.cs @@ -21,7 +21,7 @@ public partial class SystemChatMessage : ChatMessage /// The collection of content items associated with the message. /// public SystemChatMessage(IEnumerable contentParts) - : this(new(contentParts), ChatMessageRole.System, null, null) + : this(content: new(contentParts), role: ChatMessageRole.System, participantName: null, additionalBinaryDataProperties: null) { } /// @@ -32,7 +32,7 @@ public SystemChatMessage(IEnumerable contentParts) /// The collection of content items associated with the message. /// public SystemChatMessage(params ChatMessageContentPart[] contentParts) - : this(new(contentParts), ChatMessageRole.System, null, null) + : this(content: new(contentParts), role: ChatMessageRole.System, participantName: null, additionalBinaryDataProperties: null) { Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); } @@ -42,7 +42,7 @@ public SystemChatMessage(params ChatMessageContentPart[] contentParts) /// /// The text content of the message. public SystemChatMessage(string content) - : this(new([content]), ChatMessageRole.System, null, null) + : this(content: new([content]), role: ChatMessageRole.System, participantName: null, additionalBinaryDataProperties: null) { Argument.AssertNotNull(content, nameof(content)); } diff --git a/src/Custom/Chat/Messages/ToolChatMessage.cs b/src/Custom/Chat/Messages/ToolChatMessage.cs index 8d6c13500..bcb9aa2c1 100644 --- a/src/Custom/Chat/Messages/ToolChatMessage.cs +++ b/src/Custom/Chat/Messages/ToolChatMessage.cs @@ -35,7 +35,7 @@ public partial class ToolChatMessage : ChatMessage /// The collection of content items associated with the message. /// public ToolChatMessage(string toolCallId, IEnumerable contentParts) - : this(new(contentParts), ChatMessageRole.Tool, null, toolCallId) + : this(content: new(contentParts), role: ChatMessageRole.Tool, additionalBinaryDataProperties: null, toolCallId: toolCallId) { Argument.AssertNotNull(toolCallId, nameof(toolCallId)); Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); @@ -52,7 +52,7 @@ public ToolChatMessage(string toolCallId, IEnumerable co /// The collection of content items associated with the message. /// public ToolChatMessage(string toolCallId, params ChatMessageContentPart[] contentParts) - : this(new(contentParts), ChatMessageRole.Tool, null, toolCallId) + : this(content: new(contentParts), role: ChatMessageRole.Tool, additionalBinaryDataProperties: null, toolCallId: toolCallId) { Argument.AssertNotNull(toolCallId, nameof(toolCallId)); Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); @@ -66,7 +66,7 @@ public ToolChatMessage(string toolCallId, params ChatMessageContentPart[] conten /// /// The text content of the message. public ToolChatMessage(string toolCallId, string content) - : this(new([content]), ChatMessageRole.Tool, null, toolCallId) + : this(content: new([content]), role: ChatMessageRole.Tool, additionalBinaryDataProperties: null, toolCallId: toolCallId) { Argument.AssertNotNull(toolCallId, nameof(toolCallId)); Argument.AssertNotNull(content, nameof(content)); diff --git a/src/Custom/Chat/Messages/UserChatMessage.cs b/src/Custom/Chat/Messages/UserChatMessage.cs index 18f49fd40..25e564d58 100644 --- a/src/Custom/Chat/Messages/UserChatMessage.cs +++ b/src/Custom/Chat/Messages/UserChatMessage.cs @@ -22,7 +22,7 @@ public partial class UserChatMessage : ChatMessage /// The collection of text and image content items associated with the message. /// public UserChatMessage(IEnumerable contentParts) - : this(new(contentParts), ChatMessageRole.User, null, null) + : this(content: new(contentParts), role: ChatMessageRole.User, participantName: null, additionalBinaryDataProperties: null) { Argument.AssertNotNullOrEmpty(contentParts, nameof(contentParts)); } @@ -36,7 +36,7 @@ public UserChatMessage(IEnumerable contentParts) /// The collection of text and image content items associated with the message. /// public UserChatMessage(params ChatMessageContentPart[] contentParts) - : this(new(contentParts), ChatMessageRole.User, null, null) + : this(content: new(contentParts), role: ChatMessageRole.User, participantName: null, additionalBinaryDataProperties: null) { } /// @@ -44,7 +44,7 @@ public UserChatMessage(params ChatMessageContentPart[] contentParts) /// /// The textual content associated with the message. public UserChatMessage(string content) - : this(new([content]), ChatMessageRole.User, null, null) + : this(content: new([content]), role: ChatMessageRole.User, participantName: null, additionalBinaryDataProperties: null) { Argument.AssertNotNull(content, nameof(content)); } diff --git a/src/Custom/Chat/OpenAIChatModelFactory.cs b/src/Custom/Chat/OpenAIChatModelFactory.cs index 6213fab60..8a7110b91 100644 --- a/src/Custom/Chat/OpenAIChatModelFactory.cs +++ b/src/Custom/Chat/OpenAIChatModelFactory.cs @@ -70,13 +70,13 @@ public static ChatCompletion ChatCompletion( messageAnnotations ??= new List(); InternalChatCompletionResponseMessage message = new( - refusal, - toolCalls.ToList(), - messageAnnotations.ToList(), - outputAudio, - role, - content, - functionCall, + refusal: refusal, + toolCalls: toolCalls.ToList(), + annotations: messageAnnotations.ToList(), + audio: outputAudio, + role: role, + content: content, + functionCall: functionCall, additionalBinaryDataProperties: null); InternalCreateChatCompletionResponseChoiceLogprobs logprobs = new InternalCreateChatCompletionResponseChoiceLogprobs( @@ -94,14 +94,14 @@ public static ChatCompletion ChatCompletion( ]; return new ChatCompletion( - id, - model, - serviceTier, - systemFingerprint, - usage, - "chat.completion", - choices, - createdAt, + id: id, + model: model, + serviceTier: serviceTier, + systemFingerprint: systemFingerprint, + usage: usage, + @object: "chat.completion", + choices: choices, + createdAt: createdAt, additionalBinaryDataProperties: null); } @@ -222,10 +222,10 @@ public static ChatOutputTokenUsageDetails ChatOutputTokenUsageDetails(int reason public static ChatOutputAudio ChatOutputAudio(BinaryData audioBytes, string id = null, string transcript = null, DateTimeOffset expiresAt = default) { return new ChatOutputAudio( - id, - expiresAt, - transcript, - audioBytes, + id: id, + expiresAt: expiresAt, + transcript: transcript, + audioBytes: audioBytes, additionalBinaryDataProperties: null); } @@ -288,12 +288,12 @@ public static StreamingChatCompletionUpdate StreamingChatCompletionUpdate( refusalTokenLogProbabilities ??= new List(); InternalChatCompletionStreamResponseDelta delta = new InternalChatCompletionStreamResponseDelta( - outputAudioUpdate, - functionCallUpdate, - toolCallUpdates.ToList(), - refusalUpdate, - role, - contentUpdate, + audio: outputAudioUpdate, + functionCall: functionCallUpdate, + toolCalls: toolCallUpdates.ToList(), + refusal: refusalUpdate, + role: role, + content: contentUpdate, additionalBinaryDataProperties: null); InternalCreateChatCompletionStreamResponseChoiceLogprobs logprobs = new InternalCreateChatCompletionStreamResponseChoiceLogprobs( @@ -303,22 +303,22 @@ public static StreamingChatCompletionUpdate StreamingChatCompletionUpdate( IReadOnlyList choices = [ new InternalCreateChatCompletionStreamResponseChoice( - delta, - logprobs, + delta: delta, + logprobs: logprobs, index: 0, - finishReason, + finishReason: finishReason, additionalBinaryDataProperties: null) ]; return new StreamingChatCompletionUpdate( - model, - serviceTier, - systemFingerprint, - "chat.completion.chunk", - completionId, - choices, - createdAt, - usage, + model: model, + serviceTier: serviceTier, + systemFingerprint: systemFingerprint, + @object: "chat.completion.chunk", + completionId: completionId, + choices: choices, + createdAt: createdAt, + usage: usage, additionalBinaryDataProperties: null); } @@ -349,10 +349,10 @@ public static StreamingChatOutputAudioUpdate StreamingChatOutputAudioUpdate( BinaryData audioBytesUpdate = null) { return new StreamingChatOutputAudioUpdate( - id, - expiresAt, - transcriptUpdate, - audioBytesUpdate, + id: id, + expiresAt: expiresAt, + transcriptUpdate: transcriptUpdate, + audioBytesUpdate: audioBytesUpdate, additionalBinaryDataProperties: null); } @@ -366,10 +366,10 @@ public static StreamingChatToolCallUpdate StreamingChatToolCallUpdate(int index additionalBinaryDataProperties: null); return new StreamingChatToolCallUpdate( - index, - function, - kind, - toolCallId, + index: index, + function: function, + kind: kind, + toolCallId: toolCallId, additionalBinaryDataProperties: null); } } diff --git a/src/Custom/Chat/Streaming/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs b/src/Custom/Chat/Streaming/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs index 5d3b87e63..6e0443df8 100644 --- a/src/Custom/Chat/Streaming/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs +++ b/src/Custom/Chat/Streaming/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs @@ -100,6 +100,6 @@ internal static InternalCreateChatCompletionStreamResponseChoice DeserializeInte } } serializedAdditionalRawData = rawDataDictionary; - return new InternalCreateChatCompletionStreamResponseChoice(delta, logprobs, index, finishReason, serializedAdditionalRawData); + return new InternalCreateChatCompletionStreamResponseChoice(delta: delta, logprobs: logprobs, index: index, finishReason: finishReason, additionalBinaryDataProperties: serializedAdditionalRawData); } } diff --git a/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs b/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs index b81dec23c..dd5e7e6c5 100644 --- a/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs +++ b/src/Custom/Embeddings/OpenAIEmbeddingCollection.cs @@ -11,7 +11,7 @@ namespace OpenAI.Embeddings; [CodeGenSuppress("Data")] [CodeGenSuppress(nameof(OpenAIEmbeddingCollection))] [CodeGenSuppress(nameof(OpenAIEmbeddingCollection), typeof(string), typeof(EmbeddingTokenUsage))] -[CodeGenSuppress(nameof(OpenAIEmbeddingCollection), typeof(string), typeof(EmbeddingTokenUsage), typeof(string), typeof(IDictionary))] +[CodeGenSuppress(nameof(OpenAIEmbeddingCollection), typeof(string), typeof(string), typeof(EmbeddingTokenUsage), typeof(IDictionary))] public partial class OpenAIEmbeddingCollection : ReadOnlyCollection { // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. diff --git a/src/Custom/Files/OpenAIFilesModelFactory.cs b/src/Custom/Files/OpenAIFilesModelFactory.cs index e26c9bd01..8a8142636 100644 --- a/src/Custom/Files/OpenAIFilesModelFactory.cs +++ b/src/Custom/Files/OpenAIFilesModelFactory.cs @@ -14,9 +14,9 @@ public static partial class OpenAIFilesModelFactory public static FileDeletionResult FileDeletionResult(string fileId = null, bool deleted = default) { return new FileDeletionResult( - deleted, - fileId, - "file", + deleted: deleted, + fileId: fileId, + @object: "file", additionalBinaryDataProperties: null); } diff --git a/src/Custom/Images/GeneratedImageCollection.cs b/src/Custom/Images/GeneratedImageCollection.cs index edcbb08ab..01fb52dbf 100644 --- a/src/Custom/Images/GeneratedImageCollection.cs +++ b/src/Custom/Images/GeneratedImageCollection.cs @@ -21,7 +21,7 @@ public partial class GeneratedImageCollection : ReadOnlyCollection /// /// Keeps track of any properties unknown to the library. - internal GeneratedImageCollection(IList data, ImageTokenUsage usage, DateTimeOffset createdAt, IDictionary additionalBinaryDataProperties) + internal GeneratedImageCollection(DateTimeOffset createdAt, IList data, ImageTokenUsage usage, IDictionary additionalBinaryDataProperties) : base([.. data]) { Usage = usage; diff --git a/src/Custom/Images/OpenAIImagesModelFactory.cs b/src/Custom/Images/OpenAIImagesModelFactory.cs index 8affa16df..30a7b2a77 100644 --- a/src/Custom/Images/OpenAIImagesModelFactory.cs +++ b/src/Custom/Images/OpenAIImagesModelFactory.cs @@ -14,9 +14,9 @@ public static partial class OpenAIImagesModelFactory public static GeneratedImage GeneratedImage(BinaryData imageBytes = null, Uri imageUri = null, string revisedPrompt = null) { return new GeneratedImage( - revisedPrompt, - imageBytes, - imageUri, + revisedPrompt: revisedPrompt, + imageBytes: imageBytes, + imageUri: imageUri, additionalBinaryDataProperties: null); } @@ -34,9 +34,9 @@ public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset c items ??= new List(); return new GeneratedImageCollection( - items.ToList(), - usage, - createdAt, + data: items.ToList(), + usage: usage, + createdAt: createdAt, additionalBinaryDataProperties: null); } } diff --git a/src/Custom/Models/OpenAIModelsModelFactory.cs b/src/Custom/Models/OpenAIModelsModelFactory.cs index a9cf4b0d9..0fc1800b5 100644 --- a/src/Custom/Models/OpenAIModelsModelFactory.cs +++ b/src/Custom/Models/OpenAIModelsModelFactory.cs @@ -12,9 +12,9 @@ public static partial class OpenAIModelsModelFactory public static ModelDeletionResult ModelDeletionResult(string modelId = null, bool deleted = default) { return new ModelDeletionResult( - deleted, - modelId, - "model", + deleted: deleted, + modelId: modelId, + @object: "model", additionalBinaryDataProperties: null); } @@ -23,10 +23,10 @@ public static ModelDeletionResult ModelDeletionResult(string modelId = null, boo public static OpenAIModel OpenAIModel(string id = null, DateTimeOffset createdAt = default, string ownedBy = null) { return new OpenAIModel( - id, - ownedBy, - "model", - createdAt, + id: id, + ownedBy: ownedBy, + @object: "model", + createdAt: createdAt, additionalBinaryDataProperties: null); } diff --git a/src/Custom/Responses/Items/ResponseItem.cs b/src/Custom/Responses/Items/ResponseItem.cs index f1e1cf0b5..76c582376 100644 --- a/src/Custom/Responses/Items/ResponseItem.cs +++ b/src/Custom/Responses/Items/ResponseItem.cs @@ -65,7 +65,7 @@ public static MessageResponseItem CreateAssistantMessageItem(string outputTextCo return new InternalResponsesAssistantMessage( internalContent: [ - new InternalItemContentOutputText(annotations ?? [], outputTextContent), + new InternalItemContentOutputText(outputTextContent, annotations ?? []), ]); } diff --git a/src/Custom/Responses/OpenAIResponsesModelFactory.cs b/src/Custom/Responses/OpenAIResponsesModelFactory.cs index 22a793aea..7c2b2c819 100644 --- a/src/Custom/Responses/OpenAIResponsesModelFactory.cs +++ b/src/Custom/Responses/OpenAIResponsesModelFactory.cs @@ -41,31 +41,31 @@ public static OpenAIResponse OpenAIResponse( metadata ??= new Dictionary(); return new OpenAIResponse( - metadata: metadata, - temperature: temperature, - topP: topP, - serviceTier, - previousResponseId: previousResponseId, - background: background, - instructions: instructions, - tools: tools.ToList(), - id: id, - status: status, - createdAt: createdAt, - error: error, - usage: usage, - endUserId: endUserId, - reasoningOptions: reasoningOptions, - maxOutputTokenCount: maxOutputTokenCount, - textOptions: textOptions, - truncationMode: truncationMode, - incompleteStatusDetails: incompleteStatusDetails, - outputItems: outputItems.ToList(), - parallelToolCallsEnabled: parallelToolCallsEnabled, - toolChoice: toolChoice, - model: model, - @object: "response", - additionalBinaryDataProperties: null); + metadata: metadata, + temperature: temperature, + topP: topP, + serviceTier: serviceTier, + previousResponseId: previousResponseId, + background: background, + instructions: instructions, + tools: tools.ToList(), + id: id, + status: status, + createdAt: createdAt, + error: error, + usage: usage, + endUserId: endUserId, + reasoningOptions: reasoningOptions, + maxOutputTokenCount: maxOutputTokenCount, + textOptions: textOptions, + truncationMode: truncationMode, + incompleteStatusDetails: incompleteStatusDetails, + outputItems: outputItems.ToList(), + parallelToolCallsEnabled: parallelToolCallsEnabled, + toolChoice: toolChoice, + model: model, + @object: "response", + additionalBinaryDataProperties: null); } /// Initializes a new instance of . diff --git a/src/Custom/Responses/ResponseContentPart.cs b/src/Custom/Responses/ResponseContentPart.cs index fd5835d15..14ca0a9a9 100644 --- a/src/Custom/Responses/ResponseContentPart.cs +++ b/src/Custom/Responses/ResponseContentPart.cs @@ -94,7 +94,7 @@ public static ResponseContentPart CreateInputFilePart(BinaryData fileBytes, stri public static ResponseContentPart CreateOutputTextPart(string text, IEnumerable annotations) { - return new InternalItemContentOutputText(annotations, text); + return new InternalItemContentOutputText(text, annotations); } public static ResponseContentPart CreateRefusalPart(string refusal) diff --git a/src/Custom/Responses/Tools/ResponseTool.cs b/src/Custom/Responses/Tools/ResponseTool.cs index b19dff47e..758b8a372 100644 --- a/src/Custom/Responses/Tools/ResponseTool.cs +++ b/src/Custom/Responses/Tools/ResponseTool.cs @@ -13,7 +13,7 @@ public partial class ResponseTool { public static ResponseTool CreateFunctionTool(string functionName, string functionDescription, BinaryData functionParameters, bool functionSchemaIsStrict = false) { - return new InternalFunctionTool(functionName, functionSchemaIsStrict, functionParameters) + return new InternalFunctionTool(functionName, functionParameters, functionSchemaIsStrict) { Description = functionDescription }; diff --git a/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs b/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs index 132704c94..cb7477c5f 100644 --- a/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs +++ b/src/Custom/VectorStores/VectorStoreExpirationPolicy.cs @@ -16,7 +16,7 @@ public partial class VectorStoreExpirationPolicy public VectorStoreExpirationAnchor Anchor { get; set; } = VectorStoreExpirationAnchor.LastActiveAt; public VectorStoreExpirationPolicy(VectorStoreExpirationAnchor anchor, int days) - : this(days, anchor, null) + : this(days: days, anchor: anchor, additionalBinaryDataProperties: null) { } } diff --git a/src/Generated/Internal/ModelSerializationExtensions.cs b/src/Generated/Internal/ModelSerializationExtensions.cs index 50a860ac2..aa688353a 100644 --- a/src/Generated/Internal/ModelSerializationExtensions.cs +++ b/src/Generated/Internal/ModelSerializationExtensions.cs @@ -14,6 +14,10 @@ namespace OpenAI internal static partial class ModelSerializationExtensions { internal static readonly ModelReaderWriterOptions WireOptions = new ModelReaderWriterOptions("W"); + internal static readonly JsonDocumentOptions JsonDocumentOptions = new JsonDocumentOptions + { + MaxDepth = 256 + }; private static readonly BinaryData _sentinelValue = BinaryData.FromBytes("\"__EMPTY__\""u8.ToArray()); public static object GetObject(this JsonElement element) diff --git a/src/Generated/Models/Assistants/Assistant.Serialization.cs b/src/Generated/Models/Assistants/Assistant.Serialization.cs index 0f816396c..eed6ffb4e 100644 --- a/src/Generated/Models/Assistants/Assistant.Serialization.cs +++ b/src/Generated/Models/Assistants/Assistant.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class Assistant : IJsonModel { - internal Assistant() : this(null, default, null, null, null, null, null, null, null, default, null, null, default, null) + internal Assistant() : this(null, null, default, null, null, null, null, null, null, null, default, default, null, null) { } @@ -36,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -120,21 +125,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + if (Optional.IsDefined(NucleusSamplingFactor) && _additionalBinaryDataProperties?.ContainsKey("top_p") != true) { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); + writer.WritePropertyName("top_p"u8); + writer.WriteNumberValue(NucleusSamplingFactor.Value); } if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) { writer.WritePropertyName("response_format"u8); writer.WriteObjectValue(ResponseFormat, options); } - if (Optional.IsDefined(NucleusSamplingFactor) && _additionalBinaryDataProperties?.ContainsKey("top_p") != true) - { - writer.WritePropertyName("top_p"u8); - writer.WriteNumberValue(NucleusSamplingFactor.Value); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -177,6 +177,7 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW return null; } string id = default; + string @object = default; DateTimeOffset createdAt = default; string name = default; string description = default; @@ -186,9 +187,8 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW ToolResources toolResources = default; IReadOnlyDictionary metadata = default; float? temperature = default; - string @object = default; - AssistantResponseFormat responseFormat = default; float? nucleusSamplingFactor = default; + AssistantResponseFormat responseFormat = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -197,6 +197,11 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW id = prop.Value.GetString(); continue; } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -289,29 +294,24 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("object"u8)) - { - @object = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("top_p"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; + nucleusSamplingFactor = null; continue; } - responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); + nucleusSamplingFactor = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("top_p"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - nucleusSamplingFactor = null; + responseFormat = null; continue; } - nucleusSamplingFactor = prop.Value.GetSingle(); + responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check @@ -319,6 +319,7 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW } return new Assistant( id, + @object, createdAt, name, description, @@ -328,9 +329,8 @@ internal static Assistant DeserializeAssistant(JsonElement element, ModelReaderW toolResources, metadata, temperature, - @object, - responseFormat, nucleusSamplingFactor, + responseFormat, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/Assistant.cs b/src/Generated/Models/Assistants/Assistant.cs index decd4dc11..e92795ec5 100644 --- a/src/Generated/Models/Assistants/Assistant.cs +++ b/src/Generated/Models/Assistants/Assistant.cs @@ -26,10 +26,11 @@ internal Assistant(string id, DateTimeOffset createdAt, string name, string desc Metadata = new ChangeTrackingDictionary(); } - internal Assistant(string id, DateTimeOffset createdAt, string name, string description, string model, string instructions, IReadOnlyList tools, ToolResources toolResources, IReadOnlyDictionary metadata, float? temperature, string @object, AssistantResponseFormat responseFormat, float? nucleusSamplingFactor, IDictionary additionalBinaryDataProperties) + internal Assistant(string id, string @object, DateTimeOffset createdAt, string name, string description, string model, string instructions, IReadOnlyList tools, ToolResources toolResources, IReadOnlyDictionary metadata, float? temperature, float? nucleusSamplingFactor, AssistantResponseFormat responseFormat, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; + Object = @object; CreatedAt = createdAt; Name = name; Description = description; @@ -39,9 +40,8 @@ internal Assistant(string id, DateTimeOffset createdAt, string name, string desc ToolResources = toolResources; Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; - Object = @object; - ResponseFormat = responseFormat; NucleusSamplingFactor = nucleusSamplingFactor; + ResponseFormat = responseFormat; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs index 9384c03d8..69ec65b58 100644 --- a/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantCreationOptions.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class AssistantCreationOptions : IJsonModel { - public AssistantCreationOptions() : this(null, null, null, null, default, null, null, null, null, default, default, null) + public AssistantCreationOptions() : this(null, null, null, null, default, null, null, null, default, default, null, null) { } @@ -31,6 +31,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AssistantCreationOptions)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } if (Optional.IsDefined(Name) && _additionalBinaryDataProperties?.ContainsKey("name") != true) { writer.WritePropertyName("name"u8); @@ -46,6 +51,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("instructions"u8); writer.WriteStringValue(Instructions); } + if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + { + writer.WritePropertyName("reasoning_effort"u8); + writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + } + if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) + { + writer.WritePropertyName("tools"u8); + writer.WriteStartArray(); + foreach (ToolDefinition item in Tools) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } + if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) + { + writer.WritePropertyName("tool_resources"u8); + writer.WriteObjectValue(ToolResources, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -67,40 +92,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (_additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); - } - if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) - { - writer.WritePropertyName("tools"u8); - writer.WriteStartArray(); - foreach (ToolDefinition item in Tools) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - } - if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) - { - writer.WritePropertyName("tool_resources"u8); - writer.WriteObjectValue(ToolResources, options); - } - if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) - { - writer.WritePropertyName("response_format"u8); - writer.WriteObjectValue(ResponseFormat, options); - } if (Optional.IsDefined(NucleusSamplingFactor) && _additionalBinaryDataProperties?.ContainsKey("top_p") != true) { writer.WritePropertyName("top_p"u8); writer.WriteNumberValue(NucleusSamplingFactor.Value); } - if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) { - writer.WritePropertyName("reasoning_effort"u8); - writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + writer.WritePropertyName("response_format"u8); + writer.WriteObjectValue(ResponseFormat, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -143,20 +143,25 @@ internal static AssistantCreationOptions DeserializeAssistantCreationOptions(Jso { return null; } + string model = default; string name = default; string description = default; string instructions = default; - IDictionary metadata = default; - float? temperature = default; - string model = default; + ChatReasoningEffortLevel? reasoningEffortLevel = default; IList tools = default; ToolResources toolResources = default; - AssistantResponseFormat responseFormat = default; + IDictionary metadata = default; + float? temperature = default; float? nucleusSamplingFactor = default; - ChatReasoningEffortLevel? reasoningEffortLevel = default; + AssistantResponseFormat responseFormat = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("model"u8)) + { + model = prop.Value.GetString(); + continue; + } if (prop.NameEquals("name"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -187,40 +192,14 @@ internal static AssistantCreationOptions DeserializeAssistantCreationOptions(Jso instructions = prop.Value.GetString(); continue; } - if (prop.NameEquals("metadata"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) - { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } - } - metadata = dictionary; - continue; - } - if (prop.NameEquals("temperature"u8)) + if (prop.NameEquals("reasoning_effort"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - temperature = null; + reasoningEffortLevel = null; continue; } - temperature = prop.Value.GetSingle(); - continue; - } - if (prop.NameEquals("model"u8)) - { - model = prop.Value.GetString(); + reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); continue; } if (prop.NameEquals("tools"u8)) @@ -247,14 +226,35 @@ internal static AssistantCreationOptions DeserializeAssistantCreationOptions(Jso toolResources = ToolResources.DeserializeToolResources(prop.Value, options); continue; } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; continue; } - responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) + { + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } + } + metadata = dictionary; + continue; + } + if (prop.NameEquals("temperature"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + temperature = null; + continue; + } + temperature = prop.Value.GetSingle(); continue; } if (prop.NameEquals("top_p"u8)) @@ -267,31 +267,31 @@ internal static AssistantCreationOptions DeserializeAssistantCreationOptions(Jso nucleusSamplingFactor = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("reasoning_effort"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningEffortLevel = null; + responseFormat = null; continue; } - reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); + responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AssistantCreationOptions( + model, name, description, instructions, - metadata ?? new ChangeTrackingDictionary(), - temperature, - model, + reasoningEffortLevel, tools ?? new ChangeTrackingList(), toolResources, - responseFormat, + metadata ?? new ChangeTrackingDictionary(), + temperature, nucleusSamplingFactor, - reasoningEffortLevel, + responseFormat, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/AssistantCreationOptions.cs b/src/Generated/Models/Assistants/AssistantCreationOptions.cs index 3f09ee606..7e68d4dde 100644 --- a/src/Generated/Models/Assistants/AssistantCreationOptions.cs +++ b/src/Generated/Models/Assistants/AssistantCreationOptions.cs @@ -15,20 +15,20 @@ public partial class AssistantCreationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal AssistantCreationOptions(string name, string description, string instructions, IDictionary metadata, float? temperature, string model, IList tools, ToolResources toolResources, AssistantResponseFormat responseFormat, float? nucleusSamplingFactor, ChatReasoningEffortLevel? reasoningEffortLevel, IDictionary additionalBinaryDataProperties) + internal AssistantCreationOptions(string model, string name, string description, string instructions, ChatReasoningEffortLevel? reasoningEffortLevel, IList tools, ToolResources toolResources, IDictionary metadata, float? temperature, float? nucleusSamplingFactor, AssistantResponseFormat responseFormat, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Model = model; Name = name; Description = description; Instructions = instructions; - Metadata = metadata ?? new ChangeTrackingDictionary(); - Temperature = temperature; - Model = model; + ReasoningEffortLevel = reasoningEffortLevel; Tools = tools ?? new ChangeTrackingList(); ToolResources = toolResources; - ResponseFormat = responseFormat; + Metadata = metadata ?? new ChangeTrackingDictionary(); + Temperature = temperature; NucleusSamplingFactor = nucleusSamplingFactor; - ReasoningEffortLevel = reasoningEffortLevel; + ResponseFormat = responseFormat; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs index b83dd17e7..2efa5e531 100644 --- a/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantDeletionResult.Serialization.cs @@ -31,16 +31,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AssistantDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(AssistantId); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); @@ -87,20 +87,20 @@ internal static AssistantDeletionResult DeserializeAssistantDeletionResult(JsonE { return null; } - bool deleted = default; string assistantId = default; + bool deleted = default; string @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) + if (prop.NameEquals("id"u8)) { - deleted = prop.Value.GetBoolean(); + assistantId = prop.Value.GetString(); continue; } - if (prop.NameEquals("id"u8)) + if (prop.NameEquals("deleted"u8)) { - assistantId = prop.Value.GetString(); + deleted = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("object"u8)) @@ -111,7 +111,7 @@ internal static AssistantDeletionResult DeserializeAssistantDeletionResult(JsonE // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new AssistantDeletionResult(deleted, assistantId, @object, additionalBinaryDataProperties); + return new AssistantDeletionResult(assistantId, deleted, @object, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/AssistantDeletionResult.cs b/src/Generated/Models/Assistants/AssistantDeletionResult.cs index 4bf215dc1..b6a84811b 100644 --- a/src/Generated/Models/Assistants/AssistantDeletionResult.cs +++ b/src/Generated/Models/Assistants/AssistantDeletionResult.cs @@ -13,16 +13,16 @@ public partial class AssistantDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal AssistantDeletionResult(bool deleted, string assistantId) + internal AssistantDeletionResult(string assistantId, bool deleted) { - Deleted = deleted; AssistantId = assistantId; + Deleted = deleted; } - internal AssistantDeletionResult(bool deleted, string assistantId, string @object, IDictionary additionalBinaryDataProperties) + internal AssistantDeletionResult(string assistantId, bool deleted, string @object, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; AssistantId = assistantId; + Deleted = deleted; Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs index e5dc82d81..ffec048f2 100644 --- a/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantModificationOptions.Serialization.cs @@ -27,6 +27,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AssistantModificationOptions)} does not support writing '{format}' format."); } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } + if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + { + writer.WritePropertyName("reasoning_effort"u8); + writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + } if (Optional.IsDefined(Name) && _additionalBinaryDataProperties?.ContainsKey("name") != true) { writer.WritePropertyName("name"u8); @@ -42,6 +52,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("instructions"u8); writer.WriteStringValue(Instructions); } + if (Optional.IsCollectionDefined(DefaultTools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) + { + writer.WritePropertyName("tools"u8); + writer.WriteStartArray(); + foreach (ToolDefinition item in DefaultTools) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } + if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) + { + writer.WritePropertyName("tool_resources"u8); + writer.WriteObjectValue(ToolResources, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -63,40 +88,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); - } - if (Optional.IsCollectionDefined(DefaultTools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) - { - writer.WritePropertyName("tools"u8); - writer.WriteStartArray(); - foreach (ToolDefinition item in DefaultTools) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - } - if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) - { - writer.WritePropertyName("tool_resources"u8); - writer.WriteObjectValue(ToolResources, options); - } - if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) - { - writer.WritePropertyName("response_format"u8); - writer.WriteObjectValue(ResponseFormat, options); - } if (Optional.IsDefined(NucleusSamplingFactor) && _additionalBinaryDataProperties?.ContainsKey("top_p") != true) { writer.WritePropertyName("top_p"u8); writer.WriteNumberValue(NucleusSamplingFactor.Value); } - if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) { - writer.WritePropertyName("reasoning_effort"u8); - writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + writer.WritePropertyName("response_format"u8); + writer.WriteObjectValue(ResponseFormat, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -139,84 +139,63 @@ internal static AssistantModificationOptions DeserializeAssistantModificationOpt { return null; } + string model = default; + ChatReasoningEffortLevel? reasoningEffortLevel = default; string name = default; string description = default; string instructions = default; - IDictionary metadata = default; - float? temperature = default; - string model = default; IList defaultTools = default; ToolResources toolResources = default; - AssistantResponseFormat responseFormat = default; + IDictionary metadata = default; + float? temperature = default; float? nucleusSamplingFactor = default; - ChatReasoningEffortLevel? reasoningEffortLevel = default; + AssistantResponseFormat responseFormat = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("name"u8)) + if (prop.NameEquals("model"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - name = null; - continue; - } - name = prop.Value.GetString(); + model = prop.Value.GetString(); continue; } - if (prop.NameEquals("description"u8)) + if (prop.NameEquals("reasoning_effort"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - description = null; + reasoningEffortLevel = null; continue; } - description = prop.Value.GetString(); + reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); continue; } - if (prop.NameEquals("instructions"u8)) + if (prop.NameEquals("name"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - instructions = null; + name = null; continue; } - instructions = prop.Value.GetString(); + name = prop.Value.GetString(); continue; } - if (prop.NameEquals("metadata"u8)) + if (prop.NameEquals("description"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + description = null; continue; } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) - { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } - } - metadata = dictionary; + description = prop.Value.GetString(); continue; } - if (prop.NameEquals("temperature"u8)) + if (prop.NameEquals("instructions"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - temperature = null; + instructions = null; continue; } - temperature = prop.Value.GetSingle(); - continue; - } - if (prop.NameEquals("model"u8)) - { - model = prop.Value.GetString(); + instructions = prop.Value.GetString(); continue; } if (prop.NameEquals("tools"u8)) @@ -243,14 +222,35 @@ internal static AssistantModificationOptions DeserializeAssistantModificationOpt toolResources = ToolResources.DeserializeToolResources(prop.Value, options); continue; } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; continue; } - responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) + { + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } + } + metadata = dictionary; + continue; + } + if (prop.NameEquals("temperature"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + temperature = null; + continue; + } + temperature = prop.Value.GetSingle(); continue; } if (prop.NameEquals("top_p"u8)) @@ -263,31 +263,31 @@ internal static AssistantModificationOptions DeserializeAssistantModificationOpt nucleusSamplingFactor = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("reasoning_effort"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningEffortLevel = null; + responseFormat = null; continue; } - reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); + responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AssistantModificationOptions( + model, + reasoningEffortLevel, name, description, instructions, - metadata ?? new ChangeTrackingDictionary(), - temperature, - model, defaultTools ?? new ChangeTrackingList(), toolResources, - responseFormat, + metadata ?? new ChangeTrackingDictionary(), + temperature, nucleusSamplingFactor, - reasoningEffortLevel, + responseFormat, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/AssistantModificationOptions.cs b/src/Generated/Models/Assistants/AssistantModificationOptions.cs index dfcd7eca8..a85826422 100644 --- a/src/Generated/Models/Assistants/AssistantModificationOptions.cs +++ b/src/Generated/Models/Assistants/AssistantModificationOptions.cs @@ -15,24 +15,24 @@ public partial class AssistantModificationOptions { private protected IDictionary _additionalBinaryDataProperties; - public AssistantModificationOptions() : this(null, null, null, null, default, null, null, null, null, default, default, null) + public AssistantModificationOptions() : this(null, default, null, null, null, null, null, null, default, default, null, null) { } - internal AssistantModificationOptions(string name, string description, string instructions, IDictionary metadata, float? temperature, string model, IList defaultTools, ToolResources toolResources, AssistantResponseFormat responseFormat, float? nucleusSamplingFactor, ChatReasoningEffortLevel? reasoningEffortLevel, IDictionary additionalBinaryDataProperties) + internal AssistantModificationOptions(string model, ChatReasoningEffortLevel? reasoningEffortLevel, string name, string description, string instructions, IList defaultTools, ToolResources toolResources, IDictionary metadata, float? temperature, float? nucleusSamplingFactor, AssistantResponseFormat responseFormat, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Model = model; + ReasoningEffortLevel = reasoningEffortLevel; Name = name; Description = description; Instructions = instructions; - Metadata = metadata ?? new ChangeTrackingDictionary(); - Temperature = temperature; - Model = model; DefaultTools = defaultTools ?? new ChangeTrackingList(); ToolResources = toolResources; - ResponseFormat = responseFormat; + Metadata = metadata ?? new ChangeTrackingDictionary(); + Temperature = temperature; NucleusSamplingFactor = nucleusSamplingFactor; - ReasoningEffortLevel = reasoningEffortLevel; + ResponseFormat = responseFormat; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/AssistantThread.Serialization.cs b/src/Generated/Models/Assistants/AssistantThread.Serialization.cs index 61465a3cd..e6dac8763 100644 --- a/src/Generated/Models/Assistants/AssistantThread.Serialization.cs +++ b/src/Generated/Models/Assistants/AssistantThread.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class AssistantThread : IJsonModel { - internal AssistantThread() : this(null, default, null, null, null, null) + internal AssistantThread() : this(null, null, default, null, null, null) { } @@ -36,11 +36,28 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); writer.WriteNumberValue(CreatedAt, "U"); } + if (_additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) + { + if (Optional.IsDefined(ToolResources)) + { + writer.WritePropertyName("tool_resources"u8); + writer.WriteObjectValue(ToolResources, options); + } + else + { + writer.WriteNull("tool_resources"u8); + } + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties?.ContainsKey("metadata") != true) { @@ -58,23 +75,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } - if (_additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) - { - if (Optional.IsDefined(ToolResources)) - { - writer.WritePropertyName("tool_resources"u8); - writer.WriteObjectValue(ToolResources, options); - } - else - { - writer.WriteNull("tool_resources"u8); - } - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -117,10 +117,10 @@ internal static AssistantThread DeserializeAssistantThread(JsonElement element, return null; } string id = default; - DateTimeOffset createdAt = default; - IReadOnlyDictionary metadata = default; string @object = default; + DateTimeOffset createdAt = default; ToolResources toolResources = default; + IReadOnlyDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -129,11 +129,26 @@ internal static AssistantThread DeserializeAssistantThread(JsonElement element, id = prop.Value.GetString(); continue; } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); continue; } + if (prop.NameEquals("tool_resources"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + toolResources = null; + continue; + } + toolResources = ToolResources.DeserializeToolResources(prop.Value, options); + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -156,30 +171,15 @@ internal static AssistantThread DeserializeAssistantThread(JsonElement element, metadata = dictionary; continue; } - if (prop.NameEquals("object"u8)) - { - @object = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("tool_resources"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - toolResources = null; - continue; - } - toolResources = ToolResources.DeserializeToolResources(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AssistantThread( id, - createdAt, - metadata, @object, + createdAt, toolResources, + metadata, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/AssistantThread.cs b/src/Generated/Models/Assistants/AssistantThread.cs index deea41d99..d242a930a 100644 --- a/src/Generated/Models/Assistants/AssistantThread.cs +++ b/src/Generated/Models/Assistants/AssistantThread.cs @@ -18,18 +18,18 @@ internal AssistantThread(string id, DateTimeOffset createdAt, ToolResources tool { Id = id; CreatedAt = createdAt; - Metadata = new ChangeTrackingDictionary(); ToolResources = toolResources; + Metadata = new ChangeTrackingDictionary(); } - internal AssistantThread(string id, DateTimeOffset createdAt, IReadOnlyDictionary metadata, string @object, ToolResources toolResources, IDictionary additionalBinaryDataProperties) + internal AssistantThread(string id, string @object, DateTimeOffset createdAt, ToolResources toolResources, IReadOnlyDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; - CreatedAt = createdAt; - Metadata = metadata ?? new ChangeTrackingDictionary(); Object = @object; + CreatedAt = createdAt; ToolResources = toolResources; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs index de65079ed..a0b4f7384 100644 --- a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.Serialization.cs @@ -26,16 +26,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalAssistantToolsFileSearchFileSearch)} does not support writing '{format}' format."); } - if (Optional.IsDefined(RankingOptions) && _additionalBinaryDataProperties?.ContainsKey("ranking_options") != true) - { - writer.WritePropertyName("ranking_options"u8); - writer.WriteObjectValue(RankingOptions, options); - } if (Optional.IsDefined(InternalMaxNumResults) && _additionalBinaryDataProperties?.ContainsKey("max_num_results") != true) { writer.WritePropertyName("max_num_results"u8); writer.WriteNumberValue(InternalMaxNumResults.Value); } + if (Optional.IsDefined(RankingOptions) && _additionalBinaryDataProperties?.ContainsKey("ranking_options") != true) + { + writer.WritePropertyName("ranking_options"u8); + writer.WriteObjectValue(RankingOptions, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -77,33 +77,33 @@ internal static InternalAssistantToolsFileSearchFileSearch DeserializeInternalAs { return null; } - FileSearchRankingOptions rankingOptions = default; int? internalMaxNumResults = default; + FileSearchRankingOptions rankingOptions = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("ranking_options"u8)) + if (prop.NameEquals("max_num_results"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - rankingOptions = FileSearchRankingOptions.DeserializeFileSearchRankingOptions(prop.Value, options); + internalMaxNumResults = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("max_num_results"u8)) + if (prop.NameEquals("ranking_options"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - internalMaxNumResults = prop.Value.GetInt32(); + rankingOptions = FileSearchRankingOptions.DeserializeFileSearchRankingOptions(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalAssistantToolsFileSearchFileSearch(rankingOptions, internalMaxNumResults, additionalBinaryDataProperties); + return new InternalAssistantToolsFileSearchFileSearch(internalMaxNumResults, rankingOptions, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.cs b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.cs index 993db5f2e..c875b4d41 100644 --- a/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.cs +++ b/src/Generated/Models/Assistants/InternalAssistantToolsFileSearchFileSearch.cs @@ -15,10 +15,10 @@ public InternalAssistantToolsFileSearchFileSearch() { } - internal InternalAssistantToolsFileSearchFileSearch(FileSearchRankingOptions rankingOptions, int? internalMaxNumResults, IDictionary additionalBinaryDataProperties) + internal InternalAssistantToolsFileSearchFileSearch(int? internalMaxNumResults, FileSearchRankingOptions rankingOptions, IDictionary additionalBinaryDataProperties) { - RankingOptions = rankingOptions; InternalMaxNumResults = internalMaxNumResults; + RankingOptions = rankingOptions; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs index 5035a0c6c..a224168ed 100644 --- a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Assistants { internal partial class InternalCreateThreadAndRunRequest : IJsonModel { - internal InternalCreateThreadAndRunRequest() : this(null, null, null, null, null, default, default, default, default, default, null, default, null, null, null, null, null) + internal InternalCreateThreadAndRunRequest() : this(null, null, null, null, null, null, null, default, default, default, default, default, null, null, default, null, null) { } @@ -40,6 +40,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("thread"u8); writer.WriteObjectValue(Thread, options); } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } if (Optional.IsDefined(Instructions) && _additionalBinaryDataProperties?.ContainsKey("instructions") != true) { writer.WritePropertyName("instructions"u8); @@ -55,6 +60,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } + if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) + { + writer.WritePropertyName("tool_resources"u8); + writer.WriteObjectValue(ToolResources, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -101,31 +111,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("truncation_strategy"u8); writer.WriteObjectValue(TruncationStrategy, options); } + if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) + { + writer.WritePropertyName("tool_choice"u8); + writer.WriteObjectValue(ToolChoice, options); + } if (Optional.IsDefined(ParallelToolCalls) && _additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) { writer.WritePropertyName("parallel_tool_calls"u8); writer.WriteBooleanValue(ParallelToolCalls.Value); } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); - } - if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) - { - writer.WritePropertyName("tool_resources"u8); - writer.WriteObjectValue(ToolResources, options); - } if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) { writer.WritePropertyName("response_format"u8); writer.WriteObjectValue(ResponseFormat, options); } - if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) - { - writer.WritePropertyName("tool_choice"u8); - writer.WriteObjectValue(ToolChoice, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -169,8 +169,10 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea } string assistantId = default; ThreadCreationOptions thread = default; + string model = default; string instructions = default; IList tools = default; + ToolResources toolResources = default; IDictionary metadata = default; float? temperature = default; float? topP = default; @@ -178,11 +180,9 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea int? maxPromptTokens = default; int? maxCompletionTokens = default; RunTruncationStrategy truncationStrategy = default; + ToolConstraint toolChoice = default; bool? parallelToolCalls = default; - string model = default; - ToolResources toolResources = default; AssistantResponseFormat responseFormat = default; - ToolConstraint toolChoice = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -200,6 +200,16 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea thread = ThreadCreationOptions.DeserializeThreadCreationOptions(prop.Value, options); continue; } + if (prop.NameEquals("model"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + model = null; + continue; + } + model = prop.Value.GetString(); + continue; + } if (prop.NameEquals("instructions"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -224,6 +234,16 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea tools = array; continue; } + if (prop.NameEquals("tool_resources"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + toolResources = null; + continue; + } + toolResources = ToolResources.DeserializeToolResources(prop.Value, options); + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -305,33 +325,23 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea truncationStrategy = RunTruncationStrategy.DeserializeRunTruncationStrategy(prop.Value, options); continue; } - if (prop.NameEquals("parallel_tool_calls"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - parallelToolCalls = prop.Value.GetBoolean(); - continue; - } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("tool_choice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - model = null; + toolChoice = null; continue; } - model = prop.Value.GetString(); + toolChoice = ToolConstraint.DeserializeToolConstraint(prop.Value, options); continue; } - if (prop.NameEquals("tool_resources"u8)) + if (prop.NameEquals("parallel_tool_calls"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - toolResources = null; continue; } - toolResources = ToolResources.DeserializeToolResources(prop.Value, options); + parallelToolCalls = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("response_format"u8)) @@ -344,24 +354,16 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); continue; } - if (prop.NameEquals("tool_choice"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - toolChoice = null; - continue; - } - toolChoice = ToolConstraint.DeserializeToolConstraint(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new InternalCreateThreadAndRunRequest( assistantId, thread, + model, instructions, tools ?? new ChangeTrackingList(), + toolResources, metadata ?? new ChangeTrackingDictionary(), temperature, topP, @@ -369,11 +371,9 @@ internal static InternalCreateThreadAndRunRequest DeserializeInternalCreateThrea maxPromptTokens, maxCompletionTokens, truncationStrategy, + toolChoice, parallelToolCalls, - model, - toolResources, responseFormat, - toolChoice, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.cs b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.cs index d3ee39f3c..b5bb08d7b 100644 --- a/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.cs +++ b/src/Generated/Models/Assistants/InternalCreateThreadAndRunRequest.cs @@ -21,13 +21,15 @@ public InternalCreateThreadAndRunRequest(string assistantId) Metadata = new ChangeTrackingDictionary(); } - internal InternalCreateThreadAndRunRequest(string assistantId, ThreadCreationOptions thread, string instructions, IList tools, IDictionary metadata, float? temperature, float? topP, bool? stream, int? maxPromptTokens, int? maxCompletionTokens, RunTruncationStrategy truncationStrategy, bool? parallelToolCalls, string model, ToolResources toolResources, AssistantResponseFormat responseFormat, ToolConstraint toolChoice, IDictionary additionalBinaryDataProperties) + internal InternalCreateThreadAndRunRequest(string assistantId, ThreadCreationOptions thread, string model, string instructions, IList tools, ToolResources toolResources, IDictionary metadata, float? temperature, float? topP, bool? stream, int? maxPromptTokens, int? maxCompletionTokens, RunTruncationStrategy truncationStrategy, ToolConstraint toolChoice, bool? parallelToolCalls, AssistantResponseFormat responseFormat, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections AssistantId = assistantId; Thread = thread; + Model = model; Instructions = instructions; Tools = tools ?? new ChangeTrackingList(); + ToolResources = toolResources; Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; TopP = topP; @@ -35,11 +37,9 @@ internal InternalCreateThreadAndRunRequest(string assistantId, ThreadCreationOpt MaxPromptTokens = maxPromptTokens; MaxCompletionTokens = maxCompletionTokens; TruncationStrategy = truncationStrategy; + ToolChoice = toolChoice; ParallelToolCalls = parallelToolCalls; - Model = model; - ToolResources = toolResources; ResponseFormat = responseFormat; - ToolChoice = toolChoice; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs index d5e10648c..1fbea1dce 100644 --- a/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.Serialization.cs @@ -26,6 +26,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalMessageDeltaObjectDelta)} does not support writing '{format}' format."); } + if (Optional.IsDefined(Role) && _additionalBinaryDataProperties?.ContainsKey("role") != true) + { + writer.WritePropertyName("role"u8); + writer.WriteStringValue(Role.Value.ToSerialString()); + } if (Optional.IsCollectionDefined(Content) && _additionalBinaryDataProperties?.ContainsKey("content") != true) { writer.WritePropertyName("content"u8); @@ -36,11 +41,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(Role) && _additionalBinaryDataProperties?.ContainsKey("role") != true) - { - writer.WritePropertyName("role"u8); - writer.WriteStringValue(Role.Value.ToSerialString()); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -82,38 +82,38 @@ internal static InternalMessageDeltaObjectDelta DeserializeInternalMessageDeltaO { return null; } - IList content = default; MessageRole? role = default; + IList content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(InternalMessageDeltaContent.DeserializeInternalMessageDeltaContent(item, options)); - } - content = array; + role = prop.Value.GetString().ToMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - role = prop.Value.GetString().ToMessageRole(); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(InternalMessageDeltaContent.DeserializeInternalMessageDeltaContent(item, options)); + } + content = array; continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalMessageDeltaObjectDelta(content ?? new ChangeTrackingList(), role, additionalBinaryDataProperties); + return new InternalMessageDeltaObjectDelta(role, content ?? new ChangeTrackingList(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.cs b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.cs index 73ecda349..6f8d2a02b 100644 --- a/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.cs +++ b/src/Generated/Models/Assistants/InternalMessageDeltaObjectDelta.cs @@ -12,15 +12,15 @@ internal partial class InternalMessageDeltaObjectDelta { private protected IDictionary _additionalBinaryDataProperties; - internal InternalMessageDeltaObjectDelta() : this(null, default, null) + internal InternalMessageDeltaObjectDelta() : this(default, null, null) { } - internal InternalMessageDeltaObjectDelta(IList content, MessageRole? role, IDictionary additionalBinaryDataProperties) + internal InternalMessageDeltaObjectDelta(MessageRole? role, IList content, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Content = content ?? new ChangeTrackingList(); Role = role; + Content = content ?? new ChangeTrackingList(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs index e841b02b9..196d574a5 100644 --- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs @@ -26,6 +26,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch)} does not support writing '{format}' format."); } + if (Optional.IsDefined(RankingOptions) && _additionalBinaryDataProperties?.ContainsKey("ranking_options") != true) + { + writer.WritePropertyName("ranking_options"u8); + writer.WriteObjectValue(RankingOptions, options); + } // Plugin customization: remove options.Format != "W" check if (Optional.IsCollectionDefined(Results) && _additionalBinaryDataProperties?.ContainsKey("results") != true) { @@ -37,11 +42,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(RankingOptions) && _additionalBinaryDataProperties?.ContainsKey("ranking_options") != true) - { - writer.WritePropertyName("ranking_options"u8); - writer.WriteObjectValue(RankingOptions, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -83,38 +83,38 @@ internal static InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSear { return null; } - IReadOnlyList results = default; FileSearchRankingOptions rankingOptions = default; + IReadOnlyList results = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("results"u8)) + if (prop.NameEquals("ranking_options"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(RunStepFileSearchResult.DeserializeRunStepFileSearchResult(item, options)); - } - results = array; + rankingOptions = FileSearchRankingOptions.DeserializeFileSearchRankingOptions(prop.Value, options); continue; } - if (prop.NameEquals("ranking_options"u8)) + if (prop.NameEquals("results"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - rankingOptions = FileSearchRankingOptions.DeserializeFileSearchRankingOptions(prop.Value, options); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(RunStepFileSearchResult.DeserializeRunStepFileSearchResult(item, options)); + } + results = array; continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch(results ?? new ChangeTrackingList(), rankingOptions, additionalBinaryDataProperties); + return new InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch(rankingOptions, results ?? new ChangeTrackingList(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs index 691f7cfe4..cdd728842 100644 --- a/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch.cs @@ -16,11 +16,11 @@ internal InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch() : { } - internal InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch(IReadOnlyList results, FileSearchRankingOptions rankingOptions, IDictionary additionalBinaryDataProperties) + internal InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch(FileSearchRankingOptions rankingOptions, IReadOnlyList results, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Results = results ?? new ChangeTrackingList(); RankingOptions = rankingOptions; + Results = results ?? new ChangeTrackingList(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs index 5e84cd7e0..9d02357e9 100644 --- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.Serialization.cs @@ -26,6 +26,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalRunStepDetailsToolCallsFileSearchObjectFileSearch)} does not support writing '{format}' format."); } + if (Optional.IsDefined(RankingOptions) && _additionalBinaryDataProperties?.ContainsKey("ranking_options") != true) + { + writer.WritePropertyName("ranking_options"u8); + writer.WriteObjectValue(RankingOptions, options); + } // Plugin customization: remove options.Format != "W" check if (Optional.IsCollectionDefined(Results) && _additionalBinaryDataProperties?.ContainsKey("results") != true) { @@ -37,11 +42,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(RankingOptions) && _additionalBinaryDataProperties?.ContainsKey("ranking_options") != true) - { - writer.WritePropertyName("ranking_options"u8); - writer.WriteObjectValue(RankingOptions, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -83,38 +83,38 @@ internal static InternalRunStepDetailsToolCallsFileSearchObjectFileSearch Deseri { return null; } - IReadOnlyList results = default; FileSearchRankingOptions rankingOptions = default; + IReadOnlyList results = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("results"u8)) + if (prop.NameEquals("ranking_options"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(RunStepFileSearchResult.DeserializeRunStepFileSearchResult(item, options)); - } - results = array; + rankingOptions = FileSearchRankingOptions.DeserializeFileSearchRankingOptions(prop.Value, options); continue; } - if (prop.NameEquals("ranking_options"u8)) + if (prop.NameEquals("results"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - rankingOptions = FileSearchRankingOptions.DeserializeFileSearchRankingOptions(prop.Value, options); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(RunStepFileSearchResult.DeserializeRunStepFileSearchResult(item, options)); + } + results = array; continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalRunStepDetailsToolCallsFileSearchObjectFileSearch(results ?? new ChangeTrackingList(), rankingOptions, additionalBinaryDataProperties); + return new InternalRunStepDetailsToolCallsFileSearchObjectFileSearch(rankingOptions, results ?? new ChangeTrackingList(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs index 90bd1eb06..cc5bbd75a 100644 --- a/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs +++ b/src/Generated/Models/Assistants/InternalRunStepDetailsToolCallsFileSearchObjectFileSearch.cs @@ -16,11 +16,11 @@ internal InternalRunStepDetailsToolCallsFileSearchObjectFileSearch() : this(null { } - internal InternalRunStepDetailsToolCallsFileSearchObjectFileSearch(IReadOnlyList results, FileSearchRankingOptions rankingOptions, IDictionary additionalBinaryDataProperties) + internal InternalRunStepDetailsToolCallsFileSearchObjectFileSearch(FileSearchRankingOptions rankingOptions, IReadOnlyList results, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Results = results ?? new ChangeTrackingList(); RankingOptions = rankingOptions; + Results = results ?? new ChangeTrackingList(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs index e0f893b62..08e89a007 100644 --- a/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageCreationOptions.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Assistants { public partial class MessageCreationOptions : IJsonModel { - public MessageCreationOptions() : this(null, null, default, null, null) + public MessageCreationOptions() : this(default, null, null, null, null) { } @@ -30,6 +30,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(MessageCreationOptions)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("role") != true) + { + writer.WritePropertyName("role"u8); + writer.WriteStringValue(Role.ToSerialString()); + } + if (_additionalBinaryDataProperties?.ContainsKey("content") != true) + { + writer.WritePropertyName("content"u8); + SerializeContent(writer, options); + } if (Optional.IsCollectionDefined(Attachments) && _additionalBinaryDataProperties?.ContainsKey("attachments") != true) { writer.WritePropertyName("attachments"u8); @@ -56,16 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (_additionalBinaryDataProperties?.ContainsKey("role") != true) - { - writer.WritePropertyName("role"u8); - writer.WriteStringValue(Role.ToSerialString()); - } - if (_additionalBinaryDataProperties?.ContainsKey("content") != true) - { - writer.WritePropertyName("content"u8); - SerializeContent(writer, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -107,13 +107,28 @@ internal static MessageCreationOptions DeserializeMessageCreationOptions(JsonEle { return null; } - IList attachments = default; - IDictionary metadata = default; MessageRole role = default; IList content = default; + IList attachments = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("role"u8)) + { + role = prop.Value.GetString().ToMessageRole(); + continue; + } + if (prop.NameEquals("content"u8)) + { + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(MessageContent.DeserializeMessageContent(item, options)); + } + content = array; + continue; + } if (prop.NameEquals("attachments"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -149,25 +164,10 @@ internal static MessageCreationOptions DeserializeMessageCreationOptions(JsonEle metadata = dictionary; continue; } - if (prop.NameEquals("role"u8)) - { - role = prop.Value.GetString().ToMessageRole(); - continue; - } - if (prop.NameEquals("content"u8)) - { - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(MessageContent.DeserializeMessageContent(item, options)); - } - content = array; - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new MessageCreationOptions(attachments ?? new ChangeTrackingList(), metadata ?? new ChangeTrackingDictionary(), role, content, additionalBinaryDataProperties); + return new MessageCreationOptions(role, content, attachments ?? new ChangeTrackingList(), metadata ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/MessageCreationOptions.cs b/src/Generated/Models/Assistants/MessageCreationOptions.cs index 0d7989387..7d11a05e6 100644 --- a/src/Generated/Models/Assistants/MessageCreationOptions.cs +++ b/src/Generated/Models/Assistants/MessageCreationOptions.cs @@ -14,13 +14,13 @@ public partial class MessageCreationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal MessageCreationOptions(IList attachments, IDictionary metadata, MessageRole role, IList content, IDictionary additionalBinaryDataProperties) + internal MessageCreationOptions(MessageRole role, IList content, IList attachments, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Attachments = attachments ?? new ChangeTrackingList(); - Metadata = metadata ?? new ChangeTrackingDictionary(); Role = role; Content = content ?? new ChangeTrackingList(); + Attachments = attachments ?? new ChangeTrackingList(); + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs index 9c0a081cb..9e50c7fff 100644 --- a/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs +++ b/src/Generated/Models/Assistants/MessageDeletionResult.Serialization.cs @@ -31,16 +31,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(MessageDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(MessageId); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); @@ -87,20 +87,20 @@ internal static MessageDeletionResult DeserializeMessageDeletionResult(JsonEleme { return null; } - bool deleted = default; string messageId = default; + bool deleted = default; string @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) + if (prop.NameEquals("id"u8)) { - deleted = prop.Value.GetBoolean(); + messageId = prop.Value.GetString(); continue; } - if (prop.NameEquals("id"u8)) + if (prop.NameEquals("deleted"u8)) { - messageId = prop.Value.GetString(); + deleted = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("object"u8)) @@ -111,7 +111,7 @@ internal static MessageDeletionResult DeserializeMessageDeletionResult(JsonEleme // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new MessageDeletionResult(deleted, messageId, @object, additionalBinaryDataProperties); + return new MessageDeletionResult(messageId, deleted, @object, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/MessageDeletionResult.cs b/src/Generated/Models/Assistants/MessageDeletionResult.cs index 5ea587c08..2d4a92b65 100644 --- a/src/Generated/Models/Assistants/MessageDeletionResult.cs +++ b/src/Generated/Models/Assistants/MessageDeletionResult.cs @@ -13,16 +13,16 @@ public partial class MessageDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal MessageDeletionResult(bool deleted, string messageId) + internal MessageDeletionResult(string messageId, bool deleted) { - Deleted = deleted; MessageId = messageId; + Deleted = deleted; } - internal MessageDeletionResult(bool deleted, string messageId, string @object, IDictionary additionalBinaryDataProperties) + internal MessageDeletionResult(string messageId, bool deleted, string @object, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; MessageId = messageId; + Deleted = deleted; Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs index cc6caeda4..e0d345d73 100644 --- a/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/RunCreationOptions.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class RunCreationOptions : IJsonModel { - public RunCreationOptions() : this(null, default, null, null, null, null, null, default, null, null, default, default, default, default, null, null, default, null) + public RunCreationOptions() : this(null, null, default, null, null, null, null, null, default, default, default, default, default, null, null, default, null, null) { } @@ -36,21 +36,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("assistant_id"u8); writer.WriteStringValue(AssistantId); } - if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) - { - writer.WritePropertyName("stream"u8); - writer.WriteBooleanValue(Stream.Value); - } - if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) - { - writer.WritePropertyName("response_format"u8); - writer.WriteObjectValue(ResponseFormat, options); - } if (Optional.IsDefined(ModelOverride) && _additionalBinaryDataProperties?.ContainsKey("model") != true) { writer.WritePropertyName("model"u8); writer.WriteStringValue(ModelOverride); } + if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + { + writer.WritePropertyName("reasoning_effort"u8); + writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + } if (Optional.IsDefined(InstructionsOverride) && _additionalBinaryDataProperties?.ContainsKey("instructions") != true) { writer.WritePropertyName("instructions"u8); @@ -71,11 +66,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(AllowParallelToolCalls) && _additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) - { - writer.WritePropertyName("parallel_tool_calls"u8); - writer.WriteBooleanValue(AllowParallelToolCalls.Value); - } if (Optional.IsCollectionDefined(ToolsOverride) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) { writer.WritePropertyName("tools"u8); @@ -112,6 +102,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("top_p"u8); writer.WriteNumberValue(NucleusSamplingFactor.Value); } + if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) + { + writer.WritePropertyName("stream"u8); + writer.WriteBooleanValue(Stream.Value); + } if (Optional.IsDefined(MaxInputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_prompt_tokens") != true) { writer.WritePropertyName("max_prompt_tokens"u8); @@ -132,10 +127,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("tool_choice"u8); SerializeToolConstraint(writer, options); } - if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + if (Optional.IsDefined(AllowParallelToolCalls) && _additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) { - writer.WritePropertyName("reasoning_effort"u8); - writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + writer.WritePropertyName("parallel_tool_calls"u8); + writer.WriteBooleanValue(AllowParallelToolCalls.Value); + } + if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) + { + writer.WritePropertyName("response_format"u8); + writer.WriteObjectValue(ResponseFormat, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -179,22 +179,22 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele return null; } string assistantId = default; - bool? stream = default; - AssistantResponseFormat responseFormat = default; string modelOverride = default; + ChatReasoningEffortLevel? reasoningEffortLevel = default; string instructionsOverride = default; string additionalInstructions = default; IList internalMessages = default; - bool? allowParallelToolCalls = default; IList toolsOverride = default; IDictionary metadata = default; float? temperature = default; float? nucleusSamplingFactor = default; + bool? stream = default; int? maxInputTokenCount = default; int? maxOutputTokenCount = default; RunTruncationStrategy truncationStrategy = default; ToolConstraint toolConstraint = default; - ChatReasoningEffortLevel? reasoningEffortLevel = default; + bool? allowParallelToolCalls = default; + AssistantResponseFormat responseFormat = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -203,34 +203,24 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele assistantId = prop.Value.GetString(); continue; } - if (prop.NameEquals("stream"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - stream = null; - continue; - } - stream = prop.Value.GetBoolean(); - continue; - } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("model"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; + modelOverride = null; continue; } - responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); + modelOverride = prop.Value.GetString(); continue; } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("reasoning_effort"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - modelOverride = null; + reasoningEffortLevel = null; continue; } - modelOverride = prop.Value.GetString(); + reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); continue; } if (prop.NameEquals("instructions"u8)) @@ -267,15 +257,6 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele internalMessages = array; continue; } - if (prop.NameEquals("parallel_tool_calls"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - allowParallelToolCalls = prop.Value.GetBoolean(); - continue; - } if (prop.NameEquals("tools"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -331,6 +312,16 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele nucleusSamplingFactor = prop.Value.GetSingle(); continue; } + if (prop.NameEquals("stream"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + stream = null; + continue; + } + stream = prop.Value.GetBoolean(); + continue; + } if (prop.NameEquals("max_prompt_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -371,14 +362,23 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele toolConstraint = ToolConstraint.DeserializeToolConstraint(prop.Value, options); continue; } - if (prop.NameEquals("reasoning_effort"u8)) + if (prop.NameEquals("parallel_tool_calls"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningEffortLevel = null; continue; } - reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); + allowParallelToolCalls = prop.Value.GetBoolean(); + continue; + } + if (prop.NameEquals("response_format"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + responseFormat = null; + continue; + } + responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check @@ -386,22 +386,22 @@ internal static RunCreationOptions DeserializeRunCreationOptions(JsonElement ele } return new RunCreationOptions( assistantId, - stream, - responseFormat, modelOverride, + reasoningEffortLevel, instructionsOverride, additionalInstructions, internalMessages ?? new ChangeTrackingList(), - allowParallelToolCalls, toolsOverride ?? new ChangeTrackingList(), metadata ?? new ChangeTrackingDictionary(), temperature, nucleusSamplingFactor, + stream, maxInputTokenCount, maxOutputTokenCount, truncationStrategy, toolConstraint, - reasoningEffortLevel, + allowParallelToolCalls, + responseFormat, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/RunCreationOptions.cs b/src/Generated/Models/Assistants/RunCreationOptions.cs index afe4872f2..bfb5611e0 100644 --- a/src/Generated/Models/Assistants/RunCreationOptions.cs +++ b/src/Generated/Models/Assistants/RunCreationOptions.cs @@ -15,26 +15,26 @@ public partial class RunCreationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal RunCreationOptions(string assistantId, bool? stream, AssistantResponseFormat responseFormat, string modelOverride, string instructionsOverride, string additionalInstructions, IList internalMessages, bool? allowParallelToolCalls, IList toolsOverride, IDictionary metadata, float? temperature, float? nucleusSamplingFactor, int? maxInputTokenCount, int? maxOutputTokenCount, RunTruncationStrategy truncationStrategy, ToolConstraint toolConstraint, ChatReasoningEffortLevel? reasoningEffortLevel, IDictionary additionalBinaryDataProperties) + internal RunCreationOptions(string assistantId, string modelOverride, ChatReasoningEffortLevel? reasoningEffortLevel, string instructionsOverride, string additionalInstructions, IList internalMessages, IList toolsOverride, IDictionary metadata, float? temperature, float? nucleusSamplingFactor, bool? stream, int? maxInputTokenCount, int? maxOutputTokenCount, RunTruncationStrategy truncationStrategy, ToolConstraint toolConstraint, bool? allowParallelToolCalls, AssistantResponseFormat responseFormat, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections AssistantId = assistantId; - Stream = stream; - ResponseFormat = responseFormat; ModelOverride = modelOverride; + ReasoningEffortLevel = reasoningEffortLevel; InstructionsOverride = instructionsOverride; AdditionalInstructions = additionalInstructions; InternalMessages = internalMessages ?? new ChangeTrackingList(); - AllowParallelToolCalls = allowParallelToolCalls; ToolsOverride = toolsOverride ?? new ChangeTrackingList(); Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; NucleusSamplingFactor = nucleusSamplingFactor; + Stream = stream; MaxInputTokenCount = maxInputTokenCount; MaxOutputTokenCount = maxOutputTokenCount; TruncationStrategy = truncationStrategy; ToolConstraint = toolConstraint; - ReasoningEffortLevel = reasoningEffortLevel; + AllowParallelToolCalls = allowParallelToolCalls; + ResponseFormat = responseFormat; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/RunStep.Serialization.cs b/src/Generated/Models/Assistants/RunStep.Serialization.cs index d3efd99a1..da33665b9 100644 --- a/src/Generated/Models/Assistants/RunStep.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStep.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class RunStep : IJsonModel { - internal RunStep() : this(null, default, null, null, null, default, default, null, default, default, default, default, null, null, null, null, null) + internal RunStep() : this(null, null, default, null, null, null, default, default, null, null, default, default, default, default, null, null, null) { } @@ -36,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -66,6 +71,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("status"u8); writer.WriteStringValue(Status.ToString()); } + if (_additionalBinaryDataProperties?.ContainsKey("step_details") != true) + { + writer.WritePropertyName("step_details"u8); + writer.WriteObjectValue(Details, options); + } if (_additionalBinaryDataProperties?.ContainsKey("last_error") != true) { if (Optional.IsDefined(LastError)) @@ -155,16 +165,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("usage"u8); } } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } - if (_additionalBinaryDataProperties?.ContainsKey("step_details") != true) - { - writer.WritePropertyName("step_details"u8); - writer.WriteObjectValue(Details, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -207,12 +207,14 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite return null; } string id = default; + string @object = default; DateTimeOffset createdAt = default; string assistantId = default; string threadId = default; string runId = default; RunStepKind kind = default; RunStepStatus status = default; + RunStepDetails details = default; RunStepError lastError = default; DateTimeOffset? expiredAt = default; DateTimeOffset? cancelledAt = default; @@ -220,8 +222,6 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite DateTimeOffset? completedAt = default; IReadOnlyDictionary metadata = default; RunStepTokenUsage usage = default; - string @object = default; - RunStepDetails details = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -230,6 +230,11 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite id = prop.Value.GetString(); continue; } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -260,6 +265,11 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite status = new RunStepStatus(prop.Value.GetString()); continue; } + if (prop.NameEquals("step_details"u8)) + { + details = RunStepDetails.DeserializeRunStepDetails(prop.Value, options); + continue; + } if (prop.NameEquals("last_error"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -342,27 +352,19 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite usage = RunStepTokenUsage.DeserializeRunStepTokenUsage(prop.Value, options); continue; } - if (prop.NameEquals("object"u8)) - { - @object = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("step_details"u8)) - { - details = RunStepDetails.DeserializeRunStepDetails(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new RunStep( id, + @object, createdAt, assistantId, threadId, runId, kind, status, + details, lastError, expiredAt, cancelledAt, @@ -370,8 +372,6 @@ internal static RunStep DeserializeRunStep(JsonElement element, ModelReaderWrite completedAt, metadata, usage, - @object, - details, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/RunStep.cs b/src/Generated/Models/Assistants/RunStep.cs index c0f33b39f..398f2c30c 100644 --- a/src/Generated/Models/Assistants/RunStep.cs +++ b/src/Generated/Models/Assistants/RunStep.cs @@ -14,7 +14,7 @@ public partial class RunStep { private protected IDictionary _additionalBinaryDataProperties; - internal RunStep(string id, DateTimeOffset createdAt, string assistantId, string threadId, string runId, RunStepKind kind, RunStepStatus status, RunStepError lastError, DateTimeOffset? expiredAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, RunStepTokenUsage usage, RunStepDetails details) + internal RunStep(string id, DateTimeOffset createdAt, string assistantId, string threadId, string runId, RunStepKind kind, RunStepStatus status, RunStepDetails details, RunStepError lastError, DateTimeOffset? expiredAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, RunStepTokenUsage usage) { Id = id; CreatedAt = createdAt; @@ -23,6 +23,7 @@ internal RunStep(string id, DateTimeOffset createdAt, string assistantId, string RunId = runId; Kind = kind; Status = status; + Details = details; LastError = lastError; ExpiredAt = expiredAt; CancelledAt = cancelledAt; @@ -30,19 +31,20 @@ internal RunStep(string id, DateTimeOffset createdAt, string assistantId, string CompletedAt = completedAt; Metadata = new ChangeTrackingDictionary(); Usage = usage; - Details = details; } - internal RunStep(string id, DateTimeOffset createdAt, string assistantId, string threadId, string runId, RunStepKind kind, RunStepStatus status, RunStepError lastError, DateTimeOffset? expiredAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, IReadOnlyDictionary metadata, RunStepTokenUsage usage, string @object, RunStepDetails details, IDictionary additionalBinaryDataProperties) + internal RunStep(string id, string @object, DateTimeOffset createdAt, string assistantId, string threadId, string runId, RunStepKind kind, RunStepStatus status, RunStepDetails details, RunStepError lastError, DateTimeOffset? expiredAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, IReadOnlyDictionary metadata, RunStepTokenUsage usage, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; + Object = @object; CreatedAt = createdAt; AssistantId = assistantId; ThreadId = threadId; RunId = runId; Kind = kind; Status = status; + Details = details; LastError = lastError; ExpiredAt = expiredAt; CancelledAt = cancelledAt; @@ -50,8 +52,6 @@ internal RunStep(string id, DateTimeOffset createdAt, string assistantId, string CompletedAt = completedAt; Metadata = metadata ?? new ChangeTrackingDictionary(); Usage = usage; - Object = @object; - Details = details; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs index 32f03bc92..de6fe49f3 100644 --- a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs +++ b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.Serialization.cs @@ -30,16 +30,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(RunStepFileSearchResultContent)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("text") != true) - { - writer.WritePropertyName("text"u8); - writer.WriteStringValue(Text); - } if (_additionalBinaryDataProperties?.ContainsKey("type") != true) { writer.WritePropertyName("type"u8); writer.WriteStringValue(Kind.ToSerialString()); } + if (_additionalBinaryDataProperties?.ContainsKey("text") != true) + { + writer.WritePropertyName("text"u8); + writer.WriteStringValue(Text); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -81,25 +81,25 @@ internal static RunStepFileSearchResultContent DeserializeRunStepFileSearchResul { return null; } - string text = default; RunStepFileSearchResultContentKind kind = default; + string text = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("text"u8)) + if (prop.NameEquals("type"u8)) { - text = prop.Value.GetString(); + kind = prop.Value.GetString().ToRunStepFileSearchResultContentKind(); continue; } - if (prop.NameEquals("type"u8)) + if (prop.NameEquals("text"u8)) { - kind = prop.Value.GetString().ToRunStepFileSearchResultContentKind(); + text = prop.Value.GetString(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new RunStepFileSearchResultContent(text, kind, additionalBinaryDataProperties); + return new RunStepFileSearchResultContent(kind, text, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs index 4f72bb9f3..ecab1a304 100644 --- a/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs +++ b/src/Generated/Models/Assistants/RunStepFileSearchResultContent.cs @@ -13,16 +13,16 @@ public partial class RunStepFileSearchResultContent { private protected IDictionary _additionalBinaryDataProperties; - internal RunStepFileSearchResultContent(string text, RunStepFileSearchResultContentKind kind) + internal RunStepFileSearchResultContent(RunStepFileSearchResultContentKind kind, string text) { - Text = text; Kind = kind; + Text = text; } - internal RunStepFileSearchResultContent(string text, RunStepFileSearchResultContentKind kind, IDictionary additionalBinaryDataProperties) + internal RunStepFileSearchResultContent(RunStepFileSearchResultContentKind kind, string text, IDictionary additionalBinaryDataProperties) { - Text = text; Kind = kind; + Text = text; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs b/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs index c618ee029..0de09e262 100644 --- a/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadCreationOptions.Serialization.cs @@ -26,6 +26,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ThreadCreationOptions)} does not support writing '{format}' format."); } + if (Optional.IsCollectionDefined(InternalMessages) && _additionalBinaryDataProperties?.ContainsKey("messages") != true) + { + writer.WritePropertyName("messages"u8); + writer.WriteStartArray(); + foreach (MessageCreationOptions item in InternalMessages) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } + if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) + { + writer.WritePropertyName("tool_resources"u8); + writer.WriteObjectValue(ToolResources, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -42,21 +57,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) - { - writer.WritePropertyName("tool_resources"u8); - writer.WriteObjectValue(ToolResources, options); - } - if (Optional.IsCollectionDefined(InternalMessages) && _additionalBinaryDataProperties?.ContainsKey("messages") != true) - { - writer.WritePropertyName("messages"u8); - writer.WriteStartArray(); - foreach (MessageCreationOptions item in InternalMessages) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -98,31 +98,24 @@ internal static ThreadCreationOptions DeserializeThreadCreationOptions(JsonEleme { return null; } - IDictionary metadata = default; - ToolResources toolResources = default; IList internalMessages = default; + ToolResources toolResources = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("metadata"u8)) + if (prop.NameEquals("messages"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } + array.Add(MessageCreationOptions.DeserializeMessageCreationOptions(item, options)); } - metadata = dictionary; + internalMessages = array; continue; } if (prop.NameEquals("tool_resources"u8)) @@ -135,24 +128,31 @@ internal static ThreadCreationOptions DeserializeThreadCreationOptions(JsonEleme toolResources = ToolResources.DeserializeToolResources(prop.Value, options); continue; } - if (prop.NameEquals("messages"u8)) + if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) { - array.Add(MessageCreationOptions.DeserializeMessageCreationOptions(item, options)); + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } } - internalMessages = array; + metadata = dictionary; continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ThreadCreationOptions(metadata ?? new ChangeTrackingDictionary(), toolResources, internalMessages ?? new ChangeTrackingList(), additionalBinaryDataProperties); + return new ThreadCreationOptions(internalMessages ?? new ChangeTrackingList(), toolResources, metadata ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/ThreadCreationOptions.cs b/src/Generated/Models/Assistants/ThreadCreationOptions.cs index bdbbf4098..6d7b49a24 100644 --- a/src/Generated/Models/Assistants/ThreadCreationOptions.cs +++ b/src/Generated/Models/Assistants/ThreadCreationOptions.cs @@ -18,12 +18,12 @@ public ThreadCreationOptions() : this(null, null, null, null) { } - internal ThreadCreationOptions(IDictionary metadata, ToolResources toolResources, IList internalMessages, IDictionary additionalBinaryDataProperties) + internal ThreadCreationOptions(IList internalMessages, ToolResources toolResources, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Metadata = metadata ?? new ChangeTrackingDictionary(); - ToolResources = toolResources; InternalMessages = internalMessages ?? new ChangeTrackingList(); + ToolResources = toolResources; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs b/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs index 69ac104ea..e8bbb009c 100644 --- a/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadDeletionResult.Serialization.cs @@ -31,16 +31,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ThreadDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(ThreadId); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); @@ -87,20 +87,20 @@ internal static ThreadDeletionResult DeserializeThreadDeletionResult(JsonElement { return null; } - bool deleted = default; string threadId = default; + bool deleted = default; string @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) + if (prop.NameEquals("id"u8)) { - deleted = prop.Value.GetBoolean(); + threadId = prop.Value.GetString(); continue; } - if (prop.NameEquals("id"u8)) + if (prop.NameEquals("deleted"u8)) { - threadId = prop.Value.GetString(); + deleted = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("object"u8)) @@ -111,7 +111,7 @@ internal static ThreadDeletionResult DeserializeThreadDeletionResult(JsonElement // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ThreadDeletionResult(deleted, threadId, @object, additionalBinaryDataProperties); + return new ThreadDeletionResult(threadId, deleted, @object, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/ThreadDeletionResult.cs b/src/Generated/Models/Assistants/ThreadDeletionResult.cs index 7934bf937..6d8889248 100644 --- a/src/Generated/Models/Assistants/ThreadDeletionResult.cs +++ b/src/Generated/Models/Assistants/ThreadDeletionResult.cs @@ -13,16 +13,16 @@ public partial class ThreadDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal ThreadDeletionResult(bool deleted, string threadId) + internal ThreadDeletionResult(string threadId, bool deleted) { - Deleted = deleted; ThreadId = threadId; + Deleted = deleted; } - internal ThreadDeletionResult(bool deleted, string threadId, string @object, IDictionary additionalBinaryDataProperties) + internal ThreadDeletionResult(string threadId, bool deleted, string @object, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; ThreadId = threadId; + Deleted = deleted; Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs b/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs index 538a1c7ac..0d19dc9b2 100644 --- a/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadMessage.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class ThreadMessage : IJsonModel { - internal ThreadMessage() : this(null, default, null, default, null, default, default, null, null, null, null, null, default, null, null) + internal ThreadMessage() : this(null, null, default, null, default, null, default, default, default, null, null, null, null, null, null) { } @@ -36,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -87,6 +92,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("incomplete_at"u8); } } + if (_additionalBinaryDataProperties?.ContainsKey("role") != true) + { + writer.WritePropertyName("role"u8); + writer.WriteStringValue(Role.ToSerialString()); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties?.ContainsKey("content") != true) { @@ -122,33 +132,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("run_id"u8); } } - // Plugin customization: remove options.Format != "W" check - if (_additionalBinaryDataProperties?.ContainsKey("metadata") != true) - { - writer.WritePropertyName("metadata"u8); - writer.WriteStartObject(); - foreach (var item in Metadata) - { - writer.WritePropertyName(item.Key); - if (item.Value == null) - { - writer.WriteNullValue(); - continue; - } - writer.WriteStringValue(item.Value); - } - writer.WriteEndObject(); - } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } - if (_additionalBinaryDataProperties?.ContainsKey("role") != true) - { - writer.WritePropertyName("role"u8); - writer.WriteStringValue(Role.ToSerialString()); - } if (_additionalBinaryDataProperties?.ContainsKey("attachments") != true) { if (Optional.IsCollectionDefined(Attachments)) @@ -167,6 +150,23 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } // Plugin customization: remove options.Format != "W" check + if (_additionalBinaryDataProperties?.ContainsKey("metadata") != true) + { + writer.WritePropertyName("metadata"u8); + writer.WriteStartObject(); + foreach (var item in Metadata) + { + writer.WritePropertyName(item.Key); + if (item.Value == null) + { + writer.WriteNullValue(); + continue; + } + writer.WriteStringValue(item.Value); + } + writer.WriteEndObject(); + } + // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { foreach (var item in _additionalBinaryDataProperties) @@ -208,19 +208,19 @@ internal static ThreadMessage DeserializeThreadMessage(JsonElement element, Mode return null; } string id = default; + string @object = default; DateTimeOffset createdAt = default; string threadId = default; MessageStatus status = default; MessageFailureDetails incompleteDetails = default; DateTimeOffset? completedAt = default; DateTimeOffset? incompleteAt = default; + MessageRole role = default; IReadOnlyList content = default; string assistantId = default; string runId = default; - IReadOnlyDictionary metadata = default; - string @object = default; - MessageRole role = default; IReadOnlyList attachments = default; + IReadOnlyDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -229,6 +229,11 @@ internal static ThreadMessage DeserializeThreadMessage(JsonElement element, Mode id = prop.Value.GetString(); continue; } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -274,6 +279,11 @@ internal static ThreadMessage DeserializeThreadMessage(JsonElement element, Mode incompleteAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); continue; } + if (prop.NameEquals("role"u8)) + { + role = prop.Value.GetString().ToMessageRole(); + continue; + } if (prop.NameEquals("content"u8)) { List array = new List(); @@ -304,6 +314,21 @@ internal static ThreadMessage DeserializeThreadMessage(JsonElement element, Mode runId = prop.Value.GetString(); continue; } + if (prop.NameEquals("attachments"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + attachments = new ChangeTrackingList(); + continue; + } + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(MessageCreationAttachment.DeserializeMessageCreationAttachment(item, options)); + } + attachments = array; + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -326,49 +351,24 @@ internal static ThreadMessage DeserializeThreadMessage(JsonElement element, Mode metadata = dictionary; continue; } - if (prop.NameEquals("object"u8)) - { - @object = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("role"u8)) - { - role = prop.Value.GetString().ToMessageRole(); - continue; - } - if (prop.NameEquals("attachments"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - attachments = new ChangeTrackingList(); - continue; - } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(MessageCreationAttachment.DeserializeMessageCreationAttachment(item, options)); - } - attachments = array; - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new ThreadMessage( id, + @object, createdAt, threadId, status, incompleteDetails, completedAt, incompleteAt, + role, content, assistantId, runId, - metadata, - @object, - role, attachments, + metadata, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/ThreadMessage.cs b/src/Generated/Models/Assistants/ThreadMessage.cs index 9ebd734f8..6a843b90d 100644 --- a/src/Generated/Models/Assistants/ThreadMessage.cs +++ b/src/Generated/Models/Assistants/ThreadMessage.cs @@ -15,7 +15,7 @@ public partial class ThreadMessage { private protected IDictionary _additionalBinaryDataProperties; - internal ThreadMessage(string id, DateTimeOffset createdAt, string threadId, MessageStatus status, MessageFailureDetails incompleteDetails, DateTimeOffset? completedAt, DateTimeOffset? incompleteAt, string assistantId, string runId, MessageRole role, IEnumerable attachments) + internal ThreadMessage(string id, DateTimeOffset createdAt, string threadId, MessageStatus status, MessageFailureDetails incompleteDetails, DateTimeOffset? completedAt, DateTimeOffset? incompleteAt, MessageRole role, string assistantId, string runId, IEnumerable attachments) { Id = id; CreatedAt = createdAt; @@ -24,31 +24,31 @@ internal ThreadMessage(string id, DateTimeOffset createdAt, string threadId, Mes IncompleteDetails = incompleteDetails; CompletedAt = completedAt; IncompleteAt = incompleteAt; + Role = role; Content = new ChangeTrackingList(); AssistantId = assistantId; RunId = runId; - Metadata = new ChangeTrackingDictionary(); - Role = role; Attachments = attachments.ToList(); + Metadata = new ChangeTrackingDictionary(); } - internal ThreadMessage(string id, DateTimeOffset createdAt, string threadId, MessageStatus status, MessageFailureDetails incompleteDetails, DateTimeOffset? completedAt, DateTimeOffset? incompleteAt, IReadOnlyList content, string assistantId, string runId, IReadOnlyDictionary metadata, string @object, MessageRole role, IReadOnlyList attachments, IDictionary additionalBinaryDataProperties) + internal ThreadMessage(string id, string @object, DateTimeOffset createdAt, string threadId, MessageStatus status, MessageFailureDetails incompleteDetails, DateTimeOffset? completedAt, DateTimeOffset? incompleteAt, MessageRole role, IReadOnlyList content, string assistantId, string runId, IReadOnlyList attachments, IReadOnlyDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; + Object = @object; CreatedAt = createdAt; ThreadId = threadId; Status = status; IncompleteDetails = incompleteDetails; CompletedAt = completedAt; IncompleteAt = incompleteAt; + Role = role; Content = content ?? new ChangeTrackingList(); AssistantId = assistantId; RunId = runId; - Metadata = metadata ?? new ChangeTrackingDictionary(); - Object = @object; - Role = role; Attachments = attachments ?? new ChangeTrackingList(); + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs b/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs index 41328f209..0485a009d 100644 --- a/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadModificationOptions.Serialization.cs @@ -26,6 +26,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ThreadModificationOptions)} does not support writing '{format}' format."); } + if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) + { + writer.WritePropertyName("tool_resources"u8); + writer.WriteObjectValue(ToolResources, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -42,11 +47,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ToolResources) && _additionalBinaryDataProperties?.ContainsKey("tool_resources") != true) - { - writer.WritePropertyName("tool_resources"u8); - writer.WriteObjectValue(ToolResources, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -88,11 +88,21 @@ internal static ThreadModificationOptions DeserializeThreadModificationOptions(J { return null; } - IDictionary metadata = default; ToolResources toolResources = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("tool_resources"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + toolResources = null; + continue; + } + toolResources = ToolResources.DeserializeToolResources(prop.Value, options); + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -114,20 +124,10 @@ internal static ThreadModificationOptions DeserializeThreadModificationOptions(J metadata = dictionary; continue; } - if (prop.NameEquals("tool_resources"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - toolResources = null; - continue; - } - toolResources = ToolResources.DeserializeToolResources(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ThreadModificationOptions(metadata ?? new ChangeTrackingDictionary(), toolResources, additionalBinaryDataProperties); + return new ThreadModificationOptions(toolResources, metadata ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/ThreadModificationOptions.cs b/src/Generated/Models/Assistants/ThreadModificationOptions.cs index 26b523c9f..38191143a 100644 --- a/src/Generated/Models/Assistants/ThreadModificationOptions.cs +++ b/src/Generated/Models/Assistants/ThreadModificationOptions.cs @@ -18,11 +18,11 @@ public ThreadModificationOptions() : this(null, null, null) { } - internal ThreadModificationOptions(IDictionary metadata, ToolResources toolResources, IDictionary additionalBinaryDataProperties) + internal ThreadModificationOptions(ToolResources toolResources, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Metadata = metadata ?? new ChangeTrackingDictionary(); ToolResources = toolResources; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/ThreadRun.Serialization.cs b/src/Generated/Models/Assistants/ThreadRun.Serialization.cs index ece9a3fc2..30d9d99b0 100644 --- a/src/Generated/Models/Assistants/ThreadRun.Serialization.cs +++ b/src/Generated/Models/Assistants/ThreadRun.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Assistants { public partial class ThreadRun : IJsonModel { - internal ThreadRun() : this(null, default, null, null, default, null, default, default, default, default, default, null, null, null, null, null, null, default, null, null, null, null, default, default, default, default, null, null) + internal ThreadRun() : this(null, null, default, null, null, default, null, default, default, default, default, default, null, null, null, null, null, null, default, default, default, default, null, null, default, null, null, null) { } @@ -36,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -195,33 +200,45 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (_additionalBinaryDataProperties?.ContainsKey("truncation_strategy") != true) + if (Optional.IsDefined(NucleusSamplingFactor) && _additionalBinaryDataProperties?.ContainsKey("top_p") != true) { - if (Optional.IsDefined(TruncationStrategy)) + writer.WritePropertyName("top_p"u8); + writer.WriteNumberValue(NucleusSamplingFactor.Value); + } + if (_additionalBinaryDataProperties?.ContainsKey("max_prompt_tokens") != true) + { + if (Optional.IsDefined(MaxInputTokenCount)) { - writer.WritePropertyName("truncation_strategy"u8); - writer.WriteObjectValue(TruncationStrategy, options); + writer.WritePropertyName("max_prompt_tokens"u8); + writer.WriteNumberValue(MaxInputTokenCount.Value); } else { - writer.WriteNull("truncation_strategy"u8); + writer.WriteNull("max_prompt_tokens"u8); } } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + if (_additionalBinaryDataProperties?.ContainsKey("max_completion_tokens") != true) { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); + if (Optional.IsDefined(MaxOutputTokenCount)) + { + writer.WritePropertyName("max_completion_tokens"u8); + writer.WriteNumberValue(MaxOutputTokenCount.Value); + } + else + { + writer.WriteNull("max_completion_tokens"u8); + } } - if (_additionalBinaryDataProperties?.ContainsKey("response_format") != true) + if (_additionalBinaryDataProperties?.ContainsKey("truncation_strategy") != true) { - if (Optional.IsDefined(ResponseFormat)) + if (Optional.IsDefined(TruncationStrategy)) { - writer.WritePropertyName("response_format"u8); - writer.WriteObjectValue(ResponseFormat, options); + writer.WritePropertyName("truncation_strategy"u8); + writer.WriteObjectValue(TruncationStrategy, options); } else { - writer.WriteNull("response_format"u8); + writer.WriteNull("truncation_strategy"u8); } } if (_additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) @@ -236,38 +253,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("tool_choice"u8); } } - if (Optional.IsDefined(NucleusSamplingFactor) && _additionalBinaryDataProperties?.ContainsKey("top_p") != true) - { - writer.WritePropertyName("top_p"u8); - writer.WriteNumberValue(NucleusSamplingFactor.Value); - } if (_additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) { writer.WritePropertyName("parallel_tool_calls"u8); writer.WriteBooleanValue(AllowParallelToolCalls.Value); } - if (_additionalBinaryDataProperties?.ContainsKey("max_prompt_tokens") != true) - { - if (Optional.IsDefined(MaxInputTokenCount)) - { - writer.WritePropertyName("max_prompt_tokens"u8); - writer.WriteNumberValue(MaxInputTokenCount.Value); - } - else - { - writer.WriteNull("max_prompt_tokens"u8); - } - } - if (_additionalBinaryDataProperties?.ContainsKey("max_completion_tokens") != true) + if (_additionalBinaryDataProperties?.ContainsKey("response_format") != true) { - if (Optional.IsDefined(MaxOutputTokenCount)) + if (Optional.IsDefined(ResponseFormat)) { - writer.WritePropertyName("max_completion_tokens"u8); - writer.WriteNumberValue(MaxOutputTokenCount.Value); + writer.WritePropertyName("response_format"u8); + writer.WriteObjectValue(ResponseFormat, options); } else { - writer.WriteNull("max_completion_tokens"u8); + writer.WriteNull("response_format"u8); } } if (_additionalBinaryDataProperties?.ContainsKey("required_action") != true) @@ -324,6 +324,7 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW return null; } string id = default; + string @object = default; DateTimeOffset createdAt = default; string threadId = default; string assistantId = default; @@ -341,14 +342,13 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW IReadOnlyDictionary metadata = default; RunTokenUsage usage = default; float? temperature = default; - RunTruncationStrategy truncationStrategy = default; - string @object = default; - AssistantResponseFormat responseFormat = default; - ToolConstraint toolConstraint = default; float? nucleusSamplingFactor = default; - bool? allowParallelToolCalls = default; int? maxInputTokenCount = default; int? maxOutputTokenCount = default; + RunTruncationStrategy truncationStrategy = default; + ToolConstraint toolConstraint = default; + bool? allowParallelToolCalls = default; + AssistantResponseFormat responseFormat = default; InternalRunRequiredAction internalRequiredAction = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) @@ -358,6 +358,11 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW id = prop.Value.GetString(); continue; } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -510,49 +515,54 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("truncation_strategy"u8)) + if (prop.NameEquals("top_p"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - truncationStrategy = null; + nucleusSamplingFactor = null; continue; } - truncationStrategy = RunTruncationStrategy.DeserializeRunTruncationStrategy(prop.Value, options); + nucleusSamplingFactor = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("object"u8)) + if (prop.NameEquals("max_prompt_tokens"u8)) { - @object = prop.Value.GetString(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + maxInputTokenCount = null; + continue; + } + maxInputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("max_completion_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; + maxOutputTokenCount = null; continue; } - responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); + maxOutputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("tool_choice"u8)) + if (prop.NameEquals("truncation_strategy"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - toolConstraint = null; + truncationStrategy = null; continue; } - toolConstraint = ToolConstraint.DeserializeToolConstraint(prop.Value, options); + truncationStrategy = RunTruncationStrategy.DeserializeRunTruncationStrategy(prop.Value, options); continue; } - if (prop.NameEquals("top_p"u8)) + if (prop.NameEquals("tool_choice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - nucleusSamplingFactor = null; + toolConstraint = null; continue; } - nucleusSamplingFactor = prop.Value.GetSingle(); + toolConstraint = ToolConstraint.DeserializeToolConstraint(prop.Value, options); continue; } if (prop.NameEquals("parallel_tool_calls"u8)) @@ -560,24 +570,14 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW allowParallelToolCalls = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("max_prompt_tokens"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - maxInputTokenCount = null; - continue; - } - maxInputTokenCount = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("max_completion_tokens"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - maxOutputTokenCount = null; + responseFormat = null; continue; } - maxOutputTokenCount = prop.Value.GetInt32(); + responseFormat = AssistantResponseFormat.DeserializeAssistantResponseFormat(prop.Value, options); continue; } if (prop.NameEquals("required_action"u8)) @@ -595,6 +595,7 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW } return new ThreadRun( id, + @object, createdAt, threadId, assistantId, @@ -612,14 +613,13 @@ internal static ThreadRun DeserializeThreadRun(JsonElement element, ModelReaderW metadata, usage, temperature, - truncationStrategy, - @object, - responseFormat, - toolConstraint, nucleusSamplingFactor, - allowParallelToolCalls, maxInputTokenCount, maxOutputTokenCount, + truncationStrategy, + toolConstraint, + allowParallelToolCalls, + responseFormat, internalRequiredAction, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Assistants/ThreadRun.cs b/src/Generated/Models/Assistants/ThreadRun.cs index 04ebfd928..17eccb0cf 100644 --- a/src/Generated/Models/Assistants/ThreadRun.cs +++ b/src/Generated/Models/Assistants/ThreadRun.cs @@ -14,7 +14,7 @@ public partial class ThreadRun { private protected IDictionary _additionalBinaryDataProperties; - internal ThreadRun(string id, DateTimeOffset createdAt, string threadId, string assistantId, RunStatus status, RunError lastError, DateTimeOffset? expiresAt, DateTimeOffset? startedAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, RunIncompleteDetails incompleteDetails, string model, string instructions, RunTokenUsage usage, RunTruncationStrategy truncationStrategy, AssistantResponseFormat responseFormat, ToolConstraint toolConstraint, bool? allowParallelToolCalls, int? maxInputTokenCount, int? maxOutputTokenCount, InternalRunRequiredAction internalRequiredAction) + internal ThreadRun(string id, DateTimeOffset createdAt, string threadId, string assistantId, RunStatus status, RunError lastError, DateTimeOffset? expiresAt, DateTimeOffset? startedAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, RunIncompleteDetails incompleteDetails, string model, string instructions, RunTokenUsage usage, int? maxInputTokenCount, int? maxOutputTokenCount, RunTruncationStrategy truncationStrategy, ToolConstraint toolConstraint, bool? allowParallelToolCalls, AssistantResponseFormat responseFormat, InternalRunRequiredAction internalRequiredAction) { Id = id; CreatedAt = createdAt; @@ -33,19 +33,20 @@ internal ThreadRun(string id, DateTimeOffset createdAt, string threadId, string Tools = new ChangeTrackingList(); Metadata = new ChangeTrackingDictionary(); Usage = usage; + MaxInputTokenCount = maxInputTokenCount; + MaxOutputTokenCount = maxOutputTokenCount; TruncationStrategy = truncationStrategy; - ResponseFormat = responseFormat; ToolConstraint = toolConstraint; AllowParallelToolCalls = allowParallelToolCalls; - MaxInputTokenCount = maxInputTokenCount; - MaxOutputTokenCount = maxOutputTokenCount; + ResponseFormat = responseFormat; _internalRequiredAction = internalRequiredAction; } - internal ThreadRun(string id, DateTimeOffset createdAt, string threadId, string assistantId, RunStatus status, RunError lastError, DateTimeOffset? expiresAt, DateTimeOffset? startedAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, RunIncompleteDetails incompleteDetails, string model, string instructions, IReadOnlyList tools, IReadOnlyDictionary metadata, RunTokenUsage usage, float? temperature, RunTruncationStrategy truncationStrategy, string @object, AssistantResponseFormat responseFormat, ToolConstraint toolConstraint, float? nucleusSamplingFactor, bool? allowParallelToolCalls, int? maxInputTokenCount, int? maxOutputTokenCount, InternalRunRequiredAction internalRequiredAction, IDictionary additionalBinaryDataProperties) + internal ThreadRun(string id, string @object, DateTimeOffset createdAt, string threadId, string assistantId, RunStatus status, RunError lastError, DateTimeOffset? expiresAt, DateTimeOffset? startedAt, DateTimeOffset? cancelledAt, DateTimeOffset? failedAt, DateTimeOffset? completedAt, RunIncompleteDetails incompleteDetails, string model, string instructions, IReadOnlyList tools, IReadOnlyDictionary metadata, RunTokenUsage usage, float? temperature, float? nucleusSamplingFactor, int? maxInputTokenCount, int? maxOutputTokenCount, RunTruncationStrategy truncationStrategy, ToolConstraint toolConstraint, bool? allowParallelToolCalls, AssistantResponseFormat responseFormat, InternalRunRequiredAction internalRequiredAction, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; + Object = @object; CreatedAt = createdAt; ThreadId = threadId; AssistantId = assistantId; @@ -63,14 +64,13 @@ internal ThreadRun(string id, DateTimeOffset createdAt, string threadId, string Metadata = metadata ?? new ChangeTrackingDictionary(); Usage = usage; Temperature = temperature; - TruncationStrategy = truncationStrategy; - Object = @object; - ResponseFormat = responseFormat; - ToolConstraint = toolConstraint; NucleusSamplingFactor = nucleusSamplingFactor; - AllowParallelToolCalls = allowParallelToolCalls; MaxInputTokenCount = maxInputTokenCount; MaxOutputTokenCount = maxOutputTokenCount; + TruncationStrategy = truncationStrategy; + ToolConstraint = toolConstraint; + AllowParallelToolCalls = allowParallelToolCalls; + ResponseFormat = responseFormat; _internalRequiredAction = internalRequiredAction; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs b/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs index f1a73198e..99560f97e 100644 --- a/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs +++ b/src/Generated/Models/Assistants/VectorStoreCreationHelper.Serialization.cs @@ -42,6 +42,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } + if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) + { + writer.WritePropertyName("chunking_strategy"u8); + writer.WriteObjectValue(ChunkingStrategy, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -58,11 +63,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) - { - writer.WritePropertyName("chunking_strategy"u8); - writer.WriteObjectValue(ChunkingStrategy, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -105,8 +105,8 @@ internal static VectorStoreCreationHelper DeserializeVectorStoreCreationHelper(J return null; } IList fileIds = default; - IDictionary metadata = default; FileChunkingStrategy chunkingStrategy = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -131,6 +131,15 @@ internal static VectorStoreCreationHelper DeserializeVectorStoreCreationHelper(J fileIds = array; continue; } + if (prop.NameEquals("chunking_strategy"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -152,19 +161,10 @@ internal static VectorStoreCreationHelper DeserializeVectorStoreCreationHelper(J metadata = dictionary; continue; } - if (prop.NameEquals("chunking_strategy"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new VectorStoreCreationHelper(fileIds ?? new ChangeTrackingList(), metadata ?? new ChangeTrackingDictionary(), chunkingStrategy, additionalBinaryDataProperties); + return new VectorStoreCreationHelper(fileIds ?? new ChangeTrackingList(), chunkingStrategy, metadata ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Assistants/VectorStoreCreationHelper.cs b/src/Generated/Models/Assistants/VectorStoreCreationHelper.cs index ec9e1b8df..2757e4939 100644 --- a/src/Generated/Models/Assistants/VectorStoreCreationHelper.cs +++ b/src/Generated/Models/Assistants/VectorStoreCreationHelper.cs @@ -19,12 +19,12 @@ public VectorStoreCreationHelper() : this(null, null, null, null) { } - internal VectorStoreCreationHelper(IList fileIds, IDictionary metadata, FileChunkingStrategy chunkingStrategy, IDictionary additionalBinaryDataProperties) + internal VectorStoreCreationHelper(IList fileIds, FileChunkingStrategy chunkingStrategy, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections FileIds = fileIds ?? new ChangeTrackingList(); - Metadata = metadata ?? new ChangeTrackingDictionary(); ChunkingStrategy = chunkingStrategy; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Audio/AudioTranscription.Serialization.cs b/src/Generated/Models/Audio/AudioTranscription.Serialization.cs index dcbbaeb09..ebbfe089e 100644 --- a/src/Generated/Models/Audio/AudioTranscription.Serialization.cs +++ b/src/Generated/Models/Audio/AudioTranscription.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Audio { public partial class AudioTranscription : IJsonModel { - internal AudioTranscription() : this(null, null, null, null, null, default, null, null) + internal AudioTranscription() : this(null, null, default, null, null, null, null, null) { } @@ -32,11 +32,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AudioTranscription)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("task") != true) + { + writer.WritePropertyName("task"u8); + writer.WriteStringValue(Task); + } if (_additionalBinaryDataProperties?.ContainsKey("language") != true) { writer.WritePropertyName("language"u8); writer.WriteStringValue(Language); } + if (_additionalBinaryDataProperties?.ContainsKey("duration") != true) + { + writer.WritePropertyName("duration"u8); + writer.WriteNumberValue(Convert.ToDouble(Duration.Value.ToString("s\\.FFF"))); + } if (_additionalBinaryDataProperties?.ContainsKey("text") != true) { writer.WritePropertyName("text"u8); @@ -64,16 +74,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (_additionalBinaryDataProperties?.ContainsKey("task") != true) - { - writer.WritePropertyName("task"u8); - writer.WriteStringValue(Task); - } - if (_additionalBinaryDataProperties?.ContainsKey("duration") != true) - { - writer.WritePropertyName("duration"u8); - writer.WriteNumberValue(Convert.ToDouble(Duration.Value.ToString("s\\.FFF"))); - } if (Optional.IsCollectionDefined(TranscriptionTokenLogProbabilities) && _additionalBinaryDataProperties?.ContainsKey("logprobs") != true) { writer.WritePropertyName("logprobs"u8); @@ -126,21 +126,31 @@ internal static AudioTranscription DeserializeAudioTranscription(JsonElement ele { return null; } + string task = default; string language = default; + TimeSpan? duration = default; string text = default; IReadOnlyList words = default; IReadOnlyList segments = default; - string task = default; - TimeSpan? duration = default; IReadOnlyList transcriptionTokenLogProbabilities = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("task"u8)) + { + task = prop.Value.GetString(); + continue; + } if (prop.NameEquals("language"u8)) { language = prop.Value.GetString(); continue; } + if (prop.NameEquals("duration"u8)) + { + duration = TimeSpan.FromSeconds(prop.Value.GetDouble()); + continue; + } if (prop.NameEquals("text"u8)) { text = prop.Value.GetString(); @@ -174,16 +184,6 @@ internal static AudioTranscription DeserializeAudioTranscription(JsonElement ele segments = array; continue; } - if (prop.NameEquals("task"u8)) - { - task = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("duration"u8)) - { - duration = TimeSpan.FromSeconds(prop.Value.GetDouble()); - continue; - } if (prop.NameEquals("logprobs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -202,12 +202,12 @@ internal static AudioTranscription DeserializeAudioTranscription(JsonElement ele additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AudioTranscription( + task, language, + duration, text, words ?? new ChangeTrackingList(), segments ?? new ChangeTrackingList(), - task, - duration, transcriptionTokenLogProbabilities ?? new ChangeTrackingList(), additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Audio/AudioTranscription.cs b/src/Generated/Models/Audio/AudioTranscription.cs index 1e3557696..94107492c 100644 --- a/src/Generated/Models/Audio/AudioTranscription.cs +++ b/src/Generated/Models/Audio/AudioTranscription.cs @@ -12,25 +12,25 @@ public partial class AudioTranscription { private protected IDictionary _additionalBinaryDataProperties; - internal AudioTranscription(string language, string text, TimeSpan? duration) + internal AudioTranscription(string language, TimeSpan? duration, string text) { Language = language; + Duration = duration; Text = text; Words = new ChangeTrackingList(); Segments = new ChangeTrackingList(); - Duration = duration; TranscriptionTokenLogProbabilities = new ChangeTrackingList(); } - internal AudioTranscription(string language, string text, IReadOnlyList words, IReadOnlyList segments, string task, TimeSpan? duration, IReadOnlyList transcriptionTokenLogProbabilities, IDictionary additionalBinaryDataProperties) + internal AudioTranscription(string task, string language, TimeSpan? duration, string text, IReadOnlyList words, IReadOnlyList segments, IReadOnlyList transcriptionTokenLogProbabilities, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Task = task; Language = language; + Duration = duration; Text = text; Words = words ?? new ChangeTrackingList(); Segments = segments ?? new ChangeTrackingList(); - Task = task; - Duration = duration; TranscriptionTokenLogProbabilities = transcriptionTokenLogProbabilities ?? new ChangeTrackingList(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs b/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs index 706b5a2a4..f25e784ab 100644 --- a/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs +++ b/src/Generated/Models/Audio/AudioTranscriptionOptions.Serialization.cs @@ -29,6 +29,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AudioTranscriptionOptions)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("file") != true) + { + writer.WritePropertyName("file"u8); + writer.WriteBase64StringValue(File.ToArray(), "D"); + } + if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model.ToString()); + } if (Optional.IsDefined(Language) && _additionalBinaryDataProperties?.ContainsKey("language") != true) { writer.WritePropertyName("language"u8); @@ -49,20 +59,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) - { - writer.WritePropertyName("chunking_strategy"u8); - writer.WriteObjectValue(ChunkingStrategy, options); - } - if (_additionalBinaryDataProperties?.ContainsKey("file") != true) - { - writer.WritePropertyName("file"u8); - writer.WriteBase64StringValue(File.ToArray(), "D"); - } - if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + if (Optional.IsCollectionDefined(InternalInclude) && _additionalBinaryDataProperties?.ContainsKey("include[]") != true) { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model.ToString()); + writer.WritePropertyName("include[]"u8); + writer.WriteStartArray(); + foreach (InternalTranscriptionInclude item in InternalInclude) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); } if (Optional.IsCollectionDefined(InternalTimestampGranularities) && _additionalBinaryDataProperties?.ContainsKey("timestamp_granularities[]") != true) { @@ -91,15 +96,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("stream"u8); writer.WriteBooleanValue(Stream.Value); } - if (Optional.IsCollectionDefined(InternalInclude) && _additionalBinaryDataProperties?.ContainsKey("include[]") != true) + if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) { - writer.WritePropertyName("include[]"u8); - writer.WriteStartArray(); - foreach (InternalTranscriptionInclude item in InternalInclude) - { - writer.WriteStringValue(item.ToString()); - } - writer.WriteEndArray(); + writer.WritePropertyName("chunking_strategy"u8); + writer.WriteObjectValue(ChunkingStrategy, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -143,19 +143,29 @@ internal static AudioTranscriptionOptions DeserializeAudioTranscriptionOptions(J { return null; } + BinaryData @file = default; + InternalCreateTranscriptionRequestModel model = default; string language = default; string prompt = default; AudioTranscriptionFormat? responseFormat = default; float? temperature = default; - InternalVadConfig chunkingStrategy = default; - BinaryData @file = default; - InternalCreateTranscriptionRequestModel model = default; + IList internalInclude = default; IList internalTimestampGranularities = default; bool? stream = default; - IList internalInclude = default; + InternalVadConfig chunkingStrategy = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("file"u8)) + { + @file = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); + continue; + } + if (prop.NameEquals("model"u8)) + { + model = new InternalCreateTranscriptionRequestModel(prop.Value.GetString()); + continue; + } if (prop.NameEquals("language"u8)) { language = prop.Value.GetString(); @@ -184,24 +194,18 @@ internal static AudioTranscriptionOptions DeserializeAudioTranscriptionOptions(J temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("chunking_strategy"u8)) + if (prop.NameEquals("include[]"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - chunkingStrategy = null; continue; } - chunkingStrategy = InternalVadConfig.DeserializeInternalVadConfig(prop.Value, options); - continue; - } - if (prop.NameEquals("file"u8)) - { - @file = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); - continue; - } - if (prop.NameEquals("model"u8)) - { - model = new InternalCreateTranscriptionRequestModel(prop.Value.GetString()); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(new InternalTranscriptionInclude(item.GetString())); + } + internalInclude = array; continue; } if (prop.NameEquals("timestamp_granularities[]"u8)) @@ -235,34 +239,30 @@ internal static AudioTranscriptionOptions DeserializeAudioTranscriptionOptions(J stream = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("include[]"u8)) + if (prop.NameEquals("chunking_strategy"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + chunkingStrategy = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(new InternalTranscriptionInclude(item.GetString())); - } - internalInclude = array; + chunkingStrategy = InternalVadConfig.DeserializeInternalVadConfig(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AudioTranscriptionOptions( + @file, + model, language, prompt, responseFormat, temperature, - chunkingStrategy, - @file, - model, + internalInclude ?? new ChangeTrackingList(), internalTimestampGranularities ?? new ChangeTrackingList(), stream, - internalInclude ?? new ChangeTrackingList(), + chunkingStrategy, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Audio/AudioTranscriptionOptions.cs b/src/Generated/Models/Audio/AudioTranscriptionOptions.cs index 5ba1b6b3f..f4b9b421a 100644 --- a/src/Generated/Models/Audio/AudioTranscriptionOptions.cs +++ b/src/Generated/Models/Audio/AudioTranscriptionOptions.cs @@ -13,19 +13,19 @@ public partial class AudioTranscriptionOptions { private protected IDictionary _additionalBinaryDataProperties; - internal AudioTranscriptionOptions(string language, string prompt, AudioTranscriptionFormat? responseFormat, float? temperature, InternalVadConfig chunkingStrategy, BinaryData @file, InternalCreateTranscriptionRequestModel model, IList internalTimestampGranularities, bool? stream, IList internalInclude, IDictionary additionalBinaryDataProperties) + internal AudioTranscriptionOptions(BinaryData @file, InternalCreateTranscriptionRequestModel model, string language, string prompt, AudioTranscriptionFormat? responseFormat, float? temperature, IList internalInclude, IList internalTimestampGranularities, bool? stream, InternalVadConfig chunkingStrategy, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + File = @file; + Model = model; Language = language; Prompt = prompt; ResponseFormat = responseFormat; Temperature = temperature; - ChunkingStrategy = chunkingStrategy; - File = @file; - Model = model; + InternalInclude = internalInclude ?? new ChangeTrackingList(); InternalTimestampGranularities = internalTimestampGranularities ?? new ChangeTrackingList(); Stream = stream; - InternalInclude = internalInclude ?? new ChangeTrackingList(); + ChunkingStrategy = chunkingStrategy; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Audio/AudioTranslation.Serialization.cs b/src/Generated/Models/Audio/AudioTranslation.Serialization.cs index 339027a21..05617bcf4 100644 --- a/src/Generated/Models/Audio/AudioTranslation.Serialization.cs +++ b/src/Generated/Models/Audio/AudioTranslation.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Audio { public partial class AudioTranslation : IJsonModel { - internal AudioTranslation() : this(null, null, null, null, default, null) + internal AudioTranslation() : this(null, null, default, null, null, null) { } @@ -32,11 +32,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AudioTranslation)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("task") != true) + { + writer.WritePropertyName("task"u8); + writer.WriteStringValue(Task); + } if (_additionalBinaryDataProperties?.ContainsKey("language") != true) { writer.WritePropertyName("language"u8); writer.WriteStringValue(Language); } + if (_additionalBinaryDataProperties?.ContainsKey("duration") != true) + { + writer.WritePropertyName("duration"u8); + writer.WriteNumberValue(Convert.ToDouble(Duration.Value.ToString("s\\.FFF"))); + } if (_additionalBinaryDataProperties?.ContainsKey("text") != true) { writer.WritePropertyName("text"u8); @@ -53,16 +63,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (_additionalBinaryDataProperties?.ContainsKey("task") != true) - { - writer.WritePropertyName("task"u8); - writer.WriteStringValue(Task); - } - if (_additionalBinaryDataProperties?.ContainsKey("duration") != true) - { - writer.WritePropertyName("duration"u8); - writer.WriteNumberValue(Convert.ToDouble(Duration.Value.ToString("s\\.FFF"))); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -105,19 +105,29 @@ internal static AudioTranslation DeserializeAudioTranslation(JsonElement element { return null; } + string task = default; string language = default; + TimeSpan? duration = default; string text = default; IReadOnlyList segments = default; - string task = default; - TimeSpan? duration = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("task"u8)) + { + task = prop.Value.GetString(); + continue; + } if (prop.NameEquals("language"u8)) { language = prop.Value.GetString(); continue; } + if (prop.NameEquals("duration"u8)) + { + duration = TimeSpan.FromSeconds(prop.Value.GetDouble()); + continue; + } if (prop.NameEquals("text"u8)) { text = prop.Value.GetString(); @@ -137,25 +147,15 @@ internal static AudioTranslation DeserializeAudioTranslation(JsonElement element segments = array; continue; } - if (prop.NameEquals("task"u8)) - { - task = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("duration"u8)) - { - duration = TimeSpan.FromSeconds(prop.Value.GetDouble()); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AudioTranslation( + task, language, + duration, text, segments ?? new ChangeTrackingList(), - task, - duration, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Audio/AudioTranslation.cs b/src/Generated/Models/Audio/AudioTranslation.cs index 76e91b268..ed5e7db54 100644 --- a/src/Generated/Models/Audio/AudioTranslation.cs +++ b/src/Generated/Models/Audio/AudioTranslation.cs @@ -12,22 +12,22 @@ public partial class AudioTranslation { private protected IDictionary _additionalBinaryDataProperties; - internal AudioTranslation(string language, string text, TimeSpan? duration) + internal AudioTranslation(string language, TimeSpan? duration, string text) { Language = language; + Duration = duration; Text = text; Segments = new ChangeTrackingList(); - Duration = duration; } - internal AudioTranslation(string language, string text, IReadOnlyList segments, string task, TimeSpan? duration, IDictionary additionalBinaryDataProperties) + internal AudioTranslation(string task, string language, TimeSpan? duration, string text, IReadOnlyList segments, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Task = task; Language = language; + Duration = duration; Text = text; Segments = segments ?? new ChangeTrackingList(); - Task = task; - Duration = duration; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs b/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs index b3b79dbff..cae923ea2 100644 --- a/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs +++ b/src/Generated/Models/Audio/AudioTranslationOptions.Serialization.cs @@ -32,6 +32,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(AudioTranslationOptions)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("file") != true) + { + writer.WritePropertyName("file"u8); + writer.WriteBase64StringValue(File.ToArray(), "D"); + } + if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model.ToString()); + } if (Optional.IsDefined(Prompt) && _additionalBinaryDataProperties?.ContainsKey("prompt") != true) { writer.WritePropertyName("prompt"u8); @@ -47,16 +57,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (_additionalBinaryDataProperties?.ContainsKey("file") != true) - { - writer.WritePropertyName("file"u8); - writer.WriteBase64StringValue(File.ToArray(), "D"); - } - if (_additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model.ToString()); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -99,14 +99,24 @@ internal static AudioTranslationOptions DeserializeAudioTranslationOptions(JsonE { return null; } + BinaryData @file = default; + InternalCreateTranslationRequestModel model = default; string prompt = default; AudioTranslationFormat? responseFormat = default; float? temperature = default; - BinaryData @file = default; - InternalCreateTranslationRequestModel model = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("file"u8)) + { + @file = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); + continue; + } + if (prop.NameEquals("model"u8)) + { + model = new InternalCreateTranslationRequestModel(prop.Value.GetString()); + continue; + } if (prop.NameEquals("prompt"u8)) { prompt = prop.Value.GetString(); @@ -130,25 +140,15 @@ internal static AudioTranslationOptions DeserializeAudioTranslationOptions(JsonE temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("file"u8)) - { - @file = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); - continue; - } - if (prop.NameEquals("model"u8)) - { - model = new InternalCreateTranslationRequestModel(prop.Value.GetString()); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AudioTranslationOptions( + @file, + model, prompt, responseFormat, temperature, - @file, - model, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Audio/AudioTranslationOptions.cs b/src/Generated/Models/Audio/AudioTranslationOptions.cs index 1af4b47a0..c59c91256 100644 --- a/src/Generated/Models/Audio/AudioTranslationOptions.cs +++ b/src/Generated/Models/Audio/AudioTranslationOptions.cs @@ -11,13 +11,13 @@ public partial class AudioTranslationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal AudioTranslationOptions(string prompt, AudioTranslationFormat? responseFormat, float? temperature, BinaryData @file, InternalCreateTranslationRequestModel model, IDictionary additionalBinaryDataProperties) + internal AudioTranslationOptions(BinaryData @file, InternalCreateTranslationRequestModel model, string prompt, AudioTranslationFormat? responseFormat, float? temperature, IDictionary additionalBinaryDataProperties) { + File = @file; + Model = model; Prompt = prompt; ResponseFormat = responseFormat; Temperature = temperature; - File = @file; - Model = model; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs b/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs index 7cbc4c0dc..d8c1ded28 100644 --- a/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs +++ b/src/Generated/Models/Audio/SpeechGenerationOptions.Serialization.cs @@ -32,16 +32,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(SpeechGenerationOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(Instructions) && _additionalBinaryDataProperties?.ContainsKey("instructions") != true) - { - writer.WritePropertyName("instructions"u8); - writer.WriteStringValue(Instructions); - } - if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) - { - writer.WritePropertyName("response_format"u8); - writer.WriteStringValue(ResponseFormat.Value.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("model") != true) { writer.WritePropertyName("model"u8); @@ -52,11 +42,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("input"u8); writer.WriteStringValue(Input); } + if (Optional.IsDefined(Instructions) && _additionalBinaryDataProperties?.ContainsKey("instructions") != true) + { + writer.WritePropertyName("instructions"u8); + writer.WriteStringValue(Instructions); + } if (_additionalBinaryDataProperties?.ContainsKey("voice") != true) { writer.WritePropertyName("voice"u8); writer.WriteStringValue(Voice.ToString()); } + if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) + { + writer.WritePropertyName("response_format"u8); + writer.WriteStringValue(ResponseFormat.Value.ToString()); + } if (Optional.IsDefined(SpeedRatio) && _additionalBinaryDataProperties?.ContainsKey("speed") != true) { writer.WritePropertyName("speed"u8); @@ -104,29 +104,15 @@ internal static SpeechGenerationOptions DeserializeSpeechGenerationOptions(JsonE { return null; } - string instructions = default; - GeneratedSpeechFormat? responseFormat = default; InternalCreateSpeechRequestModel model = default; string input = default; + string instructions = default; GeneratedSpeechVoice voice = default; + GeneratedSpeechFormat? responseFormat = default; float? speedRatio = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("instructions"u8)) - { - instructions = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("response_format"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - responseFormat = new GeneratedSpeechFormat(prop.Value.GetString()); - continue; - } if (prop.NameEquals("model"u8)) { model = new InternalCreateSpeechRequestModel(prop.Value.GetString()); @@ -137,11 +123,25 @@ internal static SpeechGenerationOptions DeserializeSpeechGenerationOptions(JsonE input = prop.Value.GetString(); continue; } + if (prop.NameEquals("instructions"u8)) + { + instructions = prop.Value.GetString(); + continue; + } if (prop.NameEquals("voice"u8)) { voice = new GeneratedSpeechVoice(prop.Value.GetString()); continue; } + if (prop.NameEquals("response_format"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + responseFormat = new GeneratedSpeechFormat(prop.Value.GetString()); + continue; + } if (prop.NameEquals("speed"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -155,11 +155,11 @@ internal static SpeechGenerationOptions DeserializeSpeechGenerationOptions(JsonE additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new SpeechGenerationOptions( - instructions, - responseFormat, model, input, + instructions, voice, + responseFormat, speedRatio, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Audio/SpeechGenerationOptions.cs b/src/Generated/Models/Audio/SpeechGenerationOptions.cs index b16bc6f51..073d3a3cb 100644 --- a/src/Generated/Models/Audio/SpeechGenerationOptions.cs +++ b/src/Generated/Models/Audio/SpeechGenerationOptions.cs @@ -12,13 +12,13 @@ public partial class SpeechGenerationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal SpeechGenerationOptions(string instructions, GeneratedSpeechFormat? responseFormat, InternalCreateSpeechRequestModel model, string input, GeneratedSpeechVoice voice, float? speedRatio, IDictionary additionalBinaryDataProperties) + internal SpeechGenerationOptions(InternalCreateSpeechRequestModel model, string input, string instructions, GeneratedSpeechVoice voice, GeneratedSpeechFormat? responseFormat, float? speedRatio, IDictionary additionalBinaryDataProperties) { - Instructions = instructions; - ResponseFormat = responseFormat; Model = model; Input = input; + Instructions = instructions; Voice = voice; + ResponseFormat = responseFormat; SpeedRatio = speedRatio; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs b/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs index a70d3049d..85090a7e5 100644 --- a/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs +++ b/src/Generated/Models/Audio/TranscribedSegment.Serialization.cs @@ -35,20 +35,10 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions writer.WritePropertyName("id"u8); writer.WriteNumberValue(Id); } - if (_additionalBinaryDataProperties?.ContainsKey("text") != true) - { - writer.WritePropertyName("text"u8); - writer.WriteStringValue(Text); - } - if (_additionalBinaryDataProperties?.ContainsKey("temperature") != true) - { - writer.WritePropertyName("temperature"u8); - writer.WriteNumberValue(Temperature); - } - if (_additionalBinaryDataProperties?.ContainsKey("compression_ratio") != true) + if (_additionalBinaryDataProperties?.ContainsKey("seek") != true) { - writer.WritePropertyName("compression_ratio"u8); - writer.WriteNumberValue(CompressionRatio); + writer.WritePropertyName("seek"u8); + writer.WriteNumberValue(SeekOffset); } if (_additionalBinaryDataProperties?.ContainsKey("start") != true) { @@ -60,10 +50,10 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions writer.WritePropertyName("end"u8); writer.WriteNumberValue(Convert.ToDouble(EndTime.ToString("s\\.FFF"))); } - if (_additionalBinaryDataProperties?.ContainsKey("seek") != true) + if (_additionalBinaryDataProperties?.ContainsKey("text") != true) { - writer.WritePropertyName("seek"u8); - writer.WriteNumberValue(SeekOffset); + writer.WritePropertyName("text"u8); + writer.WriteStringValue(Text); } if (_additionalBinaryDataProperties?.ContainsKey("tokens") != true) { @@ -75,11 +65,21 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions } writer.WriteEndArray(); } + if (_additionalBinaryDataProperties?.ContainsKey("temperature") != true) + { + writer.WritePropertyName("temperature"u8); + writer.WriteNumberValue(Temperature); + } if (_additionalBinaryDataProperties?.ContainsKey("avg_logprob") != true) { writer.WritePropertyName("avg_logprob"u8); writer.WriteNumberValue(AverageLogProbability); } + if (_additionalBinaryDataProperties?.ContainsKey("compression_ratio") != true) + { + writer.WritePropertyName("compression_ratio"u8); + writer.WriteNumberValue(CompressionRatio); + } if (_additionalBinaryDataProperties?.ContainsKey("no_speech_prob") != true) { writer.WritePropertyName("no_speech_prob"u8); @@ -127,14 +127,14 @@ internal static TranscribedSegment DeserializeTranscribedSegment(JsonElement ele return default; } int id = default; - string text = default; - float temperature = default; - float compressionRatio = default; + int seekOffset = default; TimeSpan startTime = default; TimeSpan endTime = default; - int seekOffset = default; + string text = default; ReadOnlyMemory tokenIds = default; + float temperature = default; float averageLogProbability = default; + float compressionRatio = default; float noSpeechProbability = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) @@ -144,19 +144,9 @@ internal static TranscribedSegment DeserializeTranscribedSegment(JsonElement ele id = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("text"u8)) - { - text = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("temperature"u8)) - { - temperature = prop.Value.GetSingle(); - continue; - } - if (prop.NameEquals("compression_ratio"u8)) + if (prop.NameEquals("seek"u8)) { - compressionRatio = prop.Value.GetSingle(); + seekOffset = prop.Value.GetInt32(); continue; } if (prop.NameEquals("start"u8)) @@ -169,9 +159,9 @@ internal static TranscribedSegment DeserializeTranscribedSegment(JsonElement ele endTime = TimeSpan.FromSeconds(prop.Value.GetDouble()); continue; } - if (prop.NameEquals("seek"u8)) + if (prop.NameEquals("text"u8)) { - seekOffset = prop.Value.GetInt32(); + text = prop.Value.GetString(); continue; } if (prop.NameEquals("tokens"u8)) @@ -190,11 +180,21 @@ internal static TranscribedSegment DeserializeTranscribedSegment(JsonElement ele tokenIds = new ReadOnlyMemory(array); continue; } + if (prop.NameEquals("temperature"u8)) + { + temperature = prop.Value.GetSingle(); + continue; + } if (prop.NameEquals("avg_logprob"u8)) { averageLogProbability = prop.Value.GetSingle(); continue; } + if (prop.NameEquals("compression_ratio"u8)) + { + compressionRatio = prop.Value.GetSingle(); + continue; + } if (prop.NameEquals("no_speech_prob"u8)) { noSpeechProbability = prop.Value.GetSingle(); @@ -205,14 +205,14 @@ internal static TranscribedSegment DeserializeTranscribedSegment(JsonElement ele } return new TranscribedSegment( id, - text, - temperature, - compressionRatio, + seekOffset, startTime, endTime, - seekOffset, + text, tokenIds, + temperature, averageLogProbability, + compressionRatio, noSpeechProbability, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Audio/TranscribedSegment.cs b/src/Generated/Models/Audio/TranscribedSegment.cs index 3b18d7b96..9e40adbae 100644 --- a/src/Generated/Models/Audio/TranscribedSegment.cs +++ b/src/Generated/Models/Audio/TranscribedSegment.cs @@ -11,31 +11,31 @@ public readonly partial struct TranscribedSegment { private readonly IDictionary _additionalBinaryDataProperties; - internal TranscribedSegment(int id, string text, float temperature, float compressionRatio, TimeSpan startTime, TimeSpan endTime, int seekOffset, ReadOnlyMemory tokenIds, float averageLogProbability, float noSpeechProbability) + internal TranscribedSegment(int id, int seekOffset, TimeSpan startTime, TimeSpan endTime, string text, ReadOnlyMemory tokenIds, float temperature, float averageLogProbability, float compressionRatio, float noSpeechProbability) { Id = id; - Text = text; - Temperature = temperature; - CompressionRatio = compressionRatio; + SeekOffset = seekOffset; StartTime = startTime; EndTime = endTime; - SeekOffset = seekOffset; + Text = text; TokenIds = tokenIds; + Temperature = temperature; AverageLogProbability = averageLogProbability; + CompressionRatio = compressionRatio; NoSpeechProbability = noSpeechProbability; } - internal TranscribedSegment(int id, string text, float temperature, float compressionRatio, TimeSpan startTime, TimeSpan endTime, int seekOffset, ReadOnlyMemory tokenIds, float averageLogProbability, float noSpeechProbability, IDictionary additionalBinaryDataProperties) + internal TranscribedSegment(int id, int seekOffset, TimeSpan startTime, TimeSpan endTime, string text, ReadOnlyMemory tokenIds, float temperature, float averageLogProbability, float compressionRatio, float noSpeechProbability, IDictionary additionalBinaryDataProperties) { Id = id; - Text = text; - Temperature = temperature; - CompressionRatio = compressionRatio; + SeekOffset = seekOffset; StartTime = startTime; EndTime = endTime; - SeekOffset = seekOffset; + Text = text; TokenIds = tokenIds; + Temperature = temperature; AverageLogProbability = averageLogProbability; + CompressionRatio = compressionRatio; NoSpeechProbability = noSpeechProbability; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs b/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs index 5d1387d9d..7086c5853 100644 --- a/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/AssistantChatMessage.Serialization.cs @@ -32,6 +32,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("name"u8); writer.WriteStringValue(ParticipantName); } + if (Optional.IsDefined(OutputAudioReference) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) + { + writer.WritePropertyName("audio"u8); + writer.WriteObjectValue(OutputAudioReference, options); + } if (Optional.IsCollectionDefined(ToolCalls) && _additionalBinaryDataProperties?.ContainsKey("tool_calls") != true) { writer.WritePropertyName("tool_calls"u8); @@ -47,11 +52,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("function_call"u8); writer.WriteObjectValue(FunctionCall, options); } - if (Optional.IsDefined(OutputAudioReference) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) - { - writer.WritePropertyName("audio"u8); - writer.WriteObjectValue(OutputAudioReference, options); - } } AssistantChatMessage IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (AssistantChatMessage)JsonModelCreateCore(ref reader, options); @@ -74,24 +74,24 @@ internal static AssistantChatMessage DeserializeAssistantChatMessage(JsonElement { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string refusal = default; string participantName = default; + ChatOutputAudioReference outputAudioReference = default; IList toolCalls = default; ChatFunctionCall functionCall = default; - ChatOutputAudioReference outputAudioReference = default; foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } if (prop.NameEquals("refusal"u8)) @@ -109,6 +109,16 @@ internal static AssistantChatMessage DeserializeAssistantChatMessage(JsonElement participantName = prop.Value.GetString(); continue; } + if (prop.NameEquals("audio"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + outputAudioReference = null; + continue; + } + outputAudioReference = ChatOutputAudioReference.DeserializeChatOutputAudioReference(prop.Value, options); + continue; + } if (prop.NameEquals("tool_calls"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -133,28 +143,18 @@ internal static AssistantChatMessage DeserializeAssistantChatMessage(JsonElement functionCall = ChatFunctionCall.DeserializeChatFunctionCall(prop.Value, options); continue; } - if (prop.NameEquals("audio"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - outputAudioReference = null; - continue; - } - outputAudioReference = ChatOutputAudioReference.DeserializeChatOutputAudioReference(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new AssistantChatMessage( - content, role, + content, additionalBinaryDataProperties, refusal, participantName, + outputAudioReference, toolCalls ?? new ChangeTrackingList(), - functionCall, - outputAudioReference); + functionCall); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/AssistantChatMessage.cs b/src/Generated/Models/Chat/AssistantChatMessage.cs index 2ffaddcb1..b16a3db87 100644 --- a/src/Generated/Models/Chat/AssistantChatMessage.cs +++ b/src/Generated/Models/Chat/AssistantChatMessage.cs @@ -10,18 +10,18 @@ namespace OpenAI.Chat { public partial class AssistantChatMessage : ChatMessage { - internal AssistantChatMessage() : this(null, ChatMessageRole.Assistant, null, null, null, null, null, null) + internal AssistantChatMessage() : this(ChatMessageRole.Assistant, null, null, null, null, null, null, null) { } - internal AssistantChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties, string refusal, string participantName, IList toolCalls, ChatFunctionCall functionCall, ChatOutputAudioReference outputAudioReference) : base(content, role, additionalBinaryDataProperties) + internal AssistantChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties, string refusal, string participantName, ChatOutputAudioReference outputAudioReference, IList toolCalls, ChatFunctionCall functionCall) : base(role, content, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Refusal = refusal; ParticipantName = participantName; + OutputAudioReference = outputAudioReference; ToolCalls = toolCalls ?? new ChangeTrackingList(); FunctionCall = functionCall; - OutputAudioReference = outputAudioReference; } public string Refusal { get; set; } diff --git a/src/Generated/Models/Chat/ChatCompletion.Serialization.cs b/src/Generated/Models/Chat/ChatCompletion.Serialization.cs index bd73043e1..0f65e0458 100644 --- a/src/Generated/Models/Chat/ChatCompletion.Serialization.cs +++ b/src/Generated/Models/Chat/ChatCompletion.Serialization.cs @@ -14,7 +14,7 @@ namespace OpenAI.Chat { public partial class ChatCompletion : IJsonModel { - internal ChatCompletion() : this(null, null, default, null, null, null, null, default, null) + internal ChatCompletion() : this(null, null, default, null, default, null, null, null, null) { } @@ -38,6 +38,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("choices") != true) + { + writer.WritePropertyName("choices"u8); + writer.WriteStartArray(); + foreach (InternalCreateChatCompletionResponseChoice item in Choices) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } + if (_additionalBinaryDataProperties?.ContainsKey("created") != true) + { + writer.WritePropertyName("created"u8); + writer.WriteNumberValue(CreatedAt, "U"); + } if (_additionalBinaryDataProperties?.ContainsKey("model") != true) { writer.WritePropertyName("model"u8); @@ -53,30 +68,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("system_fingerprint"u8); writer.WriteStringValue(SystemFingerprint); } - if (Optional.IsDefined(Usage) && _additionalBinaryDataProperties?.ContainsKey("usage") != true) - { - writer.WritePropertyName("usage"u8); - writer.WriteObjectValue(Usage, options); - } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } - if (_additionalBinaryDataProperties?.ContainsKey("choices") != true) - { - writer.WritePropertyName("choices"u8); - writer.WriteStartArray(); - foreach (InternalCreateChatCompletionResponseChoice item in Choices) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - } - if (_additionalBinaryDataProperties?.ContainsKey("created") != true) + if (Optional.IsDefined(Usage) && _additionalBinaryDataProperties?.ContainsKey("usage") != true) { - writer.WritePropertyName("created"u8); - writer.WriteNumberValue(CreatedAt, "U"); + writer.WritePropertyName("usage"u8); + writer.WriteObjectValue(Usage, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -121,13 +121,13 @@ internal static ChatCompletion DeserializeChatCompletion(JsonElement element, Mo return null; } string id = default; + IReadOnlyList choices = default; + DateTimeOffset createdAt = default; string model = default; ChatServiceTier? serviceTier = default; string systemFingerprint = default; - ChatTokenUsage usage = default; string @object = default; - IReadOnlyList choices = default; - DateTimeOffset createdAt = default; + ChatTokenUsage usage = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -136,6 +136,21 @@ internal static ChatCompletion DeserializeChatCompletion(JsonElement element, Mo id = prop.Value.GetString(); continue; } + if (prop.NameEquals("choices"u8)) + { + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(InternalCreateChatCompletionResponseChoice.DeserializeInternalCreateChatCompletionResponseChoice(item, options)); + } + choices = array; + continue; + } + if (prop.NameEquals("created"u8)) + { + createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + continue; + } if (prop.NameEquals("model"u8)) { model = prop.Value.GetString(); @@ -155,33 +170,18 @@ internal static ChatCompletion DeserializeChatCompletion(JsonElement element, Mo systemFingerprint = prop.Value.GetString(); continue; } - if (prop.NameEquals("usage"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - usage = ChatTokenUsage.DeserializeChatTokenUsage(prop.Value, options); - continue; - } if (prop.NameEquals("object"u8)) { @object = prop.Value.GetString(); continue; } - if (prop.NameEquals("choices"u8)) + if (prop.NameEquals("usage"u8)) { - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) + if (prop.Value.ValueKind == JsonValueKind.Null) { - array.Add(InternalCreateChatCompletionResponseChoice.DeserializeInternalCreateChatCompletionResponseChoice(item, options)); + continue; } - choices = array; - continue; - } - if (prop.NameEquals("created"u8)) - { - createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + usage = ChatTokenUsage.DeserializeChatTokenUsage(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check @@ -189,13 +189,13 @@ internal static ChatCompletion DeserializeChatCompletion(JsonElement element, Mo } return new ChatCompletion( id, + choices, + createdAt, model, serviceTier, systemFingerprint, - usage, @object, - choices, - createdAt, + usage, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Chat/ChatCompletion.cs b/src/Generated/Models/Chat/ChatCompletion.cs index d8b86798b..5c50f3ecf 100644 --- a/src/Generated/Models/Chat/ChatCompletion.cs +++ b/src/Generated/Models/Chat/ChatCompletion.cs @@ -14,25 +14,25 @@ public partial class ChatCompletion { private protected IDictionary _additionalBinaryDataProperties; - internal ChatCompletion(string id, string model, IEnumerable choices, DateTimeOffset createdAt) + internal ChatCompletion(string id, IEnumerable choices, DateTimeOffset createdAt, string model) { Id = id; - Model = model; Choices = choices.ToList(); CreatedAt = createdAt; + Model = model; } - internal ChatCompletion(string id, string model, ChatServiceTier? serviceTier, string systemFingerprint, ChatTokenUsage usage, string @object, IReadOnlyList choices, DateTimeOffset createdAt, IDictionary additionalBinaryDataProperties) + internal ChatCompletion(string id, IReadOnlyList choices, DateTimeOffset createdAt, string model, ChatServiceTier? serviceTier, string systemFingerprint, string @object, ChatTokenUsage usage, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; + Choices = choices ?? new ChangeTrackingList(); + CreatedAt = createdAt; Model = model; ServiceTier = serviceTier; SystemFingerprint = systemFingerprint; - Usage = usage; Object = @object; - Choices = choices ?? new ChangeTrackingList(); - CreatedAt = createdAt; + Usage = usage; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs index 68be8de6e..57751c200 100644 --- a/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs +++ b/src/Generated/Models/Chat/ChatCompletionDeletionResult.Serialization.cs @@ -31,11 +31,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ChatCompletionDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); @@ -46,6 +41,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(ChatCompletionId); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -87,17 +87,12 @@ internal static ChatCompletionDeletionResult DeserializeChatCompletionDeletionRe { return null; } - bool deleted = default; string @object = default; string chatCompletionId = default; + bool deleted = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) - { - deleted = prop.Value.GetBoolean(); - continue; - } if (prop.NameEquals("object"u8)) { @object = prop.Value.GetString(); @@ -108,10 +103,15 @@ internal static ChatCompletionDeletionResult DeserializeChatCompletionDeletionRe chatCompletionId = prop.Value.GetString(); continue; } + if (prop.NameEquals("deleted"u8)) + { + deleted = prop.Value.GetBoolean(); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ChatCompletionDeletionResult(deleted, @object, chatCompletionId, additionalBinaryDataProperties); + return new ChatCompletionDeletionResult(@object, chatCompletionId, deleted, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ChatCompletionDeletionResult.cs b/src/Generated/Models/Chat/ChatCompletionDeletionResult.cs index d8d62cef1..faf10bf94 100644 --- a/src/Generated/Models/Chat/ChatCompletionDeletionResult.cs +++ b/src/Generated/Models/Chat/ChatCompletionDeletionResult.cs @@ -13,17 +13,17 @@ public partial class ChatCompletionDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal ChatCompletionDeletionResult(bool deleted, string chatCompletionId) + internal ChatCompletionDeletionResult(string chatCompletionId, bool deleted) { - Deleted = deleted; ChatCompletionId = chatCompletionId; + Deleted = deleted; } - internal ChatCompletionDeletionResult(bool deleted, string @object, string chatCompletionId, IDictionary additionalBinaryDataProperties) + internal ChatCompletionDeletionResult(string @object, string chatCompletionId, bool deleted, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; Object = @object; ChatCompletionId = chatCompletionId; + Deleted = deleted; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs index 501914eb8..60d927d3d 100644 --- a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs +++ b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Chat { public partial class ChatCompletionMessageListDatum : IJsonModel { - internal ChatCompletionMessageListDatum() : this(null, null, null, null, null, null, default, null, null) + internal ChatCompletionMessageListDatum() : this(null, null, null, null, default, null, null, null, null) { } @@ -76,26 +76,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(FunctionCall) && _additionalBinaryDataProperties?.ContainsKey("function_call") != true) - { - writer.WritePropertyName("function_call"u8); - writer.WriteObjectValue(FunctionCall, options); - } - if (_additionalBinaryDataProperties?.ContainsKey("id") != true) - { - writer.WritePropertyName("id"u8); - writer.WriteStringValue(Id); - } if (_additionalBinaryDataProperties?.ContainsKey("role") != true) { writer.WritePropertyName("role"u8); writer.WriteStringValue(Role.ToSerialString()); } + if (Optional.IsDefined(FunctionCall) && _additionalBinaryDataProperties?.ContainsKey("function_call") != true) + { + writer.WritePropertyName("function_call"u8); + writer.WriteObjectValue(FunctionCall, options); + } if (Optional.IsDefined(OutputAudio) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) { writer.WritePropertyName("audio"u8); writer.WriteObjectValue(OutputAudio, options); } + if (_additionalBinaryDataProperties?.ContainsKey("id") != true) + { + writer.WritePropertyName("id"u8); + writer.WriteStringValue(Id); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -141,10 +141,10 @@ internal static ChatCompletionMessageListDatum DeserializeChatCompletionMessageL string refusal = default; IReadOnlyList toolCalls = default; IReadOnlyList annotations = default; - InternalChatCompletionResponseMessageFunctionCall functionCall = default; - string id = default; ChatMessageRole role = default; + InternalChatCompletionResponseMessageFunctionCall functionCall = default; ChatOutputAudio outputAudio = default; + string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -196,6 +196,11 @@ internal static ChatCompletionMessageListDatum DeserializeChatCompletionMessageL annotations = array; continue; } + if (prop.NameEquals("role"u8)) + { + role = prop.Value.GetString().ToChatMessageRole(); + continue; + } if (prop.NameEquals("function_call"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -205,16 +210,6 @@ internal static ChatCompletionMessageListDatum DeserializeChatCompletionMessageL functionCall = InternalChatCompletionResponseMessageFunctionCall.DeserializeInternalChatCompletionResponseMessageFunctionCall(prop.Value, options); continue; } - if (prop.NameEquals("id"u8)) - { - id = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("role"u8)) - { - role = prop.Value.GetString().ToChatMessageRole(); - continue; - } if (prop.NameEquals("audio"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -225,6 +220,11 @@ internal static ChatCompletionMessageListDatum DeserializeChatCompletionMessageL outputAudio = ChatOutputAudio.DeserializeChatOutputAudio(prop.Value, options); continue; } + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -233,10 +233,10 @@ internal static ChatCompletionMessageListDatum DeserializeChatCompletionMessageL refusal, toolCalls ?? new ChangeTrackingList(), annotations ?? new ChangeTrackingList(), - functionCall, - id, role, + functionCall, outputAudio, + id, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs index 5320514f8..bc678e053 100644 --- a/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs +++ b/src/Generated/Models/Chat/ChatCompletionMessageListDatum.cs @@ -14,27 +14,27 @@ public partial class ChatCompletionMessageListDatum { private protected IDictionary _additionalBinaryDataProperties; - internal ChatCompletionMessageListDatum(string content, string refusal, string id, ChatMessageRole role) + internal ChatCompletionMessageListDatum(string content, string refusal, ChatMessageRole role, string id) { Content = content; Refusal = refusal; ToolCalls = new ChangeTrackingList(); Annotations = new ChangeTrackingList(); - Id = id; Role = role; + Id = id; } - internal ChatCompletionMessageListDatum(string content, string refusal, IReadOnlyList toolCalls, IReadOnlyList annotations, InternalChatCompletionResponseMessageFunctionCall functionCall, string id, ChatMessageRole role, ChatOutputAudio outputAudio, IDictionary additionalBinaryDataProperties) + internal ChatCompletionMessageListDatum(string content, string refusal, IReadOnlyList toolCalls, IReadOnlyList annotations, ChatMessageRole role, InternalChatCompletionResponseMessageFunctionCall functionCall, ChatOutputAudio outputAudio, string id, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Content = content; Refusal = refusal; ToolCalls = toolCalls ?? new ChangeTrackingList(); Annotations = annotations ?? new ChangeTrackingList(); - FunctionCall = functionCall; - Id = id; Role = role; + FunctionCall = functionCall; OutputAudio = outputAudio; + Id = id; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs b/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs index 2ab3e1171..2ca4070e2 100644 --- a/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs +++ b/src/Generated/Models/Chat/ChatCompletionOptions.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Chat { public partial class ChatCompletionOptions : IJsonModel { - public ChatCompletionOptions() : this(default, default, default, default, default, null, default, null, null, null, default, default, null, default, default, null, null, null, null, default, null, default, default, null, null, default, default, null, null, null, null, null) + public ChatCompletionOptions() : this(null, default, default, null, default, null, null, null, default, default, default, default, null, default, null, null, default, default, null, null, default, default, default, null, default, null, null, null, default, null, null, null) { } @@ -32,6 +32,22 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ChatCompletionOptions)} does not support writing '{format}' format."); } + if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) + { + writer.WritePropertyName("metadata"u8); + writer.WriteStartObject(); + foreach (var item in Metadata) + { + writer.WritePropertyName(item.Key); + if (item.Value == null) + { + writer.WriteNullValue(); + continue; + } + writer.WriteStringValue(item.Value); + } + writer.WriteEndObject(); + } if (Optional.IsDefined(Temperature) && _additionalBinaryDataProperties?.ContainsKey("temperature") != true) { writer.WritePropertyName("temperature"u8); @@ -42,11 +58,48 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("top_p"u8); writer.WriteNumberValue(TopP.Value); } + if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) + { + writer.WritePropertyName("user"u8); + writer.WriteStringValue(EndUserId); + } if (Optional.IsDefined(ServiceTier) && _additionalBinaryDataProperties?.ContainsKey("service_tier") != true) { writer.WritePropertyName("service_tier"u8); writer.WriteStringValue(ServiceTier.Value.ToString()); } + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsCollectionDefined(Messages) && _additionalBinaryDataProperties?.ContainsKey("messages") != true) + { + writer.WritePropertyName("messages"u8); + SerializeMessagesValue(writer, options); + } + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } + if (Optional.IsCollectionDefined(InternalModalities) && _additionalBinaryDataProperties?.ContainsKey("modalities") != true) + { + writer.WritePropertyName("modalities"u8); + writer.WriteStartArray(); + foreach (InternalCreateChatCompletionRequestModality item in InternalModalities) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); + } + if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + { + writer.WritePropertyName("reasoning_effort"u8); + writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + } + if (Optional.IsDefined(MaxOutputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_completion_tokens") != true) + { + writer.WritePropertyName("max_completion_tokens"u8); + writer.WriteNumberValue(MaxOutputTokenCount.Value); + } if (Optional.IsDefined(FrequencyPenalty) && _additionalBinaryDataProperties?.ContainsKey("frequency_penalty") != true) { writer.WritePropertyName("frequency_penalty"u8); @@ -62,58 +115,31 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("web_search_options"u8); writer.WriteObjectValue(WebSearchOptions, options); } - if (Optional.IsDefined(Seed) && _additionalBinaryDataProperties?.ContainsKey("seed") != true) - { - writer.WritePropertyName("seed"u8); - writer.WriteNumberValue(Seed.Value); - } - if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) + if (Optional.IsDefined(TopLogProbabilityCount) && _additionalBinaryDataProperties?.ContainsKey("top_logprobs") != true) { - writer.WritePropertyName("tools"u8); - writer.WriteStartArray(); - foreach (ChatTool item in Tools) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); + writer.WritePropertyName("top_logprobs"u8); + writer.WriteNumberValue(TopLogProbabilityCount.Value); } - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsCollectionDefined(Messages) && _additionalBinaryDataProperties?.ContainsKey("messages") != true) + if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) { - writer.WritePropertyName("messages"u8); - SerializeMessagesValue(writer, options); + writer.WritePropertyName("response_format"u8); + writer.WriteObjectValue(ResponseFormat, options); } - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + if (Optional.IsDefined(AudioOptions) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); + writer.WritePropertyName("audio"u8); + writer.WriteObjectValue(AudioOptions, options); } - if (Optional.IsDefined(N) && _additionalBinaryDataProperties?.ContainsKey("n") != true) + if (Optional.IsDefined(StoredOutputEnabled) && _additionalBinaryDataProperties?.ContainsKey("store") != true) { - writer.WritePropertyName("n"u8); - writer.WriteNumberValue(N.Value); + writer.WritePropertyName("store"u8); + writer.WriteBooleanValue(StoredOutputEnabled.Value); } if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) { writer.WritePropertyName("stream"u8); writer.WriteBooleanValue(Stream.Value); } - if (Optional.IsDefined(StreamOptions) && _additionalBinaryDataProperties?.ContainsKey("stream_options") != true) - { - writer.WritePropertyName("stream_options"u8); - writer.WriteObjectValue(StreamOptions, options); - } - if (Optional.IsDefined(IncludeLogProbabilities) && _additionalBinaryDataProperties?.ContainsKey("logprobs") != true) - { - writer.WritePropertyName("logprobs"u8); - writer.WriteBooleanValue(IncludeLogProbabilities.Value); - } - if (Optional.IsDefined(TopLogProbabilityCount) && _additionalBinaryDataProperties?.ContainsKey("top_logprobs") != true) - { - writer.WritePropertyName("top_logprobs"u8); - writer.WriteNumberValue(TopLogProbabilityCount.Value); - } if (Optional.IsCollectionDefined(StopSequences) && _additionalBinaryDataProperties?.ContainsKey("stop") != true) { writer.WritePropertyName("stop"u8); @@ -124,97 +150,71 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("logit_bias"u8); SerializeLogitBiasesValue(writer, options); } - if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) + if (Optional.IsDefined(IncludeLogProbabilities) && _additionalBinaryDataProperties?.ContainsKey("logprobs") != true) { - writer.WritePropertyName("tool_choice"u8); - writer.WriteObjectValue(ToolChoice, options); + writer.WritePropertyName("logprobs"u8); + writer.WriteBooleanValue(IncludeLogProbabilities.Value); } - if (Optional.IsDefined(FunctionChoice) && _additionalBinaryDataProperties?.ContainsKey("function_call") != true) + if (Optional.IsDefined(_deprecatedMaxTokens) && _additionalBinaryDataProperties?.ContainsKey("max_tokens") != true) { - writer.WritePropertyName("function_call"u8); - writer.WriteObjectValue(FunctionChoice, options); + writer.WritePropertyName("max_tokens"u8); + writer.WriteNumberValue(_deprecatedMaxTokens.Value); } - if (Optional.IsDefined(AllowParallelToolCalls) && _additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) + if (Optional.IsDefined(N) && _additionalBinaryDataProperties?.ContainsKey("n") != true) { - writer.WritePropertyName("parallel_tool_calls"u8); - writer.WriteBooleanValue(AllowParallelToolCalls.Value); + writer.WritePropertyName("n"u8); + writer.WriteNumberValue(N.Value); } - if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) + if (Optional.IsDefined(OutputPrediction) && _additionalBinaryDataProperties?.ContainsKey("prediction") != true) { - writer.WritePropertyName("user"u8); - writer.WriteStringValue(EndUserId); + writer.WritePropertyName("prediction"u8); + writer.WriteObjectValue(OutputPrediction, options); } - if (Optional.IsDefined(_deprecatedMaxTokens) && _additionalBinaryDataProperties?.ContainsKey("max_tokens") != true) + if (Optional.IsDefined(Seed) && _additionalBinaryDataProperties?.ContainsKey("seed") != true) { - writer.WritePropertyName("max_tokens"u8); - writer.WriteNumberValue(_deprecatedMaxTokens.Value); + writer.WritePropertyName("seed"u8); + writer.WriteNumberValue(Seed.Value); } - if (Optional.IsDefined(MaxOutputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_completion_tokens") != true) + if (Optional.IsDefined(StreamOptions) && _additionalBinaryDataProperties?.ContainsKey("stream_options") != true) { - writer.WritePropertyName("max_completion_tokens"u8); - writer.WriteNumberValue(MaxOutputTokenCount.Value); + writer.WritePropertyName("stream_options"u8); + writer.WriteObjectValue(StreamOptions, options); } - if (Optional.IsCollectionDefined(Functions) && _additionalBinaryDataProperties?.ContainsKey("functions") != true) + if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) { - writer.WritePropertyName("functions"u8); + writer.WritePropertyName("tools"u8); writer.WriteStartArray(); - foreach (ChatFunction item in Functions) + foreach (ChatTool item in Tools) { writer.WriteObjectValue(item, options); } writer.WriteEndArray(); } - if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) + if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) { - writer.WritePropertyName("metadata"u8); - writer.WriteStartObject(); - foreach (var item in Metadata) - { - writer.WritePropertyName(item.Key); - if (item.Value == null) - { - writer.WriteNullValue(); - continue; - } - writer.WriteStringValue(item.Value); - } - writer.WriteEndObject(); + writer.WritePropertyName("tool_choice"u8); + writer.WriteObjectValue(ToolChoice, options); } - if (Optional.IsDefined(StoredOutputEnabled) && _additionalBinaryDataProperties?.ContainsKey("store") != true) + if (Optional.IsDefined(AllowParallelToolCalls) && _additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) { - writer.WritePropertyName("store"u8); - writer.WriteBooleanValue(StoredOutputEnabled.Value); + writer.WritePropertyName("parallel_tool_calls"u8); + writer.WriteBooleanValue(AllowParallelToolCalls.Value); } - if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("reasoning_effort") != true) + if (Optional.IsDefined(FunctionChoice) && _additionalBinaryDataProperties?.ContainsKey("function_call") != true) { - writer.WritePropertyName("reasoning_effort"u8); - writer.WriteStringValue(ReasoningEffortLevel.Value.ToString()); + writer.WritePropertyName("function_call"u8); + writer.WriteObjectValue(FunctionChoice, options); } - if (Optional.IsCollectionDefined(InternalModalities) && _additionalBinaryDataProperties?.ContainsKey("modalities") != true) + if (Optional.IsCollectionDefined(Functions) && _additionalBinaryDataProperties?.ContainsKey("functions") != true) { - writer.WritePropertyName("modalities"u8); + writer.WritePropertyName("functions"u8); writer.WriteStartArray(); - foreach (InternalCreateChatCompletionRequestModality item in InternalModalities) + foreach (ChatFunction item in Functions) { - writer.WriteStringValue(item.ToString()); + writer.WriteObjectValue(item, options); } writer.WriteEndArray(); } - if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) - { - writer.WritePropertyName("response_format"u8); - writer.WriteObjectValue(ResponseFormat, options); - } - if (Optional.IsDefined(AudioOptions) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) - { - writer.WritePropertyName("audio"u8); - writer.WriteObjectValue(AudioOptions, options); - } - if (Optional.IsDefined(OutputPrediction) && _additionalBinaryDataProperties?.ContainsKey("prediction") != true) - { - writer.WritePropertyName("prediction"u8); - writer.WriteObjectValue(OutputPrediction, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -257,40 +257,61 @@ internal static ChatCompletionOptions DeserializeChatCompletionOptions(JsonEleme { return null; } + IDictionary metadata = default; float? temperature = default; float? topP = default; + string endUserId = default; ChatServiceTier? serviceTier = default; + IList messages = default; + string model = default; + IList internalModalities = default; + ChatReasoningEffortLevel? reasoningEffortLevel = default; + int? maxOutputTokenCount = default; float? frequencyPenalty = default; float? presencePenalty = default; ChatWebSearchOptions webSearchOptions = default; - long? seed = default; - IList tools = default; - IList messages = default; - string model = default; - int? n = default; - bool? stream = default; - InternalChatCompletionStreamOptions streamOptions = default; - bool? includeLogProbabilities = default; int? topLogProbabilityCount = default; + ChatResponseFormat responseFormat = default; + ChatAudioOptions audioOptions = default; + bool? storedOutputEnabled = default; + bool? stream = default; IList stopSequences = default; IDictionary logitBiases = default; + bool? includeLogProbabilities = default; + int? deprecatedMaxTokens = default; + int? n = default; + ChatOutputPrediction outputPrediction = default; + long? seed = default; + InternalChatCompletionStreamOptions streamOptions = default; + IList tools = default; ChatToolChoice toolChoice = default; - ChatFunctionChoice functionChoice = default; bool? allowParallelToolCalls = default; - string endUserId = default; - int? deprecatedMaxTokens = default; - int? maxOutputTokenCount = default; + ChatFunctionChoice functionChoice = default; IList functions = default; - IDictionary metadata = default; - bool? storedOutputEnabled = default; - ChatReasoningEffortLevel? reasoningEffortLevel = default; - IList internalModalities = default; - ChatResponseFormat responseFormat = default; - ChatAudioOptions audioOptions = default; - ChatOutputPrediction outputPrediction = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("metadata"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) + { + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } + } + metadata = dictionary; + continue; + } if (prop.NameEquals("temperature"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -311,6 +332,11 @@ internal static ChatCompletionOptions DeserializeChatCompletionOptions(JsonEleme topP = prop.Value.GetSingle(); continue; } + if (prop.NameEquals("user"u8)) + { + endUserId = prop.Value.GetString(); + continue; + } if (prop.NameEquals("service_tier"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -320,122 +346,131 @@ internal static ChatCompletionOptions DeserializeChatCompletionOptions(JsonEleme serviceTier = new ChatServiceTier(prop.Value.GetString()); continue; } - if (prop.NameEquals("frequency_penalty"u8)) + if (prop.NameEquals("messages"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) { - frequencyPenalty = null; - continue; + array.Add(ChatMessage.DeserializeChatMessage(item, options)); } - frequencyPenalty = prop.Value.GetSingle(); + messages = array; continue; } - if (prop.NameEquals("presence_penalty"u8)) + if (prop.NameEquals("model"u8)) + { + model = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("modalities"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - presencePenalty = null; continue; } - presencePenalty = prop.Value.GetSingle(); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(new InternalCreateChatCompletionRequestModality(item.GetString())); + } + internalModalities = array; continue; } - if (prop.NameEquals("web_search_options"u8)) + if (prop.NameEquals("reasoning_effort"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + reasoningEffortLevel = null; continue; } - webSearchOptions = ChatWebSearchOptions.DeserializeChatWebSearchOptions(prop.Value, options); + reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); continue; } - if (prop.NameEquals("seed"u8)) + if (prop.NameEquals("max_completion_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - seed = null; + maxOutputTokenCount = null; continue; } - seed = prop.Value.GetInt64(); + maxOutputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("tools"u8)) + if (prop.NameEquals("frequency_penalty"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + frequencyPenalty = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(ChatTool.DeserializeChatTool(item, options)); - } - tools = array; + frequencyPenalty = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("messages"u8)) + if (prop.NameEquals("presence_penalty"u8)) { - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) + if (prop.Value.ValueKind == JsonValueKind.Null) { - array.Add(ChatMessage.DeserializeChatMessage(item, options)); + presencePenalty = null; + continue; } - messages = array; + presencePenalty = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("web_search_options"u8)) { - model = prop.Value.GetString(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + webSearchOptions = ChatWebSearchOptions.DeserializeChatWebSearchOptions(prop.Value, options); continue; } - if (prop.NameEquals("n"u8)) + if (prop.NameEquals("top_logprobs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - n = null; + topLogProbabilityCount = null; continue; } - n = prop.Value.GetInt32(); + topLogProbabilityCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("stream"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - stream = null; continue; } - stream = prop.Value.GetBoolean(); + responseFormat = ChatResponseFormat.DeserializeChatResponseFormat(prop.Value, options); continue; } - if (prop.NameEquals("stream_options"u8)) + if (prop.NameEquals("audio"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - streamOptions = null; + audioOptions = null; continue; } - streamOptions = InternalChatCompletionStreamOptions.DeserializeInternalChatCompletionStreamOptions(prop.Value, options); + audioOptions = ChatAudioOptions.DeserializeChatAudioOptions(prop.Value, options); continue; } - if (prop.NameEquals("logprobs"u8)) + if (prop.NameEquals("store"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - includeLogProbabilities = null; + storedOutputEnabled = null; continue; } - includeLogProbabilities = prop.Value.GetBoolean(); + storedOutputEnabled = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("top_logprobs"u8)) + if (prop.NameEquals("stream"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - topLogProbabilityCount = null; + stream = null; continue; } - topLogProbabilityCount = prop.Value.GetInt32(); + stream = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("stop"u8)) @@ -448,191 +483,156 @@ internal static ChatCompletionOptions DeserializeChatCompletionOptions(JsonEleme DeserializeLogitBiasesValue(prop, ref logitBiases); continue; } - if (prop.NameEquals("tool_choice"u8)) + if (prop.NameEquals("logprobs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + includeLogProbabilities = null; continue; } - toolChoice = ChatToolChoice.DeserializeChatToolChoice(prop.Value, options); + includeLogProbabilities = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("function_call"u8)) + if (prop.NameEquals("max_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + deprecatedMaxTokens = null; continue; } - functionChoice = ChatFunctionChoice.DeserializeChatFunctionChoice(prop.Value, options); + deprecatedMaxTokens = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("parallel_tool_calls"u8)) + if (prop.NameEquals("n"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + n = null; continue; } - allowParallelToolCalls = prop.Value.GetBoolean(); - continue; - } - if (prop.NameEquals("user"u8)) - { - endUserId = prop.Value.GetString(); + n = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("max_tokens"u8)) + if (prop.NameEquals("prediction"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - deprecatedMaxTokens = null; + outputPrediction = null; continue; } - deprecatedMaxTokens = prop.Value.GetInt32(); + outputPrediction = ChatOutputPrediction.DeserializeChatOutputPrediction(prop.Value, options); continue; } - if (prop.NameEquals("max_completion_tokens"u8)) + if (prop.NameEquals("seed"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - maxOutputTokenCount = null; + seed = null; continue; } - maxOutputTokenCount = prop.Value.GetInt32(); + seed = prop.Value.GetInt64(); continue; } - if (prop.NameEquals("functions"u8)) + if (prop.NameEquals("stream_options"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + streamOptions = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(ChatFunction.DeserializeChatFunction(item, options)); - } - functions = array; + streamOptions = InternalChatCompletionStreamOptions.DeserializeInternalChatCompletionStreamOptions(prop.Value, options); continue; } - if (prop.NameEquals("metadata"u8)) + if (prop.NameEquals("tools"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) - { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } - } - metadata = dictionary; - continue; - } - if (prop.NameEquals("store"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) { - storedOutputEnabled = null; - continue; + array.Add(ChatTool.DeserializeChatTool(item, options)); } - storedOutputEnabled = prop.Value.GetBoolean(); + tools = array; continue; } - if (prop.NameEquals("reasoning_effort"u8)) + if (prop.NameEquals("tool_choice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningEffortLevel = null; continue; } - reasoningEffortLevel = new ChatReasoningEffortLevel(prop.Value.GetString()); + toolChoice = ChatToolChoice.DeserializeChatToolChoice(prop.Value, options); continue; } - if (prop.NameEquals("modalities"u8)) + if (prop.NameEquals("parallel_tool_calls"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(new InternalCreateChatCompletionRequestModality(item.GetString())); - } - internalModalities = array; + allowParallelToolCalls = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("function_call"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - responseFormat = ChatResponseFormat.DeserializeChatResponseFormat(prop.Value, options); + functionChoice = ChatFunctionChoice.DeserializeChatFunctionChoice(prop.Value, options); continue; } - if (prop.NameEquals("audio"u8)) + if (prop.NameEquals("functions"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - audioOptions = null; continue; } - audioOptions = ChatAudioOptions.DeserializeChatAudioOptions(prop.Value, options); - continue; - } - if (prop.NameEquals("prediction"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) { - outputPrediction = null; - continue; + array.Add(ChatFunction.DeserializeChatFunction(item, options)); } - outputPrediction = ChatOutputPrediction.DeserializeChatOutputPrediction(prop.Value, options); + functions = array; continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new ChatCompletionOptions( + metadata ?? new ChangeTrackingDictionary(), temperature, topP, + endUserId, serviceTier, + messages, + model, + internalModalities ?? new ChangeTrackingList(), + reasoningEffortLevel, + maxOutputTokenCount, frequencyPenalty, presencePenalty, webSearchOptions, - seed, - tools ?? new ChangeTrackingList(), - messages, - model, - n, - stream, - streamOptions, - includeLogProbabilities, topLogProbabilityCount, + responseFormat, + audioOptions, + storedOutputEnabled, + stream, stopSequences ?? new ChangeTrackingList(), logitBiases ?? new ChangeTrackingDictionary(), + includeLogProbabilities, + deprecatedMaxTokens, + n, + outputPrediction, + seed, + streamOptions, + tools ?? new ChangeTrackingList(), toolChoice, - functionChoice, allowParallelToolCalls, - endUserId, - deprecatedMaxTokens, - maxOutputTokenCount, + functionChoice, functions ?? new ChangeTrackingList(), - metadata ?? new ChangeTrackingDictionary(), - storedOutputEnabled, - reasoningEffortLevel, - internalModalities ?? new ChangeTrackingList(), - responseFormat, - audioOptions, - outputPrediction, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Chat/ChatCompletionOptions.cs b/src/Generated/Models/Chat/ChatCompletionOptions.cs index 0cdf54c26..5f0f32b49 100644 --- a/src/Generated/Models/Chat/ChatCompletionOptions.cs +++ b/src/Generated/Models/Chat/ChatCompletionOptions.cs @@ -13,40 +13,40 @@ public partial class ChatCompletionOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ChatCompletionOptions(float? temperature, float? topP, ChatServiceTier? serviceTier, float? frequencyPenalty, float? presencePenalty, ChatWebSearchOptions webSearchOptions, long? seed, IList tools, IList messages, string model, int? n, bool? stream, InternalChatCompletionStreamOptions streamOptions, bool? includeLogProbabilities, int? topLogProbabilityCount, IList stopSequences, IDictionary logitBiases, ChatToolChoice toolChoice, ChatFunctionChoice functionChoice, bool? allowParallelToolCalls, string endUserId, int? deprecatedMaxTokens, int? maxOutputTokenCount, IList functions, IDictionary metadata, bool? storedOutputEnabled, ChatReasoningEffortLevel? reasoningEffortLevel, IList internalModalities, ChatResponseFormat responseFormat, ChatAudioOptions audioOptions, ChatOutputPrediction outputPrediction, IDictionary additionalBinaryDataProperties) + internal ChatCompletionOptions(IDictionary metadata, float? temperature, float? topP, string endUserId, ChatServiceTier? serviceTier, IList messages, string model, IList internalModalities, ChatReasoningEffortLevel? reasoningEffortLevel, int? maxOutputTokenCount, float? frequencyPenalty, float? presencePenalty, ChatWebSearchOptions webSearchOptions, int? topLogProbabilityCount, ChatResponseFormat responseFormat, ChatAudioOptions audioOptions, bool? storedOutputEnabled, bool? stream, IList stopSequences, IDictionary logitBiases, bool? includeLogProbabilities, int? deprecatedMaxTokens, int? n, ChatOutputPrediction outputPrediction, long? seed, InternalChatCompletionStreamOptions streamOptions, IList tools, ChatToolChoice toolChoice, bool? allowParallelToolCalls, ChatFunctionChoice functionChoice, IList functions, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; TopP = topP; + EndUserId = endUserId; ServiceTier = serviceTier; + Messages = messages ?? new ChangeTrackingList(); + Model = model; + InternalModalities = internalModalities ?? new ChangeTrackingList(); + ReasoningEffortLevel = reasoningEffortLevel; + MaxOutputTokenCount = maxOutputTokenCount; FrequencyPenalty = frequencyPenalty; PresencePenalty = presencePenalty; WebSearchOptions = webSearchOptions; - Seed = seed; - Tools = tools ?? new ChangeTrackingList(); - Messages = messages ?? new ChangeTrackingList(); - Model = model; - N = n; - Stream = stream; - StreamOptions = streamOptions; - IncludeLogProbabilities = includeLogProbabilities; TopLogProbabilityCount = topLogProbabilityCount; + ResponseFormat = responseFormat; + AudioOptions = audioOptions; + StoredOutputEnabled = storedOutputEnabled; + Stream = stream; StopSequences = stopSequences ?? new ChangeTrackingList(); LogitBiases = logitBiases ?? new ChangeTrackingDictionary(); + IncludeLogProbabilities = includeLogProbabilities; + _deprecatedMaxTokens = deprecatedMaxTokens; + N = n; + OutputPrediction = outputPrediction; + Seed = seed; + StreamOptions = streamOptions; + Tools = tools ?? new ChangeTrackingList(); ToolChoice = toolChoice; - FunctionChoice = functionChoice; AllowParallelToolCalls = allowParallelToolCalls; - EndUserId = endUserId; - _deprecatedMaxTokens = deprecatedMaxTokens; - MaxOutputTokenCount = maxOutputTokenCount; + FunctionChoice = functionChoice; Functions = functions ?? new ChangeTrackingList(); - Metadata = metadata ?? new ChangeTrackingDictionary(); - StoredOutputEnabled = storedOutputEnabled; - ReasoningEffortLevel = reasoningEffortLevel; - InternalModalities = internalModalities ?? new ChangeTrackingList(); - ResponseFormat = responseFormat; - AudioOptions = audioOptions; - OutputPrediction = outputPrediction; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatFunction.Serialization.cs b/src/Generated/Models/Chat/ChatFunction.Serialization.cs index be7145f15..1cd01040e 100644 --- a/src/Generated/Models/Chat/ChatFunction.Serialization.cs +++ b/src/Generated/Models/Chat/ChatFunction.Serialization.cs @@ -32,16 +32,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ChatFunction)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("name") != true) - { - writer.WritePropertyName("name"u8); - writer.WriteStringValue(FunctionName); - } if (Optional.IsDefined(FunctionDescription) && _additionalBinaryDataProperties?.ContainsKey("description") != true) { writer.WritePropertyName("description"u8); writer.WriteStringValue(FunctionDescription); } + if (_additionalBinaryDataProperties?.ContainsKey("name") != true) + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(FunctionName); + } if (Optional.IsDefined(FunctionParameters) && _additionalBinaryDataProperties?.ContainsKey("parameters") != true) { writer.WritePropertyName("parameters"u8); @@ -96,20 +96,20 @@ internal static ChatFunction DeserializeChatFunction(JsonElement element, ModelR { return null; } - string functionName = default; string functionDescription = default; + string functionName = default; BinaryData functionParameters = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("name"u8)) + if (prop.NameEquals("description"u8)) { - functionName = prop.Value.GetString(); + functionDescription = prop.Value.GetString(); continue; } - if (prop.NameEquals("description"u8)) + if (prop.NameEquals("name"u8)) { - functionDescription = prop.Value.GetString(); + functionName = prop.Value.GetString(); continue; } if (prop.NameEquals("parameters"u8)) @@ -124,7 +124,7 @@ internal static ChatFunction DeserializeChatFunction(JsonElement element, ModelR // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ChatFunction(functionName, functionDescription, functionParameters, additionalBinaryDataProperties); + return new ChatFunction(functionDescription, functionName, functionParameters, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ChatFunction.cs b/src/Generated/Models/Chat/ChatFunction.cs index be1731278..cb8710fc8 100644 --- a/src/Generated/Models/Chat/ChatFunction.cs +++ b/src/Generated/Models/Chat/ChatFunction.cs @@ -11,10 +11,10 @@ public partial class ChatFunction { private protected IDictionary _additionalBinaryDataProperties; - internal ChatFunction(string functionName, string functionDescription, BinaryData functionParameters, IDictionary additionalBinaryDataProperties) + internal ChatFunction(string functionDescription, string functionName, BinaryData functionParameters, IDictionary additionalBinaryDataProperties) { - FunctionName = functionName; FunctionDescription = functionDescription; + FunctionName = functionName; FunctionParameters = functionParameters; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatMessage.Serialization.cs b/src/Generated/Models/Chat/ChatMessage.Serialization.cs index 4f683f685..6ee2bd368 100644 --- a/src/Generated/Models/Chat/ChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/ChatMessage.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Chat [PersistableModelProxy(typeof(InternalUnknownChatMessage))] public partial class ChatMessage : IJsonModel { - internal ChatMessage() : this(null, default, null) + internal ChatMessage() : this(default, null, null) { } @@ -25,17 +25,17 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ChatMessage)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("role") != true) + { + writer.WritePropertyName("role"u8); + writer.WriteStringValue(Role.ToSerialString()); + } // Plugin customization: add Content.IsInnerCollectionDefined() check if (Optional.IsDefined(Content) && Content.IsInnerCollectionDefined() && _additionalBinaryDataProperties?.ContainsKey("content") != true) { writer.WritePropertyName("content"u8); SerializeContentValue(writer, options); } - if (_additionalBinaryDataProperties?.ContainsKey("role") != true) - { - writer.WritePropertyName("role"u8); - writer.WriteStringValue(Role.ToSerialString()); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { diff --git a/src/Generated/Models/Chat/ChatMessage.cs b/src/Generated/Models/Chat/ChatMessage.cs index 98bd79962..4f524425f 100644 --- a/src/Generated/Models/Chat/ChatMessage.cs +++ b/src/Generated/Models/Chat/ChatMessage.cs @@ -11,11 +11,11 @@ public partial class ChatMessage { private protected IDictionary _additionalBinaryDataProperties; - internal ChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties) + internal ChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Content = content ?? new ChatMessageContent(); Role = role; + Content = content ?? new ChatMessageContent(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs b/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs index c0c06eaac..4e8e25b6d 100644 --- a/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs +++ b/src/Generated/Models/Chat/ChatOutputAudio.Serialization.cs @@ -40,16 +40,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("expires_at"u8); writer.WriteNumberValue(ExpiresAt, "U"); } - if (_additionalBinaryDataProperties?.ContainsKey("transcript") != true) - { - writer.WritePropertyName("transcript"u8); - writer.WriteStringValue(Transcript); - } if (_additionalBinaryDataProperties?.ContainsKey("data") != true) { writer.WritePropertyName("data"u8); writer.WriteBase64StringValue(AudioBytes.ToArray(), "D"); } + if (_additionalBinaryDataProperties?.ContainsKey("transcript") != true) + { + writer.WritePropertyName("transcript"u8); + writer.WriteStringValue(Transcript); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -93,8 +93,8 @@ internal static ChatOutputAudio DeserializeChatOutputAudio(JsonElement element, } string id = default; DateTimeOffset expiresAt = default; - string transcript = default; BinaryData audioBytes = default; + string transcript = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -108,20 +108,20 @@ internal static ChatOutputAudio DeserializeChatOutputAudio(JsonElement element, expiresAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); continue; } - if (prop.NameEquals("transcript"u8)) + if (prop.NameEquals("data"u8)) { - transcript = prop.Value.GetString(); + audioBytes = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); continue; } - if (prop.NameEquals("data"u8)) + if (prop.NameEquals("transcript"u8)) { - audioBytes = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); + transcript = prop.Value.GetString(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ChatOutputAudio(id, expiresAt, transcript, audioBytes, additionalBinaryDataProperties); + return new ChatOutputAudio(id, expiresAt, audioBytes, transcript, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ChatOutputAudio.cs b/src/Generated/Models/Chat/ChatOutputAudio.cs index 146b6f842..09624cf6f 100644 --- a/src/Generated/Models/Chat/ChatOutputAudio.cs +++ b/src/Generated/Models/Chat/ChatOutputAudio.cs @@ -13,20 +13,20 @@ public partial class ChatOutputAudio { private protected IDictionary _additionalBinaryDataProperties; - internal ChatOutputAudio(string id, DateTimeOffset expiresAt, string transcript, BinaryData audioBytes) + internal ChatOutputAudio(string id, DateTimeOffset expiresAt, BinaryData audioBytes, string transcript) { Id = id; ExpiresAt = expiresAt; - Transcript = transcript; AudioBytes = audioBytes; + Transcript = transcript; } - internal ChatOutputAudio(string id, DateTimeOffset expiresAt, string transcript, BinaryData audioBytes, IDictionary additionalBinaryDataProperties) + internal ChatOutputAudio(string id, DateTimeOffset expiresAt, BinaryData audioBytes, string transcript, IDictionary additionalBinaryDataProperties) { Id = id; ExpiresAt = expiresAt; - Transcript = transcript; AudioBytes = audioBytes; + Transcript = transcript; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs index 249fdf68e..7f977beed 100644 --- a/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.Serialization.cs @@ -28,20 +28,20 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ChatOutputTokenUsageDetails)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("reasoning_tokens") != true) + if (_additionalBinaryDataProperties?.ContainsKey("accepted_prediction_tokens") != true) { - writer.WritePropertyName("reasoning_tokens"u8); - writer.WriteNumberValue(ReasoningTokenCount); + writer.WritePropertyName("accepted_prediction_tokens"u8); + writer.WriteNumberValue(AcceptedPredictionTokenCount); } if (_additionalBinaryDataProperties?.ContainsKey("audio_tokens") != true) { writer.WritePropertyName("audio_tokens"u8); writer.WriteNumberValue(AudioTokenCount); } - if (_additionalBinaryDataProperties?.ContainsKey("accepted_prediction_tokens") != true) + if (_additionalBinaryDataProperties?.ContainsKey("reasoning_tokens") != true) { - writer.WritePropertyName("accepted_prediction_tokens"u8); - writer.WriteNumberValue(AcceptedPredictionTokenCount); + writer.WritePropertyName("reasoning_tokens"u8); + writer.WriteNumberValue(ReasoningTokenCount); } if (_additionalBinaryDataProperties?.ContainsKey("rejected_prediction_tokens") != true) { @@ -90,20 +90,20 @@ internal static ChatOutputTokenUsageDetails DeserializeChatOutputTokenUsageDetai { return null; } - int reasoningTokenCount = default; - int audioTokenCount = default; int acceptedPredictionTokenCount = default; + int audioTokenCount = default; + int reasoningTokenCount = default; int rejectedPredictionTokenCount = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("reasoning_tokens"u8)) + if (prop.NameEquals("accepted_prediction_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - reasoningTokenCount = prop.Value.GetInt32(); + acceptedPredictionTokenCount = prop.Value.GetInt32(); continue; } if (prop.NameEquals("audio_tokens"u8)) @@ -115,13 +115,13 @@ internal static ChatOutputTokenUsageDetails DeserializeChatOutputTokenUsageDetai audioTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("accepted_prediction_tokens"u8)) + if (prop.NameEquals("reasoning_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - acceptedPredictionTokenCount = prop.Value.GetInt32(); + reasoningTokenCount = prop.Value.GetInt32(); continue; } if (prop.NameEquals("rejected_prediction_tokens"u8)) @@ -136,7 +136,7 @@ internal static ChatOutputTokenUsageDetails DeserializeChatOutputTokenUsageDetai // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ChatOutputTokenUsageDetails(reasoningTokenCount, audioTokenCount, acceptedPredictionTokenCount, rejectedPredictionTokenCount, additionalBinaryDataProperties); + return new ChatOutputTokenUsageDetails(acceptedPredictionTokenCount, audioTokenCount, reasoningTokenCount, rejectedPredictionTokenCount, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.cs b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.cs index 15e3f963c..612007a98 100644 --- a/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.cs +++ b/src/Generated/Models/Chat/ChatOutputTokenUsageDetails.cs @@ -15,11 +15,11 @@ internal ChatOutputTokenUsageDetails() { } - internal ChatOutputTokenUsageDetails(int reasoningTokenCount, int audioTokenCount, int acceptedPredictionTokenCount, int rejectedPredictionTokenCount, IDictionary additionalBinaryDataProperties) + internal ChatOutputTokenUsageDetails(int acceptedPredictionTokenCount, int audioTokenCount, int reasoningTokenCount, int rejectedPredictionTokenCount, IDictionary additionalBinaryDataProperties) { - ReasoningTokenCount = reasoningTokenCount; - AudioTokenCount = audioTokenCount; AcceptedPredictionTokenCount = acceptedPredictionTokenCount; + AudioTokenCount = audioTokenCount; + ReasoningTokenCount = reasoningTokenCount; RejectedPredictionTokenCount = rejectedPredictionTokenCount; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatTool.Serialization.cs b/src/Generated/Models/Chat/ChatTool.Serialization.cs index a07349947..96f4b24a0 100644 --- a/src/Generated/Models/Chat/ChatTool.Serialization.cs +++ b/src/Generated/Models/Chat/ChatTool.Serialization.cs @@ -32,16 +32,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ChatTool)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("function") != true) - { - writer.WritePropertyName("function"u8); - writer.WriteObjectValue(Function, options); - } if (_additionalBinaryDataProperties?.ContainsKey("type") != true) { writer.WritePropertyName("type"u8); writer.WriteStringValue(Kind.ToSerialString()); } + if (_additionalBinaryDataProperties?.ContainsKey("function") != true) + { + writer.WritePropertyName("function"u8); + writer.WriteObjectValue(Function, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -84,25 +84,25 @@ internal static ChatTool DeserializeChatTool(JsonElement element, ModelReaderWri { return null; } - InternalFunctionDefinition function = default; ChatToolKind kind = default; + InternalFunctionDefinition function = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("function"u8)) + if (prop.NameEquals("type"u8)) { - function = InternalFunctionDefinition.DeserializeInternalFunctionDefinition(prop.Value, options); + kind = prop.Value.GetString().ToChatToolKind(); continue; } - if (prop.NameEquals("type"u8)) + if (prop.NameEquals("function"u8)) { - kind = prop.Value.GetString().ToChatToolKind(); + function = InternalFunctionDefinition.DeserializeInternalFunctionDefinition(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ChatTool(function, kind, additionalBinaryDataProperties); + return new ChatTool(kind, function, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ChatTool.cs b/src/Generated/Models/Chat/ChatTool.cs index daeab3340..aa756ff6b 100644 --- a/src/Generated/Models/Chat/ChatTool.cs +++ b/src/Generated/Models/Chat/ChatTool.cs @@ -12,18 +12,18 @@ public partial class ChatTool { private protected IDictionary _additionalBinaryDataProperties; - internal ChatTool(InternalFunctionDefinition function, ChatToolKind kind) + internal ChatTool(ChatToolKind kind, InternalFunctionDefinition function) { Argument.AssertNotNull(function, nameof(function)); - Function = function; Kind = kind; + Function = function; } - internal ChatTool(InternalFunctionDefinition function, ChatToolKind kind, IDictionary additionalBinaryDataProperties) + internal ChatTool(ChatToolKind kind, InternalFunctionDefinition function, IDictionary additionalBinaryDataProperties) { - Function = function; Kind = kind; + Function = function; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/ChatToolCall.Serialization.cs b/src/Generated/Models/Chat/ChatToolCall.Serialization.cs index 007c4d709..a25adf582 100644 --- a/src/Generated/Models/Chat/ChatToolCall.Serialization.cs +++ b/src/Generated/Models/Chat/ChatToolCall.Serialization.cs @@ -37,16 +37,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } - if (_additionalBinaryDataProperties?.ContainsKey("function") != true) - { - writer.WritePropertyName("function"u8); - writer.WriteObjectValue(Function, options); - } if (_additionalBinaryDataProperties?.ContainsKey("type") != true) { writer.WritePropertyName("type"u8); writer.WriteStringValue(Kind.ToSerialString()); } + if (_additionalBinaryDataProperties?.ContainsKey("function") != true) + { + writer.WritePropertyName("function"u8); + writer.WriteObjectValue(Function, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -90,8 +90,8 @@ internal static ChatToolCall DeserializeChatToolCall(JsonElement element, ModelR return null; } string id = default; - InternalChatCompletionMessageToolCallFunction function = default; ChatToolCallKind kind = default; + InternalChatCompletionMessageToolCallFunction function = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -100,20 +100,20 @@ internal static ChatToolCall DeserializeChatToolCall(JsonElement element, ModelR id = prop.Value.GetString(); continue; } - if (prop.NameEquals("function"u8)) + if (prop.NameEquals("type"u8)) { - function = InternalChatCompletionMessageToolCallFunction.DeserializeInternalChatCompletionMessageToolCallFunction(prop.Value, options); + kind = prop.Value.GetString().ToChatToolCallKind(); continue; } - if (prop.NameEquals("type"u8)) + if (prop.NameEquals("function"u8)) { - kind = prop.Value.GetString().ToChatToolCallKind(); + function = InternalChatCompletionMessageToolCallFunction.DeserializeInternalChatCompletionMessageToolCallFunction(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ChatToolCall(id, function, kind, additionalBinaryDataProperties); + return new ChatToolCall(id, kind, function, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ChatToolCall.cs b/src/Generated/Models/Chat/ChatToolCall.cs index 113f51949..a69d697a7 100644 --- a/src/Generated/Models/Chat/ChatToolCall.cs +++ b/src/Generated/Models/Chat/ChatToolCall.cs @@ -12,21 +12,21 @@ public partial class ChatToolCall { private protected IDictionary _additionalBinaryDataProperties; - internal ChatToolCall(string id, InternalChatCompletionMessageToolCallFunction function, ChatToolCallKind kind) + internal ChatToolCall(string id, ChatToolCallKind kind, InternalChatCompletionMessageToolCallFunction function) { Argument.AssertNotNull(id, nameof(id)); Argument.AssertNotNull(function, nameof(function)); Id = id; - Function = function; Kind = kind; + Function = function; } - internal ChatToolCall(string id, InternalChatCompletionMessageToolCallFunction function, ChatToolCallKind kind, IDictionary additionalBinaryDataProperties) + internal ChatToolCall(string id, ChatToolCallKind kind, InternalChatCompletionMessageToolCallFunction function, IDictionary additionalBinaryDataProperties) { Id = id; - Function = function; Kind = kind; + Function = function; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs b/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs index df5f0fedc..e2c5610fa 100644 --- a/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/DeveloperChatMessage.Serialization.cs @@ -46,20 +46,20 @@ internal static DeveloperChatMessage DeserializeDeveloperChatMessage(JsonElement { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string participantName = default; foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } if (prop.NameEquals("name"u8)) @@ -70,7 +70,7 @@ internal static DeveloperChatMessage DeserializeDeveloperChatMessage(JsonElement // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new DeveloperChatMessage(content, role, additionalBinaryDataProperties, participantName); + return new DeveloperChatMessage(role, content, additionalBinaryDataProperties, participantName); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/DeveloperChatMessage.cs b/src/Generated/Models/Chat/DeveloperChatMessage.cs index 83be37771..870502e8f 100644 --- a/src/Generated/Models/Chat/DeveloperChatMessage.cs +++ b/src/Generated/Models/Chat/DeveloperChatMessage.cs @@ -11,11 +11,11 @@ namespace OpenAI.Chat [Experimental("OPENAI001")] public partial class DeveloperChatMessage : ChatMessage { - internal DeveloperChatMessage() : this(null, ChatMessageRole.Developer, null, null) + internal DeveloperChatMessage() : this(ChatMessageRole.Developer, null, null, null) { } - internal DeveloperChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties, string participantName) : base(content, role, additionalBinaryDataProperties) + internal DeveloperChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties, string participantName) : base(role, content, additionalBinaryDataProperties) { ParticipantName = participantName; } diff --git a/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs b/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs index 63a356188..dfbe5660f 100644 --- a/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/FunctionChatMessage.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Chat { public partial class FunctionChatMessage : IJsonModel { - internal FunctionChatMessage() : this(null, ChatMessageRole.Function, null, null) + internal FunctionChatMessage() : this(ChatMessageRole.Function, null, null, null) { } @@ -53,20 +53,20 @@ internal static FunctionChatMessage DeserializeFunctionChatMessage(JsonElement e { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string functionName = default; foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } if (prop.NameEquals("name"u8)) @@ -77,7 +77,7 @@ internal static FunctionChatMessage DeserializeFunctionChatMessage(JsonElement e // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new FunctionChatMessage(content, role, additionalBinaryDataProperties, functionName); + return new FunctionChatMessage(role, content, additionalBinaryDataProperties, functionName); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/FunctionChatMessage.cs b/src/Generated/Models/Chat/FunctionChatMessage.cs index 686508806..93f737678 100644 --- a/src/Generated/Models/Chat/FunctionChatMessage.cs +++ b/src/Generated/Models/Chat/FunctionChatMessage.cs @@ -9,7 +9,7 @@ namespace OpenAI.Chat { public partial class FunctionChatMessage : ChatMessage { - internal FunctionChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties, string functionName) : base(content, role, additionalBinaryDataProperties) + internal FunctionChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties, string functionName) : base(role, content, additionalBinaryDataProperties) { FunctionName = functionName; } diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs index f5c5cf86e..ca3309f38 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.Serialization.cs @@ -31,16 +31,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("filename"u8); writer.WriteStringValue(Filename); } - if (Optional.IsDefined(FileId) && _additionalBinaryDataProperties?.ContainsKey("file_id") != true) - { - writer.WritePropertyName("file_id"u8); - writer.WriteStringValue(FileId); - } if (Optional.IsDefined(InternalFileData) && _additionalBinaryDataProperties?.ContainsKey("file_data") != true) { writer.WritePropertyName("file_data"u8); writer.WriteStringValue(InternalFileData); } + if (Optional.IsDefined(FileId) && _additionalBinaryDataProperties?.ContainsKey("file_id") != true) + { + writer.WritePropertyName("file_id"u8); + writer.WriteStringValue(FileId); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -83,8 +83,8 @@ internal static InternalChatCompletionRequestMessageContentPartFileFile Deserial return null; } string filename = default; - string fileId = default; string internalFileData = default; + string fileId = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -93,20 +93,20 @@ internal static InternalChatCompletionRequestMessageContentPartFileFile Deserial filename = prop.Value.GetString(); continue; } - if (prop.NameEquals("file_id"u8)) + if (prop.NameEquals("file_data"u8)) { - fileId = prop.Value.GetString(); + internalFileData = prop.Value.GetString(); continue; } - if (prop.NameEquals("file_data"u8)) + if (prop.NameEquals("file_id"u8)) { - internalFileData = prop.Value.GetString(); + fileId = prop.Value.GetString(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalChatCompletionRequestMessageContentPartFileFile(filename, fileId, internalFileData, additionalBinaryDataProperties); + return new InternalChatCompletionRequestMessageContentPartFileFile(filename, internalFileData, fileId, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.cs index 5f28b0b1a..37e2ee42a 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartFileFile.cs @@ -15,11 +15,11 @@ public InternalChatCompletionRequestMessageContentPartFileFile() { } - internal InternalChatCompletionRequestMessageContentPartFileFile(string filename, string fileId, string internalFileData, IDictionary additionalBinaryDataProperties) + internal InternalChatCompletionRequestMessageContentPartFileFile(string filename, string internalFileData, string fileId, IDictionary additionalBinaryDataProperties) { Filename = filename; - FileId = fileId; InternalFileData = internalFileData; + FileId = fileId; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs index e11c0ade9..0c960f17b 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.Serialization.cs @@ -30,16 +30,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalChatCompletionRequestMessageContentPartImageImageUrl)} does not support writing '{format}' format."); } - if (Optional.IsDefined(Detail) && _additionalBinaryDataProperties?.ContainsKey("detail") != true) - { - writer.WritePropertyName("detail"u8); - writer.WriteStringValue(Detail.Value.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("url") != true) { writer.WritePropertyName("url"u8); writer.WriteStringValue(InternalUrl); } + if (Optional.IsDefined(Detail) && _additionalBinaryDataProperties?.ContainsKey("detail") != true) + { + writer.WritePropertyName("detail"u8); + writer.WriteStringValue(Detail.Value.ToString()); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -81,11 +81,16 @@ internal static InternalChatCompletionRequestMessageContentPartImageImageUrl Des { return null; } - ChatImageDetailLevel? detail = default; string internalUrl = default; + ChatImageDetailLevel? detail = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("url"u8)) + { + internalUrl = prop.Value.GetString(); + continue; + } if (prop.NameEquals("detail"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -95,15 +100,10 @@ internal static InternalChatCompletionRequestMessageContentPartImageImageUrl Des detail = new ChatImageDetailLevel(prop.Value.GetString()); continue; } - if (prop.NameEquals("url"u8)) - { - internalUrl = prop.Value.GetString(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalChatCompletionRequestMessageContentPartImageImageUrl(detail, internalUrl, additionalBinaryDataProperties); + return new InternalChatCompletionRequestMessageContentPartImageImageUrl(internalUrl, detail, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs index c0664911a..529babbda 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionRequestMessageContentPartImageImageUrl.cs @@ -11,10 +11,10 @@ internal partial class InternalChatCompletionRequestMessageContentPartImageImage { private protected IDictionary _additionalBinaryDataProperties; - internal InternalChatCompletionRequestMessageContentPartImageImageUrl(ChatImageDetailLevel? detail, string internalUrl, IDictionary additionalBinaryDataProperties) + internal InternalChatCompletionRequestMessageContentPartImageImageUrl(string internalUrl, ChatImageDetailLevel? detail, IDictionary additionalBinaryDataProperties) { - Detail = detail; InternalUrl = internalUrl; + Detail = detail; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs index e248c97ff..dfb9d26ef 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.Serialization.cs @@ -30,6 +30,18 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalChatCompletionResponseMessage)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("content") != true) + { + if (Optional.IsDefined(Content)) + { + writer.WritePropertyName("content"u8); + SerializeContentValue(writer, options); + } + else + { + writer.WriteNull("content"u8); + } + } if (_additionalBinaryDataProperties?.ContainsKey("refusal") != true) { if (Optional.IsDefined(Refusal)) @@ -64,33 +76,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(Audio) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) - { - writer.WritePropertyName("audio"u8); - writer.WriteObjectValue(Audio, options); - } if (_additionalBinaryDataProperties?.ContainsKey("role") != true) { writer.WritePropertyName("role"u8); writer.WriteStringValue(Role.ToSerialString()); } - if (_additionalBinaryDataProperties?.ContainsKey("content") != true) - { - if (Optional.IsDefined(Content)) - { - writer.WritePropertyName("content"u8); - SerializeContentValue(writer, options); - } - else - { - writer.WriteNull("content"u8); - } - } if (Optional.IsDefined(FunctionCall) && _additionalBinaryDataProperties?.ContainsKey("function_call") != true) { writer.WritePropertyName("function_call"u8); writer.WriteObjectValue(FunctionCall, options); } + if (Optional.IsDefined(Audio) && _additionalBinaryDataProperties?.ContainsKey("audio") != true) + { + writer.WritePropertyName("audio"u8); + writer.WriteObjectValue(Audio, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -132,16 +132,21 @@ internal static InternalChatCompletionResponseMessage DeserializeInternalChatCom { return null; } + ChatMessageContent content = default; string refusal = default; IReadOnlyList toolCalls = default; IReadOnlyList annotations = default; - ChatOutputAudio audio = default; ChatMessageRole role = default; - ChatMessageContent content = default; ChatFunctionCall functionCall = default; + ChatOutputAudio audio = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("content"u8)) + { + DeserializeContentValue(prop, ref content); + continue; + } if (prop.NameEquals("refusal"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -180,46 +185,41 @@ internal static InternalChatCompletionResponseMessage DeserializeInternalChatCom annotations = array; continue; } - if (prop.NameEquals("audio"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - audio = null; - continue; - } - audio = ChatOutputAudio.DeserializeChatOutputAudio(prop.Value, options); - continue; - } if (prop.NameEquals("role"u8)) { role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("function_call"u8)) { - DeserializeContentValue(prop, ref content); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + functionCall = ChatFunctionCall.DeserializeChatFunctionCall(prop.Value, options); continue; } - if (prop.NameEquals("function_call"u8)) + if (prop.NameEquals("audio"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + audio = null; continue; } - functionCall = ChatFunctionCall.DeserializeChatFunctionCall(prop.Value, options); + audio = ChatOutputAudio.DeserializeChatOutputAudio(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new InternalChatCompletionResponseMessage( + content, refusal, toolCalls ?? new ChangeTrackingList(), annotations ?? new ChangeTrackingList(), - audio, role, - content, functionCall, + audio, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs index 49c7ead27..250d5de68 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionResponseMessage.cs @@ -12,26 +12,26 @@ internal partial class InternalChatCompletionResponseMessage { private protected IDictionary _additionalBinaryDataProperties; - internal InternalChatCompletionResponseMessage(string refusal, ChatMessageRole role, ChatMessageContent content) + internal InternalChatCompletionResponseMessage(ChatMessageContent content, string refusal, ChatMessageRole role) { // Plugin customization: ensure initialization of collections + Content = content ?? new ChatMessageContent(); Refusal = refusal; ToolCalls = new ChangeTrackingList(); Annotations = new ChangeTrackingList(); Role = role; - Content = content ?? new ChatMessageContent(); } - internal InternalChatCompletionResponseMessage(string refusal, IReadOnlyList toolCalls, IReadOnlyList annotations, ChatOutputAudio audio, ChatMessageRole role, ChatMessageContent content, ChatFunctionCall functionCall, IDictionary additionalBinaryDataProperties) + internal InternalChatCompletionResponseMessage(ChatMessageContent content, string refusal, IReadOnlyList toolCalls, IReadOnlyList annotations, ChatMessageRole role, ChatFunctionCall functionCall, ChatOutputAudio audio, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Content = content ?? new ChatMessageContent(); Refusal = refusal; ToolCalls = toolCalls ?? new ChangeTrackingList(); Annotations = annotations ?? new ChangeTrackingList(); - Audio = audio; Role = role; - Content = content ?? new ChatMessageContent(); FunctionCall = functionCall; + Audio = audio; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs index e7f7f95d1..3b42dcf96 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.Serialization.cs @@ -31,6 +31,12 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("audio"u8); writer.WriteObjectValue(Audio, options); } + // Plugin customization: add Content.IsInnerCollectionDefined() check + if (Optional.IsDefined(Content) && Content.IsInnerCollectionDefined() && _additionalBinaryDataProperties?.ContainsKey("content") != true) + { + writer.WritePropertyName("content"u8); + SerializeContentValue(writer, options); + } if (Optional.IsDefined(FunctionCall) && _additionalBinaryDataProperties?.ContainsKey("function_call") != true) { writer.WritePropertyName("function_call"u8); @@ -47,21 +53,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(Refusal) && _additionalBinaryDataProperties?.ContainsKey("refusal") != true) - { - writer.WritePropertyName("refusal"u8); - writer.WriteStringValue(Refusal); - } if (Optional.IsDefined(Role) && _additionalBinaryDataProperties?.ContainsKey("role") != true) { writer.WritePropertyName("role"u8); writer.WriteStringValue(Role.Value.ToSerialString()); } - // Plugin customization: add Content.IsInnerCollectionDefined() check - if (Optional.IsDefined(Content) && Content.IsInnerCollectionDefined() && _additionalBinaryDataProperties?.ContainsKey("content") != true) + if (Optional.IsDefined(Refusal) && _additionalBinaryDataProperties?.ContainsKey("refusal") != true) { - writer.WritePropertyName("content"u8); - SerializeContentValue(writer, options); + writer.WritePropertyName("refusal"u8); + writer.WriteStringValue(Refusal); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -105,11 +105,11 @@ internal static InternalChatCompletionStreamResponseDelta DeserializeInternalCha return null; } StreamingChatOutputAudioUpdate audio = default; + ChatMessageContent content = default; StreamingChatFunctionCallUpdate functionCall = default; IReadOnlyList toolCalls = default; - string refusal = default; ChatMessageRole? role = default; - ChatMessageContent content = default; + string refusal = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -122,6 +122,11 @@ internal static InternalChatCompletionStreamResponseDelta DeserializeInternalCha audio = StreamingChatOutputAudioUpdate.DeserializeStreamingChatOutputAudioUpdate(prop.Value, options); continue; } + if (prop.NameEquals("content"u8)) + { + DeserializeContentValue(prop, ref content); + continue; + } if (prop.NameEquals("function_call"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -145,28 +150,23 @@ internal static InternalChatCompletionStreamResponseDelta DeserializeInternalCha toolCalls = array; continue; } - if (prop.NameEquals("refusal"u8)) + if (prop.NameEquals("role"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - refusal = null; continue; } - refusal = prop.Value.GetString(); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("refusal"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + refusal = null; continue; } - role = prop.Value.GetString().ToChatMessageRole(); - continue; - } - if (prop.NameEquals("content"u8)) - { - DeserializeContentValue(prop, ref content); + refusal = prop.Value.GetString(); continue; } // Plugin customization: remove options.Format != "W" check @@ -174,11 +174,11 @@ internal static InternalChatCompletionStreamResponseDelta DeserializeInternalCha } return new InternalChatCompletionStreamResponseDelta( audio, + content, functionCall, toolCalls ?? new ChangeTrackingList(), - refusal, role, - content, + refusal, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.cs b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.cs index 2a5c842f2..6ecc0ed88 100644 --- a/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.cs +++ b/src/Generated/Models/Chat/InternalChatCompletionStreamResponseDelta.cs @@ -16,15 +16,15 @@ internal InternalChatCompletionStreamResponseDelta() : this(null, null, null, nu { } - internal InternalChatCompletionStreamResponseDelta(StreamingChatOutputAudioUpdate audio, StreamingChatFunctionCallUpdate functionCall, IReadOnlyList toolCalls, string refusal, ChatMessageRole? role, ChatMessageContent content, IDictionary additionalBinaryDataProperties) + internal InternalChatCompletionStreamResponseDelta(StreamingChatOutputAudioUpdate audio, ChatMessageContent content, StreamingChatFunctionCallUpdate functionCall, IReadOnlyList toolCalls, ChatMessageRole? role, string refusal, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Audio = audio; + Content = content ?? new ChatMessageContent(); FunctionCall = functionCall; ToolCalls = toolCalls ?? new ChangeTrackingList(); - Refusal = refusal; Role = role; - Content = content ?? new ChatMessageContent(); + Refusal = refusal; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs index eb355a9c5..77eb8844a 100644 --- a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.Serialization.cs @@ -32,11 +32,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("logprobs"u8); writer.WriteObjectValue(Logprobs, options); } - if (_additionalBinaryDataProperties?.ContainsKey("index") != true) - { - writer.WritePropertyName("index"u8); - writer.WriteNumberValue(Index); - } if (_additionalBinaryDataProperties?.ContainsKey("finish_reason") != true) { if (Optional.IsDefined(FinishReason)) @@ -49,6 +44,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("finish_reason"u8); } } + if (_additionalBinaryDataProperties?.ContainsKey("index") != true) + { + writer.WritePropertyName("index"u8); + writer.WriteNumberValue(Index); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { diff --git a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.cs b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.cs index bdf01947b..f7d368d0f 100644 --- a/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.cs +++ b/src/Generated/Models/Chat/InternalCreateChatCompletionStreamResponseChoice.cs @@ -11,19 +11,19 @@ internal partial class InternalCreateChatCompletionStreamResponseChoice { private protected IDictionary _additionalBinaryDataProperties; - internal InternalCreateChatCompletionStreamResponseChoice(InternalChatCompletionStreamResponseDelta delta, int index, ChatFinishReason? finishReason) + internal InternalCreateChatCompletionStreamResponseChoice(InternalChatCompletionStreamResponseDelta delta, ChatFinishReason? finishReason, int index) { Delta = delta; - Index = index; FinishReason = finishReason; + Index = index; } - internal InternalCreateChatCompletionStreamResponseChoice(InternalChatCompletionStreamResponseDelta delta, InternalCreateChatCompletionStreamResponseChoiceLogprobs logprobs, int index, ChatFinishReason? finishReason, IDictionary additionalBinaryDataProperties) + internal InternalCreateChatCompletionStreamResponseChoice(InternalChatCompletionStreamResponseDelta delta, InternalCreateChatCompletionStreamResponseChoiceLogprobs logprobs, ChatFinishReason? finishReason, int index, IDictionary additionalBinaryDataProperties) { Delta = delta; Logprobs = logprobs; - Index = index; FinishReason = finishReason; + Index = index; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs b/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs index f0d17235a..d7f53ad07 100644 --- a/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/InternalUnknownChatMessage.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Chat { internal partial class InternalUnknownChatMessage : IJsonModel { - internal InternalUnknownChatMessage() : this(null, default, null) + internal InternalUnknownChatMessage() : this(default, null, null) { } @@ -45,25 +45,25 @@ internal static InternalUnknownChatMessage DeserializeInternalUnknownChatMessage { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalUnknownChatMessage(content, role, additionalBinaryDataProperties); + return new InternalUnknownChatMessage(role, content, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/InternalUnknownChatMessage.cs b/src/Generated/Models/Chat/InternalUnknownChatMessage.cs index 198373197..d6f089412 100644 --- a/src/Generated/Models/Chat/InternalUnknownChatMessage.cs +++ b/src/Generated/Models/Chat/InternalUnknownChatMessage.cs @@ -9,7 +9,7 @@ namespace OpenAI.Chat { internal partial class InternalUnknownChatMessage : ChatMessage { - internal InternalUnknownChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties) : base(content, role, additionalBinaryDataProperties) + internal InternalUnknownChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties) : base(role, content, additionalBinaryDataProperties) { } } diff --git a/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs index a1ae0eb5b..8d844d485 100644 --- a/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs +++ b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Chat { public partial class StreamingChatCompletionUpdate : IJsonModel { - internal StreamingChatCompletionUpdate() : this(null, default, null, null, null, null, default, null, null) + internal StreamingChatCompletionUpdate() : this(null, null, default, null, default, null, null, null, null) { } @@ -32,26 +32,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(StreamingChatCompletionUpdate)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); - } - if (Optional.IsDefined(ServiceTier) && _additionalBinaryDataProperties?.ContainsKey("service_tier") != true) - { - writer.WritePropertyName("service_tier"u8); - writer.WriteStringValue(ServiceTier.Value.ToString()); - } - if (Optional.IsDefined(SystemFingerprint) && _additionalBinaryDataProperties?.ContainsKey("system_fingerprint") != true) - { - writer.WritePropertyName("system_fingerprint"u8); - writer.WriteStringValue(SystemFingerprint); - } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); @@ -72,6 +52,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("created"u8); writer.WriteNumberValue(CreatedAt, "U"); } + if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } + if (Optional.IsDefined(ServiceTier) && _additionalBinaryDataProperties?.ContainsKey("service_tier") != true) + { + writer.WritePropertyName("service_tier"u8); + writer.WriteStringValue(ServiceTier.Value.ToString()); + } + if (Optional.IsDefined(SystemFingerprint) && _additionalBinaryDataProperties?.ContainsKey("system_fingerprint") != true) + { + writer.WritePropertyName("system_fingerprint"u8); + writer.WriteStringValue(SystemFingerprint); + } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (Optional.IsDefined(Usage) && _additionalBinaryDataProperties?.ContainsKey("usage") != true) { writer.WritePropertyName("usage"u8); @@ -119,17 +119,37 @@ internal static StreamingChatCompletionUpdate DeserializeStreamingChatCompletion { return null; } + string completionId = default; + IReadOnlyList choices = default; + DateTimeOffset createdAt = default; string model = default; ChatServiceTier? serviceTier = default; string systemFingerprint = default; string @object = default; - string completionId = default; - IReadOnlyList choices = default; - DateTimeOffset createdAt = default; ChatTokenUsage usage = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("id"u8)) + { + completionId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("choices"u8)) + { + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(InternalCreateChatCompletionStreamResponseChoice.DeserializeInternalCreateChatCompletionStreamResponseChoice(item, options)); + } + choices = array; + continue; + } + if (prop.NameEquals("created"u8)) + { + createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + continue; + } if (prop.NameEquals("model"u8)) { model = prop.Value.GetString(); @@ -154,26 +174,6 @@ internal static StreamingChatCompletionUpdate DeserializeStreamingChatCompletion @object = prop.Value.GetString(); continue; } - if (prop.NameEquals("id"u8)) - { - completionId = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("choices"u8)) - { - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(InternalCreateChatCompletionStreamResponseChoice.DeserializeInternalCreateChatCompletionStreamResponseChoice(item, options)); - } - choices = array; - continue; - } - if (prop.NameEquals("created"u8)) - { - createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); - continue; - } if (prop.NameEquals("usage"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -188,13 +188,13 @@ internal static StreamingChatCompletionUpdate DeserializeStreamingChatCompletion additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new StreamingChatCompletionUpdate( + completionId, + choices, + createdAt, model, serviceTier, systemFingerprint, @object, - completionId, - choices, - createdAt, usage, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Chat/StreamingChatCompletionUpdate.cs b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.cs index e593dcdf5..f83d45d40 100644 --- a/src/Generated/Models/Chat/StreamingChatCompletionUpdate.cs +++ b/src/Generated/Models/Chat/StreamingChatCompletionUpdate.cs @@ -14,24 +14,24 @@ public partial class StreamingChatCompletionUpdate { private protected IDictionary _additionalBinaryDataProperties; - internal StreamingChatCompletionUpdate(string model, string completionId, IEnumerable choices, DateTimeOffset createdAt) + internal StreamingChatCompletionUpdate(string completionId, IEnumerable choices, DateTimeOffset createdAt, string model) { - Model = model; CompletionId = completionId; Choices = choices.ToList(); CreatedAt = createdAt; + Model = model; } - internal StreamingChatCompletionUpdate(string model, ChatServiceTier? serviceTier, string systemFingerprint, string @object, string completionId, IReadOnlyList choices, DateTimeOffset createdAt, ChatTokenUsage usage, IDictionary additionalBinaryDataProperties) + internal StreamingChatCompletionUpdate(string completionId, IReadOnlyList choices, DateTimeOffset createdAt, string model, ChatServiceTier? serviceTier, string systemFingerprint, string @object, ChatTokenUsage usage, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + CompletionId = completionId; + Choices = choices ?? new ChangeTrackingList(); + CreatedAt = createdAt; Model = model; ServiceTier = serviceTier; SystemFingerprint = systemFingerprint; Object = @object; - CompletionId = completionId; - Choices = choices ?? new ChangeTrackingList(); - CreatedAt = createdAt; Usage = usage; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs index cb7abdf9d..c3ac3bb25 100644 --- a/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs +++ b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.Serialization.cs @@ -31,11 +31,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } - if (Optional.IsDefined(ExpiresAt) && _additionalBinaryDataProperties?.ContainsKey("expires_at") != true) - { - writer.WritePropertyName("expires_at"u8); - writer.WriteNumberValue(ExpiresAt.Value, "U"); - } if (Optional.IsDefined(TranscriptUpdate) && _additionalBinaryDataProperties?.ContainsKey("transcript") != true) { writer.WritePropertyName("transcript"u8); @@ -46,6 +41,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("data"u8); writer.WriteBase64StringValue(AudioBytesUpdate.ToArray(), "D"); } + if (Optional.IsDefined(ExpiresAt) && _additionalBinaryDataProperties?.ContainsKey("expires_at") != true) + { + writer.WritePropertyName("expires_at"u8); + writer.WriteNumberValue(ExpiresAt.Value, "U"); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -88,9 +88,9 @@ internal static StreamingChatOutputAudioUpdate DeserializeStreamingChatOutputAud return null; } string id = default; - DateTimeOffset? expiresAt = default; string transcriptUpdate = default; BinaryData audioBytesUpdate = default; + DateTimeOffset? expiresAt = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -99,15 +99,6 @@ internal static StreamingChatOutputAudioUpdate DeserializeStreamingChatOutputAud id = prop.Value.GetString(); continue; } - if (prop.NameEquals("expires_at"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - expiresAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); - continue; - } if (prop.NameEquals("transcript"u8)) { transcriptUpdate = prop.Value.GetString(); @@ -122,10 +113,19 @@ internal static StreamingChatOutputAudioUpdate DeserializeStreamingChatOutputAud audioBytesUpdate = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); continue; } + if (prop.NameEquals("expires_at"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + expiresAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new StreamingChatOutputAudioUpdate(id, expiresAt, transcriptUpdate, audioBytesUpdate, additionalBinaryDataProperties); + return new StreamingChatOutputAudioUpdate(id, transcriptUpdate, audioBytesUpdate, expiresAt, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs index a20098a5b..50eb3c9a2 100644 --- a/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs +++ b/src/Generated/Models/Chat/StreamingChatOutputAudioUpdate.cs @@ -17,12 +17,12 @@ internal StreamingChatOutputAudioUpdate() { } - internal StreamingChatOutputAudioUpdate(string id, DateTimeOffset? expiresAt, string transcriptUpdate, BinaryData audioBytesUpdate, IDictionary additionalBinaryDataProperties) + internal StreamingChatOutputAudioUpdate(string id, string transcriptUpdate, BinaryData audioBytesUpdate, DateTimeOffset? expiresAt, IDictionary additionalBinaryDataProperties) { Id = id; - ExpiresAt = expiresAt; TranscriptUpdate = transcriptUpdate; AudioBytesUpdate = audioBytesUpdate; + ExpiresAt = expiresAt; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs index 3cd2eee59..3df54aef1 100644 --- a/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs +++ b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.Serialization.cs @@ -37,20 +37,20 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("index"u8); writer.WriteNumberValue(Index); } - if (Optional.IsDefined(Function) && _additionalBinaryDataProperties?.ContainsKey("function") != true) + if (Optional.IsDefined(ToolCallId) && _additionalBinaryDataProperties?.ContainsKey("id") != true) { - writer.WritePropertyName("function"u8); - writer.WriteObjectValue(Function, options); + writer.WritePropertyName("id"u8); + writer.WriteStringValue(ToolCallId); } if (_additionalBinaryDataProperties?.ContainsKey("type") != true) { writer.WritePropertyName("type"u8); writer.WriteStringValue(Kind.ToSerialString()); } - if (Optional.IsDefined(ToolCallId) && _additionalBinaryDataProperties?.ContainsKey("id") != true) + if (Optional.IsDefined(Function) && _additionalBinaryDataProperties?.ContainsKey("function") != true) { - writer.WritePropertyName("id"u8); - writer.WriteStringValue(ToolCallId); + writer.WritePropertyName("function"u8); + writer.WriteObjectValue(Function, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -95,9 +95,9 @@ internal static StreamingChatToolCallUpdate DeserializeStreamingChatToolCallUpda return null; } int index = default; - InternalChatCompletionMessageToolCallChunkFunction function = default; - ChatToolCallKind kind = default; string toolCallId = default; + ChatToolCallKind kind = default; + InternalChatCompletionMessageToolCallChunkFunction function = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -106,13 +106,9 @@ internal static StreamingChatToolCallUpdate DeserializeStreamingChatToolCallUpda index = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("function"u8)) + if (prop.NameEquals("id"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - function = InternalChatCompletionMessageToolCallChunkFunction.DeserializeInternalChatCompletionMessageToolCallChunkFunction(prop.Value, options); + toolCallId = prop.Value.GetString(); continue; } if (prop.NameEquals("type"u8)) @@ -124,15 +120,19 @@ internal static StreamingChatToolCallUpdate DeserializeStreamingChatToolCallUpda kind = prop.Value.GetString().ToChatToolCallKind(); continue; } - if (prop.NameEquals("id"u8)) + if (prop.NameEquals("function"u8)) { - toolCallId = prop.Value.GetString(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + function = InternalChatCompletionMessageToolCallChunkFunction.DeserializeInternalChatCompletionMessageToolCallChunkFunction(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new StreamingChatToolCallUpdate(index, function, kind, toolCallId, additionalBinaryDataProperties); + return new StreamingChatToolCallUpdate(index, toolCallId, kind, function, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/StreamingChatToolCallUpdate.cs b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.cs index 4aa70619c..72e6ba62e 100644 --- a/src/Generated/Models/Chat/StreamingChatToolCallUpdate.cs +++ b/src/Generated/Models/Chat/StreamingChatToolCallUpdate.cs @@ -11,12 +11,12 @@ public partial class StreamingChatToolCallUpdate { private protected IDictionary _additionalBinaryDataProperties; - internal StreamingChatToolCallUpdate(int index, InternalChatCompletionMessageToolCallChunkFunction function, ChatToolCallKind kind, string toolCallId, IDictionary additionalBinaryDataProperties) + internal StreamingChatToolCallUpdate(int index, string toolCallId, ChatToolCallKind kind, InternalChatCompletionMessageToolCallChunkFunction function, IDictionary additionalBinaryDataProperties) { Index = index; - Function = function; - Kind = kind; ToolCallId = toolCallId; + Kind = kind; + Function = function; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs b/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs index 9f1487984..2e0c26776 100644 --- a/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/SystemChatMessage.Serialization.cs @@ -49,20 +49,20 @@ internal static SystemChatMessage DeserializeSystemChatMessage(JsonElement eleme { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string participantName = default; foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } if (prop.NameEquals("name"u8)) @@ -73,7 +73,7 @@ internal static SystemChatMessage DeserializeSystemChatMessage(JsonElement eleme // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new SystemChatMessage(content, role, additionalBinaryDataProperties, participantName); + return new SystemChatMessage(role, content, additionalBinaryDataProperties, participantName); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/SystemChatMessage.cs b/src/Generated/Models/Chat/SystemChatMessage.cs index 3ce3ffbd7..d31d77820 100644 --- a/src/Generated/Models/Chat/SystemChatMessage.cs +++ b/src/Generated/Models/Chat/SystemChatMessage.cs @@ -9,11 +9,11 @@ namespace OpenAI.Chat { public partial class SystemChatMessage : ChatMessage { - internal SystemChatMessage() : this(null, ChatMessageRole.System, null, null) + internal SystemChatMessage() : this(ChatMessageRole.System, null, null, null) { } - internal SystemChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties, string participantName) : base(content, role, additionalBinaryDataProperties) + internal SystemChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties, string participantName) : base(role, content, additionalBinaryDataProperties) { ParticipantName = participantName; } diff --git a/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs b/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs index 7709f507c..45d1bc7a0 100644 --- a/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/ToolChatMessage.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Chat { public partial class ToolChatMessage : IJsonModel { - internal ToolChatMessage() : this(null, ChatMessageRole.Tool, null, null) + internal ToolChatMessage() : this(ChatMessageRole.Tool, null, null, null) { } @@ -53,20 +53,20 @@ internal static ToolChatMessage DeserializeToolChatMessage(JsonElement element, { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string toolCallId = default; foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } if (prop.NameEquals("tool_call_id"u8)) @@ -77,7 +77,7 @@ internal static ToolChatMessage DeserializeToolChatMessage(JsonElement element, // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ToolChatMessage(content, role, additionalBinaryDataProperties, toolCallId); + return new ToolChatMessage(role, content, additionalBinaryDataProperties, toolCallId); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/ToolChatMessage.cs b/src/Generated/Models/Chat/ToolChatMessage.cs index fe45badb4..1f1e88fb8 100644 --- a/src/Generated/Models/Chat/ToolChatMessage.cs +++ b/src/Generated/Models/Chat/ToolChatMessage.cs @@ -9,7 +9,7 @@ namespace OpenAI.Chat { public partial class ToolChatMessage : ChatMessage { - internal ToolChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties, string toolCallId) : base(content, role, additionalBinaryDataProperties) + internal ToolChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties, string toolCallId) : base(role, content, additionalBinaryDataProperties) { ToolCallId = toolCallId; } diff --git a/src/Generated/Models/Chat/UserChatMessage.Serialization.cs b/src/Generated/Models/Chat/UserChatMessage.Serialization.cs index 55e5acd22..94f0799f3 100644 --- a/src/Generated/Models/Chat/UserChatMessage.Serialization.cs +++ b/src/Generated/Models/Chat/UserChatMessage.Serialization.cs @@ -49,20 +49,20 @@ internal static UserChatMessage DeserializeUserChatMessage(JsonElement element, { return null; } - ChatMessageContent content = default; ChatMessageRole role = default; + ChatMessageContent content = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string participantName = default; foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("content"u8)) + if (prop.NameEquals("role"u8)) { - DeserializeContentValue(prop, ref content); + role = prop.Value.GetString().ToChatMessageRole(); continue; } - if (prop.NameEquals("role"u8)) + if (prop.NameEquals("content"u8)) { - role = prop.Value.GetString().ToChatMessageRole(); + DeserializeContentValue(prop, ref content); continue; } if (prop.NameEquals("name"u8)) @@ -73,7 +73,7 @@ internal static UserChatMessage DeserializeUserChatMessage(JsonElement element, // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new UserChatMessage(content, role, additionalBinaryDataProperties, participantName); + return new UserChatMessage(role, content, additionalBinaryDataProperties, participantName); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Chat/UserChatMessage.cs b/src/Generated/Models/Chat/UserChatMessage.cs index 83b55685b..c325db86a 100644 --- a/src/Generated/Models/Chat/UserChatMessage.cs +++ b/src/Generated/Models/Chat/UserChatMessage.cs @@ -9,11 +9,11 @@ namespace OpenAI.Chat { public partial class UserChatMessage : ChatMessage { - internal UserChatMessage() : this(null, ChatMessageRole.User, null, null) + internal UserChatMessage() : this(ChatMessageRole.User, null, null, null) { } - internal UserChatMessage(ChatMessageContent content, ChatMessageRole role, IDictionary additionalBinaryDataProperties, string participantName) : base(content, role, additionalBinaryDataProperties) + internal UserChatMessage(ChatMessageRole role, ChatMessageContent content, IDictionary additionalBinaryDataProperties, string participantName) : base(role, content, additionalBinaryDataProperties) { ParticipantName = participantName; } diff --git a/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs index 77536f192..4733cfcd3 100644 --- a/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs +++ b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.Serialization.cs @@ -32,11 +32,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(EmbeddingGenerationOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(Dimensions) && _additionalBinaryDataProperties?.ContainsKey("dimensions") != true) - { - writer.WritePropertyName("dimensions"u8); - writer.WriteNumberValue(Dimensions.Value); - } if (_additionalBinaryDataProperties?.ContainsKey("input") != true) { writer.WritePropertyName("input"u8); @@ -59,6 +54,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("encoding_format"u8); writer.WriteStringValue(EncodingFormat.Value.ToString()); } + if (Optional.IsDefined(Dimensions) && _additionalBinaryDataProperties?.ContainsKey("dimensions") != true) + { + writer.WritePropertyName("dimensions"u8); + writer.WriteNumberValue(Dimensions.Value); + } if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) { writer.WritePropertyName("user"u8); @@ -106,23 +106,14 @@ internal static EmbeddingGenerationOptions DeserializeEmbeddingGenerationOptions { return null; } - int? dimensions = default; BinaryData input = default; InternalCreateEmbeddingRequestModel model = default; InternalCreateEmbeddingRequestEncodingFormat? encodingFormat = default; + int? dimensions = default; string endUserId = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("dimensions"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - dimensions = prop.Value.GetInt32(); - continue; - } if (prop.NameEquals("input"u8)) { input = BinaryData.FromString(prop.Value.GetRawText()); @@ -142,6 +133,15 @@ internal static EmbeddingGenerationOptions DeserializeEmbeddingGenerationOptions encodingFormat = new InternalCreateEmbeddingRequestEncodingFormat(prop.Value.GetString()); continue; } + if (prop.NameEquals("dimensions"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + dimensions = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("user"u8)) { endUserId = prop.Value.GetString(); @@ -151,10 +151,10 @@ internal static EmbeddingGenerationOptions DeserializeEmbeddingGenerationOptions additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new EmbeddingGenerationOptions( - dimensions, input, model, encodingFormat, + dimensions, endUserId, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.cs b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.cs index 00ac24783..3eecd9c58 100644 --- a/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.cs +++ b/src/Generated/Models/Embeddings/EmbeddingGenerationOptions.cs @@ -11,12 +11,12 @@ public partial class EmbeddingGenerationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal EmbeddingGenerationOptions(int? dimensions, BinaryData input, InternalCreateEmbeddingRequestModel model, InternalCreateEmbeddingRequestEncodingFormat? encodingFormat, string endUserId, IDictionary additionalBinaryDataProperties) + internal EmbeddingGenerationOptions(BinaryData input, InternalCreateEmbeddingRequestModel model, InternalCreateEmbeddingRequestEncodingFormat? encodingFormat, int? dimensions, string endUserId, IDictionary additionalBinaryDataProperties) { - Dimensions = dimensions; Input = input; Model = model; EncodingFormat = encodingFormat; + Dimensions = dimensions; EndUserId = endUserId; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs index 43e3d0307..fd5fc1551 100644 --- a/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs +++ b/src/Generated/Models/Embeddings/OpenAIEmbeddingCollection.Serialization.cs @@ -26,16 +26,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("model"u8); writer.WriteStringValue(Model); } - if (_additionalBinaryDataProperties?.ContainsKey("usage") != true) - { - writer.WritePropertyName("usage"u8); - writer.WriteObjectValue(Usage, options); - } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } + if (_additionalBinaryDataProperties?.ContainsKey("usage") != true) + { + writer.WritePropertyName("usage"u8); + writer.WriteObjectValue(Usage, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { diff --git a/src/Generated/Models/Files/FileDeletionResult.Serialization.cs b/src/Generated/Models/Files/FileDeletionResult.Serialization.cs index c3b15130f..cbf58e6c8 100644 --- a/src/Generated/Models/Files/FileDeletionResult.Serialization.cs +++ b/src/Generated/Models/Files/FileDeletionResult.Serialization.cs @@ -33,11 +33,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(FileDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); @@ -48,6 +43,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -90,17 +90,12 @@ internal static FileDeletionResult DeserializeFileDeletionResult(JsonElement ele { return null; } - bool deleted = default; string fileId = default; string @object = default; + bool deleted = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) - { - deleted = prop.Value.GetBoolean(); - continue; - } if (prop.NameEquals("id"u8)) { fileId = prop.Value.GetString(); @@ -111,10 +106,15 @@ internal static FileDeletionResult DeserializeFileDeletionResult(JsonElement ele @object = prop.Value.GetString(); continue; } + if (prop.NameEquals("deleted"u8)) + { + deleted = prop.Value.GetBoolean(); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new FileDeletionResult(deleted, fileId, @object, additionalBinaryDataProperties); + return new FileDeletionResult(fileId, @object, deleted, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Files/FileDeletionResult.cs b/src/Generated/Models/Files/FileDeletionResult.cs index 1be0a8e1e..3721f67fd 100644 --- a/src/Generated/Models/Files/FileDeletionResult.cs +++ b/src/Generated/Models/Files/FileDeletionResult.cs @@ -11,17 +11,17 @@ public partial class FileDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal FileDeletionResult(bool deleted, string fileId) + internal FileDeletionResult(string fileId, bool deleted) { - Deleted = deleted; FileId = fileId; + Deleted = deleted; } - internal FileDeletionResult(bool deleted, string fileId, string @object, IDictionary additionalBinaryDataProperties) + internal FileDeletionResult(string fileId, string @object, bool deleted, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; FileId = fileId; Object = @object; + Deleted = deleted; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Files/OpenAIFile.Serialization.cs b/src/Generated/Models/Files/OpenAIFile.Serialization.cs index 56aa3f3f8..f665382d1 100644 --- a/src/Generated/Models/Files/OpenAIFile.Serialization.cs +++ b/src/Generated/Models/Files/OpenAIFile.Serialization.cs @@ -38,6 +38,18 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("bytes") != true) + { + if (Optional.IsDefined(SizeInBytesLong)) + { + writer.WritePropertyName("bytes"u8); + writer.WriteNumberValue(SizeInBytesLong.Value); + } + else + { + writer.WriteNull("bytes"u8); + } + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -53,27 +65,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("filename"u8); writer.WriteStringValue(Filename); } - if (_additionalBinaryDataProperties?.ContainsKey("purpose") != true) - { - writer.WritePropertyName("purpose"u8); - writer.WriteStringValue(Purpose.ToSerialString()); - } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } - if (_additionalBinaryDataProperties?.ContainsKey("bytes") != true) + if (_additionalBinaryDataProperties?.ContainsKey("purpose") != true) { - if (Optional.IsDefined(SizeInBytesLong)) - { - writer.WritePropertyName("bytes"u8); - writer.WriteNumberValue(SizeInBytesLong.Value); - } - else - { - writer.WriteNull("bytes"u8); - } + writer.WritePropertyName("purpose"u8); + writer.WriteStringValue(Purpose.ToSerialString()); } if (_additionalBinaryDataProperties?.ContainsKey("status") != true) { @@ -128,12 +128,12 @@ internal static OpenAIFile DeserializeOpenAIFile(JsonElement element, ModelReade return null; } string id = default; + long? sizeInBytesLong = default; DateTimeOffset createdAt = default; DateTimeOffset? expiresAt = default; string filename = default; - FilePurpose purpose = default; string @object = default; - long? sizeInBytesLong = default; + FilePurpose purpose = default; FileStatus status = default; string statusDetails = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); @@ -144,6 +144,16 @@ internal static OpenAIFile DeserializeOpenAIFile(JsonElement element, ModelReade id = prop.Value.GetString(); continue; } + if (prop.NameEquals("bytes"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + sizeInBytesLong = null; + continue; + } + sizeInBytesLong = prop.Value.GetInt64(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -163,24 +173,14 @@ internal static OpenAIFile DeserializeOpenAIFile(JsonElement element, ModelReade filename = prop.Value.GetString(); continue; } - if (prop.NameEquals("purpose"u8)) - { - purpose = prop.Value.GetString().ToFilePurpose(); - continue; - } if (prop.NameEquals("object"u8)) { @object = prop.Value.GetString(); continue; } - if (prop.NameEquals("bytes"u8)) + if (prop.NameEquals("purpose"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - sizeInBytesLong = null; - continue; - } - sizeInBytesLong = prop.Value.GetInt64(); + purpose = prop.Value.GetString().ToFilePurpose(); continue; } if (prop.NameEquals("status"u8)) @@ -198,12 +198,12 @@ internal static OpenAIFile DeserializeOpenAIFile(JsonElement element, ModelReade } return new OpenAIFile( id, + sizeInBytesLong, createdAt, expiresAt, filename, - purpose, @object, - sizeInBytesLong, + purpose, status, statusDetails, additionalBinaryDataProperties); diff --git a/src/Generated/Models/Files/OpenAIFile.cs b/src/Generated/Models/Files/OpenAIFile.cs index 023372940..6e255fb13 100644 --- a/src/Generated/Models/Files/OpenAIFile.cs +++ b/src/Generated/Models/Files/OpenAIFile.cs @@ -12,25 +12,25 @@ public partial class OpenAIFile { private protected IDictionary _additionalBinaryDataProperties; - internal OpenAIFile(string id, DateTimeOffset createdAt, string filename, FilePurpose purpose, long? sizeInBytesLong, FileStatus status) + internal OpenAIFile(string id, long? sizeInBytesLong, DateTimeOffset createdAt, string filename, FilePurpose purpose, FileStatus status) { Id = id; + SizeInBytesLong = sizeInBytesLong; CreatedAt = createdAt; Filename = filename; Purpose = purpose; - SizeInBytesLong = sizeInBytesLong; Status = status; } - internal OpenAIFile(string id, DateTimeOffset createdAt, DateTimeOffset? expiresAt, string filename, FilePurpose purpose, string @object, long? sizeInBytesLong, FileStatus status, string statusDetails, IDictionary additionalBinaryDataProperties) + internal OpenAIFile(string id, long? sizeInBytesLong, DateTimeOffset createdAt, DateTimeOffset? expiresAt, string filename, string @object, FilePurpose purpose, FileStatus status, string statusDetails, IDictionary additionalBinaryDataProperties) { Id = id; + SizeInBytesLong = sizeInBytesLong; CreatedAt = createdAt; ExpiresAt = expiresAt; Filename = filename; - Purpose = purpose; Object = @object; - SizeInBytesLong = sizeInBytesLong; + Purpose = purpose; Status = status; StatusDetails = statusDetails; _additionalBinaryDataProperties = additionalBinaryDataProperties; diff --git a/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs index b4c10b5a8..fd01f2e9e 100644 --- a/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.Serialization.cs @@ -26,6 +26,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(FineTuningCheckpointMetrics)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("step") != true) + { + writer.WritePropertyName("step"u8); + writer.WriteNumberValue(StepNumber); + } if (Optional.IsDefined(TrainLoss) && _additionalBinaryDataProperties?.ContainsKey("train_loss") != true) { writer.WritePropertyName("train_loss"u8); @@ -56,11 +61,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("full_valid_mean_token_accuracy"u8); writer.WriteNumberValue(FullValidMeanTokenAccuracy.Value); } - if (_additionalBinaryDataProperties?.ContainsKey("step") != true) - { - writer.WritePropertyName("step"u8); - writer.WriteNumberValue(StepNumber); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -102,16 +102,25 @@ internal static FineTuningCheckpointMetrics DeserializeFineTuningCheckpointMetri { return null; } + int stepNumber = default; float? trainLoss = default; float? trainMeanTokenAccuracy = default; float? validLoss = default; float? validMeanTokenAccuracy = default; float? fullValidLoss = default; float? fullValidMeanTokenAccuracy = default; - int stepNumber = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("step"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + stepNumber = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("train_loss"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -166,26 +175,17 @@ internal static FineTuningCheckpointMetrics DeserializeFineTuningCheckpointMetri fullValidMeanTokenAccuracy = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("step"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - stepNumber = prop.Value.GetInt32(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new FineTuningCheckpointMetrics( + stepNumber, trainLoss, trainMeanTokenAccuracy, validLoss, validMeanTokenAccuracy, fullValidLoss, fullValidMeanTokenAccuracy, - stepNumber, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs index bfd253b31..5d39cb3b8 100644 --- a/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs +++ b/src/Generated/Models/FineTuning/FineTuningCheckpointMetrics.cs @@ -17,15 +17,15 @@ internal FineTuningCheckpointMetrics() { } - internal FineTuningCheckpointMetrics(float? trainLoss, float? trainMeanTokenAccuracy, float? validLoss, float? validMeanTokenAccuracy, float? fullValidLoss, float? fullValidMeanTokenAccuracy, int stepNumber, IDictionary additionalBinaryDataProperties) + internal FineTuningCheckpointMetrics(int stepNumber, float? trainLoss, float? trainMeanTokenAccuracy, float? validLoss, float? validMeanTokenAccuracy, float? fullValidLoss, float? fullValidMeanTokenAccuracy, IDictionary additionalBinaryDataProperties) { + StepNumber = stepNumber; TrainLoss = trainLoss; TrainMeanTokenAccuracy = trainMeanTokenAccuracy; ValidLoss = validLoss; ValidMeanTokenAccuracy = validMeanTokenAccuracy; FullValidLoss = fullValidLoss; FullValidMeanTokenAccuracy = fullValidMeanTokenAccuracy; - StepNumber = stepNumber; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs index 9472a243f..e5108a6e6 100644 --- a/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningHyperparameters.Serialization.cs @@ -30,18 +30,6 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions { throw new FormatException($"The model {nameof(FineTuningHyperparameters)} does not support writing '{format}' format."); } - if (Optional.IsDefined(_EpochCount) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) - { - writer.WritePropertyName("n_epochs"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(_EpochCount); -#else - using (JsonDocument document = JsonDocument.Parse(_EpochCount)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } if (Optional.IsDefined(_BatchSize) && _additionalBinaryDataProperties?.ContainsKey("batch_size") != true) { writer.WritePropertyName("batch_size"u8); @@ -64,6 +52,18 @@ private void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions { JsonSerializer.Serialize(writer, document.RootElement); } +#endif + } + if (Optional.IsDefined(_EpochCount) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) + { + writer.WritePropertyName("n_epochs"u8); +#if NET6_0_OR_GREATER + writer.WriteRawValue(_EpochCount); +#else + using (JsonDocument document = JsonDocument.Parse(_EpochCount)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } #endif } // Plugin customization: remove options.Format != "W" check @@ -107,44 +107,44 @@ internal static FineTuningHyperparameters DeserializeFineTuningHyperparameters(J { return default; } - BinaryData epochCount = default; BinaryData batchSize = default; BinaryData learningRateMultiplier = default; + BinaryData epochCount = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("n_epochs"u8)) + if (prop.NameEquals("batch_size"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + batchSize = null; continue; } - epochCount = BinaryData.FromString(prop.Value.GetRawText()); + batchSize = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("batch_size"u8)) + if (prop.NameEquals("learning_rate_multiplier"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - batchSize = null; continue; } - batchSize = BinaryData.FromString(prop.Value.GetRawText()); + learningRateMultiplier = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("learning_rate_multiplier"u8)) + if (prop.NameEquals("n_epochs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - learningRateMultiplier = BinaryData.FromString(prop.Value.GetRawText()); + epochCount = BinaryData.FromString(prop.Value.GetRawText()); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new FineTuningHyperparameters(epochCount, batchSize, learningRateMultiplier, additionalBinaryDataProperties); + return new FineTuningHyperparameters(batchSize, learningRateMultiplier, epochCount, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/FineTuning/FineTuningHyperparameters.cs b/src/Generated/Models/FineTuning/FineTuningHyperparameters.cs index 5cee791ab..bb1f8c425 100644 --- a/src/Generated/Models/FineTuning/FineTuningHyperparameters.cs +++ b/src/Generated/Models/FineTuning/FineTuningHyperparameters.cs @@ -13,18 +13,18 @@ public readonly partial struct FineTuningHyperparameters { private readonly IDictionary _additionalBinaryDataProperties; - internal FineTuningHyperparameters(BinaryData epochCount, BinaryData batchSize, BinaryData learningRateMultiplier) + internal FineTuningHyperparameters(BinaryData batchSize, BinaryData learningRateMultiplier, BinaryData epochCount) { - _EpochCount = epochCount; _BatchSize = batchSize; _LearningRateMultiplier = learningRateMultiplier; + _EpochCount = epochCount; } - internal FineTuningHyperparameters(BinaryData epochCount, BinaryData batchSize, BinaryData learningRateMultiplier, IDictionary additionalBinaryDataProperties) + internal FineTuningHyperparameters(BinaryData batchSize, BinaryData learningRateMultiplier, BinaryData epochCount, IDictionary additionalBinaryDataProperties) { - _EpochCount = epochCount; _BatchSize = batchSize; _LearningRateMultiplier = learningRateMultiplier; + _EpochCount = epochCount; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs index 944ff1b67..6f1d787c8 100644 --- a/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs +++ b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.Serialization.cs @@ -35,11 +35,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("type"u8); writer.WriteStringValue(Kind.ToString()); } - if (Optional.IsDefined(Reinforcement) && _additionalBinaryDataProperties?.ContainsKey("reinforcement") != true) - { - writer.WritePropertyName("reinforcement"u8); - writer.WriteObjectValue(Reinforcement, options); - } if (Optional.IsDefined(Supervised) && _additionalBinaryDataProperties?.ContainsKey("supervised") != true) { writer.WritePropertyName("supervised"u8); @@ -50,6 +45,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("dpo"u8); writer.WriteObjectValue(Dpo, options); } + if (Optional.IsDefined(Reinforcement) && _additionalBinaryDataProperties?.ContainsKey("reinforcement") != true) + { + writer.WritePropertyName("reinforcement"u8); + writer.WriteObjectValue(Reinforcement, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -92,9 +92,9 @@ internal static FineTuningTrainingMethod DeserializeFineTuningTrainingMethod(Jso return null; } InternalFineTuneMethodType kind = default; - InternalFineTuneReinforcementMethod reinforcement = default; InternalFineTuningJobRequestMethodSupervised supervised = default; InternalFineTuningJobRequestMethodDpo dpo = default; + InternalFineTuneReinforcementMethod reinforcement = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -103,37 +103,37 @@ internal static FineTuningTrainingMethod DeserializeFineTuningTrainingMethod(Jso kind = new InternalFineTuneMethodType(prop.Value.GetString()); continue; } - if (prop.NameEquals("reinforcement"u8)) + if (prop.NameEquals("supervised"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - reinforcement = InternalFineTuneReinforcementMethod.DeserializeInternalFineTuneReinforcementMethod(prop.Value, options); + supervised = InternalFineTuningJobRequestMethodSupervised.DeserializeInternalFineTuningJobRequestMethodSupervised(prop.Value, options); continue; } - if (prop.NameEquals("supervised"u8)) + if (prop.NameEquals("dpo"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - supervised = InternalFineTuningJobRequestMethodSupervised.DeserializeInternalFineTuningJobRequestMethodSupervised(prop.Value, options); + dpo = InternalFineTuningJobRequestMethodDpo.DeserializeInternalFineTuningJobRequestMethodDpo(prop.Value, options); continue; } - if (prop.NameEquals("dpo"u8)) + if (prop.NameEquals("reinforcement"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - dpo = InternalFineTuningJobRequestMethodDpo.DeserializeInternalFineTuningJobRequestMethodDpo(prop.Value, options); + reinforcement = InternalFineTuneReinforcementMethod.DeserializeInternalFineTuneReinforcementMethod(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new FineTuningTrainingMethod(kind, reinforcement, supervised, dpo, additionalBinaryDataProperties); + return new FineTuningTrainingMethod(kind, supervised, dpo, reinforcement, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs index d7b0ddf86..96574227b 100644 --- a/src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs +++ b/src/Generated/Models/FineTuning/FineTuningTrainingMethod.cs @@ -18,12 +18,12 @@ internal FineTuningTrainingMethod(InternalFineTuneMethodType kind) Kind = kind; } - internal FineTuningTrainingMethod(InternalFineTuneMethodType kind, InternalFineTuneReinforcementMethod reinforcement, InternalFineTuningJobRequestMethodSupervised supervised, InternalFineTuningJobRequestMethodDpo dpo, IDictionary additionalBinaryDataProperties) + internal FineTuningTrainingMethod(InternalFineTuneMethodType kind, InternalFineTuningJobRequestMethodSupervised supervised, InternalFineTuningJobRequestMethodDpo dpo, InternalFineTuneReinforcementMethod reinforcement, IDictionary additionalBinaryDataProperties) { Kind = kind; - Reinforcement = reinforcement; Supervised = supervised; Dpo = dpo; + Reinforcement = reinforcement; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs b/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs index 41deb45e2..55bf383c6 100644 --- a/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs +++ b/src/Generated/Models/FineTuning/HyperparameterOptions.Serialization.cs @@ -26,11 +26,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(HyperparameterOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(EpochCount) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) - { - writer.WritePropertyName("n_epochs"u8); - writer.WriteObjectValue(EpochCount, options); - } if (Optional.IsDefined(BatchSize) && _additionalBinaryDataProperties?.ContainsKey("batch_size") != true) { writer.WritePropertyName("batch_size"u8); @@ -41,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("learning_rate_multiplier"u8); writer.WriteObjectValue(LearningRate, options); } + if (Optional.IsDefined(EpochCount) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) + { + writer.WritePropertyName("n_epochs"u8); + writer.WriteObjectValue(EpochCount, options); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -82,43 +82,43 @@ internal static HyperparameterOptions DeserializeHyperparameterOptions(JsonEleme { return null; } - HyperparameterEpochCount epochCount = default; HyperparameterBatchSize batchSize = default; HyperparameterLearningRate learningRate = default; + HyperparameterEpochCount epochCount = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("n_epochs"u8)) + if (prop.NameEquals("batch_size"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - epochCount = HyperparameterEpochCount.DeserializeHyperparameterEpochCount(prop.Value, options); + batchSize = HyperparameterBatchSize.DeserializeHyperparameterBatchSize(prop.Value, options); continue; } - if (prop.NameEquals("batch_size"u8)) + if (prop.NameEquals("learning_rate_multiplier"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - batchSize = HyperparameterBatchSize.DeserializeHyperparameterBatchSize(prop.Value, options); + learningRate = HyperparameterLearningRate.DeserializeHyperparameterLearningRate(prop.Value, options); continue; } - if (prop.NameEquals("learning_rate_multiplier"u8)) + if (prop.NameEquals("n_epochs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - learningRate = HyperparameterLearningRate.DeserializeHyperparameterLearningRate(prop.Value, options); + epochCount = HyperparameterEpochCount.DeserializeHyperparameterEpochCount(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new HyperparameterOptions(epochCount, batchSize, learningRate, additionalBinaryDataProperties); + return new HyperparameterOptions(batchSize, learningRate, epochCount, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/FineTuning/HyperparameterOptions.cs b/src/Generated/Models/FineTuning/HyperparameterOptions.cs index c1ea7ba69..cce3bd47d 100644 --- a/src/Generated/Models/FineTuning/HyperparameterOptions.cs +++ b/src/Generated/Models/FineTuning/HyperparameterOptions.cs @@ -15,11 +15,11 @@ public HyperparameterOptions() { } - internal HyperparameterOptions(HyperparameterEpochCount epochCount, HyperparameterBatchSize batchSize, HyperparameterLearningRate learningRate, IDictionary additionalBinaryDataProperties) + internal HyperparameterOptions(HyperparameterBatchSize batchSize, HyperparameterLearningRate learningRate, HyperparameterEpochCount epochCount, IDictionary additionalBinaryDataProperties) { - EpochCount = epochCount; BatchSize = batchSize; LearningRate = learningRate; + EpochCount = epochCount; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs b/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs index f9c3b5e89..ff6fd3725 100644 --- a/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForDPO.Serialization.cs @@ -26,25 +26,25 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(HyperparametersForDPO)} does not support writing '{format}' format."); } - if (Optional.IsDefined(_BatchSize) && _additionalBinaryDataProperties?.ContainsKey("batch_size") != true) + if (Optional.IsDefined(_Beta) && _additionalBinaryDataProperties?.ContainsKey("beta") != true) { - writer.WritePropertyName("batch_size"u8); + writer.WritePropertyName("beta"u8); #if NET6_0_OR_GREATER - writer.WriteRawValue(_BatchSize); + writer.WriteRawValue(_Beta); #else - using (JsonDocument document = JsonDocument.Parse(_BatchSize)) + using (JsonDocument document = JsonDocument.Parse(_Beta)) { JsonSerializer.Serialize(writer, document.RootElement); } #endif } - if (Optional.IsDefined(_NEpochs) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) + if (Optional.IsDefined(_BatchSize) && _additionalBinaryDataProperties?.ContainsKey("batch_size") != true) { - writer.WritePropertyName("n_epochs"u8); + writer.WritePropertyName("batch_size"u8); #if NET6_0_OR_GREATER - writer.WriteRawValue(_NEpochs); + writer.WriteRawValue(_BatchSize); #else - using (JsonDocument document = JsonDocument.Parse(_NEpochs)) + using (JsonDocument document = JsonDocument.Parse(_BatchSize)) { JsonSerializer.Serialize(writer, document.RootElement); } @@ -62,13 +62,13 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } #endif } - if (Optional.IsDefined(_Beta) && _additionalBinaryDataProperties?.ContainsKey("beta") != true) + if (Optional.IsDefined(_NEpochs) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) { - writer.WritePropertyName("beta"u8); + writer.WritePropertyName("n_epochs"u8); #if NET6_0_OR_GREATER - writer.WriteRawValue(_Beta); + writer.WriteRawValue(_NEpochs); #else - using (JsonDocument document = JsonDocument.Parse(_Beta)) + using (JsonDocument document = JsonDocument.Parse(_NEpochs)) { JsonSerializer.Serialize(writer, document.RootElement); } @@ -115,29 +115,29 @@ internal static HyperparametersForDPO DeserializeHyperparametersForDPO(JsonEleme { return null; } + BinaryData beta = default; BinaryData batchSize = default; - BinaryData nEpochs = default; BinaryData learningRateMultiplier = default; - BinaryData beta = default; + BinaryData nEpochs = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("batch_size"u8)) + if (prop.NameEquals("beta"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - batchSize = BinaryData.FromString(prop.Value.GetRawText()); + beta = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("n_epochs"u8)) + if (prop.NameEquals("batch_size"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - nEpochs = BinaryData.FromString(prop.Value.GetRawText()); + batchSize = BinaryData.FromString(prop.Value.GetRawText()); continue; } if (prop.NameEquals("learning_rate_multiplier"u8)) @@ -149,19 +149,19 @@ internal static HyperparametersForDPO DeserializeHyperparametersForDPO(JsonEleme learningRateMultiplier = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("beta"u8)) + if (prop.NameEquals("n_epochs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - beta = BinaryData.FromString(prop.Value.GetRawText()); + nEpochs = BinaryData.FromString(prop.Value.GetRawText()); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new HyperparametersForDPO(batchSize, nEpochs, learningRateMultiplier, beta, additionalBinaryDataProperties); + return new HyperparametersForDPO(beta, batchSize, learningRateMultiplier, nEpochs, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/FineTuning/HyperparametersForDPO.cs b/src/Generated/Models/FineTuning/HyperparametersForDPO.cs index 2cd73b97f..4b720271e 100644 --- a/src/Generated/Models/FineTuning/HyperparametersForDPO.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForDPO.cs @@ -17,12 +17,12 @@ public HyperparametersForDPO() { } - internal HyperparametersForDPO(BinaryData batchSize, BinaryData nEpochs, BinaryData learningRateMultiplier, BinaryData beta, IDictionary additionalBinaryDataProperties) + internal HyperparametersForDPO(BinaryData beta, BinaryData batchSize, BinaryData learningRateMultiplier, BinaryData nEpochs, IDictionary additionalBinaryDataProperties) { + _Beta = beta; _BatchSize = batchSize; - _NEpochs = nEpochs; _LearningRateMultiplier = learningRateMultiplier; - _Beta = beta; + _NEpochs = nEpochs; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs b/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs index 5824cea1d..007505c69 100644 --- a/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForSupervised.Serialization.cs @@ -38,25 +38,25 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } #endif } - if (Optional.IsDefined(_NEpochs) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) + if (Optional.IsDefined(_LearningRateMultiplier) && _additionalBinaryDataProperties?.ContainsKey("learning_rate_multiplier") != true) { - writer.WritePropertyName("n_epochs"u8); + writer.WritePropertyName("learning_rate_multiplier"u8); #if NET6_0_OR_GREATER - writer.WriteRawValue(_NEpochs); + writer.WriteRawValue(_LearningRateMultiplier); #else - using (JsonDocument document = JsonDocument.Parse(_NEpochs)) + using (JsonDocument document = JsonDocument.Parse(_LearningRateMultiplier)) { JsonSerializer.Serialize(writer, document.RootElement); } #endif } - if (Optional.IsDefined(_LearningRateMultiplier) && _additionalBinaryDataProperties?.ContainsKey("learning_rate_multiplier") != true) + if (Optional.IsDefined(_NEpochs) && _additionalBinaryDataProperties?.ContainsKey("n_epochs") != true) { - writer.WritePropertyName("learning_rate_multiplier"u8); + writer.WritePropertyName("n_epochs"u8); #if NET6_0_OR_GREATER - writer.WriteRawValue(_LearningRateMultiplier); + writer.WriteRawValue(_NEpochs); #else - using (JsonDocument document = JsonDocument.Parse(_LearningRateMultiplier)) + using (JsonDocument document = JsonDocument.Parse(_NEpochs)) { JsonSerializer.Serialize(writer, document.RootElement); } @@ -104,8 +104,8 @@ internal static HyperparametersForSupervised DeserializeHyperparametersForSuperv return null; } BinaryData batchSize = default; - BinaryData nEpochs = default; BinaryData learningRateMultiplier = default; + BinaryData nEpochs = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -118,28 +118,28 @@ internal static HyperparametersForSupervised DeserializeHyperparametersForSuperv batchSize = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("n_epochs"u8)) + if (prop.NameEquals("learning_rate_multiplier"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - nEpochs = BinaryData.FromString(prop.Value.GetRawText()); + learningRateMultiplier = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("learning_rate_multiplier"u8)) + if (prop.NameEquals("n_epochs"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - learningRateMultiplier = BinaryData.FromString(prop.Value.GetRawText()); + nEpochs = BinaryData.FromString(prop.Value.GetRawText()); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new HyperparametersForSupervised(batchSize, nEpochs, learningRateMultiplier, additionalBinaryDataProperties); + return new HyperparametersForSupervised(batchSize, learningRateMultiplier, nEpochs, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/FineTuning/HyperparametersForSupervised.cs b/src/Generated/Models/FineTuning/HyperparametersForSupervised.cs index 4ab785a17..7dd33699e 100644 --- a/src/Generated/Models/FineTuning/HyperparametersForSupervised.cs +++ b/src/Generated/Models/FineTuning/HyperparametersForSupervised.cs @@ -17,11 +17,11 @@ public HyperparametersForSupervised() { } - internal HyperparametersForSupervised(BinaryData batchSize, BinaryData nEpochs, BinaryData learningRateMultiplier, IDictionary additionalBinaryDataProperties) + internal HyperparametersForSupervised(BinaryData batchSize, BinaryData learningRateMultiplier, BinaryData nEpochs, IDictionary additionalBinaryDataProperties) { _BatchSize = batchSize; - _NEpochs = nEpochs; _LearningRateMultiplier = learningRateMultiplier; + _NEpochs = nEpochs; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs index 2e616e794..42a3532f3 100644 --- a/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.Serialization.cs @@ -30,6 +30,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalCreateFineTuningJobRequestWandbIntegrationWandb)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("project") != true) + { + writer.WritePropertyName("project"u8); + writer.WriteStringValue(Project); + } if (Optional.IsDefined(Name) && _additionalBinaryDataProperties?.ContainsKey("name") != true) { writer.WritePropertyName("name"u8); @@ -55,11 +60,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (_additionalBinaryDataProperties?.ContainsKey("project") != true) - { - writer.WritePropertyName("project"u8); - writer.WriteStringValue(Project); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -101,13 +101,18 @@ internal static InternalCreateFineTuningJobRequestWandbIntegrationWandb Deserial { return null; } + string project = default; string name = default; string entity = default; IList tags = default; - string project = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("project"u8)) + { + project = prop.Value.GetString(); + continue; + } if (prop.NameEquals("name"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -149,15 +154,10 @@ internal static InternalCreateFineTuningJobRequestWandbIntegrationWandb Deserial tags = array; continue; } - if (prop.NameEquals("project"u8)) - { - project = prop.Value.GetString(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalCreateFineTuningJobRequestWandbIntegrationWandb(name, entity, tags ?? new ChangeTrackingList(), project, additionalBinaryDataProperties); + return new InternalCreateFineTuningJobRequestWandbIntegrationWandb(project, name, entity, tags ?? new ChangeTrackingList(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs index f39cb872b..a887afabb 100644 --- a/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs +++ b/src/Generated/Models/FineTuning/InternalCreateFineTuningJobRequestWandbIntegrationWandb.cs @@ -16,17 +16,17 @@ public InternalCreateFineTuningJobRequestWandbIntegrationWandb(string project) { Argument.AssertNotNull(project, nameof(project)); - Tags = new ChangeTrackingList(); Project = project; + Tags = new ChangeTrackingList(); } - internal InternalCreateFineTuningJobRequestWandbIntegrationWandb(string name, string entity, IList tags, string project, IDictionary additionalBinaryDataProperties) + internal InternalCreateFineTuningJobRequestWandbIntegrationWandb(string project, string name, string entity, IList tags, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Project = project; Name = name; Entity = entity; Tags = tags ?? new ChangeTrackingList(); - Project = project; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs b/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs index e2dddfa68..8de4aea90 100644 --- a/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningJob.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.FineTuning { internal partial class InternalFineTuningJob : IJsonModel { - internal InternalFineTuningJob() : this(null, null, null, default, null, null, null, default, null, default, null, default, null, default, null, null, default, null, default, null, null) + internal InternalFineTuningJob() : this(null, null, default, null, null, default, default, null, null, null, null, default, default, null, null, null, default, default, null, null, null) { } @@ -31,60 +31,76 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(InternalFineTuningJob)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("metadata") != true) + if (Optional.IsDefined(UserProvidedSuffix) && _additionalBinaryDataProperties?.ContainsKey("user_provided_suffix") != true) { - if (Optional.IsCollectionDefined(Metadata)) - { - writer.WritePropertyName("metadata"u8); - writer.WriteStartObject(); - foreach (var item in Metadata) - { - writer.WritePropertyName(item.Key); - if (item.Value == null) - { - writer.WriteNullValue(); - continue; - } - writer.WriteStringValue(item.Value); - } - writer.WriteEndObject(); - } - else - { - writer.WriteNull("metadata"u8); - } + writer.WritePropertyName("user_provided_suffix"u8); + writer.WriteStringValue(UserProvidedSuffix); } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(JobId); } - if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(BaseModel); + writer.WritePropertyName("created_at"u8); + writer.WriteNumberValue(CreatedAt, "U"); } - if (Optional.IsDefined(EstimatedFinishAt) && _additionalBinaryDataProperties?.ContainsKey("estimated_finish") != true) + if (_additionalBinaryDataProperties?.ContainsKey("error") != true) { - writer.WritePropertyName("estimated_finish"u8); - writer.WriteNumberValue(EstimatedFinishAt.Value, "U"); + if (Optional.IsDefined(Error)) + { + writer.WritePropertyName("error"u8); + writer.WriteObjectValue(Error, options); + } + else + { + writer.WriteNull("error"u8); + } } - if (_additionalBinaryDataProperties?.ContainsKey("validation_file") != true) + if (_additionalBinaryDataProperties?.ContainsKey("fine_tuned_model") != true) { - if (Optional.IsDefined(ValidationFileId)) + if (Optional.IsDefined(FineTunedModel)) { - writer.WritePropertyName("validation_file"u8); - writer.WriteStringValue(ValidationFileId); + writer.WritePropertyName("fine_tuned_model"u8); + writer.WriteStringValue(FineTunedModel); } else { - writer.WriteNull("validation_file"u8); + writer.WriteNull("fine_tuned_model"u8); } } - if (_additionalBinaryDataProperties?.ContainsKey("training_file") != true) + if (_additionalBinaryDataProperties?.ContainsKey("finished_at") != true) { - writer.WritePropertyName("training_file"u8); - writer.WriteStringValue(TrainingFileId); + if (Optional.IsDefined(FinishedAt)) + { + writer.WritePropertyName("finished_at"u8); + writer.WriteNumberValue(FinishedAt.Value, "U"); + } + else + { + writer.WriteNull("finished_at"u8); + } + } + if (_additionalBinaryDataProperties?.ContainsKey("hyperparameters") != true) + { + writer.WritePropertyName("hyperparameters"u8); + writer.WriteObjectValue(Hyperparameters, options); + } + if (_additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(BaseModel); + } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(_object); + } + if (_additionalBinaryDataProperties?.ContainsKey("organization_id") != true) + { + writer.WritePropertyName("organization_id"u8); + writer.WriteStringValue(OrganizationId); } if (_additionalBinaryDataProperties?.ContainsKey("result_files") != true) { @@ -106,26 +122,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("status"u8); writer.WriteStringValue(Status.ToString()); } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(_object); - } - if (_additionalBinaryDataProperties?.ContainsKey("hyperparameters") != true) - { - writer.WritePropertyName("hyperparameters"u8); - writer.WriteObjectValue(Hyperparameters, options); - } - if (Optional.IsCollectionDefined(Integrations) && _additionalBinaryDataProperties?.ContainsKey("integrations") != true) - { - writer.WritePropertyName("integrations"u8); - writer.WriteStartArray(); - foreach (FineTuningIntegration item in Integrations) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); - } if (_additionalBinaryDataProperties?.ContainsKey("trained_tokens") != true) { if (Optional.IsDefined(BillableTrainedTokenCount)) @@ -138,67 +134,71 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("trained_tokens"u8); } } - if (Optional.IsDefined(UserProvidedSuffix) && _additionalBinaryDataProperties?.ContainsKey("user_provided_suffix") != true) - { - writer.WritePropertyName("user_provided_suffix"u8); - writer.WriteStringValue(UserProvidedSuffix); - } - if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) - { - writer.WritePropertyName("created_at"u8); - writer.WriteNumberValue(CreatedAt, "U"); - } - if (_additionalBinaryDataProperties?.ContainsKey("error") != true) + if (_additionalBinaryDataProperties?.ContainsKey("training_file") != true) { - if (Optional.IsDefined(Error)) - { - writer.WritePropertyName("error"u8); - writer.WriteObjectValue(Error, options); - } - else - { - writer.WriteNull("error"u8); - } + writer.WritePropertyName("training_file"u8); + writer.WriteStringValue(TrainingFileId); } - if (_additionalBinaryDataProperties?.ContainsKey("fine_tuned_model") != true) + if (_additionalBinaryDataProperties?.ContainsKey("validation_file") != true) { - if (Optional.IsDefined(FineTunedModel)) + if (Optional.IsDefined(ValidationFileId)) { - writer.WritePropertyName("fine_tuned_model"u8); - writer.WriteStringValue(FineTunedModel); + writer.WritePropertyName("validation_file"u8); + writer.WriteStringValue(ValidationFileId); } else { - writer.WriteNull("fine_tuned_model"u8); + writer.WriteNull("validation_file"u8); } } - if (_additionalBinaryDataProperties?.ContainsKey("finished_at") != true) + if (Optional.IsCollectionDefined(Integrations) && _additionalBinaryDataProperties?.ContainsKey("integrations") != true) { - if (Optional.IsDefined(FinishedAt)) - { - writer.WritePropertyName("finished_at"u8); - writer.WriteNumberValue(FinishedAt.Value, "U"); - } - else + writer.WritePropertyName("integrations"u8); + writer.WriteStartArray(); + foreach (FineTuningIntegration item in Integrations) { - writer.WriteNull("finished_at"u8); + writer.WriteObjectValue(item, options); } - } - if (_additionalBinaryDataProperties?.ContainsKey("organization_id") != true) - { - writer.WritePropertyName("organization_id"u8); - writer.WriteStringValue(OrganizationId); + writer.WriteEndArray(); } if (_additionalBinaryDataProperties?.ContainsKey("seed") != true) { writer.WritePropertyName("seed"u8); writer.WriteNumberValue(Seed); } + if (Optional.IsDefined(EstimatedFinishAt) && _additionalBinaryDataProperties?.ContainsKey("estimated_finish") != true) + { + writer.WritePropertyName("estimated_finish"u8); + writer.WriteNumberValue(EstimatedFinishAt.Value, "U"); + } if (Optional.IsDefined(Method) && _additionalBinaryDataProperties?.ContainsKey("method") != true) { writer.WritePropertyName("method"u8); writer.WriteObjectValue(Method, options); } + if (_additionalBinaryDataProperties?.ContainsKey("metadata") != true) + { + if (Optional.IsCollectionDefined(Metadata)) + { + writer.WritePropertyName("metadata"u8); + writer.WriteStartObject(); + foreach (var item in Metadata) + { + writer.WritePropertyName(item.Key); + if (item.Value == null) + { + writer.WriteNullValue(); + continue; + } + writer.WriteStringValue(item.Value); + } + writer.WriteEndObject(); + } + else + { + writer.WriteNull("metadata"u8); + } + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -240,49 +240,37 @@ internal static InternalFineTuningJob DeserializeInternalFineTuningJob(JsonEleme { return null; } - IDictionary metadata = default; - string jobId = default; - string baseModel = default; - DateTimeOffset? estimatedFinishAt = default; - string validationFileId = default; - string trainingFileId = default; - IReadOnlyList resultFileIds = default; - FineTuningStatus status = default; - string @object = default; - FineTuningHyperparameters hyperparameters = default; - IReadOnlyList integrations = default; - int? billableTrainedTokenCount = default; string userProvidedSuffix = default; + string jobId = default; DateTimeOffset createdAt = default; FineTuningError error = default; string fineTunedModel = default; DateTimeOffset? finishedAt = default; + FineTuningHyperparameters hyperparameters = default; + string baseModel = default; + string @object = default; string organizationId = default; + IReadOnlyList resultFileIds = default; + FineTuningStatus status = default; + int? billableTrainedTokenCount = default; + string trainingFileId = default; + string validationFileId = default; + IReadOnlyList integrations = default; int seed = default; + DateTimeOffset? estimatedFinishAt = default; FineTuningTrainingMethod @method = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("metadata"u8)) + if (prop.NameEquals("user_provided_suffix"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - metadata = new ChangeTrackingDictionary(); + userProvidedSuffix = null; continue; } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) - { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } - } - metadata = dictionary; + userProvidedSuffix = prop.Value.GetString(); continue; } if (prop.NameEquals("id"u8)) @@ -290,34 +278,59 @@ internal static InternalFineTuningJob DeserializeInternalFineTuningJob(JsonEleme jobId = prop.Value.GetString(); continue; } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("created_at"u8)) { - baseModel = prop.Value.GetString(); + createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); continue; } - if (prop.NameEquals("estimated_finish"u8)) + if (prop.NameEquals("error"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - estimatedFinishAt = null; + error = null; continue; } - estimatedFinishAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + error = FineTuningError.DeserializeFineTuningError(prop.Value, options); continue; } - if (prop.NameEquals("validation_file"u8)) + if (prop.NameEquals("fine_tuned_model"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - validationFileId = null; + fineTunedModel = null; continue; } - validationFileId = prop.Value.GetString(); + fineTunedModel = prop.Value.GetString(); continue; } - if (prop.NameEquals("training_file"u8)) + if (prop.NameEquals("finished_at"u8)) { - trainingFileId = prop.Value.GetString(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + finishedAt = null; + continue; + } + finishedAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + continue; + } + if (prop.NameEquals("hyperparameters"u8)) + { + hyperparameters = FineTuningHyperparameters.DeserializeFineTuningHyperparameters(prop.Value, options); + continue; + } + if (prop.NameEquals("model"u8)) + { + baseModel = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("organization_id"u8)) + { + organizationId = prop.Value.GetString(); continue; } if (prop.NameEquals("result_files"u8)) @@ -342,128 +355,115 @@ internal static InternalFineTuningJob DeserializeInternalFineTuningJob(JsonEleme status = new FineTuningStatus(prop.Value.GetString()); continue; } - if (prop.NameEquals("object"u8)) + if (prop.NameEquals("trained_tokens"u8)) { - @object = prop.Value.GetString(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + billableTrainedTokenCount = null; + continue; + } + billableTrainedTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("hyperparameters"u8)) + if (prop.NameEquals("training_file"u8)) { - hyperparameters = FineTuningHyperparameters.DeserializeFineTuningHyperparameters(prop.Value, options); + trainingFileId = prop.Value.GetString(); continue; } - if (prop.NameEquals("integrations"u8)) + if (prop.NameEquals("validation_file"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + validationFileId = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(FineTuningIntegration.DeserializeFineTuningIntegration(item, options)); - } - integrations = array; + validationFileId = prop.Value.GetString(); continue; } - if (prop.NameEquals("trained_tokens"u8)) + if (prop.NameEquals("integrations"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - billableTrainedTokenCount = null; continue; } - billableTrainedTokenCount = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("user_provided_suffix"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) { - userProvidedSuffix = null; - continue; + array.Add(FineTuningIntegration.DeserializeFineTuningIntegration(item, options)); } - userProvidedSuffix = prop.Value.GetString(); + integrations = array; continue; } - if (prop.NameEquals("created_at"u8)) + if (prop.NameEquals("seed"u8)) { - createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + seed = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("error"u8)) + if (prop.NameEquals("estimated_finish"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - error = null; + estimatedFinishAt = null; continue; } - error = FineTuningError.DeserializeFineTuningError(prop.Value, options); + estimatedFinishAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); continue; } - if (prop.NameEquals("fine_tuned_model"u8)) + if (prop.NameEquals("method"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - fineTunedModel = null; continue; } - fineTunedModel = prop.Value.GetString(); + @method = FineTuningTrainingMethod.DeserializeFineTuningTrainingMethod(prop.Value, options); continue; } - if (prop.NameEquals("finished_at"u8)) + if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - finishedAt = null; + metadata = new ChangeTrackingDictionary(); continue; } - finishedAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); - continue; - } - if (prop.NameEquals("organization_id"u8)) - { - organizationId = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("seed"u8)) - { - seed = prop.Value.GetInt32(); - continue; - } - if (prop.NameEquals("method"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) { - continue; + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } } - @method = FineTuningTrainingMethod.DeserializeFineTuningTrainingMethod(prop.Value, options); + metadata = dictionary; continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new InternalFineTuningJob( - metadata, - jobId, - baseModel, - estimatedFinishAt, - validationFileId, - trainingFileId, - resultFileIds, - status, - @object, - hyperparameters, - integrations ?? new ChangeTrackingList(), - billableTrainedTokenCount, userProvidedSuffix, + jobId, createdAt, error, fineTunedModel, finishedAt, + hyperparameters, + baseModel, + @object, organizationId, + resultFileIds, + status, + billableTrainedTokenCount, + trainingFileId, + validationFileId, + integrations ?? new ChangeTrackingList(), seed, + estimatedFinishAt, @method, + metadata, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/FineTuning/InternalFineTuningJob.cs b/src/Generated/Models/FineTuning/InternalFineTuningJob.cs index ead7ec71b..a80a5cffa 100644 --- a/src/Generated/Models/FineTuning/InternalFineTuningJob.cs +++ b/src/Generated/Models/FineTuning/InternalFineTuningJob.cs @@ -13,50 +13,50 @@ internal partial class InternalFineTuningJob { private protected IDictionary _additionalBinaryDataProperties; - internal InternalFineTuningJob(IDictionary metadata, string jobId, string baseModel, string validationFileId, string trainingFileId, IEnumerable resultFileIds, FineTuningStatus status, FineTuningHyperparameters hyperparameters, int? billableTrainedTokenCount, DateTimeOffset createdAt, FineTuningError error, string fineTunedModel, DateTimeOffset? finishedAt, string organizationId, int seed) + internal InternalFineTuningJob(string jobId, DateTimeOffset createdAt, FineTuningError error, string fineTunedModel, DateTimeOffset? finishedAt, FineTuningHyperparameters hyperparameters, string baseModel, string organizationId, IEnumerable resultFileIds, FineTuningStatus status, int? billableTrainedTokenCount, string trainingFileId, string validationFileId, int seed, IDictionary metadata) { // Plugin customization: ensure initialization of collections - Metadata = metadata ?? new ChangeTrackingDictionary(); JobId = jobId; - BaseModel = baseModel; - ValidationFileId = validationFileId; - TrainingFileId = trainingFileId; - ResultFileIds = resultFileIds.ToList(); - Status = status; - Hyperparameters = hyperparameters; - Integrations = new ChangeTrackingList(); - BillableTrainedTokenCount = billableTrainedTokenCount; CreatedAt = createdAt; Error = error; FineTunedModel = fineTunedModel; FinishedAt = finishedAt; + Hyperparameters = hyperparameters; + BaseModel = baseModel; OrganizationId = organizationId; + ResultFileIds = resultFileIds.ToList(); + Status = status; + BillableTrainedTokenCount = billableTrainedTokenCount; + TrainingFileId = trainingFileId; + ValidationFileId = validationFileId; + Integrations = new ChangeTrackingList(); Seed = seed; + Metadata = metadata ?? new ChangeTrackingDictionary(); } - internal InternalFineTuningJob(IDictionary metadata, string jobId, string baseModel, DateTimeOffset? estimatedFinishAt, string validationFileId, string trainingFileId, IReadOnlyList resultFileIds, FineTuningStatus status, string @object, FineTuningHyperparameters hyperparameters, IReadOnlyList integrations, int? billableTrainedTokenCount, string userProvidedSuffix, DateTimeOffset createdAt, FineTuningError error, string fineTunedModel, DateTimeOffset? finishedAt, string organizationId, int seed, FineTuningTrainingMethod @method, IDictionary additionalBinaryDataProperties) + internal InternalFineTuningJob(string userProvidedSuffix, string jobId, DateTimeOffset createdAt, FineTuningError error, string fineTunedModel, DateTimeOffset? finishedAt, FineTuningHyperparameters hyperparameters, string baseModel, string @object, string organizationId, IReadOnlyList resultFileIds, FineTuningStatus status, int? billableTrainedTokenCount, string trainingFileId, string validationFileId, IReadOnlyList integrations, int seed, DateTimeOffset? estimatedFinishAt, FineTuningTrainingMethod @method, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Metadata = metadata ?? new ChangeTrackingDictionary(); - JobId = jobId; - BaseModel = baseModel; - EstimatedFinishAt = estimatedFinishAt; - ValidationFileId = validationFileId; - TrainingFileId = trainingFileId; - ResultFileIds = resultFileIds ?? new ChangeTrackingList(); - Status = status; - _object = @object; - Hyperparameters = hyperparameters; - Integrations = integrations ?? new ChangeTrackingList(); - BillableTrainedTokenCount = billableTrainedTokenCount; UserProvidedSuffix = userProvidedSuffix; + JobId = jobId; CreatedAt = createdAt; Error = error; FineTunedModel = fineTunedModel; FinishedAt = finishedAt; + Hyperparameters = hyperparameters; + BaseModel = baseModel; + _object = @object; OrganizationId = organizationId; + ResultFileIds = resultFileIds ?? new ChangeTrackingList(); + Status = status; + BillableTrainedTokenCount = billableTrainedTokenCount; + TrainingFileId = trainingFileId; + ValidationFileId = validationFileId; + Integrations = integrations ?? new ChangeTrackingList(); Seed = seed; + EstimatedFinishAt = estimatedFinishAt; Method = @method; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Images/GeneratedImage.Serialization.cs b/src/Generated/Models/Images/GeneratedImage.Serialization.cs index ade7a2a6b..d8cd82d96 100644 --- a/src/Generated/Models/Images/GeneratedImage.Serialization.cs +++ b/src/Generated/Models/Images/GeneratedImage.Serialization.cs @@ -28,11 +28,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(GeneratedImage)} does not support writing '{format}' format."); } - if (Optional.IsDefined(RevisedPrompt) && _additionalBinaryDataProperties?.ContainsKey("revised_prompt") != true) - { - writer.WritePropertyName("revised_prompt"u8); - writer.WriteStringValue(RevisedPrompt); - } if (Optional.IsDefined(ImageBytes) && _additionalBinaryDataProperties?.ContainsKey("b64_json") != true) { writer.WritePropertyName("b64_json"u8); @@ -43,6 +38,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("url"u8); writer.WriteStringValue(ImageUri.AbsoluteUri); } + if (Optional.IsDefined(RevisedPrompt) && _additionalBinaryDataProperties?.ContainsKey("revised_prompt") != true) + { + writer.WritePropertyName("revised_prompt"u8); + writer.WriteStringValue(RevisedPrompt); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -85,17 +85,12 @@ internal static GeneratedImage DeserializeGeneratedImage(JsonElement element, Mo { return null; } - string revisedPrompt = default; BinaryData imageBytes = default; Uri imageUri = default; + string revisedPrompt = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("revised_prompt"u8)) - { - revisedPrompt = prop.Value.GetString(); - continue; - } if (prop.NameEquals("b64_json"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -114,10 +109,15 @@ internal static GeneratedImage DeserializeGeneratedImage(JsonElement element, Mo imageUri = new Uri(prop.Value.GetString()); continue; } + if (prop.NameEquals("revised_prompt"u8)) + { + revisedPrompt = prop.Value.GetString(); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new GeneratedImage(revisedPrompt, imageBytes, imageUri, additionalBinaryDataProperties); + return new GeneratedImage(imageBytes, imageUri, revisedPrompt, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Images/GeneratedImage.cs b/src/Generated/Models/Images/GeneratedImage.cs index 824838852..1885f44d2 100644 --- a/src/Generated/Models/Images/GeneratedImage.cs +++ b/src/Generated/Models/Images/GeneratedImage.cs @@ -15,11 +15,11 @@ internal GeneratedImage() { } - internal GeneratedImage(string revisedPrompt, BinaryData imageBytes, Uri imageUri, IDictionary additionalBinaryDataProperties) + internal GeneratedImage(BinaryData imageBytes, Uri imageUri, string revisedPrompt, IDictionary additionalBinaryDataProperties) { - RevisedPrompt = revisedPrompt; ImageBytes = imageBytes; ImageUri = imageUri; + RevisedPrompt = revisedPrompt; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs index 726bb02ad..bfe64edca 100644 --- a/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs +++ b/src/Generated/Models/Images/GeneratedImageCollection.Serialization.cs @@ -29,6 +29,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(GeneratedImageCollection)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("created") != true) + { + writer.WritePropertyName("created"u8); + writer.WriteNumberValue(CreatedAt, "U"); + } if (Optional.IsCollectionDefined(Data) && _additionalBinaryDataProperties?.ContainsKey("data") != true) { writer.WritePropertyName("data"u8); @@ -44,11 +49,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("usage"u8); writer.WriteObjectValue(Usage, options); } - if (_additionalBinaryDataProperties?.ContainsKey("created") != true) - { - writer.WritePropertyName("created"u8); - writer.WriteNumberValue(CreatedAt, "U"); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -91,12 +91,17 @@ internal static GeneratedImageCollection DeserializeGeneratedImageCollection(Jso { return null; } + DateTimeOffset createdAt = default; IList data = default; ImageTokenUsage usage = default; - DateTimeOffset createdAt = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("created"u8)) + { + createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + continue; + } if (prop.NameEquals("data"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -120,15 +125,10 @@ internal static GeneratedImageCollection DeserializeGeneratedImageCollection(Jso usage = ImageTokenUsage.DeserializeImageTokenUsage(prop.Value, options); continue; } - if (prop.NameEquals("created"u8)) - { - createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new GeneratedImageCollection(data ?? new ChangeTrackingList(), usage, createdAt, additionalBinaryDataProperties); + return new GeneratedImageCollection(createdAt, data ?? new ChangeTrackingList(), usage, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Images/ImageEditOptions.Serialization.cs b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs index 474728b9b..e28064111 100644 --- a/src/Generated/Models/Images/ImageEditOptions.Serialization.cs +++ b/src/Generated/Models/Images/ImageEditOptions.Serialization.cs @@ -32,21 +32,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ImageEditOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(Background) && _additionalBinaryDataProperties?.ContainsKey("background") != true) - { - writer.WritePropertyName("background"u8); - writer.WriteStringValue(Background.Value.ToString()); - } - if (Optional.IsDefined(Quality) && _additionalBinaryDataProperties?.ContainsKey("quality") != true) - { - writer.WritePropertyName("quality"u8); - writer.WriteStringValue(Quality.Value.ToString()); - } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model.Value.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("image") != true) { writer.WritePropertyName("image"u8); @@ -69,6 +54,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("mask"u8); writer.WriteBase64StringValue(Mask.ToArray(), "D"); } + if (Optional.IsDefined(Background) && _additionalBinaryDataProperties?.ContainsKey("background") != true) + { + writer.WritePropertyName("background"u8); + writer.WriteStringValue(Background.Value.ToString()); + } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model.Value.ToString()); + } if (Optional.IsDefined(N) && _additionalBinaryDataProperties?.ContainsKey("n") != true) { writer.WritePropertyName("n"u8); @@ -89,6 +84,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("user"u8); writer.WriteStringValue(EndUserId); } + if (Optional.IsDefined(Quality) && _additionalBinaryDataProperties?.ContainsKey("quality") != true) + { + writer.WritePropertyName("quality"u8); + writer.WriteStringValue(Quality.Value.ToString()); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -131,66 +131,56 @@ internal static ImageEditOptions DeserializeImageEditOptions(JsonElement element { return null; } - InternalCreateImageEditRequestBackground? background = default; - InternalCreateImageEditRequestQuality? quality = default; - InternalCreateImageEditRequestModel? model = default; BinaryData image = default; string prompt = default; BinaryData mask = default; + InternalCreateImageEditRequestBackground? background = default; + InternalCreateImageEditRequestModel? model = default; long? n = default; GeneratedImageSize? size = default; GeneratedImageFormat? responseFormat = default; string endUserId = default; + InternalCreateImageEditRequestQuality? quality = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("background"u8)) + if (prop.NameEquals("image"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - background = null; - continue; - } - background = new InternalCreateImageEditRequestBackground(prop.Value.GetString()); + image = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("quality"u8)) + if (prop.NameEquals("prompt"u8)) + { + prompt = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("mask"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - quality = null; continue; } - quality = new InternalCreateImageEditRequestQuality(prop.Value.GetString()); + mask = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); continue; } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("background"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - model = null; + background = null; continue; } - model = new InternalCreateImageEditRequestModel(prop.Value.GetString()); - continue; - } - if (prop.NameEquals("image"u8)) - { - image = BinaryData.FromString(prop.Value.GetRawText()); - continue; - } - if (prop.NameEquals("prompt"u8)) - { - prompt = prop.Value.GetString(); + background = new InternalCreateImageEditRequestBackground(prop.Value.GetString()); continue; } - if (prop.NameEquals("mask"u8)) + if (prop.NameEquals("model"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + model = null; continue; } - mask = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); + model = new InternalCreateImageEditRequestModel(prop.Value.GetString()); continue; } if (prop.NameEquals("n"u8)) @@ -228,20 +218,30 @@ internal static ImageEditOptions DeserializeImageEditOptions(JsonElement element endUserId = prop.Value.GetString(); continue; } + if (prop.NameEquals("quality"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + quality = null; + continue; + } + quality = new InternalCreateImageEditRequestQuality(prop.Value.GetString()); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new ImageEditOptions( - background, - quality, - model, image, prompt, mask, + background, + model, n, size, responseFormat, endUserId, + quality, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Images/ImageEditOptions.cs b/src/Generated/Models/Images/ImageEditOptions.cs index 773289878..ecc84184d 100644 --- a/src/Generated/Models/Images/ImageEditOptions.cs +++ b/src/Generated/Models/Images/ImageEditOptions.cs @@ -11,18 +11,18 @@ public partial class ImageEditOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ImageEditOptions(InternalCreateImageEditRequestBackground? background, InternalCreateImageEditRequestQuality? quality, InternalCreateImageEditRequestModel? model, BinaryData image, string prompt, BinaryData mask, long? n, GeneratedImageSize? size, GeneratedImageFormat? responseFormat, string endUserId, IDictionary additionalBinaryDataProperties) + internal ImageEditOptions(BinaryData image, string prompt, BinaryData mask, InternalCreateImageEditRequestBackground? background, InternalCreateImageEditRequestModel? model, long? n, GeneratedImageSize? size, GeneratedImageFormat? responseFormat, string endUserId, InternalCreateImageEditRequestQuality? quality, IDictionary additionalBinaryDataProperties) { - Background = background; - Quality = quality; - Model = model; Image = image; Prompt = prompt; Mask = mask; + Background = background; + Model = model; N = n; Size = size; ResponseFormat = responseFormat; EndUserId = endUserId; + Quality = quality; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs index 5f57ac184..3ec0c7db1 100644 --- a/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs +++ b/src/Generated/Models/Images/ImageGenerationOptions.Serialization.cs @@ -32,6 +32,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ImageGenerationOptions)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("prompt") != true) + { + writer.WritePropertyName("prompt"u8); + writer.WriteStringValue(Prompt); + } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model.Value.ToString()); + } + if (Optional.IsDefined(N) && _additionalBinaryDataProperties?.ContainsKey("n") != true) + { + writer.WritePropertyName("n"u8); + writer.WriteNumberValue(N.Value); + } if (Optional.IsDefined(Quality) && _additionalBinaryDataProperties?.ContainsKey("quality") != true) { writer.WritePropertyName("quality"u8); @@ -42,11 +57,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("response_format"u8); writer.WriteStringValue(ResponseFormat.Value.ToString()); } + if (Optional.IsDefined(OutputFileFormat) && _additionalBinaryDataProperties?.ContainsKey("output_format") != true) + { + writer.WritePropertyName("output_format"u8); + writer.WriteStringValue(OutputFileFormat.Value.ToString()); + } + if (Optional.IsDefined(OutputCompressionFactor) && _additionalBinaryDataProperties?.ContainsKey("output_compression") != true) + { + writer.WritePropertyName("output_compression"u8); + writer.WriteNumberValue(OutputCompressionFactor.Value); + } if (Optional.IsDefined(Size) && _additionalBinaryDataProperties?.ContainsKey("size") != true) { writer.WritePropertyName("size"u8); writer.WriteStringValue(Size.Value.ToString()); } + if (Optional.IsDefined(ModerationLevel) && _additionalBinaryDataProperties?.ContainsKey("moderation") != true) + { + writer.WritePropertyName("moderation"u8); + writer.WriteStringValue(ModerationLevel.Value.ToString()); + } if (Optional.IsDefined(Background) && _additionalBinaryDataProperties?.ContainsKey("background") != true) { writer.WritePropertyName("background"u8); @@ -57,41 +87,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("style"u8); writer.WriteStringValue(Style.Value.ToString()); } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model.Value.ToString()); - } - if (_additionalBinaryDataProperties?.ContainsKey("prompt") != true) - { - writer.WritePropertyName("prompt"u8); - writer.WriteStringValue(Prompt); - } - if (Optional.IsDefined(N) && _additionalBinaryDataProperties?.ContainsKey("n") != true) - { - writer.WritePropertyName("n"u8); - writer.WriteNumberValue(N.Value); - } if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) { writer.WritePropertyName("user"u8); writer.WriteStringValue(EndUserId); } - if (Optional.IsDefined(OutputCompressionFactor) && _additionalBinaryDataProperties?.ContainsKey("output_compression") != true) - { - writer.WritePropertyName("output_compression"u8); - writer.WriteNumberValue(OutputCompressionFactor.Value); - } - if (Optional.IsDefined(OutputFileFormat) && _additionalBinaryDataProperties?.ContainsKey("output_format") != true) - { - writer.WritePropertyName("output_format"u8); - writer.WriteStringValue(OutputFileFormat.Value.ToString()); - } - if (Optional.IsDefined(ModerationLevel) && _additionalBinaryDataProperties?.ContainsKey("moderation") != true) - { - writer.WritePropertyName("moderation"u8); - writer.WriteStringValue(ModerationLevel.Value.ToString()); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -134,147 +134,147 @@ internal static ImageGenerationOptions DeserializeImageGenerationOptions(JsonEle { return null; } + string prompt = default; + InternalCreateImageRequestModel? model = default; + long? n = default; GeneratedImageQuality? quality = default; GeneratedImageFormat? responseFormat = default; + GeneratedImageFileFormat? outputFileFormat = default; + int? outputCompressionFactor = default; GeneratedImageSize? size = default; + GeneratedImageModerationLevel? moderationLevel = default; GeneratedImageBackground? background = default; GeneratedImageStyle? style = default; - InternalCreateImageRequestModel? model = default; - string prompt = default; - long? n = default; string endUserId = default; - int? outputCompressionFactor = default; - GeneratedImageFileFormat? outputFileFormat = default; - GeneratedImageModerationLevel? moderationLevel = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("quality"u8)) + if (prop.NameEquals("prompt"u8)) + { + prompt = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("model"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - quality = null; + model = null; continue; } - quality = new GeneratedImageQuality(prop.Value.GetString()); + model = new InternalCreateImageRequestModel(prop.Value.GetString()); continue; } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("n"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; + n = null; continue; } - responseFormat = new GeneratedImageFormat(prop.Value.GetString()); + n = prop.Value.GetInt64(); continue; } - if (prop.NameEquals("size"u8)) + if (prop.NameEquals("quality"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - size = null; + quality = null; continue; } - size = new GeneratedImageSize(prop.Value.GetString()); + quality = new GeneratedImageQuality(prop.Value.GetString()); continue; } - if (prop.NameEquals("background"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - background = null; + responseFormat = null; continue; } - background = new GeneratedImageBackground(prop.Value.GetString()); + responseFormat = new GeneratedImageFormat(prop.Value.GetString()); continue; } - if (prop.NameEquals("style"u8)) + if (prop.NameEquals("output_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - style = null; + outputFileFormat = null; continue; } - style = new GeneratedImageStyle(prop.Value.GetString()); + outputFileFormat = new GeneratedImageFileFormat(prop.Value.GetString()); continue; } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("output_compression"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - model = null; + outputCompressionFactor = null; continue; } - model = new InternalCreateImageRequestModel(prop.Value.GetString()); - continue; - } - if (prop.NameEquals("prompt"u8)) - { - prompt = prop.Value.GetString(); + outputCompressionFactor = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("n"u8)) + if (prop.NameEquals("size"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - n = null; + size = null; continue; } - n = prop.Value.GetInt64(); - continue; - } - if (prop.NameEquals("user"u8)) - { - endUserId = prop.Value.GetString(); + size = new GeneratedImageSize(prop.Value.GetString()); continue; } - if (prop.NameEquals("output_compression"u8)) + if (prop.NameEquals("moderation"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - outputCompressionFactor = null; + moderationLevel = null; continue; } - outputCompressionFactor = prop.Value.GetInt32(); + moderationLevel = new GeneratedImageModerationLevel(prop.Value.GetString()); continue; } - if (prop.NameEquals("output_format"u8)) + if (prop.NameEquals("background"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - outputFileFormat = null; + background = null; continue; } - outputFileFormat = new GeneratedImageFileFormat(prop.Value.GetString()); + background = new GeneratedImageBackground(prop.Value.GetString()); continue; } - if (prop.NameEquals("moderation"u8)) + if (prop.NameEquals("style"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - moderationLevel = null; + style = null; continue; } - moderationLevel = new GeneratedImageModerationLevel(prop.Value.GetString()); + style = new GeneratedImageStyle(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("user"u8)) + { + endUserId = prop.Value.GetString(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new ImageGenerationOptions( + prompt, + model, + n, quality, responseFormat, + outputFileFormat, + outputCompressionFactor, size, + moderationLevel, background, style, - model, - prompt, - n, endUserId, - outputCompressionFactor, - outputFileFormat, - moderationLevel, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Images/ImageGenerationOptions.cs b/src/Generated/Models/Images/ImageGenerationOptions.cs index 8fdcf818a..087d57b5a 100644 --- a/src/Generated/Models/Images/ImageGenerationOptions.cs +++ b/src/Generated/Models/Images/ImageGenerationOptions.cs @@ -12,20 +12,20 @@ public partial class ImageGenerationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ImageGenerationOptions(GeneratedImageQuality? quality, GeneratedImageFormat? responseFormat, GeneratedImageSize? size, GeneratedImageBackground? background, GeneratedImageStyle? style, InternalCreateImageRequestModel? model, string prompt, long? n, string endUserId, int? outputCompressionFactor, GeneratedImageFileFormat? outputFileFormat, GeneratedImageModerationLevel? moderationLevel, IDictionary additionalBinaryDataProperties) + internal ImageGenerationOptions(string prompt, InternalCreateImageRequestModel? model, long? n, GeneratedImageQuality? quality, GeneratedImageFormat? responseFormat, GeneratedImageFileFormat? outputFileFormat, int? outputCompressionFactor, GeneratedImageSize? size, GeneratedImageModerationLevel? moderationLevel, GeneratedImageBackground? background, GeneratedImageStyle? style, string endUserId, IDictionary additionalBinaryDataProperties) { + Prompt = prompt; + Model = model; + N = n; Quality = quality; ResponseFormat = responseFormat; + OutputFileFormat = outputFileFormat; + OutputCompressionFactor = outputCompressionFactor; Size = size; + ModerationLevel = moderationLevel; Background = background; Style = style; - Model = model; - Prompt = prompt; - N = n; EndUserId = endUserId; - OutputCompressionFactor = outputCompressionFactor; - OutputFileFormat = outputFileFormat; - ModerationLevel = moderationLevel; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs index 87a23db70..40120b7cc 100644 --- a/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs +++ b/src/Generated/Models/Images/ImageTokenUsage.Serialization.cs @@ -30,6 +30,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ImageTokenUsage)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) + { + writer.WritePropertyName("total_tokens"u8); + writer.WriteNumberValue(TotalTokenCount); + } if (_additionalBinaryDataProperties?.ContainsKey("input_tokens") != true) { writer.WritePropertyName("input_tokens"u8); @@ -40,11 +45,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("output_tokens"u8); writer.WriteNumberValue(OutputTokenCount); } - if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) - { - writer.WritePropertyName("total_tokens"u8); - writer.WriteNumberValue(TotalTokenCount); - } if (_additionalBinaryDataProperties?.ContainsKey("input_tokens_details") != true) { writer.WritePropertyName("input_tokens_details"u8); @@ -91,13 +91,18 @@ internal static ImageTokenUsage DeserializeImageTokenUsage(JsonElement element, { return null; } + int totalTokenCount = default; int inputTokenCount = default; int outputTokenCount = default; - int totalTokenCount = default; ImageInputTokenUsageDetails inputTokenDetails = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("total_tokens"u8)) + { + totalTokenCount = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("input_tokens"u8)) { inputTokenCount = prop.Value.GetInt32(); @@ -108,11 +113,6 @@ internal static ImageTokenUsage DeserializeImageTokenUsage(JsonElement element, outputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("total_tokens"u8)) - { - totalTokenCount = prop.Value.GetInt32(); - continue; - } if (prop.NameEquals("input_tokens_details"u8)) { inputTokenDetails = ImageInputTokenUsageDetails.DeserializeImageInputTokenUsageDetails(prop.Value, options); @@ -121,7 +121,7 @@ internal static ImageTokenUsage DeserializeImageTokenUsage(JsonElement element, // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ImageTokenUsage(inputTokenCount, outputTokenCount, totalTokenCount, inputTokenDetails, additionalBinaryDataProperties); + return new ImageTokenUsage(totalTokenCount, inputTokenCount, outputTokenCount, inputTokenDetails, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Images/ImageTokenUsage.cs b/src/Generated/Models/Images/ImageTokenUsage.cs index 068453002..9efc8e721 100644 --- a/src/Generated/Models/Images/ImageTokenUsage.cs +++ b/src/Generated/Models/Images/ImageTokenUsage.cs @@ -13,19 +13,19 @@ public partial class ImageTokenUsage { private protected IDictionary _additionalBinaryDataProperties; - internal ImageTokenUsage(int inputTokenCount, int outputTokenCount, int totalTokenCount, ImageInputTokenUsageDetails inputTokenDetails) + internal ImageTokenUsage(int totalTokenCount, int inputTokenCount, int outputTokenCount, ImageInputTokenUsageDetails inputTokenDetails) { + TotalTokenCount = totalTokenCount; InputTokenCount = inputTokenCount; OutputTokenCount = outputTokenCount; - TotalTokenCount = totalTokenCount; InputTokenDetails = inputTokenDetails; } - internal ImageTokenUsage(int inputTokenCount, int outputTokenCount, int totalTokenCount, ImageInputTokenUsageDetails inputTokenDetails, IDictionary additionalBinaryDataProperties) + internal ImageTokenUsage(int totalTokenCount, int inputTokenCount, int outputTokenCount, ImageInputTokenUsageDetails inputTokenDetails, IDictionary additionalBinaryDataProperties) { + TotalTokenCount = totalTokenCount; InputTokenCount = inputTokenCount; OutputTokenCount = outputTokenCount; - TotalTokenCount = totalTokenCount; InputTokenDetails = inputTokenDetails; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs b/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs index 28cfb1b7b..24037ffce 100644 --- a/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs +++ b/src/Generated/Models/Images/ImageVariationOptions.Serialization.cs @@ -32,31 +32,31 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ImageVariationOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model.Value.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("image") != true) { writer.WritePropertyName("image"u8); writer.WriteBase64StringValue(Image.ToArray(), "D"); } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model.Value.ToString()); + } if (Optional.IsDefined(N) && _additionalBinaryDataProperties?.ContainsKey("n") != true) { writer.WritePropertyName("n"u8); writer.WriteNumberValue(N.Value); } - if (Optional.IsDefined(Size) && _additionalBinaryDataProperties?.ContainsKey("size") != true) - { - writer.WritePropertyName("size"u8); - writer.WriteStringValue(Size.Value.ToString()); - } if (Optional.IsDefined(ResponseFormat) && _additionalBinaryDataProperties?.ContainsKey("response_format") != true) { writer.WritePropertyName("response_format"u8); writer.WriteStringValue(ResponseFormat.Value.ToString()); } + if (Optional.IsDefined(Size) && _additionalBinaryDataProperties?.ContainsKey("size") != true) + { + writer.WritePropertyName("size"u8); + writer.WriteStringValue(Size.Value.ToString()); + } if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) { writer.WritePropertyName("user"u8); @@ -104,15 +104,20 @@ internal static ImageVariationOptions DeserializeImageVariationOptions(JsonEleme { return null; } - InternalCreateImageVariationRequestModel? model = default; BinaryData image = default; + InternalCreateImageVariationRequestModel? model = default; long? n = default; - GeneratedImageSize? size = default; GeneratedImageFormat? responseFormat = default; + GeneratedImageSize? size = default; string endUserId = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("image"u8)) + { + image = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); + continue; + } if (prop.NameEquals("model"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -123,11 +128,6 @@ internal static ImageVariationOptions DeserializeImageVariationOptions(JsonEleme model = new InternalCreateImageVariationRequestModel(prop.Value.GetString()); continue; } - if (prop.NameEquals("image"u8)) - { - image = BinaryData.FromBytes(prop.Value.GetBytesFromBase64("D")); - continue; - } if (prop.NameEquals("n"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -138,24 +138,24 @@ internal static ImageVariationOptions DeserializeImageVariationOptions(JsonEleme n = prop.Value.GetInt64(); continue; } - if (prop.NameEquals("size"u8)) + if (prop.NameEquals("response_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - size = null; + responseFormat = null; continue; } - size = new GeneratedImageSize(prop.Value.GetString()); + responseFormat = new GeneratedImageFormat(prop.Value.GetString()); continue; } - if (prop.NameEquals("response_format"u8)) + if (prop.NameEquals("size"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - responseFormat = null; + size = null; continue; } - responseFormat = new GeneratedImageFormat(prop.Value.GetString()); + size = new GeneratedImageSize(prop.Value.GetString()); continue; } if (prop.NameEquals("user"u8)) @@ -167,11 +167,11 @@ internal static ImageVariationOptions DeserializeImageVariationOptions(JsonEleme additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new ImageVariationOptions( - model, image, + model, n, - size, responseFormat, + size, endUserId, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Images/ImageVariationOptions.cs b/src/Generated/Models/Images/ImageVariationOptions.cs index c86f3fe68..8fd3aa3e4 100644 --- a/src/Generated/Models/Images/ImageVariationOptions.cs +++ b/src/Generated/Models/Images/ImageVariationOptions.cs @@ -11,13 +11,13 @@ public partial class ImageVariationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ImageVariationOptions(InternalCreateImageVariationRequestModel? model, BinaryData image, long? n, GeneratedImageSize? size, GeneratedImageFormat? responseFormat, string endUserId, IDictionary additionalBinaryDataProperties) + internal ImageVariationOptions(BinaryData image, InternalCreateImageVariationRequestModel? model, long? n, GeneratedImageFormat? responseFormat, GeneratedImageSize? size, string endUserId, IDictionary additionalBinaryDataProperties) { - Model = model; Image = image; + Model = model; N = n; - Size = size; ResponseFormat = responseFormat; + Size = size; EndUserId = endUserId; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs index 600d2def9..600f17245 100644 --- a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.Serialization.cs @@ -40,11 +40,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Strict) && _additionalBinaryDataProperties?.ContainsKey("strict") != true) - { - writer.WritePropertyName("strict"u8); - writer.WriteBooleanValue(Strict.Value); - } if (Optional.IsDefined(Schema) && _additionalBinaryDataProperties?.ContainsKey("schema") != true) { writer.WritePropertyName("schema"u8); @@ -57,6 +52,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } #endif } + if (Optional.IsDefined(Strict) && _additionalBinaryDataProperties?.ContainsKey("strict") != true) + { + writer.WritePropertyName("strict"u8); + writer.WriteBooleanValue(Strict.Value); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -100,8 +100,8 @@ internal static InternalResponseFormatJsonSchemaJsonSchema DeserializeInternalRe } string description = default; string name = default; - bool? strict = default; BinaryData schema = default; + bool? strict = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -115,29 +115,29 @@ internal static InternalResponseFormatJsonSchemaJsonSchema DeserializeInternalRe name = prop.Value.GetString(); continue; } - if (prop.NameEquals("strict"u8)) + if (prop.NameEquals("schema"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - strict = null; continue; } - strict = prop.Value.GetBoolean(); + schema = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("schema"u8)) + if (prop.NameEquals("strict"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + strict = null; continue; } - schema = BinaryData.FromString(prop.Value.GetRawText()); + strict = prop.Value.GetBoolean(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalResponseFormatJsonSchemaJsonSchema(description, name, strict, schema, additionalBinaryDataProperties); + return new InternalResponseFormatJsonSchemaJsonSchema(description, name, schema, strict, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.cs b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.cs index 8fe22b88a..e7faefa41 100644 --- a/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.cs +++ b/src/Generated/Models/Internal/InternalResponseFormatJsonSchemaJsonSchema.cs @@ -19,12 +19,12 @@ public InternalResponseFormatJsonSchemaJsonSchema(string name) Name = name; } - internal InternalResponseFormatJsonSchemaJsonSchema(string description, string name, bool? strict, BinaryData schema, IDictionary additionalBinaryDataProperties) + internal InternalResponseFormatJsonSchemaJsonSchema(string description, string name, BinaryData schema, bool? strict, IDictionary additionalBinaryDataProperties) { Description = description; Name = name; - Strict = strict; Schema = schema; + Strict = strict; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/InternalFunctionDefinition.Serialization.cs b/src/Generated/Models/InternalFunctionDefinition.Serialization.cs index a4bf17b19..c3ab41e19 100644 --- a/src/Generated/Models/InternalFunctionDefinition.Serialization.cs +++ b/src/Generated/Models/InternalFunctionDefinition.Serialization.cs @@ -39,11 +39,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Strict) && _additionalBinaryDataProperties?.ContainsKey("strict") != true) - { - writer.WritePropertyName("strict"u8); - writer.WriteBooleanValue(Strict.Value); - } if (Optional.IsDefined(Parameters) && _additionalBinaryDataProperties?.ContainsKey("parameters") != true) { writer.WritePropertyName("parameters"u8); @@ -56,6 +51,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } #endif } + if (Optional.IsDefined(Strict) && _additionalBinaryDataProperties?.ContainsKey("strict") != true) + { + writer.WritePropertyName("strict"u8); + writer.WriteBooleanValue(Strict.Value); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -99,8 +99,8 @@ internal static InternalFunctionDefinition DeserializeInternalFunctionDefinition } string description = default; string name = default; - bool? strict = default; BinaryData parameters = default; + bool? strict = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -114,29 +114,29 @@ internal static InternalFunctionDefinition DeserializeInternalFunctionDefinition name = prop.Value.GetString(); continue; } - if (prop.NameEquals("strict"u8)) + if (prop.NameEquals("parameters"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - strict = null; continue; } - strict = prop.Value.GetBoolean(); + parameters = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("parameters"u8)) + if (prop.NameEquals("strict"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + strict = null; continue; } - parameters = BinaryData.FromString(prop.Value.GetRawText()); + strict = prop.Value.GetBoolean(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalFunctionDefinition(description, name, strict, parameters, additionalBinaryDataProperties); + return new InternalFunctionDefinition(description, name, parameters, strict, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/InternalFunctionDefinition.cs b/src/Generated/Models/InternalFunctionDefinition.cs index 789b1cb92..614ea61bf 100644 --- a/src/Generated/Models/InternalFunctionDefinition.cs +++ b/src/Generated/Models/InternalFunctionDefinition.cs @@ -18,12 +18,12 @@ public InternalFunctionDefinition(string name) Name = name; } - internal InternalFunctionDefinition(string description, string name, bool? strict, BinaryData parameters, IDictionary additionalBinaryDataProperties) + internal InternalFunctionDefinition(string description, string name, BinaryData parameters, bool? strict, IDictionary additionalBinaryDataProperties) { Description = description; Name = name; - Strict = strict; Parameters = parameters; + Strict = strict; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs b/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs index baf7a5ffc..8d027b3fa 100644 --- a/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs +++ b/src/Generated/Models/Models/ModelDeletionResult.Serialization.cs @@ -33,16 +33,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ModelDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(ModelId); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); @@ -90,20 +90,20 @@ internal static ModelDeletionResult DeserializeModelDeletionResult(JsonElement e { return null; } - bool deleted = default; string modelId = default; + bool deleted = default; string @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) + if (prop.NameEquals("id"u8)) { - deleted = prop.Value.GetBoolean(); + modelId = prop.Value.GetString(); continue; } - if (prop.NameEquals("id"u8)) + if (prop.NameEquals("deleted"u8)) { - modelId = prop.Value.GetString(); + deleted = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("object"u8)) @@ -114,7 +114,7 @@ internal static ModelDeletionResult DeserializeModelDeletionResult(JsonElement e // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ModelDeletionResult(deleted, modelId, @object, additionalBinaryDataProperties); + return new ModelDeletionResult(modelId, deleted, @object, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Models/ModelDeletionResult.cs b/src/Generated/Models/Models/ModelDeletionResult.cs index f14eebf5e..c46233e43 100644 --- a/src/Generated/Models/Models/ModelDeletionResult.cs +++ b/src/Generated/Models/Models/ModelDeletionResult.cs @@ -11,16 +11,16 @@ public partial class ModelDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal ModelDeletionResult(bool deleted, string modelId) + internal ModelDeletionResult(string modelId, bool deleted) { - Deleted = deleted; ModelId = modelId; + Deleted = deleted; } - internal ModelDeletionResult(bool deleted, string modelId, string @object, IDictionary additionalBinaryDataProperties) + internal ModelDeletionResult(string modelId, bool deleted, string @object, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; ModelId = modelId; + Deleted = deleted; Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Models/OpenAIModel.Serialization.cs b/src/Generated/Models/Models/OpenAIModel.Serialization.cs index fe7cea14c..058101bf4 100644 --- a/src/Generated/Models/Models/OpenAIModel.Serialization.cs +++ b/src/Generated/Models/Models/OpenAIModel.Serialization.cs @@ -38,20 +38,20 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } - if (_additionalBinaryDataProperties?.ContainsKey("owned_by") != true) + if (_additionalBinaryDataProperties?.ContainsKey("created") != true) { - writer.WritePropertyName("owned_by"u8); - writer.WriteStringValue(OwnedBy); + writer.WritePropertyName("created"u8); + writer.WriteNumberValue(CreatedAt, "U"); } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } - if (_additionalBinaryDataProperties?.ContainsKey("created") != true) + if (_additionalBinaryDataProperties?.ContainsKey("owned_by") != true) { - writer.WritePropertyName("created"u8); - writer.WriteNumberValue(CreatedAt, "U"); + writer.WritePropertyName("owned_by"u8); + writer.WriteStringValue(OwnedBy); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -96,9 +96,9 @@ internal static OpenAIModel DeserializeOpenAIModel(JsonElement element, ModelRea return null; } string id = default; - string ownedBy = default; - string @object = default; DateTimeOffset createdAt = default; + string @object = default; + string ownedBy = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -107,9 +107,9 @@ internal static OpenAIModel DeserializeOpenAIModel(JsonElement element, ModelRea id = prop.Value.GetString(); continue; } - if (prop.NameEquals("owned_by"u8)) + if (prop.NameEquals("created"u8)) { - ownedBy = prop.Value.GetString(); + createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); continue; } if (prop.NameEquals("object"u8)) @@ -117,15 +117,15 @@ internal static OpenAIModel DeserializeOpenAIModel(JsonElement element, ModelRea @object = prop.Value.GetString(); continue; } - if (prop.NameEquals("created"u8)) + if (prop.NameEquals("owned_by"u8)) { - createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + ownedBy = prop.Value.GetString(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new OpenAIModel(id, ownedBy, @object, createdAt, additionalBinaryDataProperties); + return new OpenAIModel(id, createdAt, @object, ownedBy, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Models/OpenAIModel.cs b/src/Generated/Models/Models/OpenAIModel.cs index 7ac5b80c5..eab50c036 100644 --- a/src/Generated/Models/Models/OpenAIModel.cs +++ b/src/Generated/Models/Models/OpenAIModel.cs @@ -11,19 +11,19 @@ public partial class OpenAIModel { private protected IDictionary _additionalBinaryDataProperties; - internal OpenAIModel(string id, string ownedBy, DateTimeOffset createdAt) + internal OpenAIModel(string id, DateTimeOffset createdAt, string ownedBy) { Id = id; - OwnedBy = ownedBy; CreatedAt = createdAt; + OwnedBy = ownedBy; } - internal OpenAIModel(string id, string ownedBy, string @object, DateTimeOffset createdAt, IDictionary additionalBinaryDataProperties) + internal OpenAIModel(string id, DateTimeOffset createdAt, string @object, string ownedBy, IDictionary additionalBinaryDataProperties) { Id = id; - OwnedBy = ownedBy; - Object = @object; CreatedAt = createdAt; + Object = @object; + OwnedBy = ownedBy; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/OpenAIContext.cs b/src/Generated/Models/OpenAIContext.cs index bc8b74d27..d690dcf2a 100644 --- a/src/Generated/Models/OpenAIContext.cs +++ b/src/Generated/Models/OpenAIContext.cs @@ -24,788 +24,788 @@ namespace OpenAI { - [ModelReaderWriterBuildable(typeof(InternalListAssistantsResponse))] [ModelReaderWriterBuildable(typeof(Assistant))] - [ModelReaderWriterBuildable(typeof(ToolDefinition))] - [ModelReaderWriterBuildable(typeof(ToolResources))] - [ModelReaderWriterBuildable(typeof(UnknownAssistantToolDefinition))] - [ModelReaderWriterBuildable(typeof(CodeInterpreterToolDefinition))] - [ModelReaderWriterBuildable(typeof(FileSearchToolDefinition))] - [ModelReaderWriterBuildable(typeof(InternalAssistantToolsFileSearchFileSearch))] - [ModelReaderWriterBuildable(typeof(FileSearchRankingOptions))] - [ModelReaderWriterBuildable(typeof(FunctionToolDefinition))] - [ModelReaderWriterBuildable(typeof(InternalFunctionDefinition))] - [ModelReaderWriterBuildable(typeof(CodeInterpreterToolResources))] - [ModelReaderWriterBuildable(typeof(InternalToolResourcesFileSearchIdsOnly))] - [ModelReaderWriterBuildable(typeof(InternalResponseFormatText))] - [ModelReaderWriterBuildable(typeof(InternalResponseFormat))] - [ModelReaderWriterBuildable(typeof(InternalUnknownResponseFormat))] - [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonObject))] - [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchema))] - [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchemaJsonSchema))] - [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchemaSchema))] - [ModelReaderWriterBuildable(typeof(OpenAIErrorResponse))] - [ModelReaderWriterBuildable(typeof(OpenAIError))] + [ModelReaderWriterBuildable(typeof(AssistantChatMessage))] [ModelReaderWriterBuildable(typeof(AssistantCreationOptions))] - [ModelReaderWriterBuildable(typeof(InternalCreateAssistantRequestToolResources))] - [ModelReaderWriterBuildable(typeof(InternalCreateAssistantRequestToolResourcesCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(FileSearchToolResources))] - [ModelReaderWriterBuildable(typeof(VectorStoreCreationHelper))] - [ModelReaderWriterBuildable(typeof(InternalChunkingStrategyRequestParam))] - [ModelReaderWriterBuildable(typeof(InternalUnknownChunkingStrategyRequestParamProxy))] - [ModelReaderWriterBuildable(typeof(InternalAutoChunkingStrategyRequestParam))] - [ModelReaderWriterBuildable(typeof(InternalStaticChunkingStrategyRequestParam))] - [ModelReaderWriterBuildable(typeof(InternalStaticChunkingStrategy))] - [ModelReaderWriterBuildable(typeof(AssistantModificationOptions))] - [ModelReaderWriterBuildable(typeof(InternalModifyAssistantRequestToolResources))] - [ModelReaderWriterBuildable(typeof(InternalModifyAssistantRequestToolResourcesCodeInterpreter))] [ModelReaderWriterBuildable(typeof(AssistantDeletionResult))] - [ModelReaderWriterBuildable(typeof(SpeechGenerationOptions))] + [ModelReaderWriterBuildable(typeof(AssistantModificationOptions))] + [ModelReaderWriterBuildable(typeof(AssistantResponseFormat))] + [ModelReaderWriterBuildable(typeof(AssistantThread))] + [ModelReaderWriterBuildable(typeof(AudioTokenLogProbabilityDetails))] + [ModelReaderWriterBuildable(typeof(AudioTranscription))] [ModelReaderWriterBuildable(typeof(AudioTranscriptionOptions))] - [ModelReaderWriterBuildable(typeof(InternalVadConfig))] - [ModelReaderWriterBuildable(typeof(InternalCreateTranscriptionResponseVerboseJson))] - [ModelReaderWriterBuildable(typeof(TranscribedWord))] - [ModelReaderWriterBuildable(typeof(TranscribedSegment))] - [ModelReaderWriterBuildable(typeof(InternalCreateTranscriptionResponseJson))] - [ModelReaderWriterBuildable(typeof(InternalCreateTranscriptionResponseJsonLogprob))] - [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionUpdate))] - [ModelReaderWriterBuildable(typeof(InternalUnknownCreateTranscriptionResponseStreamEvent))] - [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionTextDeltaUpdate))] - [ModelReaderWriterBuildable(typeof(InternalTranscriptTextDeltaEventLogprob))] - [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionTextDoneUpdate))] - [ModelReaderWriterBuildable(typeof(InternalTranscriptTextDoneEventLogprob))] - [ModelReaderWriterBuildable(typeof(AudioTranslationOptions))] [ModelReaderWriterBuildable(typeof(AudioTranslation))] - [ModelReaderWriterBuildable(typeof(InternalCreateTranslationResponseJson))] - [ModelReaderWriterBuildable(typeof(InternalCreateBatchRequest))] - [ModelReaderWriterBuildable(typeof(InternalBatchJob))] - [ModelReaderWriterBuildable(typeof(InternalBatchErrors))] - [ModelReaderWriterBuildable(typeof(InternalBatchError))] - [ModelReaderWriterBuildable(typeof(InternalBatchRequestCounts))] - [ModelReaderWriterBuildable(typeof(InternalListBatchesResponse))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionList))] + [ModelReaderWriterBuildable(typeof(AudioTranslationOptions))] + [ModelReaderWriterBuildable(typeof(ChatAudioOptions))] [ModelReaderWriterBuildable(typeof(ChatCompletion))] - [ModelReaderWriterBuildable(typeof(ChatTokenUsage))] - [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionResponseChoice))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionResponseMessage))] - [ModelReaderWriterBuildable(typeof(ChatToolCall))] - [ModelReaderWriterBuildable(typeof(ChatMessageAnnotation))] - [ModelReaderWriterBuildable(typeof(ChatOutputAudio))] - [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionResponseChoiceLogprobs))] - [ModelReaderWriterBuildable(typeof(ChatTokenLogProbabilityDetails))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionMessageToolCallFunction))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionResponseMessageAnnotationUrlCitation))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionResponseMessageFunctionCall))] - [ModelReaderWriterBuildable(typeof(ChatTokenTopLogProbabilityDetails))] - [ModelReaderWriterBuildable(typeof(ChatOutputTokenUsageDetails))] - [ModelReaderWriterBuildable(typeof(ChatInputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ChatCompletionCollectionOptions))] + [ModelReaderWriterBuildable(typeof(ChatCompletionDeletionResult))] + [ModelReaderWriterBuildable(typeof(ChatCompletionMessageCollectionOptions))] + [ModelReaderWriterBuildable(typeof(ChatCompletionMessageListDatum))] [ModelReaderWriterBuildable(typeof(ChatCompletionOptions))] - [ModelReaderWriterBuildable(typeof(ChatWebSearchOptions))] - [ModelReaderWriterBuildable(typeof(ChatTool))] + [ModelReaderWriterBuildable(typeof(ChatFunction))] + [ModelReaderWriterBuildable(typeof(ChatFunctionCall))] + [ModelReaderWriterBuildable(typeof(ChatFunctionChoice))] + [ModelReaderWriterBuildable(typeof(ChatInputTokenUsageDetails))] [ModelReaderWriterBuildable(typeof(ChatMessage))] - [ModelReaderWriterBuildable(typeof(InternalUnknownChatMessage))] + [ModelReaderWriterBuildable(typeof(ChatMessageAnnotation))] [ModelReaderWriterBuildable(typeof(ChatMessageContentPart))] - [ModelReaderWriterBuildable(typeof(InternalUnknownChatCompletionRequestMessageContentPart))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartText))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartImage))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartImageImageUrl))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartRefusal))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartFile))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartFileFile))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartAudio))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartAudioInputAudio))] - [ModelReaderWriterBuildable(typeof(SystemChatMessage))] - [ModelReaderWriterBuildable(typeof(DeveloperChatMessage))] - [ModelReaderWriterBuildable(typeof(UserChatMessage))] - [ModelReaderWriterBuildable(typeof(AssistantChatMessage))] + [ModelReaderWriterBuildable(typeof(ChatOutputAudio))] [ModelReaderWriterBuildable(typeof(ChatOutputAudioReference))] - [ModelReaderWriterBuildable(typeof(ChatFunctionCall))] - [ModelReaderWriterBuildable(typeof(ToolChatMessage))] - [ModelReaderWriterBuildable(typeof(FunctionChatMessage))] - [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1))] - [ModelReaderWriterBuildable(typeof(InternalWebSearchLocation))] - [ModelReaderWriterBuildable(typeof(ChatAudioOptions))] [ModelReaderWriterBuildable(typeof(ChatOutputPrediction))] - [ModelReaderWriterBuildable(typeof(InternalUnknownChatOutputPrediction))] - [ModelReaderWriterBuildable(typeof(InternalChatOutputPredictionContent))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionStreamOptions))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionNamedToolChoice))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionNamedToolChoiceFunction))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionFunctionCallOption))] - [ModelReaderWriterBuildable(typeof(ChatFunction))] - [ModelReaderWriterBuildable(typeof(StreamingChatCompletionUpdate))] - [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionStreamResponseChoice))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionStreamResponseDelta))] - [ModelReaderWriterBuildable(typeof(StreamingChatOutputAudioUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingChatFunctionCallUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingChatToolCallUpdate))] - [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionStreamResponseChoiceLogprobs))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionMessageToolCallChunkFunction))] - [ModelReaderWriterBuildable(typeof(InternalUpdateChatCompletionRequest))] - [ModelReaderWriterBuildable(typeof(ChatCompletionDeletionResult))] - [ModelReaderWriterBuildable(typeof(InternalChatCompletionMessageList))] - [ModelReaderWriterBuildable(typeof(ChatCompletionMessageListDatum))] - [ModelReaderWriterBuildable(typeof(InternalContainerListResource))] + [ModelReaderWriterBuildable(typeof(ChatOutputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ChatResponseFormat))] + [ModelReaderWriterBuildable(typeof(ChatTokenLogProbabilityDetails))] + [ModelReaderWriterBuildable(typeof(ChatTokenTopLogProbabilityDetails))] + [ModelReaderWriterBuildable(typeof(ChatTokenUsage))] + [ModelReaderWriterBuildable(typeof(ChatTool))] + [ModelReaderWriterBuildable(typeof(ChatToolCall))] + [ModelReaderWriterBuildable(typeof(ChatToolChoice))] + [ModelReaderWriterBuildable(typeof(ChatWebSearchOptions))] + [ModelReaderWriterBuildable(typeof(CodeInterpreterToolDefinition))] + [ModelReaderWriterBuildable(typeof(CodeInterpreterToolResources))] + [ModelReaderWriterBuildable(typeof(ComputerCallAction))] + [ModelReaderWriterBuildable(typeof(ComputerCallOutput))] + [ModelReaderWriterBuildable(typeof(ComputerCallOutputResponseItem))] + [ModelReaderWriterBuildable(typeof(ComputerCallResponseItem))] + [ModelReaderWriterBuildable(typeof(ComputerCallSafetyCheck))] + [ModelReaderWriterBuildable(typeof(ContainerCollectionOptions))] + [ModelReaderWriterBuildable(typeof(ContainerFileCollectionOptions))] + [ModelReaderWriterBuildable(typeof(ContainerFileResource))] [ModelReaderWriterBuildable(typeof(ContainerResource))] [ModelReaderWriterBuildable(typeof(ContainerResourceExpiresAfter))] + [ModelReaderWriterBuildable(typeof(ConversationContentPart))] + [ModelReaderWriterBuildable(typeof(ConversationFunctionTool))] + [ModelReaderWriterBuildable(typeof(ConversationInputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ConversationOutputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ConversationRateLimitDetailsItem))] + [ModelReaderWriterBuildable(typeof(ConversationResponseOptions))] + [ModelReaderWriterBuildable(typeof(ConversationSessionConfiguredUpdate))] + [ModelReaderWriterBuildable(typeof(ConversationSessionOptions))] + [ModelReaderWriterBuildable(typeof(ConversationSessionStartedUpdate))] + [ModelReaderWriterBuildable(typeof(ConversationStatusDetails))] + [ModelReaderWriterBuildable(typeof(ConversationTokenUsage))] + [ModelReaderWriterBuildable(typeof(ConversationTool))] [ModelReaderWriterBuildable(typeof(CreateContainerBody))] [ModelReaderWriterBuildable(typeof(CreateContainerBodyExpiresAfter))] - [ModelReaderWriterBuildable(typeof(DeleteContainerResponse))] [ModelReaderWriterBuildable(typeof(CreateContainerFileBody))] - [ModelReaderWriterBuildable(typeof(ContainerFileResource))] - [ModelReaderWriterBuildable(typeof(InternalContainerFileListResource))] [ModelReaderWriterBuildable(typeof(DeleteContainerFileResponse))] + [ModelReaderWriterBuildable(typeof(DeleteContainerResponse))] + [ModelReaderWriterBuildable(typeof(DeveloperChatMessage))] [ModelReaderWriterBuildable(typeof(EmbeddingGenerationOptions))] - [ModelReaderWriterBuildable(typeof(OpenAIEmbeddingCollection))] [ModelReaderWriterBuildable(typeof(EmbeddingTokenUsage))] - [ModelReaderWriterBuildable(typeof(OpenAIEmbedding))] - [ModelReaderWriterBuildable(typeof(OpenAIFileCollection))] - [ModelReaderWriterBuildable(typeof(OpenAIFile))] - [ModelReaderWriterBuildable(typeof(InternalFileUploadOptions))] + [ModelReaderWriterBuildable(typeof(FileChunkingStrategy))] [ModelReaderWriterBuildable(typeof(FileDeletionResult))] - [ModelReaderWriterBuildable(typeof(InternalListFineTuningCheckpointPermissionResponse))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningCheckpointPermission))] - [ModelReaderWriterBuildable(typeof(InternalCreateFineTuningCheckpointPermissionRequest))] - [ModelReaderWriterBuildable(typeof(InternalDeleteFineTuningCheckpointPermissionResponse))] - [ModelReaderWriterBuildable(typeof(FineTuningOptions))] - [ModelReaderWriterBuildable(typeof(HyperparameterOptions))] + [ModelReaderWriterBuildable(typeof(FileFromStoreRemovalResult))] + [ModelReaderWriterBuildable(typeof(FileSearchCallResponseItem))] + [ModelReaderWriterBuildable(typeof(FileSearchCallResult))] + [ModelReaderWriterBuildable(typeof(FileSearchRankingOptions))] + [ModelReaderWriterBuildable(typeof(FileSearchToolDefinition))] + [ModelReaderWriterBuildable(typeof(FileSearchToolRankingOptions))] + [ModelReaderWriterBuildable(typeof(FileSearchToolResources))] + [ModelReaderWriterBuildable(typeof(FineTuneReinforcementHyperparameters))] + [ModelReaderWriterBuildable(typeof(FineTuningCheckpoint))] + [ModelReaderWriterBuildable(typeof(FineTuningCheckpointMetrics))] + [ModelReaderWriterBuildable(typeof(FineTuningError))] + [ModelReaderWriterBuildable(typeof(FineTuningEvent))] + [ModelReaderWriterBuildable(typeof(FineTuningHyperparameters))] [ModelReaderWriterBuildable(typeof(FineTuningIntegration))] - [ModelReaderWriterBuildable(typeof(UnknownCreateFineTuningJobRequestIntegration))] - [ModelReaderWriterBuildable(typeof(WeightsAndBiasesIntegration))] - [ModelReaderWriterBuildable(typeof(InternalCreateFineTuningJobRequestWandbIntegrationWandb))] + [ModelReaderWriterBuildable(typeof(FineTuningIntegrationWandbWandb))] + [ModelReaderWriterBuildable(typeof(FineTuningOptions))] [ModelReaderWriterBuildable(typeof(FineTuningTrainingMethod))] - [ModelReaderWriterBuildable(typeof(InternalFineTuneReinforcementMethod))] - [ModelReaderWriterBuildable(typeof(FineTuneReinforcementHyperparameters))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningJobRequestMethodSupervised))] - [ModelReaderWriterBuildable(typeof(HyperparametersForSupervised))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningJobRequestMethodDpo))] - [ModelReaderWriterBuildable(typeof(HyperparametersForDPO))] - [ModelReaderWriterBuildable(typeof(GraderStringCheck))] + [ModelReaderWriterBuildable(typeof(FunctionCallOutputResponseItem))] + [ModelReaderWriterBuildable(typeof(FunctionCallResponseItem))] + [ModelReaderWriterBuildable(typeof(FunctionChatMessage))] + [ModelReaderWriterBuildable(typeof(FunctionToolDefinition))] + [ModelReaderWriterBuildable(typeof(GeneratedImage))] + [ModelReaderWriterBuildable(typeof(GeneratedImageCollection))] [ModelReaderWriterBuildable(typeof(Grader))] - [ModelReaderWriterBuildable(typeof(UnknownGrader))] - [ModelReaderWriterBuildable(typeof(GraderTextSimilarity))] + [ModelReaderWriterBuildable(typeof(GraderLabelModel))] + [ModelReaderWriterBuildable(typeof(GraderMulti))] [ModelReaderWriterBuildable(typeof(GraderPython))] [ModelReaderWriterBuildable(typeof(GraderScoreModel))] - [ModelReaderWriterBuildable(typeof(InternalEvalItem))] - [ModelReaderWriterBuildable(typeof(InternalEvalItemContent))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalItemContent))] - [ModelReaderWriterBuildable(typeof(InternalEvalItemContentInputText))] - [ModelReaderWriterBuildable(typeof(InternalEvalItemContentOutputText))] - [ModelReaderWriterBuildable(typeof(GraderMulti))] - [ModelReaderWriterBuildable(typeof(GraderLabelModel))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningJob))] - [ModelReaderWriterBuildable(typeof(FineTuningError))] - [ModelReaderWriterBuildable(typeof(FineTuningHyperparameters))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningIntegration))] - [ModelReaderWriterBuildable(typeof(UnknownFineTuningIntegration))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningIntegrationWandb))] - [ModelReaderWriterBuildable(typeof(FineTuningIntegrationWandbWandb))] - [ModelReaderWriterBuildable(typeof(InternalListPaginatedFineTuningJobsResponse))] - [ModelReaderWriterBuildable(typeof(InternalListFineTuningJobCheckpointsResponse))] - [ModelReaderWriterBuildable(typeof(FineTuningCheckpoint))] - [ModelReaderWriterBuildable(typeof(FineTuningCheckpointMetrics))] - [ModelReaderWriterBuildable(typeof(InternalListFineTuningJobEventsResponse))] - [ModelReaderWriterBuildable(typeof(FineTuningEvent))] - [ModelReaderWriterBuildable(typeof(InternalEvalList))] - [ModelReaderWriterBuildable(typeof(InternalEval))] - [ModelReaderWriterBuildable(typeof(InternalEvalDataSourceConfigResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderResource))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalDataSourceConfigResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalCustomDataSourceConfigResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalStoredCompletionsDataSourceConfigResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalLogsDataSourceConfigResource))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalGraderResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderLabelModelResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderTextSimilarityResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderPythonResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderScoreModelResource))] - [ModelReaderWriterBuildable(typeof(InternalCreateEvalRequest))] - [ModelReaderWriterBuildable(typeof(InternalEvalDataSourceConfigParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderParams))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalDataSourceConfigParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalCustomDataSourceConfigParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalLogsDataSourceConfigParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalStoredCompletionsDataSourceConfigParams))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalGraderParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderLabelModelParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderLabelModelParamsInput))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderStringCheckParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderTextSimilarityParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderPythonParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalGraderScoreModelParams))] - [ModelReaderWriterBuildable(typeof(InternalUpdateEvalRequest))] - [ModelReaderWriterBuildable(typeof(InternalMetadataPropertyForRequest))] - [ModelReaderWriterBuildable(typeof(InternalDeleteEvalResponse))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunList))] - [ModelReaderWriterBuildable(typeof(InternalEvalRun))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunResultCounts))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunPerModelUsage))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunPerTestingCriteriaResult))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunDataSourceResource))] - [ModelReaderWriterBuildable(typeof(InternalEvalApiError))] - [ModelReaderWriterBuildable(typeof(InternalCreateEvalRunRequest))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunDataSourceParams))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataSourceParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalJsonlRunDataSourceParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunFileContentDataContentSource))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunFileContentDataContentSourceContent))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunDataContentSource))] - [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataContentSource))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunFileIdDataContentSource))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunStoredCompletionsDataContentSource))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunResponsesDataContentSource))] - [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParamsSamplingParams))] - [ModelReaderWriterBuildable(typeof(ResponseTextFormat))] - [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParamsInputMessages1))] - [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParamsInputMessages2))] - [ModelReaderWriterBuildable(typeof(InternalUnknownResponseTextFormatConfiguration))] - [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatText))] - [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatJsonObject))] - [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatJsonSchema))] - [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParams))] - [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsSamplingParams))] - [ModelReaderWriterBuildable(typeof(ResponseTool))] - [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsSamplingParamsText))] - [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsInputMessages1))] - [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1))] - [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsInputMessages2))] - [ModelReaderWriterBuildable(typeof(InternalUnknownTool))] - [ModelReaderWriterBuildable(typeof(InternalFunctionTool))] - [ModelReaderWriterBuildable(typeof(InternalFileSearchTool))] - [ModelReaderWriterBuildable(typeof(FileSearchToolRankingOptions))] + [ModelReaderWriterBuildable(typeof(GraderStringCheck))] + [ModelReaderWriterBuildable(typeof(GraderTextSimilarity))] + [ModelReaderWriterBuildable(typeof(HyperparameterOptions))] + [ModelReaderWriterBuildable(typeof(HyperparametersForDPO))] + [ModelReaderWriterBuildable(typeof(HyperparametersForSupervised))] + [ModelReaderWriterBuildable(typeof(ImageEditOptions))] + [ModelReaderWriterBuildable(typeof(ImageGenerationOptions))] + [ModelReaderWriterBuildable(typeof(ImageInputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ImageTokenUsage))] + [ModelReaderWriterBuildable(typeof(ImageVariationOptions))] + [ModelReaderWriterBuildable(typeof(InputAudioClearedUpdate))] + [ModelReaderWriterBuildable(typeof(InputAudioCommittedUpdate))] + [ModelReaderWriterBuildable(typeof(InputAudioSpeechFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(InputAudioSpeechStartedUpdate))] + [ModelReaderWriterBuildable(typeof(InputAudioTranscriptionDeltaUpdate))] + [ModelReaderWriterBuildable(typeof(InputAudioTranscriptionFailedUpdate))] + [ModelReaderWriterBuildable(typeof(InputAudioTranscriptionFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(InputNoiseReductionOptions))] + [ModelReaderWriterBuildable(typeof(InputTranscriptionOptions))] + [ModelReaderWriterBuildable(typeof(InternalAddUploadPartRequest))] + [ModelReaderWriterBuildable(typeof(InternalAnnotationFileCitation))] + [ModelReaderWriterBuildable(typeof(InternalAnnotationFilePath))] + [ModelReaderWriterBuildable(typeof(InternalAnnotationUrlCitation))] + [ModelReaderWriterBuildable(typeof(InternalApproximateLocation))] + [ModelReaderWriterBuildable(typeof(InternalAssistantsNamedToolChoiceFunction))] + [ModelReaderWriterBuildable(typeof(InternalAssistantToolsFileSearchFileSearch))] + [ModelReaderWriterBuildable(typeof(InternalAssistantToolsFileSearchTypeOnly))] + [ModelReaderWriterBuildable(typeof(InternalAutoChunkingStrategyRequestParam))] + [ModelReaderWriterBuildable(typeof(InternalBatchError))] + [ModelReaderWriterBuildable(typeof(InternalBatchErrors))] + [ModelReaderWriterBuildable(typeof(InternalBatchJob))] + [ModelReaderWriterBuildable(typeof(InternalBatchRequestCounts))] + [ModelReaderWriterBuildable(typeof(InternalBatchRequestInput))] + [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutput))] + [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutputError))] + [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutputResponse))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionFunctionCallOption))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionList))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionMessageList))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionMessageToolCallChunkFunction))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionMessageToolCallFunction))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionNamedToolChoice))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionNamedToolChoiceFunction))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartAudio))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartAudioInputAudio))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartFile))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartFileFile))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartImage))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartImageImageUrl))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartRefusal))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionRequestMessageContentPartText))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionResponseMessage))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionResponseMessageAnnotationUrlCitation))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionResponseMessageFunctionCall))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionStreamOptions))] + [ModelReaderWriterBuildable(typeof(InternalChatCompletionStreamResponseDelta))] + [ModelReaderWriterBuildable(typeof(InternalChatOutputPredictionContent))] + [ModelReaderWriterBuildable(typeof(InternalChunkingStrategyRequestParam))] + [ModelReaderWriterBuildable(typeof(InternalChunkingStrategyResponseParam))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterFileOutput))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterFileOutputFile))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterTextOutput))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterTool))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterToolAuto))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterToolCallItemResource))] [ModelReaderWriterBuildable(typeof(InternalComparisonFilter))] - [ModelReaderWriterBuildable(typeof(InternalUnknownComparisonFilter))] [ModelReaderWriterBuildable(typeof(InternalComparisonFilterEquals))] - [ModelReaderWriterBuildable(typeof(InternalComparisonFilterNotEquals))] [ModelReaderWriterBuildable(typeof(InternalComparisonFilterGreaterThan))] [ModelReaderWriterBuildable(typeof(InternalComparisonFilterGreaterThanOrEquals))] [ModelReaderWriterBuildable(typeof(InternalComparisonFilterLessThan))] [ModelReaderWriterBuildable(typeof(InternalComparisonFilterLessThanOrEquals))] + [ModelReaderWriterBuildable(typeof(InternalComparisonFilterNotEquals))] + [ModelReaderWriterBuildable(typeof(InternalCompleteUploadRequest))] [ModelReaderWriterBuildable(typeof(InternalCompoundFilter))] - [ModelReaderWriterBuildable(typeof(InternalUnknownCompoundFilter))] [ModelReaderWriterBuildable(typeof(InternalCompoundFilterAnd))] [ModelReaderWriterBuildable(typeof(InternalCompoundFilterOr))] - [ModelReaderWriterBuildable(typeof(InternalComputerUsePreviewTool))] - [ModelReaderWriterBuildable(typeof(InternalWebSearchTool))] - [ModelReaderWriterBuildable(typeof(InternalLocation))] - [ModelReaderWriterBuildable(typeof(InternalUnknownLocation))] - [ModelReaderWriterBuildable(typeof(InternalApproximateLocation))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterTool))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterToolAuto))] - [ModelReaderWriterBuildable(typeof(InternalImageGenTool))] - [ModelReaderWriterBuildable(typeof(InternalImageGenToolInputImageMask))] - [ModelReaderWriterBuildable(typeof(InternalLocalShellTool))] - [ModelReaderWriterBuildable(typeof(InternalMCPTool))] - [ModelReaderWriterBuildable(typeof(InternalMCPToolAllowedTools1))] - [ModelReaderWriterBuildable(typeof(InternalMCPToolRequireApproval1))] - [ModelReaderWriterBuildable(typeof(InternalMCPToolRequireApprovalAlways))] - [ModelReaderWriterBuildable(typeof(InternalMCPToolRequireApprovalNever))] - [ModelReaderWriterBuildable(typeof(InternalDeleteEvalRunResponse))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemList))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItem))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSample))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSampleInput))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSampleOutput))] - [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSampleUsage))] - [ModelReaderWriterBuildable(typeof(ResponseCreationOptions))] - [ModelReaderWriterBuildable(typeof(ResponseReasoningOptions))] - [ModelReaderWriterBuildable(typeof(ResponseTextOptions))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObject))] - [ModelReaderWriterBuildable(typeof(InternalUnknownToolChoiceObject))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectFileSearch))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectComputer))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectWebSearch))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectImageGen))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectMCP))] - [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectFunction))] - [ModelReaderWriterBuildable(typeof(InternalImplicitUserMessage))] - [ModelReaderWriterBuildable(typeof(ResponseContentPart))] - [ModelReaderWriterBuildable(typeof(InternalUnknownItemContent))] - [ModelReaderWriterBuildable(typeof(InternalItemContentInputAudio))] - [ModelReaderWriterBuildable(typeof(InternalItemContentOutputAudio))] - [ModelReaderWriterBuildable(typeof(InternalItemContentRefusal))] - [ModelReaderWriterBuildable(typeof(InternalItemContentInputText))] - [ModelReaderWriterBuildable(typeof(InternalItemContentInputImage))] - [ModelReaderWriterBuildable(typeof(InternalItemContentInputFile))] - [ModelReaderWriterBuildable(typeof(InternalItemContentOutputText))] - [ModelReaderWriterBuildable(typeof(ResponseMessageAnnotation))] - [ModelReaderWriterBuildable(typeof(InternalLogProb))] - [ModelReaderWriterBuildable(typeof(InternalTopLogProb))] - [ModelReaderWriterBuildable(typeof(InternalUnknownAnnotation))] - [ModelReaderWriterBuildable(typeof(InternalAnnotationFileCitation))] - [ModelReaderWriterBuildable(typeof(InternalAnnotationUrlCitation))] - [ModelReaderWriterBuildable(typeof(InternalAnnotationFilePath))] - [ModelReaderWriterBuildable(typeof(InternalItemParam))] - [ModelReaderWriterBuildable(typeof(InternalUnknownItemParam))] - [ModelReaderWriterBuildable(typeof(InternalFileSearchToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(FileSearchCallResult))] - [ModelReaderWriterBuildable(typeof(InternalComputerUsePreviewToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(ComputerCallAction))] - [ModelReaderWriterBuildable(typeof(ComputerCallSafetyCheck))] - [ModelReaderWriterBuildable(typeof(InternalUnknownComputerAction))] [ModelReaderWriterBuildable(typeof(InternalComputerActionClick))] [ModelReaderWriterBuildable(typeof(InternalComputerActionDoubleClick))] [ModelReaderWriterBuildable(typeof(InternalComputerActionDrag))] - [ModelReaderWriterBuildable(typeof(InternalCoordinate))] + [ModelReaderWriterBuildable(typeof(InternalComputerActionKeyPress))] [ModelReaderWriterBuildable(typeof(InternalComputerActionMove))] [ModelReaderWriterBuildable(typeof(InternalComputerActionScreenshot))] [ModelReaderWriterBuildable(typeof(InternalComputerActionScroll))] [ModelReaderWriterBuildable(typeof(InternalComputerActionTypeKeys))] [ModelReaderWriterBuildable(typeof(InternalComputerActionWait))] - [ModelReaderWriterBuildable(typeof(InternalComputerActionKeyPress))] - [ModelReaderWriterBuildable(typeof(InternalComputerUsePreviewToolCallOutputItemParam))] - [ModelReaderWriterBuildable(typeof(ComputerCallOutput))] - [ModelReaderWriterBuildable(typeof(InternalUnknownComputerToolCallOutputItemOutput))] [ModelReaderWriterBuildable(typeof(InternalComputerToolCallOutputItemOutputComputerScreenshot))] - [ModelReaderWriterBuildable(typeof(InternalWebSearchToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallOutputItemParam))] - [ModelReaderWriterBuildable(typeof(InternalReasoningItemParam))] - [ModelReaderWriterBuildable(typeof(ReasoningSummaryPart))] - [ModelReaderWriterBuildable(typeof(InternalUnknownReasoningItemSummaryPart))] - [ModelReaderWriterBuildable(typeof(ReasoningSummaryTextPart))] - [ModelReaderWriterBuildable(typeof(InternalItemReferenceItemParam))] - [ModelReaderWriterBuildable(typeof(InternalImageGenToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterTextOutput))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterFileOutput))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterFileOutputFile))] - [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallItemParam))] - [ModelReaderWriterBuildable(typeof(InternalLocalShellExecAction))] - [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallOutputItemParam))] - [ModelReaderWriterBuildable(typeof(InternalMCPListToolsItemParam))] - [ModelReaderWriterBuildable(typeof(InternalMCPListToolsTool))] - [ModelReaderWriterBuildable(typeof(InternalMCPApprovalRequestItemParam))] - [ModelReaderWriterBuildable(typeof(InternalMCPApprovalResponseItemParam))] - [ModelReaderWriterBuildable(typeof(InternalMCPCallItemParam))] - [ModelReaderWriterBuildable(typeof(InternalResponsesMessageItemParam))] - [ModelReaderWriterBuildable(typeof(InternalUnknownResponsesMessageItemResourceItemParam))] - [ModelReaderWriterBuildable(typeof(InternalResponsesUserMessageItemParam))] - [ModelReaderWriterBuildable(typeof(InternalResponsesSystemMessageItemParam))] - [ModelReaderWriterBuildable(typeof(InternalResponsesDeveloperMessageItemParam))] - [ModelReaderWriterBuildable(typeof(InternalResponsesAssistantMessageItemParam))] - [ModelReaderWriterBuildable(typeof(OpenAIResponse))] - [ModelReaderWriterBuildable(typeof(ResponseError))] - [ModelReaderWriterBuildable(typeof(ResponseTokenUsage))] - [ModelReaderWriterBuildable(typeof(ResponseIncompleteStatusDetails))] - [ModelReaderWriterBuildable(typeof(ResponseItem))] - [ModelReaderWriterBuildable(typeof(InternalUnknownItemResource))] - [ModelReaderWriterBuildable(typeof(FileSearchCallResponseItem))] - [ModelReaderWriterBuildable(typeof(ComputerCallResponseItem))] - [ModelReaderWriterBuildable(typeof(ComputerCallOutputResponseItem))] - [ModelReaderWriterBuildable(typeof(WebSearchCallResponseItem))] - [ModelReaderWriterBuildable(typeof(FunctionCallResponseItem))] - [ModelReaderWriterBuildable(typeof(FunctionCallOutputResponseItem))] - [ModelReaderWriterBuildable(typeof(ReasoningResponseItem))] - [ModelReaderWriterBuildable(typeof(InternalImageGenToolCallItemResource))] - [ModelReaderWriterBuildable(typeof(InternalCodeInterpreterToolCallItemResource))] - [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallItemResource))] - [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallOutputItemResource))] - [ModelReaderWriterBuildable(typeof(InternalMCPListToolsItemResource))] - [ModelReaderWriterBuildable(typeof(InternalMCPApprovalRequestItemResource))] - [ModelReaderWriterBuildable(typeof(InternalMCPApprovalResponseItemResource))] - [ModelReaderWriterBuildable(typeof(InternalMCPCallItemResource))] - [ModelReaderWriterBuildable(typeof(MessageResponseItem))] - [ModelReaderWriterBuildable(typeof(InternalUnknownResponsesMessageItemResource))] - [ModelReaderWriterBuildable(typeof(InternalResponsesUserMessage))] - [ModelReaderWriterBuildable(typeof(InternalResponsesSystemMessage))] - [ModelReaderWriterBuildable(typeof(InternalResponsesDeveloperMessage))] - [ModelReaderWriterBuildable(typeof(InternalResponsesAssistantMessage))] - [ModelReaderWriterBuildable(typeof(ReferenceResponseItem))] - [ModelReaderWriterBuildable(typeof(ResponseInputTokenUsageDetails))] - [ModelReaderWriterBuildable(typeof(ResponseOutputTokenUsageDetails))] - [ModelReaderWriterBuildable(typeof(StreamingResponseUpdate))] - [ModelReaderWriterBuildable(typeof(UnknownResponseStreamEvent))] - [ModelReaderWriterBuildable(typeof(StreamingResponseCompletedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseContentPartAddedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseContentPartDoneUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseCreatedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseErrorUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseFileSearchCallCompletedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseFileSearchCallInProgressUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseFileSearchCallSearchingUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseFunctionCallArgumentsDeltaUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseFunctionCallArgumentsDoneUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseInProgressUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseFailedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseIncompleteUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseOutputItemAddedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseOutputItemDoneUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseRefusalDeltaUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseRefusalDoneUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseOutputTextDeltaUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseOutputTextDoneUpdate))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryPartAddedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryPartDoneEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryTextDeltaEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryTextDoneEvent))] - [ModelReaderWriterBuildable(typeof(StreamingResponseWebSearchCallCompletedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseWebSearchCallInProgressUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseWebSearchCallSearchingUpdate))] - [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallCompletedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallGeneratingEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallInProgressEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallPartialImageEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallArgumentsDeltaEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallArgumentsDoneEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallCompletedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallFailedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallInProgressEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPListToolsCompletedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPListToolsFailedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseMCPListToolsInProgressEvent))] - [ModelReaderWriterBuildable(typeof(StreamingResponseTextAnnotationAddedUpdate))] - [ModelReaderWriterBuildable(typeof(StreamingResponseQueuedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningDeltaEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningDoneEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryDeltaEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryDoneEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallCodeDeltaEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallCodeDoneEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallCompletedEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallInProgressEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallInterpretingEvent))] - [ModelReaderWriterBuildable(typeof(InternalResponseErrorResponse))] - [ModelReaderWriterBuildable(typeof(ResponseDeletionResult))] - [ModelReaderWriterBuildable(typeof(InternalResponseItemList))] - [ModelReaderWriterBuildable(typeof(ImageGenerationOptions))] - [ModelReaderWriterBuildable(typeof(GeneratedImageCollection))] - [ModelReaderWriterBuildable(typeof(GeneratedImage))] - [ModelReaderWriterBuildable(typeof(ImageTokenUsage))] - [ModelReaderWriterBuildable(typeof(ImageInputTokenUsageDetails))] - [ModelReaderWriterBuildable(typeof(ImageEditOptions))] - [ModelReaderWriterBuildable(typeof(ImageVariationOptions))] - [ModelReaderWriterBuildable(typeof(MessageCreationOptions))] - [ModelReaderWriterBuildable(typeof(MessageCreationAttachment))] - [ModelReaderWriterBuildable(typeof(MessageContent))] - [ModelReaderWriterBuildable(typeof(InternalUnknownMessageContent))] + [ModelReaderWriterBuildable(typeof(InternalComputerUsePreviewTool))] + [ModelReaderWriterBuildable(typeof(InternalComputerUsePreviewToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalComputerUsePreviewToolCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalContainerFileListResource))] + [ModelReaderWriterBuildable(typeof(InternalContainerListResource))] + [ModelReaderWriterBuildable(typeof(InternalCoordinate))] + [ModelReaderWriterBuildable(typeof(InternalCreateAssistantRequestToolResources))] + [ModelReaderWriterBuildable(typeof(InternalCreateAssistantRequestToolResourcesCodeInterpreter))] + [ModelReaderWriterBuildable(typeof(InternalCreateBatchRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionRequestWebSearchOptionsUserLocation1))] + [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionResponseChoice))] + [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionResponseChoiceLogprobs))] + [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionStreamResponseChoice))] + [ModelReaderWriterBuildable(typeof(InternalCreateChatCompletionStreamResponseChoiceLogprobs))] + [ModelReaderWriterBuildable(typeof(InternalCreateCompletionRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateCompletionResponse))] + [ModelReaderWriterBuildable(typeof(InternalCreateCompletionResponseChoice))] + [ModelReaderWriterBuildable(typeof(InternalCreateCompletionResponseChoiceLogprobs))] + [ModelReaderWriterBuildable(typeof(InternalCreateEvalRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateEvalRunRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateFineTuningCheckpointPermissionRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateFineTuningJobRequestWandbIntegrationWandb))] + [ModelReaderWriterBuildable(typeof(InternalCreateModerationRequestInput2))] + [ModelReaderWriterBuildable(typeof(InternalCreateModerationRequestInput3))] + [ModelReaderWriterBuildable(typeof(InternalCreateModerationRequestInputImageUrl))] + [ModelReaderWriterBuildable(typeof(InternalCreateModerationResponseResultCategoryAppliedInputTypes))] + [ModelReaderWriterBuildable(typeof(InternalCreateThreadAndRunRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateThreadAndRunRequestToolResources))] + [ModelReaderWriterBuildable(typeof(InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter))] + [ModelReaderWriterBuildable(typeof(InternalCreateThreadRequestToolResources))] + [ModelReaderWriterBuildable(typeof(InternalCreateThreadRequestToolResourcesCodeInterpreter))] + [ModelReaderWriterBuildable(typeof(InternalCreateThreadRequestToolResourcesFileSearchBase))] + [ModelReaderWriterBuildable(typeof(InternalCreateTranscriptionResponseJson))] + [ModelReaderWriterBuildable(typeof(InternalCreateTranscriptionResponseJsonLogprob))] + [ModelReaderWriterBuildable(typeof(InternalCreateTranscriptionResponseVerboseJson))] + [ModelReaderWriterBuildable(typeof(InternalCreateTranslationResponseJson))] + [ModelReaderWriterBuildable(typeof(InternalCreateUploadRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateVectorStoreFileBatchRequest))] + [ModelReaderWriterBuildable(typeof(InternalCreateVectorStoreFileRequest))] + [ModelReaderWriterBuildable(typeof(InternalDeleteEvalResponse))] + [ModelReaderWriterBuildable(typeof(InternalDeleteEvalRunResponse))] + [ModelReaderWriterBuildable(typeof(InternalDeleteFineTuningCheckpointPermissionResponse))] + [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatJsonObject))] + [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatText))] + [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatJsonObject))] + [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatJsonSchemaJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatText))] + [ModelReaderWriterBuildable(typeof(InternalDotNetCombinedAutoChunkingStrategyParam))] + [ModelReaderWriterBuildable(typeof(InternalDotNetCombinedOtherChunkingStrategyParam))] + [ModelReaderWriterBuildable(typeof(InternalDotNetRealtimeLogProbProperties))] + [ModelReaderWriterBuildable(typeof(InternalDotnetResponseWebSearchApproximateLocation))] + [ModelReaderWriterBuildable(typeof(InternalEval))] + [ModelReaderWriterBuildable(typeof(InternalEvalApiError))] + [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParamsInputMessages1))] + [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParamsInputMessages2))] + [ModelReaderWriterBuildable(typeof(InternalEvalCompletionsRunDataSourceParamsSamplingParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalCustomDataSourceConfigParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalCustomDataSourceConfigResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalDataSourceConfigParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalDataSourceConfigResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderLabelModelParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderLabelModelParamsInput))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderLabelModelResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderPythonParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderPythonResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderScoreModelParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderScoreModelResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderStringCheckParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderTextSimilarityParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalGraderTextSimilarityResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalItem))] + [ModelReaderWriterBuildable(typeof(InternalEvalItemContent))] + [ModelReaderWriterBuildable(typeof(InternalEvalItemContentInputText))] + [ModelReaderWriterBuildable(typeof(InternalEvalItemContentOutputText))] + [ModelReaderWriterBuildable(typeof(InternalEvalJsonlRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalList))] + [ModelReaderWriterBuildable(typeof(InternalEvalLogsDataSourceConfigParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalLogsDataSourceConfigResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsInputMessages1))] + [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsInputMessages2))] + [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsInputMessagesTemplate1))] + [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsSamplingParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalResponsesRunDataSourceParamsSamplingParamsText))] + [ModelReaderWriterBuildable(typeof(InternalEvalRun))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunDataContentSource))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunDataSourceResource))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunFileContentDataContentSource))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunFileContentDataContentSourceContent))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunFileIdDataContentSource))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunList))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItem))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemList))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSample))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSampleInput))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSampleOutput))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunOutputItemSampleUsage))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunPerModelUsage))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunPerTestingCriteriaResult))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunResponsesDataContentSource))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunResultCounts))] + [ModelReaderWriterBuildable(typeof(InternalEvalRunStoredCompletionsDataContentSource))] + [ModelReaderWriterBuildable(typeof(InternalEvalStoredCompletionsDataSourceConfigParams))] + [ModelReaderWriterBuildable(typeof(InternalEvalStoredCompletionsDataSourceConfigResource))] + [ModelReaderWriterBuildable(typeof(InternalFileSearchTool))] + [ModelReaderWriterBuildable(typeof(InternalFileSearchToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalFileUploadOptions))] + [ModelReaderWriterBuildable(typeof(InternalFineTuneReinforcementMethod))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningCheckpointPermission))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningIntegration))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningIntegrationWandb))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningJob))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningJobRequestMethodDpo))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningJobRequestMethodSupervised))] + [ModelReaderWriterBuildable(typeof(InternalFineTuningJobsPageToken))] + [ModelReaderWriterBuildable(typeof(InternalFunctionDefinition))] + [ModelReaderWriterBuildable(typeof(InternalFunctionTool))] + [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalFunctionToolCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalImageGenTool))] + [ModelReaderWriterBuildable(typeof(InternalImageGenToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalImageGenToolCallItemResource))] + [ModelReaderWriterBuildable(typeof(InternalImageGenToolInputImageMask))] + [ModelReaderWriterBuildable(typeof(InternalImplicitUserMessage))] + [ModelReaderWriterBuildable(typeof(InternalItemContentInputAudio))] + [ModelReaderWriterBuildable(typeof(InternalItemContentInputFile))] + [ModelReaderWriterBuildable(typeof(InternalItemContentInputImage))] + [ModelReaderWriterBuildable(typeof(InternalItemContentInputText))] + [ModelReaderWriterBuildable(typeof(InternalItemContentOutputAudio))] + [ModelReaderWriterBuildable(typeof(InternalItemContentOutputText))] + [ModelReaderWriterBuildable(typeof(InternalItemContentRefusal))] + [ModelReaderWriterBuildable(typeof(InternalItemParam))] + [ModelReaderWriterBuildable(typeof(InternalItemReferenceItemParam))] + [ModelReaderWriterBuildable(typeof(InternalListAssistantsResponse))] + [ModelReaderWriterBuildable(typeof(InternalListBatchesResponse))] + [ModelReaderWriterBuildable(typeof(InternalListFineTuningCheckpointPermissionResponse))] + [ModelReaderWriterBuildable(typeof(InternalListFineTuningJobCheckpointsResponse))] + [ModelReaderWriterBuildable(typeof(InternalListFineTuningJobEventsResponse))] + [ModelReaderWriterBuildable(typeof(InternalListMessagesResponse))] + [ModelReaderWriterBuildable(typeof(InternalListPaginatedFineTuningJobsResponse))] + [ModelReaderWriterBuildable(typeof(InternalListRunsResponse))] + [ModelReaderWriterBuildable(typeof(InternalListRunStepsResponse))] + [ModelReaderWriterBuildable(typeof(InternalListVectorStoreFilesResponse))] + [ModelReaderWriterBuildable(typeof(InternalListVectorStoresResponse))] + [ModelReaderWriterBuildable(typeof(InternalLocalShellExecAction))] + [ModelReaderWriterBuildable(typeof(InternalLocalShellTool))] + [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallItemResource))] + [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallOutputItemParam))] + [ModelReaderWriterBuildable(typeof(InternalLocalShellToolCallOutputItemResource))] + [ModelReaderWriterBuildable(typeof(InternalLocation))] + [ModelReaderWriterBuildable(typeof(InternalLogProb))] + [ModelReaderWriterBuildable(typeof(InternalLogProbProperties))] + [ModelReaderWriterBuildable(typeof(InternalMCPApprovalRequestItemParam))] + [ModelReaderWriterBuildable(typeof(InternalMCPApprovalRequestItemResource))] + [ModelReaderWriterBuildable(typeof(InternalMCPApprovalResponseItemParam))] + [ModelReaderWriterBuildable(typeof(InternalMCPApprovalResponseItemResource))] + [ModelReaderWriterBuildable(typeof(InternalMCPCallItemParam))] + [ModelReaderWriterBuildable(typeof(InternalMCPCallItemResource))] + [ModelReaderWriterBuildable(typeof(InternalMCPListToolsItemParam))] + [ModelReaderWriterBuildable(typeof(InternalMCPListToolsItemResource))] + [ModelReaderWriterBuildable(typeof(InternalMCPListToolsTool))] + [ModelReaderWriterBuildable(typeof(InternalMCPTool))] + [ModelReaderWriterBuildable(typeof(InternalMCPToolAllowedTools1))] + [ModelReaderWriterBuildable(typeof(InternalMCPToolRequireApproval1))] + [ModelReaderWriterBuildable(typeof(InternalMCPToolRequireApprovalAlways))] + [ModelReaderWriterBuildable(typeof(InternalMCPToolRequireApprovalNever))] [ModelReaderWriterBuildable(typeof(InternalMessageContentImageFileObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageContentImageUrlObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageContentImageUrlObjectImageUrl))] [ModelReaderWriterBuildable(typeof(InternalMessageContentItemFileObjectImageFile))] - [ModelReaderWriterBuildable(typeof(InternalMessageContentTextObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageContentTextObjectText1))] - [ModelReaderWriterBuildable(typeof(InternalMessageContentTextObjectAnnotation))] - [ModelReaderWriterBuildable(typeof(UnknownMessageContentTextObjectAnnotation))] + [ModelReaderWriterBuildable(typeof(InternalMessageContentRefusalObject))] [ModelReaderWriterBuildable(typeof(InternalMessageContentTextAnnotationsFileCitationObject))] [ModelReaderWriterBuildable(typeof(InternalMessageContentTextAnnotationsFileCitationObjectFileCitation))] [ModelReaderWriterBuildable(typeof(InternalMessageContentTextAnnotationsFilePathObject))] [ModelReaderWriterBuildable(typeof(InternalMessageContentTextAnnotationsFilePathObjectFilePath))] - [ModelReaderWriterBuildable(typeof(InternalMessageContentRefusalObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageContentImageUrlObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageContentImageUrlObjectImageUrl))] - [ModelReaderWriterBuildable(typeof(InternalAssistantToolsFileSearchTypeOnly))] - [ModelReaderWriterBuildable(typeof(ThreadMessage))] - [ModelReaderWriterBuildable(typeof(MessageFailureDetails))] + [ModelReaderWriterBuildable(typeof(InternalMessageContentTextObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageContentTextObjectAnnotation))] + [ModelReaderWriterBuildable(typeof(InternalMessageContentTextObjectText1))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContent))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageFileObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageFileObjectImageFile))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageUrlObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageUrlObjectImageUrl))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentRefusalObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFileCitationObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFilePathObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextObjectText))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaObject))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaObjectDelta))] + [ModelReaderWriterBuildable(typeof(InternalMessageDeltaTextContentAnnotation))] [ModelReaderWriterBuildable(typeof(InternalMessageObjectAttachment))] - [ModelReaderWriterBuildable(typeof(InternalListMessagesResponse))] - [ModelReaderWriterBuildable(typeof(MessageModificationOptions))] - [ModelReaderWriterBuildable(typeof(MessageDeletionResult))] - [ModelReaderWriterBuildable(typeof(ModerationOptions))] - [ModelReaderWriterBuildable(typeof(InternalCreateModerationRequestInput2))] - [ModelReaderWriterBuildable(typeof(InternalCreateModerationRequestInputImageUrl))] - [ModelReaderWriterBuildable(typeof(InternalCreateModerationRequestInput3))] - [ModelReaderWriterBuildable(typeof(ModerationResultCollection))] - [ModelReaderWriterBuildable(typeof(ModerationResult))] + [ModelReaderWriterBuildable(typeof(InternalMetadataPropertyForRequest))] [ModelReaderWriterBuildable(typeof(InternalModerationCategories))] [ModelReaderWriterBuildable(typeof(InternalModerationCategoryScores))] - [ModelReaderWriterBuildable(typeof(InternalCreateModerationResponseResultCategoryAppliedInputTypes))] - [ModelReaderWriterBuildable(typeof(InternalCreateThreadAndRunRequest))] - [ModelReaderWriterBuildable(typeof(ThreadCreationOptions))] - [ModelReaderWriterBuildable(typeof(RunTruncationStrategy))] - [ModelReaderWriterBuildable(typeof(InternalCreateThreadRequestToolResources))] - [ModelReaderWriterBuildable(typeof(InternalCreateThreadRequestToolResourcesCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(InternalCreateThreadAndRunRequestToolResources))] - [ModelReaderWriterBuildable(typeof(InternalCreateThreadAndRunRequestToolResourcesCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(ToolConstraint))] - [ModelReaderWriterBuildable(typeof(InternalAssistantsNamedToolChoiceFunction))] - [ModelReaderWriterBuildable(typeof(ThreadRun))] - [ModelReaderWriterBuildable(typeof(RunError))] - [ModelReaderWriterBuildable(typeof(RunIncompleteDetails))] - [ModelReaderWriterBuildable(typeof(RunTokenUsage))] - [ModelReaderWriterBuildable(typeof(InternalRunRequiredAction))] - [ModelReaderWriterBuildable(typeof(InternalRunObjectRequiredActionSubmitToolOutputs))] - [ModelReaderWriterBuildable(typeof(InternalRequiredFunctionToolCall))] - [ModelReaderWriterBuildable(typeof(InternalRunToolCallObjectFunction))] - [ModelReaderWriterBuildable(typeof(RunCreationOptions))] - [ModelReaderWriterBuildable(typeof(InternalListRunsResponse))] - [ModelReaderWriterBuildable(typeof(RunModificationOptions))] - [ModelReaderWriterBuildable(typeof(InternalSubmitToolOutputsRunRequest))] - [ModelReaderWriterBuildable(typeof(ToolOutput))] - [ModelReaderWriterBuildable(typeof(InternalListRunStepsResponse))] - [ModelReaderWriterBuildable(typeof(RunStep))] - [ModelReaderWriterBuildable(typeof(RunStepError))] - [ModelReaderWriterBuildable(typeof(RunStepTokenUsage))] - [ModelReaderWriterBuildable(typeof(RunStepDetails))] - [ModelReaderWriterBuildable(typeof(UnknownRunStepObjectStepDetails))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsMessageCreationObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsMessageCreationObjectMessageCreation))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsObject))] - [ModelReaderWriterBuildable(typeof(RunStepToolCall))] - [ModelReaderWriterBuildable(typeof(UnknownRunStepDetailsToolCallsObjectToolCallsObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(RunStepCodeInterpreterOutput))] - [ModelReaderWriterBuildable(typeof(UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepCodeInterpreterLogOutput))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeOutputImageObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeOutputImageObjectImage))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFileSearchObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFileSearchObjectFileSearch))] - [ModelReaderWriterBuildable(typeof(RunStepFileSearchResult))] - [ModelReaderWriterBuildable(typeof(RunStepFileSearchResultContent))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFunctionObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFunctionObjectFunction))] - [ModelReaderWriterBuildable(typeof(AssistantThread))] - [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResources))] - [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResourcesCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResourcesFileSearch))] - [ModelReaderWriterBuildable(typeof(ThreadModificationOptions))] + [ModelReaderWriterBuildable(typeof(InternalModifyAssistantRequestToolResources))] + [ModelReaderWriterBuildable(typeof(InternalModifyAssistantRequestToolResourcesCodeInterpreter))] [ModelReaderWriterBuildable(typeof(InternalModifyThreadRequestToolResources))] [ModelReaderWriterBuildable(typeof(InternalModifyThreadRequestToolResourcesCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(ThreadDeletionResult))] - [ModelReaderWriterBuildable(typeof(InternalListVectorStoresResponse))] - [ModelReaderWriterBuildable(typeof(VectorStore))] - [ModelReaderWriterBuildable(typeof(VectorStoreFileCounts))] - [ModelReaderWriterBuildable(typeof(VectorStoreExpirationPolicy))] - [ModelReaderWriterBuildable(typeof(VectorStoreCreationOptions))] - [ModelReaderWriterBuildable(typeof(VectorStoreModificationOptions))] - [ModelReaderWriterBuildable(typeof(VectorStoreDeletionResult))] - [ModelReaderWriterBuildable(typeof(InternalCreateVectorStoreFileBatchRequest))] - [ModelReaderWriterBuildable(typeof(VectorStoreBatchFileJob))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreFileBatchObjectFileCounts))] - [ModelReaderWriterBuildable(typeof(InternalListVectorStoreFilesResponse))] - [ModelReaderWriterBuildable(typeof(VectorStoreFileAssociation))] - [ModelReaderWriterBuildable(typeof(VectorStoreFileAssociationError))] - [ModelReaderWriterBuildable(typeof(InternalChunkingStrategyResponseParam))] - [ModelReaderWriterBuildable(typeof(InternalUnknownChunkingStrategyResponseParam))] [ModelReaderWriterBuildable(typeof(InternalOtherChunkingStrategyResponseParam))] - [ModelReaderWriterBuildable(typeof(InternalStaticChunkingStrategyResponseParam))] - [ModelReaderWriterBuildable(typeof(InternalCreateVectorStoreFileRequest))] - [ModelReaderWriterBuildable(typeof(FileFromStoreRemovalResult))] - [ModelReaderWriterBuildable(typeof(InternalUpdateVectorStoreFileAttributesRequest))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreFileContentResponse))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreFileContentResponseDatum))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchRequestRankingOptions))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchRequest))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchResultsPage))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchResultItem))] - [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchResultContentObject))] - [ModelReaderWriterBuildable(typeof(InternalCreateCompletionRequest))] - [ModelReaderWriterBuildable(typeof(InternalCreateCompletionResponse))] - [ModelReaderWriterBuildable(typeof(InternalCreateCompletionResponseChoice))] - [ModelReaderWriterBuildable(typeof(InternalCreateCompletionResponseChoiceLogprobs))] - [ModelReaderWriterBuildable(typeof(OpenAIModelCollection))] - [ModelReaderWriterBuildable(typeof(OpenAIModel))] - [ModelReaderWriterBuildable(typeof(ModelDeletionResult))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEvent))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeClientEvent))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventSessionUpdate))] - [ModelReaderWriterBuildable(typeof(ConversationSessionOptions))] - [ModelReaderWriterBuildable(typeof(ConversationTool))] - [ModelReaderWriterBuildable(typeof(InputTranscriptionOptions))] - [ModelReaderWriterBuildable(typeof(TurnDetectionOptions))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeTurnDetection))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeServerVadTurnDetection))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeSemanticVadTurnDetection))] - [ModelReaderWriterBuildable(typeof(InputNoiseReductionOptions))] - [ModelReaderWriterBuildable(typeof(InternalUnknownRealtimeAudioNoiseReduction))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeAudioNearFieldNoiseReduction))] [ModelReaderWriterBuildable(typeof(InternalRealtimeAudioFarFieldNoiseReduction))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeTool))] - [ModelReaderWriterBuildable(typeof(ConversationFunctionTool))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeToolChoiceObject))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeToolChoiceObject))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeToolChoiceFunctionObject))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeToolChoiceFunctionObjectFunction))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeAudioNearFieldNoiseReduction))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEvent))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemCreate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemDelete))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemRetrieve))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemTruncate))] [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventInputAudioBufferAppend))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventInputAudioBufferCommit))] [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventInputAudioBufferClear))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventInputAudioBufferCommit))] [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventOutputAudioBufferClear))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemCreate))] - [ModelReaderWriterBuildable(typeof(RealtimeItem))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeRequestItem))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventResponseCancel))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventResponseCreate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventSessionUpdate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventTranscriptionSessionUpdate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestAssistantMessageItem))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestAudioContentPart))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestFunctionCallItem))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestFunctionCallOutputItem))] [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestMessageItem))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeRequestMessageItem))] [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestSystemMessageItem))] [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestTextContentPart))] - [ModelReaderWriterBuildable(typeof(ConversationContentPart))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeContentPart))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestAudioContentPart))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseTextContentPart))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseAudioContentPart))] [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestUserMessageItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestAssistantMessageItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestFunctionCallItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeRequestFunctionCallOutputItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemTruncate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemDelete))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventResponseCreate))] - [ModelReaderWriterBuildable(typeof(ConversationResponseOptions))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventResponseCancel))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventConversationItemRetrieve))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeClientEventTranscriptionSessionUpdate))] - [ModelReaderWriterBuildable(typeof(TranscriptionSessionOptions))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestClientSecret))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestTurnDetection))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1))] - [ModelReaderWriterBuildable(typeof(RealtimeUpdate))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeServerEvent))] - [ModelReaderWriterBuildable(typeof(RealtimeErrorUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventErrorError))] - [ModelReaderWriterBuildable(typeof(ConversationSessionStartedUpdate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponse))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseAudioContentPart))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseFunctionCallItem))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseFunctionCallOutputItem))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseItem))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseMessageItem))] [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseSession))] - [ModelReaderWriterBuildable(typeof(ConversationSessionConfiguredUpdate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseStatusDetailsError))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseTextContentPart))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeSemanticVadTurnDetection))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventConversationCreated))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventConversationCreatedConversation))] - [ModelReaderWriterBuildable(typeof(InputAudioCommittedUpdate))] - [ModelReaderWriterBuildable(typeof(InputAudioClearedUpdate))] - [ModelReaderWriterBuildable(typeof(InputAudioSpeechStartedUpdate))] - [ModelReaderWriterBuildable(typeof(InputAudioSpeechFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventErrorError))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventOutputAudioBufferCleared))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventOutputAudioBufferStarted))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventOutputAudioBufferStopped))] - [ModelReaderWriterBuildable(typeof(ItemCreatedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseItem))] - [ModelReaderWriterBuildable(typeof(UnknownRealtimeResponseItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseMessageItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseFunctionCallItem))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseFunctionCallOutputItem))] - [ModelReaderWriterBuildable(typeof(InputAudioTranscriptionFinishedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalLogProbProperties))] - [ModelReaderWriterBuildable(typeof(InputAudioTranscriptionFailedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventConversationItemInputAudioTranscriptionFailedError))] - [ModelReaderWriterBuildable(typeof(ItemTruncatedUpdate))] - [ModelReaderWriterBuildable(typeof(ItemDeletedUpdate))] - [ModelReaderWriterBuildable(typeof(ResponseStartedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponse))] - [ModelReaderWriterBuildable(typeof(ConversationStatusDetails))] - [ModelReaderWriterBuildable(typeof(ConversationTokenUsage))] - [ModelReaderWriterBuildable(typeof(ConversationInputTokenUsageDetails))] - [ModelReaderWriterBuildable(typeof(ConversationOutputTokenUsageDetails))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeResponseStatusDetailsError))] - [ModelReaderWriterBuildable(typeof(ResponseFinishedUpdate))] - [ModelReaderWriterBuildable(typeof(OutputStreamingStartedUpdate))] - [ModelReaderWriterBuildable(typeof(OutputStreamingFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseAudioDelta))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseAudioTranscriptDelta))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseContentPartAdded))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseContentPartDone))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseTextDelta))] - [ModelReaderWriterBuildable(typeof(OutputTextFinishedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseAudioTranscriptDelta))] - [ModelReaderWriterBuildable(typeof(OutputAudioTranscriptionFinishedUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseAudioDelta))] - [ModelReaderWriterBuildable(typeof(OutputAudioFinishedUpdate))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseFunctionCallArgumentsDelta))] [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseFunctionCallArgumentsDone))] - [ModelReaderWriterBuildable(typeof(RateLimitsUpdate))] - [ModelReaderWriterBuildable(typeof(ConversationRateLimitDetailsItem))] - [ModelReaderWriterBuildable(typeof(InputAudioTranscriptionDeltaUpdate))] - [ModelReaderWriterBuildable(typeof(ItemRetrievedUpdate))] - [ModelReaderWriterBuildable(typeof(TranscriptionSessionConfiguredUpdate))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponse))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponseClientSecret))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponseTurnDetection))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeServerEventResponseTextDelta))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeServerVadTurnDetection))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequest))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestInputAudioTranscription))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestTurnDetection))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestClientSecret))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestClientSecretExpiresAt))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestInputAudioNoiseReduction1))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestInputAudioTranscription))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestTracing1))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateRequestTurnDetection))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateResponse))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateResponseClientSecret))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateResponseInputAudioTranscription))] - [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateResponseTurnDetection))] [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateResponseTracing1))] - [ModelReaderWriterBuildable(typeof(InternalCreateUploadRequest))] - [ModelReaderWriterBuildable(typeof(InternalUpload))] - [ModelReaderWriterBuildable(typeof(InternalAddUploadPartRequest))] - [ModelReaderWriterBuildable(typeof(InternalUploadPart))] - [ModelReaderWriterBuildable(typeof(InternalCompleteUploadRequest))] - [ModelReaderWriterBuildable(typeof(InternalBatchRequestInput))] - [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutput))] - [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutputResponse))] - [ModelReaderWriterBuildable(typeof(InternalBatchRequestOutputError))] - [ModelReaderWriterBuildable(typeof(ChatFunctionChoice))] - [ModelReaderWriterBuildable(typeof(ChatToolChoice))] - [ModelReaderWriterBuildable(typeof(InternalTodoFineTuneChatRequestInput))] - [ModelReaderWriterBuildable(typeof(InternalFineTuningJobsPageToken))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContent))] - [ModelReaderWriterBuildable(typeof(UnknownMessageDeltaContent))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageFileObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageFileObjectImageFile))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageUrlObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentImageUrlObjectImageUrl))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextObjectText))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaTextContentAnnotation))] - [ModelReaderWriterBuildable(typeof(UnknownMessageDeltaTextContentAnnotation))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFileCitationObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFileCitationObjectFileCitation))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFilePathObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentTextAnnotationsFilePathObjectFilePath))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaContentRefusalObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaObject))] - [ModelReaderWriterBuildable(typeof(InternalMessageDeltaObjectDelta))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeSessionCreateResponseTurnDetection))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeToolChoiceFunctionObject))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeToolChoiceFunctionObjectFunction))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeToolChoiceObject))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestClientSecret))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestInputAudioTranscription))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateRequestTurnDetection))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponse))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponseClientSecret))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponseInputAudioTranscription))] + [ModelReaderWriterBuildable(typeof(InternalRealtimeTranscriptionSessionCreateResponseTurnDetection))] + [ModelReaderWriterBuildable(typeof(InternalReasoningItemParam))] + [ModelReaderWriterBuildable(typeof(InternalRequiredFunctionToolCall))] + [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallCodeDeltaEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallCodeDoneEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallCompletedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallInProgressEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseCodeInterpreterCallInterpretingEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseErrorResponse))] + [ModelReaderWriterBuildable(typeof(InternalResponseFormat))] + [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonObject))] + [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchemaJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalResponseFormatJsonSchemaSchema))] + [ModelReaderWriterBuildable(typeof(InternalResponseFormatText))] + [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallCompletedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallGeneratingEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallInProgressEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseImageGenCallPartialImageEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseItemList))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallArgumentsDeltaEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallArgumentsDoneEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallCompletedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallFailedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPCallInProgressEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPListToolsCompletedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPListToolsFailedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseMCPListToolsInProgressEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningDeltaEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningDoneEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryDeltaEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryDoneEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryPartAddedEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryPartDoneEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryTextDeltaEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponseReasoningSummaryTextDoneEvent))] + [ModelReaderWriterBuildable(typeof(InternalResponsesAssistantMessage))] + [ModelReaderWriterBuildable(typeof(InternalResponsesAssistantMessageItemParam))] + [ModelReaderWriterBuildable(typeof(InternalResponsesDeveloperMessage))] + [ModelReaderWriterBuildable(typeof(InternalResponsesDeveloperMessageItemParam))] + [ModelReaderWriterBuildable(typeof(InternalResponsesMessageItemParam))] + [ModelReaderWriterBuildable(typeof(InternalResponsesSystemMessage))] + [ModelReaderWriterBuildable(typeof(InternalResponsesSystemMessageItemParam))] + [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatJsonObject))] + [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatJsonSchema))] + [ModelReaderWriterBuildable(typeof(InternalResponsesTextFormatText))] + [ModelReaderWriterBuildable(typeof(InternalResponsesUserMessage))] + [ModelReaderWriterBuildable(typeof(InternalResponsesUserMessageItemParam))] + [ModelReaderWriterBuildable(typeof(InternalRunObjectRequiredActionSubmitToolOutputs))] + [ModelReaderWriterBuildable(typeof(InternalRunRequiredAction))] + [ModelReaderWriterBuildable(typeof(InternalRunStepCodeInterpreterLogOutput))] [ModelReaderWriterBuildable(typeof(InternalRunStepDelta))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaObjectDelta))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetails))] - [ModelReaderWriterBuildable(typeof(UnknownRunStepDeltaStepDetails))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsMessageCreationObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsMessageCreationObjectMessageCreation))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject))] - [ModelReaderWriterBuildable(typeof(UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsCodeObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter))] - [ModelReaderWriterBuildable(typeof(RunStepUpdateCodeInterpreterOutput))] - [ModelReaderWriterBuildable(typeof(UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject))] - [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsCodeOutputLogsObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsFileSearchObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsFunctionObject))] [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsFunctionObjectFunction))] - [ModelReaderWriterBuildable(typeof(InternalCreateThreadRequestToolResourcesFileSearchBase))] - [ModelReaderWriterBuildable(typeof(AudioTranscription))] - [ModelReaderWriterBuildable(typeof(ChatCompletionCollectionOptions))] - [ModelReaderWriterBuildable(typeof(ChatCompletionMessageCollectionOptions))] - [ModelReaderWriterBuildable(typeof(ContainerCollectionOptions))] - [ModelReaderWriterBuildable(typeof(ContainerFileCollectionOptions))] - [ModelReaderWriterBuildable(typeof(ChatResponseFormat))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDeltaStepDetailsToolCallsObjectToolCallsObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsMessageCreationObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsMessageCreationObjectMessageCreation))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeObjectCodeInterpreter))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeOutputImageObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsCodeOutputImageObjectImage))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFileSearchObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFileSearchObjectFileSearch))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFileSearchRankingOptionsObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFunctionObject))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsFunctionObjectFunction))] + [ModelReaderWriterBuildable(typeof(InternalRunStepDetailsToolCallsObject))] + [ModelReaderWriterBuildable(typeof(InternalRunToolCallObjectFunction))] + [ModelReaderWriterBuildable(typeof(InternalStaticChunkingStrategy))] + [ModelReaderWriterBuildable(typeof(InternalStaticChunkingStrategyRequestParam))] + [ModelReaderWriterBuildable(typeof(InternalStaticChunkingStrategyResponseParam))] + [ModelReaderWriterBuildable(typeof(InternalSubmitToolOutputsRunRequest))] + [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResources))] + [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResourcesCodeInterpreter))] + [ModelReaderWriterBuildable(typeof(InternalThreadObjectToolResourcesFileSearch))] + [ModelReaderWriterBuildable(typeof(InternalTodoFineTuneChatRequestInput))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObject))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectCodeInterpreter))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectComputer))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectFileSearch))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectFunction))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectImageGen))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectMCP))] + [ModelReaderWriterBuildable(typeof(InternalToolChoiceObjectWebSearch))] + [ModelReaderWriterBuildable(typeof(InternalToolResourcesFileSearchIdsOnly))] + [ModelReaderWriterBuildable(typeof(InternalTopLogProb))] + [ModelReaderWriterBuildable(typeof(InternalTranscriptTextDeltaEventLogprob))] + [ModelReaderWriterBuildable(typeof(InternalTranscriptTextDoneEventLogprob))] + [ModelReaderWriterBuildable(typeof(InternalUnknownAnnotation))] + [ModelReaderWriterBuildable(typeof(InternalUnknownChatCompletionRequestMessageContentPart))] + [ModelReaderWriterBuildable(typeof(InternalUnknownChatMessage))] + [ModelReaderWriterBuildable(typeof(InternalUnknownChatOutputPrediction))] [ModelReaderWriterBuildable(typeof(InternalUnknownChatResponseFormat))] - [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatText))] - [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatJsonObject))] - [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatJsonSchema))] - [ModelReaderWriterBuildable(typeof(InternalDotNetChatResponseFormatJsonSchemaJsonSchema))] - [ModelReaderWriterBuildable(typeof(AssistantResponseFormat))] + [ModelReaderWriterBuildable(typeof(InternalUnknownChunkingStrategyRequestParamProxy))] + [ModelReaderWriterBuildable(typeof(InternalUnknownChunkingStrategyResponseParam))] + [ModelReaderWriterBuildable(typeof(InternalUnknownComparisonFilter))] + [ModelReaderWriterBuildable(typeof(InternalUnknownCompoundFilter))] + [ModelReaderWriterBuildable(typeof(InternalUnknownComputerAction))] + [ModelReaderWriterBuildable(typeof(InternalUnknownComputerToolCallOutputItemOutput))] + [ModelReaderWriterBuildable(typeof(InternalUnknownCreateTranscriptionResponseStreamEvent))] [ModelReaderWriterBuildable(typeof(InternalUnknownDotNetAssistantResponseFormat))] - [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatText))] - [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatJsonObject))] - [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatJsonSchema))] - [ModelReaderWriterBuildable(typeof(InternalDotNetAssistantResponseFormatJsonSchemaJsonSchema))] - [ModelReaderWriterBuildable(typeof(AudioTokenLogProbabilityDetails))] - [ModelReaderWriterBuildable(typeof(InternalDotNetRealtimeLogProbProperties))] - [ModelReaderWriterBuildable(typeof(WebSearchUserLocation))] + [ModelReaderWriterBuildable(typeof(InternalUnknownDotNetCombinedChunkingStrategyParam))] [ModelReaderWriterBuildable(typeof(InternalUnknownDotnetResponseWebSearchLocation))] - [ModelReaderWriterBuildable(typeof(InternalDotnetResponseWebSearchApproximateLocation))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalDataSourceConfigParams))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalDataSourceConfigResource))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalGraderParams))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalGraderResource))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalItemContent))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataContentSource))] + [ModelReaderWriterBuildable(typeof(InternalUnknownEvalRunDataSourceParams))] + [ModelReaderWriterBuildable(typeof(InternalUnknownItemContent))] + [ModelReaderWriterBuildable(typeof(InternalUnknownItemParam))] + [ModelReaderWriterBuildable(typeof(InternalUnknownItemResource))] + [ModelReaderWriterBuildable(typeof(InternalUnknownLocation))] + [ModelReaderWriterBuildable(typeof(InternalUnknownMessageContent))] + [ModelReaderWriterBuildable(typeof(InternalUnknownRealtimeAudioNoiseReduction))] + [ModelReaderWriterBuildable(typeof(InternalUnknownReasoningItemSummaryPart))] + [ModelReaderWriterBuildable(typeof(InternalUnknownResponseFormat))] + [ModelReaderWriterBuildable(typeof(InternalUnknownResponsesMessageItemResource))] + [ModelReaderWriterBuildable(typeof(InternalUnknownResponsesMessageItemResourceItemParam))] + [ModelReaderWriterBuildable(typeof(InternalUnknownResponseTextFormatConfiguration))] + [ModelReaderWriterBuildable(typeof(InternalUnknownTool))] + [ModelReaderWriterBuildable(typeof(InternalUnknownToolChoiceObject))] + [ModelReaderWriterBuildable(typeof(InternalUpdateChatCompletionRequest))] + [ModelReaderWriterBuildable(typeof(InternalUpdateEvalRequest))] + [ModelReaderWriterBuildable(typeof(InternalUpdateVectorStoreFileAttributesRequest))] + [ModelReaderWriterBuildable(typeof(InternalUpload))] + [ModelReaderWriterBuildable(typeof(InternalUploadPart))] + [ModelReaderWriterBuildable(typeof(InternalVadConfig))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreFileBatchObjectFileCounts))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreFileContentResponse))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreFileContentResponseDatum))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchRequest))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchRequestRankingOptions))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchResultContentObject))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchResultItem))] + [ModelReaderWriterBuildable(typeof(InternalVectorStoreSearchResultsPage))] + [ModelReaderWriterBuildable(typeof(InternalWebSearchLocation))] + [ModelReaderWriterBuildable(typeof(InternalWebSearchTool))] + [ModelReaderWriterBuildable(typeof(InternalWebSearchToolCallItemParam))] + [ModelReaderWriterBuildable(typeof(ItemCreatedUpdate))] + [ModelReaderWriterBuildable(typeof(ItemDeletedUpdate))] + [ModelReaderWriterBuildable(typeof(ItemRetrievedUpdate))] + [ModelReaderWriterBuildable(typeof(ItemTruncatedUpdate))] + [ModelReaderWriterBuildable(typeof(MessageContent))] + [ModelReaderWriterBuildable(typeof(MessageCreationAttachment))] + [ModelReaderWriterBuildable(typeof(MessageCreationOptions))] + [ModelReaderWriterBuildable(typeof(MessageDeletionResult))] + [ModelReaderWriterBuildable(typeof(MessageFailureDetails))] + [ModelReaderWriterBuildable(typeof(MessageModificationOptions))] + [ModelReaderWriterBuildable(typeof(MessageResponseItem))] + [ModelReaderWriterBuildable(typeof(ModelDeletionResult))] + [ModelReaderWriterBuildable(typeof(ModerationOptions))] + [ModelReaderWriterBuildable(typeof(ModerationResult))] + [ModelReaderWriterBuildable(typeof(ModerationResultCollection))] + [ModelReaderWriterBuildable(typeof(OpenAIEmbedding))] + [ModelReaderWriterBuildable(typeof(OpenAIEmbeddingCollection))] + [ModelReaderWriterBuildable(typeof(OpenAIError))] + [ModelReaderWriterBuildable(typeof(OpenAIErrorResponse))] + [ModelReaderWriterBuildable(typeof(OpenAIFile))] + [ModelReaderWriterBuildable(typeof(OpenAIFileCollection))] + [ModelReaderWriterBuildable(typeof(OpenAIModel))] + [ModelReaderWriterBuildable(typeof(OpenAIModelCollection))] + [ModelReaderWriterBuildable(typeof(OpenAIResponse))] + [ModelReaderWriterBuildable(typeof(OutputAudioFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(OutputAudioTranscriptionFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(OutputStreamingFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(OutputStreamingStartedUpdate))] + [ModelReaderWriterBuildable(typeof(OutputTextFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(RateLimitsUpdate))] + [ModelReaderWriterBuildable(typeof(RealtimeErrorUpdate))] + [ModelReaderWriterBuildable(typeof(RealtimeItem))] + [ModelReaderWriterBuildable(typeof(RealtimeUpdate))] + [ModelReaderWriterBuildable(typeof(ReasoningResponseItem))] + [ModelReaderWriterBuildable(typeof(ReasoningSummaryPart))] + [ModelReaderWriterBuildable(typeof(ReasoningSummaryTextPart))] + [ModelReaderWriterBuildable(typeof(ReferenceResponseItem))] + [ModelReaderWriterBuildable(typeof(ResponseContentPart))] + [ModelReaderWriterBuildable(typeof(ResponseCreationOptions))] + [ModelReaderWriterBuildable(typeof(ResponseDeletionResult))] + [ModelReaderWriterBuildable(typeof(ResponseError))] + [ModelReaderWriterBuildable(typeof(ResponseFinishedUpdate))] + [ModelReaderWriterBuildable(typeof(ResponseIncompleteStatusDetails))] + [ModelReaderWriterBuildable(typeof(ResponseInputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ResponseItem))] [ModelReaderWriterBuildable(typeof(ResponseItemCollectionOptions))] - [ModelReaderWriterBuildable(typeof(FileChunkingStrategy))] - [ModelReaderWriterBuildable(typeof(InternalUnknownDotNetCombinedChunkingStrategyParam))] - [ModelReaderWriterBuildable(typeof(InternalDotNetCombinedAutoChunkingStrategyParam))] - [ModelReaderWriterBuildable(typeof(StaticFileChunkingStrategy))] - [ModelReaderWriterBuildable(typeof(InternalDotNetCombinedOtherChunkingStrategyParam))] + [ModelReaderWriterBuildable(typeof(ResponseMessageAnnotation))] + [ModelReaderWriterBuildable(typeof(ResponseOutputTokenUsageDetails))] + [ModelReaderWriterBuildable(typeof(ResponseReasoningOptions))] + [ModelReaderWriterBuildable(typeof(ResponseStartedUpdate))] + [ModelReaderWriterBuildable(typeof(ResponseTextFormat))] + [ModelReaderWriterBuildable(typeof(ResponseTextOptions))] + [ModelReaderWriterBuildable(typeof(ResponseTokenUsage))] + [ModelReaderWriterBuildable(typeof(ResponseTool))] + [ModelReaderWriterBuildable(typeof(RunCreationOptions))] + [ModelReaderWriterBuildable(typeof(RunError))] [ModelReaderWriterBuildable(typeof(RunGraderRequest))] [ModelReaderWriterBuildable(typeof(RunGraderResponse))] [ModelReaderWriterBuildable(typeof(RunGraderResponseMetadata))] [ModelReaderWriterBuildable(typeof(RunGraderResponseMetadataErrors))] + [ModelReaderWriterBuildable(typeof(RunIncompleteDetails))] + [ModelReaderWriterBuildable(typeof(RunModificationOptions))] + [ModelReaderWriterBuildable(typeof(RunStep))] + [ModelReaderWriterBuildable(typeof(RunStepCodeInterpreterOutput))] + [ModelReaderWriterBuildable(typeof(RunStepDetails))] + [ModelReaderWriterBuildable(typeof(RunStepError))] + [ModelReaderWriterBuildable(typeof(RunStepFileSearchResult))] + [ModelReaderWriterBuildable(typeof(RunStepFileSearchResultContent))] + [ModelReaderWriterBuildable(typeof(RunStepTokenUsage))] + [ModelReaderWriterBuildable(typeof(RunStepToolCall))] + [ModelReaderWriterBuildable(typeof(RunStepUpdateCodeInterpreterOutput))] + [ModelReaderWriterBuildable(typeof(RunTokenUsage))] + [ModelReaderWriterBuildable(typeof(RunTruncationStrategy))] + [ModelReaderWriterBuildable(typeof(SpeechGenerationOptions))] + [ModelReaderWriterBuildable(typeof(StaticFileChunkingStrategy))] + [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionTextDeltaUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionTextDoneUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingAudioTranscriptionUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingChatCompletionUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingChatFunctionCallUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingChatOutputAudioUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingChatToolCallUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseCompletedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseContentPartAddedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseContentPartDoneUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseCreatedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseErrorUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseFailedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseFileSearchCallCompletedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseFileSearchCallInProgressUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseFileSearchCallSearchingUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseFunctionCallArgumentsDeltaUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseFunctionCallArgumentsDoneUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseIncompleteUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseInProgressUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseOutputItemAddedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseOutputItemDoneUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseOutputTextDeltaUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseOutputTextDoneUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseQueuedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseRefusalDeltaUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseRefusalDoneUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseTextAnnotationAddedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseWebSearchCallCompletedUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseWebSearchCallInProgressUpdate))] + [ModelReaderWriterBuildable(typeof(StreamingResponseWebSearchCallSearchingUpdate))] + [ModelReaderWriterBuildable(typeof(SystemChatMessage))] + [ModelReaderWriterBuildable(typeof(ThreadCreationOptions))] + [ModelReaderWriterBuildable(typeof(ThreadDeletionResult))] + [ModelReaderWriterBuildable(typeof(ThreadMessage))] + [ModelReaderWriterBuildable(typeof(ThreadModificationOptions))] + [ModelReaderWriterBuildable(typeof(ThreadRun))] + [ModelReaderWriterBuildable(typeof(ToolChatMessage))] + [ModelReaderWriterBuildable(typeof(ToolConstraint))] + [ModelReaderWriterBuildable(typeof(ToolDefinition))] + [ModelReaderWriterBuildable(typeof(ToolOutput))] + [ModelReaderWriterBuildable(typeof(ToolResources))] + [ModelReaderWriterBuildable(typeof(TranscribedSegment))] + [ModelReaderWriterBuildable(typeof(TranscribedWord))] + [ModelReaderWriterBuildable(typeof(TranscriptionSessionConfiguredUpdate))] + [ModelReaderWriterBuildable(typeof(TranscriptionSessionOptions))] + [ModelReaderWriterBuildable(typeof(TurnDetectionOptions))] + [ModelReaderWriterBuildable(typeof(UnknownAssistantToolDefinition))] + [ModelReaderWriterBuildable(typeof(UnknownCreateFineTuningJobRequestIntegration))] + [ModelReaderWriterBuildable(typeof(UnknownFineTuningIntegration))] + [ModelReaderWriterBuildable(typeof(UnknownGrader))] + [ModelReaderWriterBuildable(typeof(UnknownMessageContentTextObjectAnnotation))] + [ModelReaderWriterBuildable(typeof(UnknownMessageDeltaContent))] + [ModelReaderWriterBuildable(typeof(UnknownMessageDeltaTextContentAnnotation))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeClientEvent))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeContentPart))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeRequestItem))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeRequestMessageItem))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeResponseItem))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeServerEvent))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeTool))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeToolChoiceObject))] + [ModelReaderWriterBuildable(typeof(UnknownRealtimeTurnDetection))] + [ModelReaderWriterBuildable(typeof(UnknownResponseStreamEvent))] + [ModelReaderWriterBuildable(typeof(UnknownRunStepDeltaStepDetails))] + [ModelReaderWriterBuildable(typeof(UnknownRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject))] + [ModelReaderWriterBuildable(typeof(UnknownRunStepDeltaStepDetailsToolCallsObjectToolCallsObject))] + [ModelReaderWriterBuildable(typeof(UnknownRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject))] + [ModelReaderWriterBuildable(typeof(UnknownRunStepDetailsToolCallsObjectToolCallsObject))] + [ModelReaderWriterBuildable(typeof(UnknownRunStepObjectStepDetails))] + [ModelReaderWriterBuildable(typeof(UserChatMessage))] [ModelReaderWriterBuildable(typeof(ValidateGraderRequest))] [ModelReaderWriterBuildable(typeof(ValidateGraderResponse))] + [ModelReaderWriterBuildable(typeof(VectorStore))] + [ModelReaderWriterBuildable(typeof(VectorStoreBatchFileJob))] + [ModelReaderWriterBuildable(typeof(VectorStoreCreationHelper))] + [ModelReaderWriterBuildable(typeof(VectorStoreCreationOptions))] + [ModelReaderWriterBuildable(typeof(VectorStoreDeletionResult))] + [ModelReaderWriterBuildable(typeof(VectorStoreExpirationPolicy))] + [ModelReaderWriterBuildable(typeof(VectorStoreFileAssociation))] + [ModelReaderWriterBuildable(typeof(VectorStoreFileAssociationError))] + [ModelReaderWriterBuildable(typeof(VectorStoreFileCounts))] + [ModelReaderWriterBuildable(typeof(VectorStoreModificationOptions))] + [ModelReaderWriterBuildable(typeof(WebSearchCallResponseItem))] + [ModelReaderWriterBuildable(typeof(WebSearchUserLocation))] + [ModelReaderWriterBuildable(typeof(WeightsAndBiasesIntegration))] public partial class OpenAIContext : ModelReaderWriterContext { } diff --git a/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs index 8ba480d8b..126fb02ce 100644 --- a/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.Serialization.cs @@ -26,11 +26,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ConversationInputTokenUsageDetails)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("audio_tokens") != true) - { - writer.WritePropertyName("audio_tokens"u8); - writer.WriteNumberValue(AudioTokenCount); - } if (_additionalBinaryDataProperties?.ContainsKey("cached_tokens") != true) { writer.WritePropertyName("cached_tokens"u8); @@ -41,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("text_tokens"u8); writer.WriteNumberValue(TextTokenCount); } + if (_additionalBinaryDataProperties?.ContainsKey("audio_tokens") != true) + { + writer.WritePropertyName("audio_tokens"u8); + writer.WriteNumberValue(AudioTokenCount); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -82,43 +82,43 @@ internal static ConversationInputTokenUsageDetails DeserializeConversationInputT { return null; } - int audioTokenCount = default; int cachedTokenCount = default; int textTokenCount = default; + int audioTokenCount = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("audio_tokens"u8)) + if (prop.NameEquals("cached_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - audioTokenCount = prop.Value.GetInt32(); + cachedTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("cached_tokens"u8)) + if (prop.NameEquals("text_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - cachedTokenCount = prop.Value.GetInt32(); + textTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("text_tokens"u8)) + if (prop.NameEquals("audio_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - textTokenCount = prop.Value.GetInt32(); + audioTokenCount = prop.Value.GetInt32(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ConversationInputTokenUsageDetails(audioTokenCount, cachedTokenCount, textTokenCount, additionalBinaryDataProperties); + return new ConversationInputTokenUsageDetails(cachedTokenCount, textTokenCount, audioTokenCount, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs index 12f1ad939..e0d018897 100644 --- a/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs +++ b/src/Generated/Models/Realtime/ConversationInputTokenUsageDetails.cs @@ -17,11 +17,11 @@ internal ConversationInputTokenUsageDetails() { } - internal ConversationInputTokenUsageDetails(int audioTokenCount, int cachedTokenCount, int textTokenCount, IDictionary additionalBinaryDataProperties) + internal ConversationInputTokenUsageDetails(int cachedTokenCount, int textTokenCount, int audioTokenCount, IDictionary additionalBinaryDataProperties) { - AudioTokenCount = audioTokenCount; CachedTokenCount = cachedTokenCount; TextTokenCount = textTokenCount; + AudioTokenCount = audioTokenCount; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs b/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs index a8516f6d5..48ceab643 100644 --- a/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationResponseOptions.Serialization.cs @@ -51,6 +51,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } + if (Optional.IsDefined(MaxOutputTokens) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) + { + writer.WritePropertyName("max_output_tokens"u8); + writer.WriteObjectValue(MaxOutputTokens, options); + } + if (Optional.IsDefined(ConversationSelection) && _additionalBinaryDataProperties?.ContainsKey("conversation") != true) + { + writer.WritePropertyName("conversation"u8); + writer.WriteStringValue(ConversationSelection.Value.ToString()); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -67,16 +77,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ConversationSelection) && _additionalBinaryDataProperties?.ContainsKey("conversation") != true) - { - writer.WritePropertyName("conversation"u8); - writer.WriteStringValue(ConversationSelection.Value.ToString()); - } - if (Optional.IsDefined(MaxOutputTokens) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) - { - writer.WritePropertyName("max_output_tokens"u8); - writer.WriteObjectValue(MaxOutputTokens, options); - } if (Optional.IsCollectionDefined(OverrideItems) && _additionalBinaryDataProperties?.ContainsKey("input") != true) { writer.WritePropertyName("input"u8); @@ -159,9 +159,9 @@ internal static ConversationResponseOptions DeserializeConversationResponseOptio RealtimeAudioFormat? outputAudioFormat = default; IList tools = default; float? temperature = default; - IDictionary metadata = default; - ResponseConversationSelection? conversationSelection = default; ConversationMaxTokensChoice maxOutputTokens = default; + ResponseConversationSelection? conversationSelection = default; + IDictionary metadata = default; IList overrideItems = default; ConversationVoice? voice = default; IList internalModalities = default; @@ -206,25 +206,13 @@ internal static ConversationResponseOptions DeserializeConversationResponseOptio temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("metadata"u8)) + if (prop.NameEquals("max_output_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) - { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } - } - metadata = dictionary; + maxOutputTokens = ConversationMaxTokensChoice.DeserializeConversationMaxTokensChoice(prop.Value, options); continue; } if (prop.NameEquals("conversation"u8)) @@ -236,13 +224,25 @@ internal static ConversationResponseOptions DeserializeConversationResponseOptio conversationSelection = new ResponseConversationSelection(prop.Value.GetString()); continue; } - if (prop.NameEquals("max_output_tokens"u8)) + if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - maxOutputTokens = ConversationMaxTokensChoice.DeserializeConversationMaxTokensChoice(prop.Value, options); + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) + { + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } + } + metadata = dictionary; continue; } if (prop.NameEquals("input"u8)) @@ -299,9 +299,9 @@ internal static ConversationResponseOptions DeserializeConversationResponseOptio outputAudioFormat, tools ?? new ChangeTrackingList(), temperature, - metadata ?? new ChangeTrackingDictionary(), - conversationSelection, maxOutputTokens, + conversationSelection, + metadata ?? new ChangeTrackingDictionary(), overrideItems ?? new ChangeTrackingList(), voice, internalModalities, diff --git a/src/Generated/Models/Realtime/ConversationResponseOptions.cs b/src/Generated/Models/Realtime/ConversationResponseOptions.cs index 89bf56d3c..7f581cb06 100644 --- a/src/Generated/Models/Realtime/ConversationResponseOptions.cs +++ b/src/Generated/Models/Realtime/ConversationResponseOptions.cs @@ -18,16 +18,16 @@ public ConversationResponseOptions() : this(null, default, null, default, null, { } - internal ConversationResponseOptions(string instructions, RealtimeAudioFormat? outputAudioFormat, IList tools, float? temperature, IDictionary metadata, ResponseConversationSelection? conversationSelection, ConversationMaxTokensChoice maxOutputTokens, IList overrideItems, ConversationVoice? voice, IList internalModalities, BinaryData internalToolChoice, IDictionary additionalBinaryDataProperties) + internal ConversationResponseOptions(string instructions, RealtimeAudioFormat? outputAudioFormat, IList tools, float? temperature, ConversationMaxTokensChoice maxOutputTokens, ResponseConversationSelection? conversationSelection, IDictionary metadata, IList overrideItems, ConversationVoice? voice, IList internalModalities, BinaryData internalToolChoice, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Instructions = instructions; OutputAudioFormat = outputAudioFormat; Tools = tools ?? new ChangeTrackingList(); Temperature = temperature; - Metadata = metadata ?? new ChangeTrackingDictionary(); - ConversationSelection = conversationSelection; MaxOutputTokens = maxOutputTokens; + ConversationSelection = conversationSelection; + Metadata = metadata ?? new ChangeTrackingDictionary(); OverrideItems = overrideItems ?? new ChangeTrackingList(); Voice = voice; _internalModalities = internalModalities ?? new ChangeTrackingList(); diff --git a/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs b/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs index 166776635..2dea60b28 100644 --- a/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationSessionOptions.Serialization.cs @@ -31,6 +31,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("instructions"u8); writer.WriteStringValue(Instructions); } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model.Value.ToString()); + } + if (Optional.IsDefined(Voice) && _additionalBinaryDataProperties?.ContainsKey("voice") != true) + { + writer.WritePropertyName("voice"u8); + writer.WriteStringValue(Voice.Value.ToString()); + } if (Optional.IsDefined(InputAudioFormat) && _additionalBinaryDataProperties?.ContainsKey("input_audio_format") != true) { writer.WritePropertyName("input_audio_format"u8); @@ -41,6 +51,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("output_audio_format"u8); writer.WriteStringValue(OutputAudioFormat.Value.ToString()); } + if (Optional.IsDefined(InputTranscriptionOptions) && _additionalBinaryDataProperties?.ContainsKey("input_audio_transcription") != true) + { + writer.WritePropertyName("input_audio_transcription"u8); + writer.WriteObjectValue(InputTranscriptionOptions, options); + } + if (Optional.IsDefined(TurnDetectionOptions) && _additionalBinaryDataProperties?.ContainsKey("turn_detection") != true) + { + writer.WritePropertyName("turn_detection"u8); + writer.WriteObjectValue(TurnDetectionOptions, options); + } + if (Optional.IsDefined(InputNoiseReductionOptions) && _additionalBinaryDataProperties?.ContainsKey("input_audio_noise_reduction") != true) + { + writer.WritePropertyName("input_audio_noise_reduction"u8); + writer.WriteObjectValue(InputNoiseReductionOptions, options); + } if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) { writer.WritePropertyName("tools"u8); @@ -56,31 +81,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature.Value); } - if (Optional.IsDefined(Voice) && _additionalBinaryDataProperties?.ContainsKey("voice") != true) - { - writer.WritePropertyName("voice"u8); - writer.WriteStringValue(Voice.Value.ToString()); - } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model.Value.ToString()); - } - if (Optional.IsDefined(TurnDetectionOptions) && _additionalBinaryDataProperties?.ContainsKey("turn_detection") != true) - { - writer.WritePropertyName("turn_detection"u8); - writer.WriteObjectValue(TurnDetectionOptions, options); - } - if (Optional.IsDefined(InputTranscriptionOptions) && _additionalBinaryDataProperties?.ContainsKey("input_audio_transcription") != true) - { - writer.WritePropertyName("input_audio_transcription"u8); - writer.WriteObjectValue(InputTranscriptionOptions, options); - } - if (Optional.IsDefined(InputNoiseReductionOptions) && _additionalBinaryDataProperties?.ContainsKey("input_audio_noise_reduction") != true) - { - writer.WritePropertyName("input_audio_noise_reduction"u8); - writer.WriteObjectValue(InputNoiseReductionOptions, options); - } if (Optional.IsCollectionDefined(_internalModalities) && _additionalBinaryDataProperties?.ContainsKey("modalities") != true) { writer.WritePropertyName("modalities"u8); @@ -157,15 +157,15 @@ internal static ConversationSessionOptions DeserializeConversationSessionOptions return null; } string instructions = default; + InternalRealtimeRequestSessionModel? model = default; + ConversationVoice? voice = default; RealtimeAudioFormat? inputAudioFormat = default; RealtimeAudioFormat? outputAudioFormat = default; - IList tools = default; - float? temperature = default; - ConversationVoice? voice = default; - InternalRealtimeRequestSessionModel? model = default; - TurnDetectionOptions turnDetectionOptions = default; InputTranscriptionOptions inputTranscriptionOptions = default; + TurnDetectionOptions turnDetectionOptions = default; InputNoiseReductionOptions inputNoiseReductionOptions = default; + IList tools = default; + float? temperature = default; IList internalModalities = default; BinaryData internalToolChoice = default; BinaryData maxResponseOutputTokens = default; @@ -177,92 +177,92 @@ internal static ConversationSessionOptions DeserializeConversationSessionOptions instructions = prop.Value.GetString(); continue; } - if (prop.NameEquals("input_audio_format"u8)) + if (prop.NameEquals("model"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - inputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); + model = new InternalRealtimeRequestSessionModel(prop.Value.GetString()); continue; } - if (prop.NameEquals("output_audio_format"u8)) + if (prop.NameEquals("voice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - outputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); + voice = new ConversationVoice(prop.Value.GetString()); continue; } - if (prop.NameEquals("tools"u8)) + if (prop.NameEquals("input_audio_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(ConversationTool.DeserializeConversationTool(item, options)); - } - tools = array; + inputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); continue; } - if (prop.NameEquals("temperature"u8)) + if (prop.NameEquals("output_audio_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - temperature = prop.Value.GetSingle(); + outputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); continue; } - if (prop.NameEquals("voice"u8)) + if (prop.NameEquals("input_audio_transcription"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + inputTranscriptionOptions = null; continue; } - voice = new ConversationVoice(prop.Value.GetString()); + inputTranscriptionOptions = InputTranscriptionOptions.DeserializeInputTranscriptionOptions(prop.Value, options); continue; } - if (prop.NameEquals("model"u8)) + if (prop.NameEquals("turn_detection"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + turnDetectionOptions = null; continue; } - model = new InternalRealtimeRequestSessionModel(prop.Value.GetString()); + turnDetectionOptions = TurnDetectionOptions.DeserializeTurnDetectionOptions(prop.Value, options); continue; } - if (prop.NameEquals("turn_detection"u8)) + if (prop.NameEquals("input_audio_noise_reduction"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - turnDetectionOptions = null; continue; } - turnDetectionOptions = TurnDetectionOptions.DeserializeTurnDetectionOptions(prop.Value, options); + inputNoiseReductionOptions = InputNoiseReductionOptions.DeserializeInputNoiseReductionOptions(prop.Value, options); continue; } - if (prop.NameEquals("input_audio_transcription"u8)) + if (prop.NameEquals("tools"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - inputTranscriptionOptions = null; continue; } - inputTranscriptionOptions = InputTranscriptionOptions.DeserializeInputTranscriptionOptions(prop.Value, options); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(ConversationTool.DeserializeConversationTool(item, options)); + } + tools = array; continue; } - if (prop.NameEquals("input_audio_noise_reduction"u8)) + if (prop.NameEquals("temperature"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - inputNoiseReductionOptions = InputNoiseReductionOptions.DeserializeInputNoiseReductionOptions(prop.Value, options); + temperature = prop.Value.GetSingle(); continue; } if (prop.NameEquals("modalities"u8)) @@ -302,15 +302,15 @@ internal static ConversationSessionOptions DeserializeConversationSessionOptions } return new ConversationSessionOptions( instructions, + model, + voice, inputAudioFormat, outputAudioFormat, - tools ?? new ChangeTrackingList(), - temperature, - voice, - model, - turnDetectionOptions, inputTranscriptionOptions, + turnDetectionOptions, inputNoiseReductionOptions, + tools ?? new ChangeTrackingList(), + temperature, internalModalities, internalToolChoice, maxResponseOutputTokens, diff --git a/src/Generated/Models/Realtime/ConversationSessionOptions.cs b/src/Generated/Models/Realtime/ConversationSessionOptions.cs index aa49361f8..5235fd7ed 100644 --- a/src/Generated/Models/Realtime/ConversationSessionOptions.cs +++ b/src/Generated/Models/Realtime/ConversationSessionOptions.cs @@ -14,23 +14,23 @@ public partial class ConversationSessionOptions { private protected IDictionary _additionalBinaryDataProperties; - public ConversationSessionOptions() : this(null, default, default, null, default, default, default, null, null, null, null, null, null, null) + public ConversationSessionOptions() : this(null, default, default, default, default, null, null, null, null, default, null, null, null, null) { } - internal ConversationSessionOptions(string instructions, RealtimeAudioFormat? inputAudioFormat, RealtimeAudioFormat? outputAudioFormat, IList tools, float? temperature, ConversationVoice? voice, InternalRealtimeRequestSessionModel? model, TurnDetectionOptions turnDetectionOptions, InputTranscriptionOptions inputTranscriptionOptions, InputNoiseReductionOptions inputNoiseReductionOptions, IList internalModalities, BinaryData internalToolChoice, BinaryData maxResponseOutputTokens, IDictionary additionalBinaryDataProperties) + internal ConversationSessionOptions(string instructions, InternalRealtimeRequestSessionModel? model, ConversationVoice? voice, RealtimeAudioFormat? inputAudioFormat, RealtimeAudioFormat? outputAudioFormat, InputTranscriptionOptions inputTranscriptionOptions, TurnDetectionOptions turnDetectionOptions, InputNoiseReductionOptions inputNoiseReductionOptions, IList tools, float? temperature, IList internalModalities, BinaryData internalToolChoice, BinaryData maxResponseOutputTokens, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Instructions = instructions; + Model = model; + Voice = voice; InputAudioFormat = inputAudioFormat; OutputAudioFormat = outputAudioFormat; - Tools = tools ?? new ChangeTrackingList(); - Temperature = temperature; - Voice = voice; - Model = model; - TurnDetectionOptions = turnDetectionOptions; InputTranscriptionOptions = inputTranscriptionOptions; + TurnDetectionOptions = turnDetectionOptions; InputNoiseReductionOptions = inputNoiseReductionOptions; + Tools = tools ?? new ChangeTrackingList(); + Temperature = temperature; _internalModalities = internalModalities ?? new ChangeTrackingList(); _internalToolChoice = internalToolChoice; _maxResponseOutputTokens = maxResponseOutputTokens; diff --git a/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs b/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs index 091d90529..f07304e3d 100644 --- a/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationStatusDetails.Serialization.cs @@ -26,11 +26,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ConversationStatusDetails)} does not support writing '{format}' format."); } - if (Optional.IsDefined(Kind) && _additionalBinaryDataProperties?.ContainsKey("type") != true) - { - writer.WritePropertyName("type"u8); - writer.WriteStringValue(Kind.Value.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("type") != true) { writer.WritePropertyName("type"u8); @@ -87,22 +82,12 @@ internal static ConversationStatusDetails DeserializeConversationStatusDetails(J { return null; } - InternalRealtimeResponseStatusDetailsType? kind = default; ConversationStatus statusKind = default; ConversationIncompleteReason? incompleteReason = default; InternalRealtimeResponseStatusDetailsError error = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("type"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - kind = new InternalRealtimeResponseStatusDetailsType(prop.Value.GetString()); - continue; - } if (prop.NameEquals("type"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -133,7 +118,7 @@ internal static ConversationStatusDetails DeserializeConversationStatusDetails(J // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ConversationStatusDetails(kind, statusKind, incompleteReason, error, additionalBinaryDataProperties); + return new ConversationStatusDetails(statusKind, incompleteReason, error, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Realtime/ConversationStatusDetails.cs b/src/Generated/Models/Realtime/ConversationStatusDetails.cs index 4626ac4bb..837ebf12b 100644 --- a/src/Generated/Models/Realtime/ConversationStatusDetails.cs +++ b/src/Generated/Models/Realtime/ConversationStatusDetails.cs @@ -17,9 +17,8 @@ internal ConversationStatusDetails() { } - internal ConversationStatusDetails(InternalRealtimeResponseStatusDetailsType? kind, ConversationStatus statusKind, ConversationIncompleteReason? incompleteReason, InternalRealtimeResponseStatusDetailsError error, IDictionary additionalBinaryDataProperties) + internal ConversationStatusDetails(ConversationStatus statusKind, ConversationIncompleteReason? incompleteReason, InternalRealtimeResponseStatusDetailsError error, IDictionary additionalBinaryDataProperties) { - Kind = kind; StatusKind = statusKind; IncompleteReason = incompleteReason; Error = error; diff --git a/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs b/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs index 868097c19..88790d060 100644 --- a/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs +++ b/src/Generated/Models/Realtime/ConversationTokenUsage.Serialization.cs @@ -26,15 +26,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ConversationTokenUsage)} does not support writing '{format}' format."); } - if (Optional.IsDefined(InputTokenDetails) && _additionalBinaryDataProperties?.ContainsKey("input_token_details") != true) - { - writer.WritePropertyName("input_token_details"u8); - writer.WriteObjectValue(InputTokenDetails, options); - } - if (Optional.IsDefined(OutputTokenDetails) && _additionalBinaryDataProperties?.ContainsKey("output_token_details") != true) + if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) { - writer.WritePropertyName("output_token_details"u8); - writer.WriteObjectValue(OutputTokenDetails, options); + writer.WritePropertyName("total_tokens"u8); + writer.WriteNumberValue(TotalTokenCount); } if (_additionalBinaryDataProperties?.ContainsKey("input_tokens") != true) { @@ -46,10 +41,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("output_tokens"u8); writer.WriteNumberValue(OutputTokenCount); } - if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) + if (Optional.IsDefined(InputTokenDetails) && _additionalBinaryDataProperties?.ContainsKey("input_token_details") != true) { - writer.WritePropertyName("total_tokens"u8); - writer.WriteNumberValue(TotalTokenCount); + writer.WritePropertyName("input_token_details"u8); + writer.WriteObjectValue(InputTokenDetails, options); + } + if (Optional.IsDefined(OutputTokenDetails) && _additionalBinaryDataProperties?.ContainsKey("output_token_details") != true) + { + writer.WritePropertyName("output_token_details"u8); + writer.WriteObjectValue(OutputTokenDetails, options); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -92,68 +92,68 @@ internal static ConversationTokenUsage DeserializeConversationTokenUsage(JsonEle { return null; } - ConversationInputTokenUsageDetails inputTokenDetails = default; - ConversationOutputTokenUsageDetails outputTokenDetails = default; + int totalTokenCount = default; int inputTokenCount = default; int outputTokenCount = default; - int totalTokenCount = default; + ConversationInputTokenUsageDetails inputTokenDetails = default; + ConversationOutputTokenUsageDetails outputTokenDetails = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("input_token_details"u8)) + if (prop.NameEquals("total_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - inputTokenDetails = ConversationInputTokenUsageDetails.DeserializeConversationInputTokenUsageDetails(prop.Value, options); + totalTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("output_token_details"u8)) + if (prop.NameEquals("input_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - outputTokenDetails = ConversationOutputTokenUsageDetails.DeserializeConversationOutputTokenUsageDetails(prop.Value, options); + inputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("input_tokens"u8)) + if (prop.NameEquals("output_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - inputTokenCount = prop.Value.GetInt32(); + outputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("output_tokens"u8)) + if (prop.NameEquals("input_token_details"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - outputTokenCount = prop.Value.GetInt32(); + inputTokenDetails = ConversationInputTokenUsageDetails.DeserializeConversationInputTokenUsageDetails(prop.Value, options); continue; } - if (prop.NameEquals("total_tokens"u8)) + if (prop.NameEquals("output_token_details"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - totalTokenCount = prop.Value.GetInt32(); + outputTokenDetails = ConversationOutputTokenUsageDetails.DeserializeConversationOutputTokenUsageDetails(prop.Value, options); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new ConversationTokenUsage( - inputTokenDetails, - outputTokenDetails, + totalTokenCount, inputTokenCount, outputTokenCount, - totalTokenCount, + inputTokenDetails, + outputTokenDetails, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Realtime/ConversationTokenUsage.cs b/src/Generated/Models/Realtime/ConversationTokenUsage.cs index fe6361c24..12ee3a15d 100644 --- a/src/Generated/Models/Realtime/ConversationTokenUsage.cs +++ b/src/Generated/Models/Realtime/ConversationTokenUsage.cs @@ -17,13 +17,13 @@ internal ConversationTokenUsage() { } - internal ConversationTokenUsage(ConversationInputTokenUsageDetails inputTokenDetails, ConversationOutputTokenUsageDetails outputTokenDetails, int inputTokenCount, int outputTokenCount, int totalTokenCount, IDictionary additionalBinaryDataProperties) + internal ConversationTokenUsage(int totalTokenCount, int inputTokenCount, int outputTokenCount, ConversationInputTokenUsageDetails inputTokenDetails, ConversationOutputTokenUsageDetails outputTokenDetails, IDictionary additionalBinaryDataProperties) { - InputTokenDetails = inputTokenDetails; - OutputTokenDetails = outputTokenDetails; + TotalTokenCount = totalTokenCount; InputTokenCount = inputTokenCount; OutputTokenCount = outputTokenCount; - TotalTokenCount = totalTokenCount; + InputTokenDetails = inputTokenDetails; + OutputTokenDetails = outputTokenDetails; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs index 004fc30f5..5cacbb700 100644 --- a/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponse.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Realtime { internal partial class InternalRealtimeResponse : IJsonModel { - internal InternalRealtimeResponse() : this(null, null, default, null, null, null, null, default, null, null, null, default, default, null) + internal InternalRealtimeResponse() : this(null, null, default, null, null, null, null, null, default, null, default, default, null, null) { } @@ -50,6 +50,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("status_details"u8); writer.WriteObjectValue(StatusDetails, options); } + if (Optional.IsCollectionDefined(Output) && _additionalBinaryDataProperties?.ContainsKey("output") != true) + { + writer.WritePropertyName("output"u8); + writer.WriteStartArray(); + foreach (RealtimeItem item in Output) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + } if (_additionalBinaryDataProperties?.ContainsKey("metadata") != true) { if (Optional.IsCollectionDefined(Metadata)) @@ -83,32 +93,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("conversation_id"u8); writer.WriteStringValue(ConversationId); } - if (Optional.IsDefined(Temperature) && _additionalBinaryDataProperties?.ContainsKey("temperature") != true) - { - writer.WritePropertyName("temperature"u8); - writer.WriteNumberValue(Temperature.Value); - } - if (Optional.IsDefined(MaxOutputTokens) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) - { - writer.WritePropertyName("max_output_tokens"u8); -#if NET6_0_OR_GREATER - writer.WriteRawValue(MaxOutputTokens); -#else - using (JsonDocument document = JsonDocument.Parse(MaxOutputTokens)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - if (Optional.IsCollectionDefined(Output) && _additionalBinaryDataProperties?.ContainsKey("output") != true) + if (Optional.IsDefined(Voice) && _additionalBinaryDataProperties?.ContainsKey("voice") != true) { - writer.WritePropertyName("output"u8); - writer.WriteStartArray(); - foreach (RealtimeItem item in Output) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); + writer.WritePropertyName("voice"u8); + writer.WriteStringValue(Voice.Value.ToString()); } if (Optional.IsCollectionDefined(Modalities) && _additionalBinaryDataProperties?.ContainsKey("modalities") != true) { @@ -120,16 +108,28 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(Voice) && _additionalBinaryDataProperties?.ContainsKey("voice") != true) - { - writer.WritePropertyName("voice"u8); - writer.WriteStringValue(Voice.Value.ToString()); - } if (Optional.IsDefined(OutputAudioFormat) && _additionalBinaryDataProperties?.ContainsKey("output_audio_format") != true) { writer.WritePropertyName("output_audio_format"u8); writer.WriteStringValue(OutputAudioFormat.Value.ToString()); } + if (Optional.IsDefined(Temperature) && _additionalBinaryDataProperties?.ContainsKey("temperature") != true) + { + writer.WritePropertyName("temperature"u8); + writer.WriteNumberValue(Temperature.Value); + } + if (Optional.IsDefined(MaxOutputTokens) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) + { + writer.WritePropertyName("max_output_tokens"u8); +#if NET6_0_OR_GREATER + writer.WriteRawValue(MaxOutputTokens); +#else + using (JsonDocument document = JsonDocument.Parse(MaxOutputTokens)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -175,15 +175,15 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso string @object = default; ConversationStatus? status = default; ConversationStatusDetails statusDetails = default; + IReadOnlyList output = default; IDictionary metadata = default; ConversationTokenUsage usage = default; string conversationId = default; - float? temperature = default; - BinaryData maxOutputTokens = default; - IReadOnlyList output = default; - IReadOnlyList modalities = default; ConversationVoice? voice = default; + IReadOnlyList modalities = default; RealtimeAudioFormat? outputAudioFormat = default; + float? temperature = default; + BinaryData maxOutputTokens = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -215,6 +215,20 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso statusDetails = ConversationStatusDetails.DeserializeConversationStatusDetails(prop.Value, options); continue; } + if (prop.NameEquals("output"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(RealtimeItem.DeserializeRealtimeItem(item, options)); + } + output = array; + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -251,68 +265,54 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso conversationId = prop.Value.GetString(); continue; } - if (prop.NameEquals("temperature"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - temperature = prop.Value.GetSingle(); - continue; - } - if (prop.NameEquals("max_output_tokens"u8)) + if (prop.NameEquals("voice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - maxOutputTokens = BinaryData.FromString(prop.Value.GetRawText()); + voice = new ConversationVoice(prop.Value.GetString()); continue; } - if (prop.NameEquals("output"u8)) + if (prop.NameEquals("modalities"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); + List array = new List(); foreach (var item in prop.Value.EnumerateArray()) { - array.Add(RealtimeItem.DeserializeRealtimeItem(item, options)); + array.Add(new InternalRealtimeResponseModality(item.GetString())); } - output = array; + modalities = array; continue; } - if (prop.NameEquals("modalities"u8)) + if (prop.NameEquals("output_audio_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(new InternalRealtimeResponseModality(item.GetString())); - } - modalities = array; + outputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); continue; } - if (prop.NameEquals("voice"u8)) + if (prop.NameEquals("temperature"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - voice = new ConversationVoice(prop.Value.GetString()); + temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("output_audio_format"u8)) + if (prop.NameEquals("max_output_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - outputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); + maxOutputTokens = BinaryData.FromString(prop.Value.GetRawText()); continue; } // Plugin customization: remove options.Format != "W" check @@ -323,15 +323,15 @@ internal static InternalRealtimeResponse DeserializeInternalRealtimeResponse(Jso @object, status, statusDetails, + output ?? new ChangeTrackingList(), metadata, usage, conversationId, - temperature, - maxOutputTokens, - output ?? new ChangeTrackingList(), - modalities ?? new ChangeTrackingList(), voice, + modalities ?? new ChangeTrackingList(), outputAudioFormat, + temperature, + maxOutputTokens, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponse.cs b/src/Generated/Models/Realtime/InternalRealtimeResponse.cs index 71011eb7c..3404d2167 100644 --- a/src/Generated/Models/Realtime/InternalRealtimeResponse.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponse.cs @@ -15,27 +15,27 @@ internal partial class InternalRealtimeResponse internal InternalRealtimeResponse(IDictionary metadata) { // Plugin customization: ensure initialization of collections - Metadata = metadata ?? new ChangeTrackingDictionary(); Output = new ChangeTrackingList(); + Metadata = metadata ?? new ChangeTrackingDictionary(); Modalities = new ChangeTrackingList(); } - internal InternalRealtimeResponse(string id, string @object, ConversationStatus? status, ConversationStatusDetails statusDetails, IDictionary metadata, ConversationTokenUsage usage, string conversationId, float? temperature, BinaryData maxOutputTokens, IReadOnlyList output, IReadOnlyList modalities, ConversationVoice? voice, RealtimeAudioFormat? outputAudioFormat, IDictionary additionalBinaryDataProperties) + internal InternalRealtimeResponse(string id, string @object, ConversationStatus? status, ConversationStatusDetails statusDetails, IReadOnlyList output, IDictionary metadata, ConversationTokenUsage usage, string conversationId, ConversationVoice? voice, IReadOnlyList modalities, RealtimeAudioFormat? outputAudioFormat, float? temperature, BinaryData maxOutputTokens, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; Object = @object; Status = status; StatusDetails = statusDetails; + Output = output ?? new ChangeTrackingList(); Metadata = metadata ?? new ChangeTrackingDictionary(); Usage = usage; ConversationId = conversationId; - Temperature = temperature; - MaxOutputTokens = maxOutputTokens; - Output = output ?? new ChangeTrackingList(); - Modalities = modalities ?? new ChangeTrackingList(); Voice = voice; + Modalities = modalities ?? new ChangeTrackingList(); OutputAudioFormat = outputAudioFormat; + Temperature = temperature; + MaxOutputTokens = maxOutputTokens; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs index 2bddaae3a..36a6fa17a 100644 --- a/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Realtime { internal partial class InternalRealtimeResponseMessageItem : IJsonModel { - internal InternalRealtimeResponseMessageItem() : this(null, InternalRealtimeItemType.Message, null, null, default, default, null) + internal InternalRealtimeResponseMessageItem() : this(null, InternalRealtimeItemType.Message, null, null, default, null, default) { } @@ -31,11 +31,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(InternalRealtimeResponseMessageItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); - if (_additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("role") != true) { writer.WritePropertyName("role"u8); @@ -51,6 +46,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } writer.WriteEndArray(); } + if (_additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.ToString()); + } } InternalRealtimeResponseMessageItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalRealtimeResponseMessageItem)JsonModelCreateCore(ref reader, options); @@ -76,9 +76,9 @@ internal static InternalRealtimeResponseMessageItem DeserializeInternalRealtimeR InternalRealtimeItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); - ConversationItemStatus status = default; ConversationMessageRole role = default; IReadOnlyList content = default; + ConversationItemStatus status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("object"u8)) @@ -101,11 +101,6 @@ internal static InternalRealtimeResponseMessageItem DeserializeInternalRealtimeR id = prop.Value.GetString(); continue; } - if (prop.NameEquals("status"u8)) - { - status = new ConversationItemStatus(prop.Value.GetString()); - continue; - } if (prop.NameEquals("role"u8)) { role = new ConversationMessageRole(prop.Value.GetString()); @@ -121,6 +116,11 @@ internal static InternalRealtimeResponseMessageItem DeserializeInternalRealtimeR content = array; continue; } + if (prop.NameEquals("status"u8)) + { + status = new ConversationItemStatus(prop.Value.GetString()); + continue; + } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -129,9 +129,9 @@ internal static InternalRealtimeResponseMessageItem DeserializeInternalRealtimeR kind, id, additionalBinaryDataProperties, - status, role, - content); + content, + status); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.cs index 0f9b2fa8d..ac52aacc1 100644 --- a/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseMessageItem.cs @@ -11,19 +11,19 @@ namespace OpenAI.Realtime { internal partial class InternalRealtimeResponseMessageItem : InternalRealtimeResponseItem { - internal InternalRealtimeResponseMessageItem(string id, ConversationItemStatus status, ConversationMessageRole role, IEnumerable content) : base(InternalRealtimeItemType.Message, id) + internal InternalRealtimeResponseMessageItem(string id, ConversationMessageRole role, IEnumerable content, ConversationItemStatus status) : base(InternalRealtimeItemType.Message, id) { - Status = status; Role = role; Content = content.ToList(); + Status = status; } - internal InternalRealtimeResponseMessageItem(string @object, InternalRealtimeItemType kind, string id, IDictionary additionalBinaryDataProperties, ConversationItemStatus status, ConversationMessageRole role, IReadOnlyList content) : base(@object, kind, id, additionalBinaryDataProperties) + internal InternalRealtimeResponseMessageItem(string @object, InternalRealtimeItemType kind, string id, IDictionary additionalBinaryDataProperties, ConversationMessageRole role, IReadOnlyList content, ConversationItemStatus status) : base(@object, kind, id, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - Status = status; Role = role; Content = content ?? new ChangeTrackingList(); + Status = status; } public ConversationItemStatus Status { get; } diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs index 74ccefdc3..3093f5047 100644 --- a/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Realtime { internal partial class InternalRealtimeResponseSession : IJsonModel { - internal InternalRealtimeResponseSession() : this(null, null, null, null, null, default, default, null, null, null, null, null, default, default, null, null) + internal InternalRealtimeResponseSession() : this(null, null, null, null, null, default, default, default, null, null, null, null, null, default, null, null) { } @@ -60,6 +60,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("instructions"u8); writer.WriteStringValue(Instructions); } + if (_additionalBinaryDataProperties?.ContainsKey("voice") != true) + { + writer.WritePropertyName("voice"u8); + writer.WriteStringValue(Voice.ToString()); + } if (_additionalBinaryDataProperties?.ContainsKey("input_audio_format") != true) { writer.WritePropertyName("input_audio_format"u8); @@ -119,11 +124,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("temperature"u8); writer.WriteNumberValue(Temperature); } - if (_additionalBinaryDataProperties?.ContainsKey("voice") != true) - { - writer.WritePropertyName("voice"u8); - writer.WriteStringValue(Voice.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("max_response_output_tokens") != true) { if (Optional.IsDefined(_maxResponseOutputTokens)) @@ -189,6 +189,7 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo string model = default; IList modalities = default; string instructions = default; + ConversationVoice voice = default; RealtimeAudioFormat inputAudioFormat = default; RealtimeAudioFormat outputAudioFormat = default; InputTranscriptionOptions inputAudioTranscription = default; @@ -197,7 +198,6 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo IList tools = default; BinaryData toolChoice = default; float temperature = default; - ConversationVoice voice = default; BinaryData maxResponseOutputTokens = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) @@ -232,6 +232,11 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo instructions = prop.Value.GetString(); continue; } + if (prop.NameEquals("voice"u8)) + { + voice = new ConversationVoice(prop.Value.GetString()); + continue; + } if (prop.NameEquals("input_audio_format"u8)) { inputAudioFormat = new RealtimeAudioFormat(prop.Value.GetString()); @@ -282,11 +287,6 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo temperature = prop.Value.GetSingle(); continue; } - if (prop.NameEquals("voice"u8)) - { - voice = new ConversationVoice(prop.Value.GetString()); - continue; - } if (prop.NameEquals("max_response_output_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -306,6 +306,7 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo model, modalities, instructions, + voice, inputAudioFormat, outputAudioFormat, inputAudioTranscription, @@ -314,7 +315,6 @@ internal static InternalRealtimeResponseSession DeserializeInternalRealtimeRespo tools, toolChoice, temperature, - voice, maxResponseOutputTokens, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Realtime/InternalRealtimeResponseSession.cs b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.cs index 8a64539e8..7b6366023 100644 --- a/src/Generated/Models/Realtime/InternalRealtimeResponseSession.cs +++ b/src/Generated/Models/Realtime/InternalRealtimeResponseSession.cs @@ -13,12 +13,13 @@ internal partial class InternalRealtimeResponseSession { private protected IDictionary _additionalBinaryDataProperties; - internal InternalRealtimeResponseSession(string id, string model, IEnumerable modalities, string instructions, RealtimeAudioFormat inputAudioFormat, RealtimeAudioFormat outputAudioFormat, InputTranscriptionOptions inputAudioTranscription, TurnDetectionOptions turnDetection, InputNoiseReductionOptions inputAudioNoiseReduction, IEnumerable tools, BinaryData toolChoice, float temperature, ConversationVoice voice, BinaryData maxResponseOutputTokens) + internal InternalRealtimeResponseSession(string id, string model, IEnumerable modalities, string instructions, ConversationVoice voice, RealtimeAudioFormat inputAudioFormat, RealtimeAudioFormat outputAudioFormat, InputTranscriptionOptions inputAudioTranscription, TurnDetectionOptions turnDetection, InputNoiseReductionOptions inputAudioNoiseReduction, IEnumerable tools, BinaryData toolChoice, float temperature, BinaryData maxResponseOutputTokens) { Id = id; Model = model; Modalities = modalities.ToList(); Instructions = instructions; + Voice = voice; InputAudioFormat = inputAudioFormat; OutputAudioFormat = outputAudioFormat; InputAudioTranscription = inputAudioTranscription; @@ -27,11 +28,10 @@ internal InternalRealtimeResponseSession(string id, string model, IEnumerable modalities, string instructions, RealtimeAudioFormat inputAudioFormat, RealtimeAudioFormat outputAudioFormat, InputTranscriptionOptions inputAudioTranscription, TurnDetectionOptions turnDetection, InputNoiseReductionOptions inputAudioNoiseReduction, IList tools, BinaryData toolChoice, float temperature, ConversationVoice voice, BinaryData maxResponseOutputTokens, IDictionary additionalBinaryDataProperties) + internal InternalRealtimeResponseSession(string @object, string id, string model, IList modalities, string instructions, ConversationVoice voice, RealtimeAudioFormat inputAudioFormat, RealtimeAudioFormat outputAudioFormat, InputTranscriptionOptions inputAudioTranscription, TurnDetectionOptions turnDetection, InputNoiseReductionOptions inputAudioNoiseReduction, IList tools, BinaryData toolChoice, float temperature, BinaryData maxResponseOutputTokens, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Object = @object; @@ -39,6 +39,7 @@ internal InternalRealtimeResponseSession(string @object, string id, string model Model = model; Modalities = modalities ?? new ChangeTrackingList(); Instructions = instructions; + Voice = voice; InputAudioFormat = inputAudioFormat; OutputAudioFormat = outputAudioFormat; InputAudioTranscription = inputAudioTranscription; @@ -47,7 +48,6 @@ internal InternalRealtimeResponseSession(string @object, string id, string model Tools = tools ?? new ChangeTrackingList(); ToolChoice = toolChoice; Temperature = temperature; - Voice = voice; _maxResponseOutputTokens = maxResponseOutputTokens; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs b/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs index c1b019248..de7abdc25 100644 --- a/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs +++ b/src/Generated/Models/Realtime/TranscriptionSessionOptions.Serialization.cs @@ -26,11 +26,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(TranscriptionSessionOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(ClientSecret) && _additionalBinaryDataProperties?.ContainsKey("client_secret") != true) - { - writer.WritePropertyName("client_secret"u8); - writer.WriteObjectValue(ClientSecret, options); - } if (Optional.IsDefined(InputAudioFormat) && _additionalBinaryDataProperties?.ContainsKey("input_audio_format") != true) { writer.WritePropertyName("input_audio_format"u8); @@ -66,6 +61,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } + if (Optional.IsDefined(ClientSecret) && _additionalBinaryDataProperties?.ContainsKey("client_secret") != true) + { + writer.WritePropertyName("client_secret"u8); + writer.WriteObjectValue(ClientSecret, options); + } if (Optional.IsCollectionDefined(_internalModalities) && _additionalBinaryDataProperties?.ContainsKey("modalities") != true) { writer.WritePropertyName("modalities"u8); @@ -117,25 +117,16 @@ internal static TranscriptionSessionOptions DeserializeTranscriptionSessionOptio { return null; } - InternalRealtimeTranscriptionSessionCreateRequestClientSecret clientSecret = default; RealtimeAudioFormat? inputAudioFormat = default; InputTranscriptionOptions inputTranscriptionOptions = default; TurnDetectionOptions turnDetectionOptions = default; InputNoiseReductionOptions inputNoiseReductionOptions = default; IList include = default; + InternalRealtimeTranscriptionSessionCreateRequestClientSecret clientSecret = default; IList internalModalities = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("client_secret"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - clientSecret = InternalRealtimeTranscriptionSessionCreateRequestClientSecret.DeserializeInternalRealtimeTranscriptionSessionCreateRequestClientSecret(prop.Value, options); - continue; - } if (prop.NameEquals("input_audio_format"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -194,6 +185,15 @@ internal static TranscriptionSessionOptions DeserializeTranscriptionSessionOptio include = array; continue; } + if (prop.NameEquals("client_secret"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + clientSecret = InternalRealtimeTranscriptionSessionCreateRequestClientSecret.DeserializeInternalRealtimeTranscriptionSessionCreateRequestClientSecret(prop.Value, options); + continue; + } if (prop.NameEquals("modalities"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -212,12 +212,12 @@ internal static TranscriptionSessionOptions DeserializeTranscriptionSessionOptio additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new TranscriptionSessionOptions( - clientSecret, inputAudioFormat, inputTranscriptionOptions, turnDetectionOptions, inputNoiseReductionOptions, include ?? new ChangeTrackingList(), + clientSecret, internalModalities, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Realtime/TranscriptionSessionOptions.cs b/src/Generated/Models/Realtime/TranscriptionSessionOptions.cs index 257e81135..d0270f2f1 100644 --- a/src/Generated/Models/Realtime/TranscriptionSessionOptions.cs +++ b/src/Generated/Models/Realtime/TranscriptionSessionOptions.cs @@ -14,19 +14,19 @@ public partial class TranscriptionSessionOptions { private protected IDictionary _additionalBinaryDataProperties; - public TranscriptionSessionOptions() : this(null, default, null, null, null, null, null, null) + public TranscriptionSessionOptions() : this(default, null, null, null, null, null, null, null) { } - internal TranscriptionSessionOptions(InternalRealtimeTranscriptionSessionCreateRequestClientSecret clientSecret, RealtimeAudioFormat? inputAudioFormat, InputTranscriptionOptions inputTranscriptionOptions, TurnDetectionOptions turnDetectionOptions, InputNoiseReductionOptions inputNoiseReductionOptions, IList include, IList internalModalities, IDictionary additionalBinaryDataProperties) + internal TranscriptionSessionOptions(RealtimeAudioFormat? inputAudioFormat, InputTranscriptionOptions inputTranscriptionOptions, TurnDetectionOptions turnDetectionOptions, InputNoiseReductionOptions inputNoiseReductionOptions, IList include, InternalRealtimeTranscriptionSessionCreateRequestClientSecret clientSecret, IList internalModalities, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections - ClientSecret = clientSecret; InputAudioFormat = inputAudioFormat; InputTranscriptionOptions = inputTranscriptionOptions; TurnDetectionOptions = turnDetectionOptions; InputNoiseReductionOptions = inputNoiseReductionOptions; Include = include ?? new ChangeTrackingList(); + ClientSecret = clientSecret; _internalModalities = internalModalities ?? new ChangeTrackingList(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs index 04416e61a..70c70cde2 100644 --- a/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class ComputerCallOutputResponseItem : IJsonModel { - internal ComputerCallOutputResponseItem() : this(InternalItemType.ComputerCallOutput, null, null, null, null, null, default) + internal ComputerCallOutputResponseItem() : this(InternalItemType.ComputerCallOutput, null, null, default, null, null, null) { } @@ -31,6 +31,13 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(ComputerCallOutputResponseItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + // Plugin customization: remove options.Format != "W" check + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToSerialString()); + } if (_additionalBinaryDataProperties?.ContainsKey("call_id") != true) { writer.WritePropertyName("call_id"u8); @@ -51,13 +58,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("output"u8); writer.WriteObjectValue(Output, options); } - // Plugin customization: remove options.Format != "W" check - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.Value.ToSerialString()); - } } ComputerCallOutputResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ComputerCallOutputResponseItem)JsonModelCreateCore(ref reader, options); @@ -82,10 +82,10 @@ internal static ComputerCallOutputResponseItem DeserializeComputerCallOutputResp InternalItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + ComputerCallOutputStatus? status = default; string callId = default; IList acknowledgedSafetyChecks = default; ComputerCallOutput output = default; - ComputerCallOutputStatus? status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -98,6 +98,11 @@ internal static ComputerCallOutputResponseItem DeserializeComputerCallOutputResp id = prop.Value.GetString(); continue; } + if (prop.NameEquals("status"u8)) + { + status = prop.Value.GetString().ToComputerCallOutputStatus(); + continue; + } if (prop.NameEquals("call_id"u8)) { callId = prop.Value.GetString(); @@ -122,11 +127,6 @@ internal static ComputerCallOutputResponseItem DeserializeComputerCallOutputResp output = ComputerCallOutput.DeserializeComputerCallOutput(prop.Value, options); continue; } - if (prop.NameEquals("status"u8)) - { - status = prop.Value.GetString().ToComputerCallOutputStatus(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -134,10 +134,10 @@ internal static ComputerCallOutputResponseItem DeserializeComputerCallOutputResp kind, id, additionalBinaryDataProperties, + status, callId, acknowledgedSafetyChecks ?? new ChangeTrackingList(), - output, - status); + output); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs index 762799534..5d44cae89 100644 --- a/src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs +++ b/src/Generated/Models/Responses/ComputerCallOutputResponseItem.cs @@ -22,13 +22,13 @@ public ComputerCallOutputResponseItem(string callId, ComputerCallOutput output) Output = output; } - internal ComputerCallOutputResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, string callId, IList acknowledgedSafetyChecks, ComputerCallOutput output, ComputerCallOutputStatus? status) : base(kind, id, additionalBinaryDataProperties) + internal ComputerCallOutputResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, ComputerCallOutputStatus? status, string callId, IList acknowledgedSafetyChecks, ComputerCallOutput output) : base(kind, id, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Status = status; CallId = callId; AcknowledgedSafetyChecks = acknowledgedSafetyChecks ?? new ChangeTrackingList(); Output = output; - Status = status; } public string CallId { get; set; } diff --git a/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs index f13dd0009..4699c0556 100644 --- a/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ComputerCallResponseItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class ComputerCallResponseItem : IJsonModel { - internal ComputerCallResponseItem() : this(InternalItemType.ComputerCall, null, null, null, null, null, default) + internal ComputerCallResponseItem() : this(InternalItemType.ComputerCall, null, null, default, null, null, null) { } @@ -31,6 +31,13 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(ComputerCallResponseItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + // Plugin customization: remove options.Format != "W" check + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToSerialString()); + } if (_additionalBinaryDataProperties?.ContainsKey("call_id") != true) { writer.WritePropertyName("call_id"u8); @@ -51,13 +58,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } writer.WriteEndArray(); } - // Plugin customization: remove options.Format != "W" check - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.Value.ToSerialString()); - } } ComputerCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ComputerCallResponseItem)JsonModelCreateCore(ref reader, options); @@ -82,10 +82,10 @@ internal static ComputerCallResponseItem DeserializeComputerCallResponseItem(Jso InternalItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + ComputerCallStatus? status = default; string callId = default; ComputerCallAction action = default; IList pendingSafetyChecks = default; - ComputerCallStatus? status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -98,6 +98,11 @@ internal static ComputerCallResponseItem DeserializeComputerCallResponseItem(Jso id = prop.Value.GetString(); continue; } + if (prop.NameEquals("status"u8)) + { + status = prop.Value.GetString().ToComputerCallStatus(); + continue; + } if (prop.NameEquals("call_id"u8)) { callId = prop.Value.GetString(); @@ -118,11 +123,6 @@ internal static ComputerCallResponseItem DeserializeComputerCallResponseItem(Jso pendingSafetyChecks = array; continue; } - if (prop.NameEquals("status"u8)) - { - status = prop.Value.GetString().ToComputerCallStatus(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -130,10 +130,10 @@ internal static ComputerCallResponseItem DeserializeComputerCallResponseItem(Jso kind, id, additionalBinaryDataProperties, + status, callId, action, - pendingSafetyChecks, - status); + pendingSafetyChecks); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/ComputerCallResponseItem.cs b/src/Generated/Models/Responses/ComputerCallResponseItem.cs index 9fc6eaa49..471129315 100644 --- a/src/Generated/Models/Responses/ComputerCallResponseItem.cs +++ b/src/Generated/Models/Responses/ComputerCallResponseItem.cs @@ -24,13 +24,13 @@ public ComputerCallResponseItem(string callId, ComputerCallAction action, IEnume PendingSafetyChecks = pendingSafetyChecks.ToList(); } - internal ComputerCallResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, string callId, ComputerCallAction action, IList pendingSafetyChecks, ComputerCallStatus? status) : base(kind, id, additionalBinaryDataProperties) + internal ComputerCallResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, ComputerCallStatus? status, string callId, ComputerCallAction action, IList pendingSafetyChecks) : base(kind, id, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Status = status; CallId = callId; Action = action; PendingSafetyChecks = pendingSafetyChecks ?? new ChangeTrackingList(); - Status = status; } public string CallId { get; set; } diff --git a/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs index ede998f8b..edeb18110 100644 --- a/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/FileSearchCallResponseItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class FileSearchCallResponseItem : IJsonModel { - internal FileSearchCallResponseItem() : this(InternalItemType.FileSearchCall, null, null, null, null, default) + internal FileSearchCallResponseItem() : this(InternalItemType.FileSearchCall, null, null, default, null, null) { } @@ -31,6 +31,13 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(FileSearchCallResponseItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + // Plugin customization: remove options.Format != "W" check + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToSerialString()); + } if (_additionalBinaryDataProperties?.ContainsKey("queries") != true) { writer.WritePropertyName("queries"u8); @@ -56,13 +63,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } writer.WriteEndArray(); } - // Plugin customization: remove options.Format != "W" check - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.Value.ToSerialString()); - } } FileSearchCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FileSearchCallResponseItem)JsonModelCreateCore(ref reader, options); @@ -87,9 +87,9 @@ internal static FileSearchCallResponseItem DeserializeFileSearchCallResponseItem InternalItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + FileSearchCallStatus? status = default; IList queries = default; IList results = default; - FileSearchCallStatus? status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -102,6 +102,11 @@ internal static FileSearchCallResponseItem DeserializeFileSearchCallResponseItem id = prop.Value.GetString(); continue; } + if (prop.NameEquals("status"u8)) + { + status = prop.Value.GetString().ToFileSearchCallStatus(); + continue; + } if (prop.NameEquals("queries"u8)) { List array = new List(); @@ -133,11 +138,6 @@ internal static FileSearchCallResponseItem DeserializeFileSearchCallResponseItem results = array; continue; } - if (prop.NameEquals("status"u8)) - { - status = prop.Value.GetString().ToFileSearchCallStatus(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -145,9 +145,9 @@ internal static FileSearchCallResponseItem DeserializeFileSearchCallResponseItem kind, id, additionalBinaryDataProperties, + status, queries, - results ?? new ChangeTrackingList(), - status); + results ?? new ChangeTrackingList()); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/FileSearchCallResponseItem.cs b/src/Generated/Models/Responses/FileSearchCallResponseItem.cs index 02f0d6ddd..bb5a85926 100644 --- a/src/Generated/Models/Responses/FileSearchCallResponseItem.cs +++ b/src/Generated/Models/Responses/FileSearchCallResponseItem.cs @@ -21,12 +21,12 @@ public FileSearchCallResponseItem(IEnumerable queries) : base(InternalIt Results = new ChangeTrackingList(); } - internal FileSearchCallResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, IList queries, IList results, FileSearchCallStatus? status) : base(kind, id, additionalBinaryDataProperties) + internal FileSearchCallResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, FileSearchCallStatus? status, IList queries, IList results) : base(kind, id, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Status = status; Queries = queries ?? new ChangeTrackingList(); Results = results ?? new ChangeTrackingList(); - Status = status; } public IList Queries { get; } diff --git a/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs index 7f978d0a1..9e0db6db5 100644 --- a/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class FunctionCallOutputResponseItem : IJsonModel { - internal FunctionCallOutputResponseItem() : this(InternalItemType.FunctionCallOutput, null, null, null, null, default) + internal FunctionCallOutputResponseItem() : this(InternalItemType.FunctionCallOutput, null, null, default, null, null) { } @@ -31,6 +31,13 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(FunctionCallOutputResponseItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + // Plugin customization: remove options.Format != "W" check + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToSerialString()); + } if (_additionalBinaryDataProperties?.ContainsKey("call_id") != true) { writer.WritePropertyName("call_id"u8); @@ -41,13 +48,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("output"u8); writer.WriteStringValue(FunctionOutput); } - // Plugin customization: remove options.Format != "W" check - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.Value.ToSerialString()); - } } FunctionCallOutputResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FunctionCallOutputResponseItem)JsonModelCreateCore(ref reader, options); @@ -72,9 +72,9 @@ internal static FunctionCallOutputResponseItem DeserializeFunctionCallOutputResp InternalItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + FunctionCallOutputStatus? status = default; string callId = default; string functionOutput = default; - FunctionCallOutputStatus? status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -87,6 +87,11 @@ internal static FunctionCallOutputResponseItem DeserializeFunctionCallOutputResp id = prop.Value.GetString(); continue; } + if (prop.NameEquals("status"u8)) + { + status = prop.Value.GetString().ToFunctionCallOutputStatus(); + continue; + } if (prop.NameEquals("call_id"u8)) { callId = prop.Value.GetString(); @@ -97,11 +102,6 @@ internal static FunctionCallOutputResponseItem DeserializeFunctionCallOutputResp functionOutput = prop.Value.GetString(); continue; } - if (prop.NameEquals("status"u8)) - { - status = prop.Value.GetString().ToFunctionCallOutputStatus(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -109,9 +109,9 @@ internal static FunctionCallOutputResponseItem DeserializeFunctionCallOutputResp kind, id, additionalBinaryDataProperties, + status, callId, - functionOutput, - status); + functionOutput); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs index 12b982eb0..34bbd4a35 100644 --- a/src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs +++ b/src/Generated/Models/Responses/FunctionCallOutputResponseItem.cs @@ -21,11 +21,11 @@ public FunctionCallOutputResponseItem(string callId, string functionOutput) : ba FunctionOutput = functionOutput; } - internal FunctionCallOutputResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, string callId, string functionOutput, FunctionCallOutputStatus? status) : base(kind, id, additionalBinaryDataProperties) + internal FunctionCallOutputResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, FunctionCallOutputStatus? status, string callId, string functionOutput) : base(kind, id, additionalBinaryDataProperties) { + Status = status; CallId = callId; FunctionOutput = functionOutput; - Status = status; } public string CallId { get; set; } diff --git a/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs b/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs index 6a18394f1..53e038079 100644 --- a/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/FunctionCallResponseItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class FunctionCallResponseItem : IJsonModel { - internal FunctionCallResponseItem() : this(InternalItemType.FunctionCall, null, null, null, null, null, default) + internal FunctionCallResponseItem() : this(InternalItemType.FunctionCall, null, null, default, null, null, null) { } @@ -31,6 +31,13 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(FunctionCallResponseItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + // Plugin customization: remove options.Format != "W" check + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToSerialString()); + } if (_additionalBinaryDataProperties?.ContainsKey("call_id") != true) { writer.WritePropertyName("call_id"u8); @@ -46,13 +53,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("arguments"u8); SerializeFunctionArgumentsValue(writer, options); } - // Plugin customization: remove options.Format != "W" check - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.Value.ToSerialString()); - } } FunctionCallResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (FunctionCallResponseItem)JsonModelCreateCore(ref reader, options); @@ -77,10 +77,10 @@ internal static FunctionCallResponseItem DeserializeFunctionCallResponseItem(Jso InternalItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + FunctionCallStatus? status = default; string callId = default; string functionName = default; BinaryData functionArguments = default; - FunctionCallStatus? status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -93,6 +93,11 @@ internal static FunctionCallResponseItem DeserializeFunctionCallResponseItem(Jso id = prop.Value.GetString(); continue; } + if (prop.NameEquals("status"u8)) + { + status = prop.Value.GetString().ToFunctionCallStatus(); + continue; + } if (prop.NameEquals("call_id"u8)) { callId = prop.Value.GetString(); @@ -108,11 +113,6 @@ internal static FunctionCallResponseItem DeserializeFunctionCallResponseItem(Jso DeserializeFunctionArgumentsValue(prop, ref functionArguments); continue; } - if (prop.NameEquals("status"u8)) - { - status = prop.Value.GetString().ToFunctionCallStatus(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -120,10 +120,10 @@ internal static FunctionCallResponseItem DeserializeFunctionCallResponseItem(Jso kind, id, additionalBinaryDataProperties, + status, callId, functionName, - functionArguments, - status); + functionArguments); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/FunctionCallResponseItem.cs b/src/Generated/Models/Responses/FunctionCallResponseItem.cs index f30d21021..782453bb3 100644 --- a/src/Generated/Models/Responses/FunctionCallResponseItem.cs +++ b/src/Generated/Models/Responses/FunctionCallResponseItem.cs @@ -23,12 +23,12 @@ public FunctionCallResponseItem(string callId, string functionName, BinaryData f FunctionArguments = functionArguments; } - internal FunctionCallResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, string callId, string functionName, BinaryData functionArguments, FunctionCallStatus? status) : base(kind, id, additionalBinaryDataProperties) + internal FunctionCallResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, FunctionCallStatus? status, string callId, string functionName, BinaryData functionArguments) : base(kind, id, additionalBinaryDataProperties) { + Status = status; CallId = callId; FunctionName = functionName; FunctionArguments = functionArguments; - Status = status; } public string CallId { get; set; } diff --git a/src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs b/src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs index c77866c56..ca8714b9d 100644 --- a/src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs +++ b/src/Generated/Models/Responses/InternalFunctionTool.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { internal partial class InternalFunctionTool : IJsonModel { - internal InternalFunctionTool() : this(InternalToolType.Function, null, null, null, default, null) + internal InternalFunctionTool() : this(InternalToolType.Function, null, null, null, null, default) { } @@ -41,18 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("description"u8); writer.WriteStringValue(Description); } - if (_additionalBinaryDataProperties?.ContainsKey("strict") != true) - { - if (Optional.IsDefined(Strict)) - { - writer.WritePropertyName("strict"u8); - writer.WriteBooleanValue(Strict.Value); - } - else - { - writer.WriteNull("strict"u8); - } - } if (_additionalBinaryDataProperties?.ContainsKey("parameters") != true) { if (Optional.IsDefined(Parameters)) @@ -72,6 +60,18 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WriteNull("parameters"u8); } } + if (_additionalBinaryDataProperties?.ContainsKey("strict") != true) + { + if (Optional.IsDefined(Strict)) + { + writer.WritePropertyName("strict"u8); + writer.WriteBooleanValue(Strict.Value); + } + else + { + writer.WriteNull("strict"u8); + } + } } InternalFunctionTool IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalFunctionTool)JsonModelCreateCore(ref reader, options); @@ -97,8 +97,8 @@ internal static InternalFunctionTool DeserializeInternalFunctionTool(JsonElement IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string name = default; string description = default; - bool? strict = default; BinaryData parameters = default; + bool? strict = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -121,24 +121,24 @@ internal static InternalFunctionTool DeserializeInternalFunctionTool(JsonElement description = prop.Value.GetString(); continue; } - if (prop.NameEquals("strict"u8)) + if (prop.NameEquals("parameters"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - strict = null; + parameters = null; continue; } - strict = prop.Value.GetBoolean(); + parameters = BinaryData.FromString(prop.Value.GetRawText()); continue; } - if (prop.NameEquals("parameters"u8)) + if (prop.NameEquals("strict"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - parameters = null; + strict = null; continue; } - parameters = BinaryData.FromString(prop.Value.GetRawText()); + strict = prop.Value.GetBoolean(); continue; } // Plugin customization: remove options.Format != "W" check @@ -149,8 +149,8 @@ internal static InternalFunctionTool DeserializeInternalFunctionTool(JsonElement additionalBinaryDataProperties, name, description, - strict, - parameters); + parameters, + strict); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/InternalFunctionTool.cs b/src/Generated/Models/Responses/InternalFunctionTool.cs index bfc9c4718..e064fe9b2 100644 --- a/src/Generated/Models/Responses/InternalFunctionTool.cs +++ b/src/Generated/Models/Responses/InternalFunctionTool.cs @@ -10,22 +10,22 @@ namespace OpenAI.Responses { internal partial class InternalFunctionTool : ResponseTool { - public InternalFunctionTool(string name, bool? strict, BinaryData parameters) : base(InternalToolType.Function) + public InternalFunctionTool(string name, BinaryData parameters, bool? strict) : base(InternalToolType.Function) { Argument.AssertNotNull(name, nameof(name)); Argument.AssertNotNull(parameters, nameof(parameters)); Name = name; - Strict = strict; Parameters = parameters; + Strict = strict; } - internal InternalFunctionTool(InternalToolType kind, IDictionary additionalBinaryDataProperties, string name, string description, bool? strict, BinaryData parameters) : base(kind, additionalBinaryDataProperties) + internal InternalFunctionTool(InternalToolType kind, IDictionary additionalBinaryDataProperties, string name, string description, BinaryData parameters, bool? strict) : base(kind, additionalBinaryDataProperties) { Name = name; Description = description; - Strict = strict; Parameters = parameters; + Strict = strict; } public string Name { get; set; } diff --git a/src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs b/src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs index 7c0aa729c..d72be216b 100644 --- a/src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs +++ b/src/Generated/Models/Responses/InternalItemContentOutputText.Serialization.cs @@ -31,6 +31,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(InternalItemContentOutputText)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + if (_additionalBinaryDataProperties?.ContainsKey("text") != true) + { + writer.WritePropertyName("text"u8); + writer.WriteStringValue(InternalText); + } if (_additionalBinaryDataProperties?.ContainsKey("annotations") != true) { writer.WritePropertyName("annotations"u8); @@ -51,11 +56,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } writer.WriteEndArray(); } - if (_additionalBinaryDataProperties?.ContainsKey("text") != true) - { - writer.WritePropertyName("text"u8); - writer.WriteStringValue(InternalText); - } } InternalItemContentOutputText IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalItemContentOutputText)JsonModelCreateCore(ref reader, options); @@ -79,9 +79,9 @@ internal static InternalItemContentOutputText DeserializeInternalItemContentOutp } InternalItemContentType internalType = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + string internalText = default; IList annotations = default; IList logprobs = default; - string internalText = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -89,6 +89,11 @@ internal static InternalItemContentOutputText DeserializeInternalItemContentOutp internalType = new InternalItemContentType(prop.Value.GetString()); continue; } + if (prop.NameEquals("text"u8)) + { + internalText = prop.Value.GetString(); + continue; + } if (prop.NameEquals("annotations"u8)) { List array = new List(); @@ -113,15 +118,10 @@ internal static InternalItemContentOutputText DeserializeInternalItemContentOutp logprobs = array; continue; } - if (prop.NameEquals("text"u8)) - { - internalText = prop.Value.GetString(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalItemContentOutputText(internalType, additionalBinaryDataProperties, annotations, logprobs ?? new ChangeTrackingList(), internalText); + return new InternalItemContentOutputText(internalType, additionalBinaryDataProperties, internalText, annotations, logprobs ?? new ChangeTrackingList()); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/InternalItemContentOutputText.cs b/src/Generated/Models/Responses/InternalItemContentOutputText.cs index f459bfb35..07e43d222 100644 --- a/src/Generated/Models/Responses/InternalItemContentOutputText.cs +++ b/src/Generated/Models/Responses/InternalItemContentOutputText.cs @@ -11,22 +11,22 @@ namespace OpenAI.Responses { internal partial class InternalItemContentOutputText : ResponseContentPart { - public InternalItemContentOutputText(IEnumerable annotations, string internalText) : base(InternalItemContentType.OutputText) + public InternalItemContentOutputText(string internalText, IEnumerable annotations) : base(InternalItemContentType.OutputText) { - Argument.AssertNotNull(annotations, nameof(annotations)); Argument.AssertNotNull(internalText, nameof(internalText)); + Argument.AssertNotNull(annotations, nameof(annotations)); + InternalText = internalText; Annotations = annotations.ToList(); Logprobs = new ChangeTrackingList(); - InternalText = internalText; } - internal InternalItemContentOutputText(InternalItemContentType internalType, IDictionary additionalBinaryDataProperties, IList annotations, IList logprobs, string internalText) : base(internalType, additionalBinaryDataProperties) + internal InternalItemContentOutputText(InternalItemContentType internalType, IDictionary additionalBinaryDataProperties, string internalText, IList annotations, IList logprobs) : base(internalType, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + InternalText = internalText; Annotations = annotations ?? new ChangeTrackingList(); Logprobs = logprobs ?? new ChangeTrackingList(); - InternalText = internalText; } public IList Annotations { get; } diff --git a/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs index 7a9b1cdf5..7884e0450 100644 --- a/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs +++ b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { internal partial class InternalResponsesTextFormatJsonSchema : IJsonModel { - internal InternalResponsesTextFormatJsonSchema() : this(InternalResponsesTextFormatType.JsonSchema, null, null, null, default, null) + internal InternalResponsesTextFormatJsonSchema() : this(InternalResponsesTextFormatType.JsonSchema, null, null, null, null, default) { } @@ -41,11 +41,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Strict) && _additionalBinaryDataProperties?.ContainsKey("strict") != true) - { - writer.WritePropertyName("strict"u8); - writer.WriteBooleanValue(Strict.Value); - } if (_additionalBinaryDataProperties?.ContainsKey("schema") != true) { writer.WritePropertyName("schema"u8); @@ -58,6 +53,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } #endif } + if (Optional.IsDefined(Strict) && _additionalBinaryDataProperties?.ContainsKey("strict") != true) + { + writer.WritePropertyName("strict"u8); + writer.WriteBooleanValue(Strict.Value); + } } InternalResponsesTextFormatJsonSchema IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (InternalResponsesTextFormatJsonSchema)JsonModelCreateCore(ref reader, options); @@ -83,8 +83,8 @@ internal static InternalResponsesTextFormatJsonSchema DeserializeInternalRespons IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); string description = default; string name = default; - bool? strict = default; BinaryData schema = default; + bool? strict = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -102,6 +102,11 @@ internal static InternalResponsesTextFormatJsonSchema DeserializeInternalRespons name = prop.Value.GetString(); continue; } + if (prop.NameEquals("schema"u8)) + { + schema = BinaryData.FromString(prop.Value.GetRawText()); + continue; + } if (prop.NameEquals("strict"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -112,11 +117,6 @@ internal static InternalResponsesTextFormatJsonSchema DeserializeInternalRespons strict = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("schema"u8)) - { - schema = BinaryData.FromString(prop.Value.GetRawText()); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -125,8 +125,8 @@ internal static InternalResponsesTextFormatJsonSchema DeserializeInternalRespons additionalBinaryDataProperties, description, name, - strict, - schema); + schema, + strict); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.cs b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.cs index e6f40fb6e..767dd7ea4 100644 --- a/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.cs +++ b/src/Generated/Models/Responses/InternalResponsesTextFormatJsonSchema.cs @@ -19,12 +19,12 @@ public InternalResponsesTextFormatJsonSchema(string name, BinaryData schema) : b Schema = schema; } - internal InternalResponsesTextFormatJsonSchema(InternalResponsesTextFormatType internalType, IDictionary additionalBinaryDataProperties, string description, string name, bool? strict, BinaryData schema) : base(internalType, additionalBinaryDataProperties) + internal InternalResponsesTextFormatJsonSchema(InternalResponsesTextFormatType internalType, IDictionary additionalBinaryDataProperties, string description, string name, BinaryData schema, bool? strict) : base(internalType, additionalBinaryDataProperties) { Description = description; Name = name; - Strict = strict; Schema = schema; + Strict = strict; } public string Description { get; set; } diff --git a/src/Generated/Models/Responses/OpenAIResponse.Serialization.cs b/src/Generated/Models/Responses/OpenAIResponse.Serialization.cs index 4629d7b28..50a01c394 100644 --- a/src/Generated/Models/Responses/OpenAIResponse.Serialization.cs +++ b/src/Generated/Models/Responses/OpenAIResponse.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.Responses { public partial class OpenAIResponse : IJsonModel { - internal OpenAIResponse() : this(null, default, default, default, null, default, null, null, null, default, default, null, null, null, null, default, null, default, null, null, default, null, null, null, null) + internal OpenAIResponse() : this(null, default, default, null, default, null, null, null, default, default, null, null, null, null, default, null, null, default, default, null, null, null, null, default, null) { } @@ -78,6 +78,18 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("top_p"u8); } } + if (_additionalBinaryDataProperties?.ContainsKey("user") != true) + { + if (Optional.IsDefined(EndUserId)) + { + writer.WritePropertyName("user"u8); + writer.WriteStringValue(EndUserId); + } + else + { + writer.WriteNull("user"u8); + } + } if (Optional.IsDefined(ServiceTier) && _additionalBinaryDataProperties?.ContainsKey("service_tier") != true) { writer.WritePropertyName("service_tier"u8); @@ -88,16 +100,36 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("previous_response_id"u8); writer.WriteStringValue(PreviousResponseId); } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } + if (Optional.IsDefined(ReasoningOptions) && _additionalBinaryDataProperties?.ContainsKey("reasoning") != true) + { + writer.WritePropertyName("reasoning"u8); + writer.WriteObjectValue(ReasoningOptions, options); + } if (Optional.IsDefined(Background) && _additionalBinaryDataProperties?.ContainsKey("background") != true) { writer.WritePropertyName("background"u8); writer.WriteBooleanValue(Background.Value); } + if (Optional.IsDefined(MaxOutputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) + { + writer.WritePropertyName("max_output_tokens"u8); + writer.WriteNumberValue(MaxOutputTokenCount.Value); + } if (Optional.IsDefined(Instructions) && _additionalBinaryDataProperties?.ContainsKey("instructions") != true) { writer.WritePropertyName("instructions"u8); writer.WriteStringValue(Instructions); } + if (Optional.IsDefined(TextOptions) && _additionalBinaryDataProperties?.ContainsKey("text") != true) + { + writer.WritePropertyName("text"u8); + writer.WriteObjectValue(TextOptions, options); + } if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) { writer.WritePropertyName("tools"u8); @@ -108,11 +140,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } + if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) + { + writer.WritePropertyName("tool_choice"u8); + writer.WriteObjectValue(ToolChoice, options); + } + if (Optional.IsDefined(TruncationMode) && _additionalBinaryDataProperties?.ContainsKey("truncation") != true) + { + writer.WritePropertyName("truncation"u8); + writer.WriteStringValue(TruncationMode.Value.ToString()); + } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) { writer.WritePropertyName("status"u8); @@ -135,43 +182,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("error"u8); } } - if (Optional.IsDefined(Usage) && _additionalBinaryDataProperties?.ContainsKey("usage") != true) - { - writer.WritePropertyName("usage"u8); - writer.WriteObjectValue(Usage, options); - } - if (_additionalBinaryDataProperties?.ContainsKey("user") != true) - { - if (Optional.IsDefined(EndUserId)) - { - writer.WritePropertyName("user"u8); - writer.WriteStringValue(EndUserId); - } - else - { - writer.WriteNull("user"u8); - } - } - if (Optional.IsDefined(ReasoningOptions) && _additionalBinaryDataProperties?.ContainsKey("reasoning") != true) - { - writer.WritePropertyName("reasoning"u8); - writer.WriteObjectValue(ReasoningOptions, options); - } - if (Optional.IsDefined(MaxOutputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) - { - writer.WritePropertyName("max_output_tokens"u8); - writer.WriteNumberValue(MaxOutputTokenCount.Value); - } - if (Optional.IsDefined(TextOptions) && _additionalBinaryDataProperties?.ContainsKey("text") != true) - { - writer.WritePropertyName("text"u8); - writer.WriteObjectValue(TextOptions, options); - } - if (Optional.IsDefined(TruncationMode) && _additionalBinaryDataProperties?.ContainsKey("truncation") != true) - { - writer.WritePropertyName("truncation"u8); - writer.WriteStringValue(TruncationMode.Value.ToString()); - } if (_additionalBinaryDataProperties?.ContainsKey("incomplete_details") != true) { if (Optional.IsDefined(IncompleteStatusDetails)) @@ -194,26 +204,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } + if (Optional.IsDefined(Usage) && _additionalBinaryDataProperties?.ContainsKey("usage") != true) + { + writer.WritePropertyName("usage"u8); + writer.WriteObjectValue(Usage, options); + } if (_additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) { writer.WritePropertyName("parallel_tool_calls"u8); writer.WriteBooleanValue(ParallelToolCallsEnabled); } - if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) - { - writer.WritePropertyName("tool_choice"u8); - writer.WriteObjectValue(ToolChoice, options); - } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) - { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); - } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -258,27 +258,27 @@ internal static OpenAIResponse DeserializeOpenAIResponse(JsonElement element, Mo IDictionary metadata = default; float? temperature = default; float? topP = default; + string endUserId = default; ResponseServiceTier? serviceTier = default; string previousResponseId = default; + string model = default; + ResponseReasoningOptions reasoningOptions = default; bool? background = default; + int? maxOutputTokenCount = default; string instructions = default; + ResponseTextOptions textOptions = default; IList tools = default; + ResponseToolChoice toolChoice = default; + ResponseTruncationMode? truncationMode = default; string id = default; + string @object = default; ResponseStatus? status = default; DateTimeOffset createdAt = default; ResponseError error = default; - ResponseTokenUsage usage = default; - string endUserId = default; - ResponseReasoningOptions reasoningOptions = default; - int? maxOutputTokenCount = default; - ResponseTextOptions textOptions = default; - ResponseTruncationMode? truncationMode = default; ResponseIncompleteStatusDetails incompleteStatusDetails = default; IList outputItems = default; + ResponseTokenUsage usage = default; bool parallelToolCallsEnabled = default; - ResponseToolChoice toolChoice = default; - string model = default; - string @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -324,6 +324,16 @@ internal static OpenAIResponse DeserializeOpenAIResponse(JsonElement element, Mo topP = prop.Value.GetSingle(); continue; } + if (prop.NameEquals("user"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + endUserId = null; + continue; + } + endUserId = prop.Value.GetString(); + continue; + } if (prop.NameEquals("service_tier"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -343,125 +353,125 @@ internal static OpenAIResponse DeserializeOpenAIResponse(JsonElement element, Mo previousResponseId = prop.Value.GetString(); continue; } - if (prop.NameEquals("background"u8)) + if (prop.NameEquals("model"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - background = null; - continue; - } - background = prop.Value.GetBoolean(); + model = prop.Value.GetString(); continue; } - if (prop.NameEquals("instructions"u8)) + if (prop.NameEquals("reasoning"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - instructions = null; + reasoningOptions = null; continue; } - instructions = prop.Value.GetString(); + reasoningOptions = ResponseReasoningOptions.DeserializeResponseReasoningOptions(prop.Value, options); continue; } - if (prop.NameEquals("tools"u8)) + if (prop.NameEquals("background"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + background = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(ResponseTool.DeserializeResponseTool(item, options)); - } - tools = array; - continue; - } - if (prop.NameEquals("id"u8)) - { - id = prop.Value.GetString(); + background = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("status"u8)) + if (prop.NameEquals("max_output_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + maxOutputTokenCount = null; continue; } - status = prop.Value.GetString().ToResponseStatus(); - continue; - } - if (prop.NameEquals("created_at"u8)) - { - createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + maxOutputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("error"u8)) + if (prop.NameEquals("instructions"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - error = null; + instructions = null; continue; } - error = ResponseError.DeserializeResponseError(prop.Value, options); + instructions = prop.Value.GetString(); continue; } - if (prop.NameEquals("usage"u8)) + if (prop.NameEquals("text"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - usage = ResponseTokenUsage.DeserializeResponseTokenUsage(prop.Value, options); + textOptions = ResponseTextOptions.DeserializeResponseTextOptions(prop.Value, options); continue; } - if (prop.NameEquals("user"u8)) + if (prop.NameEquals("tools"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - endUserId = null; continue; } - endUserId = prop.Value.GetString(); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(ResponseTool.DeserializeResponseTool(item, options)); + } + tools = array; continue; } - if (prop.NameEquals("reasoning"u8)) + if (prop.NameEquals("tool_choice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningOptions = null; continue; } - reasoningOptions = ResponseReasoningOptions.DeserializeResponseReasoningOptions(prop.Value, options); + toolChoice = ResponseToolChoice.DeserializeResponseToolChoice(prop.Value, options); continue; } - if (prop.NameEquals("max_output_tokens"u8)) + if (prop.NameEquals("truncation"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - maxOutputTokenCount = null; + truncationMode = null; continue; } - maxOutputTokenCount = prop.Value.GetInt32(); + truncationMode = new ResponseTruncationMode(prop.Value.GetString()); continue; } - if (prop.NameEquals("text"u8)) + if (prop.NameEquals("id"u8)) + { + id = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("status"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - textOptions = ResponseTextOptions.DeserializeResponseTextOptions(prop.Value, options); + status = prop.Value.GetString().ToResponseStatus(); continue; } - if (prop.NameEquals("truncation"u8)) + if (prop.NameEquals("created_at"u8)) + { + createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); + continue; + } + if (prop.NameEquals("error"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - truncationMode = null; + error = null; continue; } - truncationMode = new ResponseTruncationMode(prop.Value.GetString()); + error = ResponseError.DeserializeResponseError(prop.Value, options); continue; } if (prop.NameEquals("incomplete_details"u8)) @@ -484,28 +494,18 @@ internal static OpenAIResponse DeserializeOpenAIResponse(JsonElement element, Mo outputItems = array; continue; } - if (prop.NameEquals("parallel_tool_calls"u8)) - { - parallelToolCallsEnabled = prop.Value.GetBoolean(); - continue; - } - if (prop.NameEquals("tool_choice"u8)) + if (prop.NameEquals("usage"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - toolChoice = ResponseToolChoice.DeserializeResponseToolChoice(prop.Value, options); - continue; - } - if (prop.NameEquals("model"u8)) - { - model = prop.Value.GetString(); + usage = ResponseTokenUsage.DeserializeResponseTokenUsage(prop.Value, options); continue; } - if (prop.NameEquals("object"u8)) + if (prop.NameEquals("parallel_tool_calls"u8)) { - @object = prop.Value.GetString(); + parallelToolCallsEnabled = prop.Value.GetBoolean(); continue; } // Plugin customization: remove options.Format != "W" check @@ -515,27 +515,27 @@ internal static OpenAIResponse DeserializeOpenAIResponse(JsonElement element, Mo metadata, temperature, topP, + endUserId, serviceTier, previousResponseId, + model, + reasoningOptions, background, + maxOutputTokenCount, instructions, + textOptions, tools ?? new ChangeTrackingList(), + toolChoice, + truncationMode, id, + @object, status, createdAt, error, - usage, - endUserId, - reasoningOptions, - maxOutputTokenCount, - textOptions, - truncationMode, incompleteStatusDetails, outputItems, + usage, parallelToolCallsEnabled, - toolChoice, - model, - @object, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Responses/OpenAIResponse.cs b/src/Generated/Models/Responses/OpenAIResponse.cs index c28cbc24c..0c601460f 100644 --- a/src/Generated/Models/Responses/OpenAIResponse.cs +++ b/src/Generated/Models/Responses/OpenAIResponse.cs @@ -15,49 +15,49 @@ public partial class OpenAIResponse { private protected IDictionary _additionalBinaryDataProperties; - internal OpenAIResponse(IDictionary metadata, float? temperature, float? topP, string id, DateTimeOffset createdAt, ResponseError error, string endUserId, ResponseIncompleteStatusDetails incompleteStatusDetails, IEnumerable outputItems, bool parallelToolCallsEnabled) + internal OpenAIResponse(IDictionary metadata, float? temperature, float? topP, string endUserId, string id, DateTimeOffset createdAt, ResponseError error, ResponseIncompleteStatusDetails incompleteStatusDetails, IEnumerable outputItems, bool parallelToolCallsEnabled) { // Plugin customization: ensure initialization of collections Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; TopP = topP; + EndUserId = endUserId; Tools = new ChangeTrackingList(); Id = id; CreatedAt = createdAt; Error = error; - EndUserId = endUserId; IncompleteStatusDetails = incompleteStatusDetails; OutputItems = outputItems.ToList(); ParallelToolCallsEnabled = parallelToolCallsEnabled; } - internal OpenAIResponse(IDictionary metadata, float? temperature, float? topP, ResponseServiceTier? serviceTier, string previousResponseId, bool? background, string instructions, IList tools, string id, ResponseStatus? status, DateTimeOffset createdAt, ResponseError error, ResponseTokenUsage usage, string endUserId, ResponseReasoningOptions reasoningOptions, int? maxOutputTokenCount, ResponseTextOptions textOptions, ResponseTruncationMode? truncationMode, ResponseIncompleteStatusDetails incompleteStatusDetails, IList outputItems, bool parallelToolCallsEnabled, ResponseToolChoice toolChoice, string model, string @object, IDictionary additionalBinaryDataProperties) + internal OpenAIResponse(IDictionary metadata, float? temperature, float? topP, string endUserId, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? background, int? maxOutputTokenCount, string instructions, ResponseTextOptions textOptions, IList tools, ResponseToolChoice toolChoice, ResponseTruncationMode? truncationMode, string id, string @object, ResponseStatus? status, DateTimeOffset createdAt, ResponseError error, ResponseIncompleteStatusDetails incompleteStatusDetails, IList outputItems, ResponseTokenUsage usage, bool parallelToolCallsEnabled, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; TopP = topP; + EndUserId = endUserId; ServiceTier = serviceTier; PreviousResponseId = previousResponseId; + Model = model; + ReasoningOptions = reasoningOptions; Background = background; + MaxOutputTokenCount = maxOutputTokenCount; Instructions = instructions; + TextOptions = textOptions; Tools = tools ?? new ChangeTrackingList(); + ToolChoice = toolChoice; + TruncationMode = truncationMode; Id = id; + Object = @object; Status = status; CreatedAt = createdAt; Error = error; - Usage = usage; - EndUserId = endUserId; - ReasoningOptions = reasoningOptions; - MaxOutputTokenCount = maxOutputTokenCount; - TextOptions = textOptions; - TruncationMode = truncationMode; IncompleteStatusDetails = incompleteStatusDetails; OutputItems = outputItems ?? new ChangeTrackingList(); + Usage = usage; ParallelToolCallsEnabled = parallelToolCallsEnabled; - ToolChoice = toolChoice; - Model = model; - Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs b/src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs index 8be47c043..18d1e3777 100644 --- a/src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs +++ b/src/Generated/Models/Responses/ReasoningResponseItem.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class ReasoningResponseItem : IJsonModel { - internal ReasoningResponseItem() : this(InternalItemType.Reasoning, null, null, null, null, default) + internal ReasoningResponseItem() : this(InternalItemType.Reasoning, null, null, default, null, null) { } @@ -31,6 +31,13 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri throw new FormatException($"The model {nameof(ReasoningResponseItem)} does not support writing '{format}' format."); } base.JsonModelWriteCore(writer, options); + // Plugin customization: remove options.Format != "W" check + // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup + if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) + { + writer.WritePropertyName("status"u8); + writer.WriteStringValue(Status.Value.ToSerialString()); + } if (Optional.IsDefined(EncryptedContent) && _additionalBinaryDataProperties?.ContainsKey("encrypted_content") != true) { writer.WritePropertyName("encrypted_content"u8); @@ -46,13 +53,6 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri } writer.WriteEndArray(); } - // Plugin customization: remove options.Format != "W" check - // Plugin customization: apply Optional.Is*Defined() check based on type name dictionary lookup - if (Optional.IsDefined(Status) && _additionalBinaryDataProperties?.ContainsKey("status") != true) - { - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.Value.ToSerialString()); - } } ReasoningResponseItem IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (ReasoningResponseItem)JsonModelCreateCore(ref reader, options); @@ -77,9 +77,9 @@ internal static ReasoningResponseItem DeserializeReasoningResponseItem(JsonEleme InternalItemType kind = default; string id = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + ReasoningStatus? status = default; string encryptedContent = default; IList summaryParts = default; - ReasoningStatus? status = default; foreach (var prop in element.EnumerateObject()) { if (prop.NameEquals("type"u8)) @@ -92,6 +92,11 @@ internal static ReasoningResponseItem DeserializeReasoningResponseItem(JsonEleme id = prop.Value.GetString(); continue; } + if (prop.NameEquals("status"u8)) + { + status = prop.Value.GetString().ToReasoningStatus(); + continue; + } if (prop.NameEquals("encrypted_content"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -112,11 +117,6 @@ internal static ReasoningResponseItem DeserializeReasoningResponseItem(JsonEleme summaryParts = array; continue; } - if (prop.NameEquals("status"u8)) - { - status = prop.Value.GetString().ToReasoningStatus(); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } @@ -124,9 +124,9 @@ internal static ReasoningResponseItem DeserializeReasoningResponseItem(JsonEleme kind, id, additionalBinaryDataProperties, + status, encryptedContent, - summaryParts, - status); + summaryParts); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/ReasoningResponseItem.cs b/src/Generated/Models/Responses/ReasoningResponseItem.cs index b138a9288..eb724a3a1 100644 --- a/src/Generated/Models/Responses/ReasoningResponseItem.cs +++ b/src/Generated/Models/Responses/ReasoningResponseItem.cs @@ -20,12 +20,12 @@ public ReasoningResponseItem(IEnumerable summaryParts) : b SummaryParts = summaryParts.ToList(); } - internal ReasoningResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, string encryptedContent, IList summaryParts, ReasoningStatus? status) : base(kind, id, additionalBinaryDataProperties) + internal ReasoningResponseItem(InternalItemType kind, string id, IDictionary additionalBinaryDataProperties, ReasoningStatus? status, string encryptedContent, IList summaryParts) : base(kind, id, additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + Status = status; EncryptedContent = encryptedContent; SummaryParts = summaryParts ?? new ChangeTrackingList(); - Status = status; } public string EncryptedContent { get; set; } diff --git a/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs b/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs index 9f8df6f15..d5e4d9f2c 100644 --- a/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseCreationOptions.Serialization.cs @@ -12,7 +12,7 @@ namespace OpenAI.Responses { public partial class ResponseCreationOptions : IJsonModel { - public ResponseCreationOptions() : this(null, default, default, default, null, default, null, null, null, null, default, null, null, default, null, default, default, default, null, null, null) + public ResponseCreationOptions() : this(null, default, default, null, default, null, null, null, default, default, null, null, null, null, default, null, null, default, default, default, null) { } @@ -56,6 +56,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("top_p"u8); writer.WriteNumberValue(TopP.Value); } + if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) + { + writer.WritePropertyName("user"u8); + writer.WriteStringValue(EndUserId); + } if (Optional.IsDefined(ServiceTier) && _additionalBinaryDataProperties?.ContainsKey("service_tier") != true) { writer.WritePropertyName("service_tier"u8); @@ -66,30 +71,55 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("previous_response_id"u8); writer.WriteStringValue(PreviousResponseId); } + if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + { + writer.WritePropertyName("model"u8); + writer.WriteStringValue(Model); + } + if (Optional.IsDefined(ReasoningOptions) && _additionalBinaryDataProperties?.ContainsKey("reasoning") != true) + { + writer.WritePropertyName("reasoning"u8); + writer.WriteObjectValue(ReasoningOptions, options); + } if (Optional.IsDefined(Background) && _additionalBinaryDataProperties?.ContainsKey("background") != true) { writer.WritePropertyName("background"u8); writer.WriteBooleanValue(Background.Value); } + if (Optional.IsDefined(MaxOutputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) + { + writer.WritePropertyName("max_output_tokens"u8); + writer.WriteNumberValue(MaxOutputTokenCount.Value); + } if (Optional.IsDefined(Instructions) && _additionalBinaryDataProperties?.ContainsKey("instructions") != true) { writer.WritePropertyName("instructions"u8); writer.WriteStringValue(Instructions); } - if (Optional.IsCollectionDefined(Include) && _additionalBinaryDataProperties?.ContainsKey("include") != true) + if (Optional.IsDefined(TextOptions) && _additionalBinaryDataProperties?.ContainsKey("text") != true) { - writer.WritePropertyName("include"u8); + writer.WritePropertyName("text"u8); + writer.WriteObjectValue(TextOptions, options); + } + if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) + { + writer.WritePropertyName("tools"u8); writer.WriteStartArray(); - foreach (InternalIncludable item in Include) + foreach (ResponseTool item in Tools) { - writer.WriteStringValue(item.ToString()); + writer.WriteObjectValue(item, options); } writer.WriteEndArray(); } - if (Optional.IsDefined(Model) && _additionalBinaryDataProperties?.ContainsKey("model") != true) + if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) { - writer.WritePropertyName("model"u8); - writer.WriteStringValue(Model); + writer.WritePropertyName("tool_choice"u8); + writer.WriteObjectValue(ToolChoice, options); + } + if (Optional.IsDefined(TruncationMode) && _additionalBinaryDataProperties?.ContainsKey("truncation") != true) + { + writer.WritePropertyName("truncation"u8); + writer.WriteStringValue(TruncationMode.Value.ToString()); } if (_additionalBinaryDataProperties?.ContainsKey("input") != true) { @@ -101,35 +131,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } - if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) - { - writer.WritePropertyName("stream"u8); - writer.WriteBooleanValue(Stream.Value); - } - if (Optional.IsDefined(EndUserId) && _additionalBinaryDataProperties?.ContainsKey("user") != true) - { - writer.WritePropertyName("user"u8); - writer.WriteStringValue(EndUserId); - } - if (Optional.IsDefined(ReasoningOptions) && _additionalBinaryDataProperties?.ContainsKey("reasoning") != true) - { - writer.WritePropertyName("reasoning"u8); - writer.WriteObjectValue(ReasoningOptions, options); - } - if (Optional.IsDefined(MaxOutputTokenCount) && _additionalBinaryDataProperties?.ContainsKey("max_output_tokens") != true) - { - writer.WritePropertyName("max_output_tokens"u8); - writer.WriteNumberValue(MaxOutputTokenCount.Value); - } - if (Optional.IsDefined(TextOptions) && _additionalBinaryDataProperties?.ContainsKey("text") != true) - { - writer.WritePropertyName("text"u8); - writer.WriteObjectValue(TextOptions, options); - } - if (Optional.IsDefined(TruncationMode) && _additionalBinaryDataProperties?.ContainsKey("truncation") != true) + if (Optional.IsCollectionDefined(Include) && _additionalBinaryDataProperties?.ContainsKey("include") != true) { - writer.WritePropertyName("truncation"u8); - writer.WriteStringValue(TruncationMode.Value.ToString()); + writer.WritePropertyName("include"u8); + writer.WriteStartArray(); + foreach (InternalIncludable item in Include) + { + writer.WriteStringValue(item.ToString()); + } + writer.WriteEndArray(); } if (Optional.IsDefined(ParallelToolCallsEnabled) && _additionalBinaryDataProperties?.ContainsKey("parallel_tool_calls") != true) { @@ -141,20 +151,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("store"u8); writer.WriteBooleanValue(StoredOutputEnabled.Value); } - if (Optional.IsDefined(ToolChoice) && _additionalBinaryDataProperties?.ContainsKey("tool_choice") != true) - { - writer.WritePropertyName("tool_choice"u8); - writer.WriteObjectValue(ToolChoice, options); - } - if (Optional.IsCollectionDefined(Tools) && _additionalBinaryDataProperties?.ContainsKey("tools") != true) + if (Optional.IsDefined(Stream) && _additionalBinaryDataProperties?.ContainsKey("stream") != true) { - writer.WritePropertyName("tools"u8); - writer.WriteStartArray(); - foreach (ResponseTool item in Tools) - { - writer.WriteObjectValue(item, options); - } - writer.WriteEndArray(); + writer.WritePropertyName("stream"u8); + writer.WriteBooleanValue(Stream.Value); } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) @@ -200,23 +200,23 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE IDictionary metadata = default; float? temperature = default; float? topP = default; + string endUserId = default; ResponseServiceTier? serviceTier = default; string previousResponseId = default; - bool? background = default; - string instructions = default; - IList include = default; string model = default; - IList input = default; - bool? stream = default; - string endUserId = default; ResponseReasoningOptions reasoningOptions = default; + bool? background = default; int? maxOutputTokenCount = default; + string instructions = default; ResponseTextOptions textOptions = default; + IList tools = default; + ResponseToolChoice toolChoice = default; ResponseTruncationMode? truncationMode = default; + IList input = default; + IList include = default; bool? parallelToolCallsEnabled = default; bool? storedOutputEnabled = default; - ResponseToolChoice toolChoice = default; - IList tools = default; + bool? stream = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -261,6 +261,11 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE topP = prop.Value.GetSingle(); continue; } + if (prop.NameEquals("user"u8)) + { + endUserId = prop.Value.GetString(); + continue; + } if (prop.NameEquals("service_tier"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -280,107 +285,115 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE previousResponseId = prop.Value.GetString(); continue; } - if (prop.NameEquals("background"u8)) + if (prop.NameEquals("model"u8)) + { + model = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("reasoning"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - background = null; + reasoningOptions = null; continue; } - background = prop.Value.GetBoolean(); + reasoningOptions = ResponseReasoningOptions.DeserializeResponseReasoningOptions(prop.Value, options); continue; } - if (prop.NameEquals("instructions"u8)) + if (prop.NameEquals("background"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - instructions = null; + background = null; continue; } - instructions = prop.Value.GetString(); + background = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("include"u8)) + if (prop.NameEquals("max_output_tokens"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + maxOutputTokenCount = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(new InternalIncludable(item.GetString())); - } - include = array; - continue; - } - if (prop.NameEquals("model"u8)) - { - model = prop.Value.GetString(); + maxOutputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("input"u8)) + if (prop.NameEquals("instructions"u8)) { - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) + if (prop.Value.ValueKind == JsonValueKind.Null) { - array.Add(ResponseItem.DeserializeResponseItem(item, options)); + instructions = null; + continue; } - input = array; + instructions = prop.Value.GetString(); continue; } - if (prop.NameEquals("stream"u8)) + if (prop.NameEquals("text"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - stream = null; continue; } - stream = prop.Value.GetBoolean(); + textOptions = ResponseTextOptions.DeserializeResponseTextOptions(prop.Value, options); continue; } - if (prop.NameEquals("user"u8)) + if (prop.NameEquals("tools"u8)) { - endUserId = prop.Value.GetString(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(ResponseTool.DeserializeResponseTool(item, options)); + } + tools = array; continue; } - if (prop.NameEquals("reasoning"u8)) + if (prop.NameEquals("tool_choice"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningOptions = null; continue; } - reasoningOptions = ResponseReasoningOptions.DeserializeResponseReasoningOptions(prop.Value, options); + toolChoice = ResponseToolChoice.DeserializeResponseToolChoice(prop.Value, options); continue; } - if (prop.NameEquals("max_output_tokens"u8)) + if (prop.NameEquals("truncation"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - maxOutputTokenCount = null; + truncationMode = null; continue; } - maxOutputTokenCount = prop.Value.GetInt32(); + truncationMode = new ResponseTruncationMode(prop.Value.GetString()); continue; } - if (prop.NameEquals("text"u8)) + if (prop.NameEquals("input"u8)) { - if (prop.Value.ValueKind == JsonValueKind.Null) + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) { - continue; + array.Add(ResponseItem.DeserializeResponseItem(item, options)); } - textOptions = ResponseTextOptions.DeserializeResponseTextOptions(prop.Value, options); + input = array; continue; } - if (prop.NameEquals("truncation"u8)) + if (prop.NameEquals("include"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - truncationMode = null; continue; } - truncationMode = new ResponseTruncationMode(prop.Value.GetString()); + List array = new List(); + foreach (var item in prop.Value.EnumerateArray()) + { + array.Add(new InternalIncludable(item.GetString())); + } + include = array; continue; } if (prop.NameEquals("parallel_tool_calls"u8)) @@ -403,27 +416,14 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE storedOutputEnabled = prop.Value.GetBoolean(); continue; } - if (prop.NameEquals("tool_choice"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - toolChoice = ResponseToolChoice.DeserializeResponseToolChoice(prop.Value, options); - continue; - } - if (prop.NameEquals("tools"u8)) + if (prop.NameEquals("stream"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { + stream = null; continue; } - List array = new List(); - foreach (var item in prop.Value.EnumerateArray()) - { - array.Add(ResponseTool.DeserializeResponseTool(item, options)); - } - tools = array; + stream = prop.Value.GetBoolean(); continue; } // Plugin customization: remove options.Format != "W" check @@ -433,23 +433,23 @@ internal static ResponseCreationOptions DeserializeResponseCreationOptions(JsonE metadata ?? new ChangeTrackingDictionary(), temperature, topP, + endUserId, serviceTier, previousResponseId, - background, - instructions, - include ?? new ChangeTrackingList(), model, - input, - stream, - endUserId, reasoningOptions, + background, maxOutputTokenCount, + instructions, textOptions, + tools ?? new ChangeTrackingList(), + toolChoice, truncationMode, + input, + include ?? new ChangeTrackingList(), parallelToolCallsEnabled, storedOutputEnabled, - toolChoice, - tools ?? new ChangeTrackingList(), + stream, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Responses/ResponseCreationOptions.cs b/src/Generated/Models/Responses/ResponseCreationOptions.cs index 9953edc91..89f556ef0 100644 --- a/src/Generated/Models/Responses/ResponseCreationOptions.cs +++ b/src/Generated/Models/Responses/ResponseCreationOptions.cs @@ -14,29 +14,29 @@ public partial class ResponseCreationOptions { private protected IDictionary _additionalBinaryDataProperties; - internal ResponseCreationOptions(IDictionary metadata, float? temperature, float? topP, ResponseServiceTier? serviceTier, string previousResponseId, bool? background, string instructions, IList include, string model, IList input, bool? stream, string endUserId, ResponseReasoningOptions reasoningOptions, int? maxOutputTokenCount, ResponseTextOptions textOptions, ResponseTruncationMode? truncationMode, bool? parallelToolCallsEnabled, bool? storedOutputEnabled, ResponseToolChoice toolChoice, IList tools, IDictionary additionalBinaryDataProperties) + internal ResponseCreationOptions(IDictionary metadata, float? temperature, float? topP, string endUserId, ResponseServiceTier? serviceTier, string previousResponseId, string model, ResponseReasoningOptions reasoningOptions, bool? background, int? maxOutputTokenCount, string instructions, ResponseTextOptions textOptions, IList tools, ResponseToolChoice toolChoice, ResponseTruncationMode? truncationMode, IList input, IList include, bool? parallelToolCallsEnabled, bool? storedOutputEnabled, bool? stream, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Metadata = metadata ?? new ChangeTrackingDictionary(); Temperature = temperature; TopP = topP; + EndUserId = endUserId; ServiceTier = serviceTier; PreviousResponseId = previousResponseId; - Background = background; - Instructions = instructions; - Include = include ?? new ChangeTrackingList(); Model = model; - Input = input ?? new ChangeTrackingList(); - Stream = stream; - EndUserId = endUserId; ReasoningOptions = reasoningOptions; + Background = background; MaxOutputTokenCount = maxOutputTokenCount; + Instructions = instructions; TextOptions = textOptions; + Tools = tools ?? new ChangeTrackingList(); + ToolChoice = toolChoice; TruncationMode = truncationMode; + Input = input ?? new ChangeTrackingList(); + Include = include ?? new ChangeTrackingList(); ParallelToolCallsEnabled = parallelToolCallsEnabled; StoredOutputEnabled = storedOutputEnabled; - ToolChoice = toolChoice; - Tools = tools ?? new ChangeTrackingList(); + Stream = stream; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs b/src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs index 96aa55f4d..5fea1bdec 100644 --- a/src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseDeletionResult.Serialization.cs @@ -36,16 +36,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); writer.WriteStringValue(Object); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -88,8 +88,8 @@ internal static ResponseDeletionResult DeserializeResponseDeletionResult(JsonEle return null; } string id = default; - bool deleted = default; string @object = default; + bool deleted = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -98,20 +98,20 @@ internal static ResponseDeletionResult DeserializeResponseDeletionResult(JsonEle id = prop.Value.GetString(); continue; } - if (prop.NameEquals("deleted"u8)) + if (prop.NameEquals("object"u8)) { - deleted = prop.Value.GetBoolean(); + @object = prop.Value.GetString(); continue; } - if (prop.NameEquals("object"u8)) + if (prop.NameEquals("deleted"u8)) { - @object = prop.Value.GetString(); + deleted = prop.Value.GetBoolean(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ResponseDeletionResult(id, deleted, @object, additionalBinaryDataProperties); + return new ResponseDeletionResult(id, @object, deleted, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/ResponseDeletionResult.cs b/src/Generated/Models/Responses/ResponseDeletionResult.cs index c653e8862..b96ea6085 100644 --- a/src/Generated/Models/Responses/ResponseDeletionResult.cs +++ b/src/Generated/Models/Responses/ResponseDeletionResult.cs @@ -18,11 +18,11 @@ internal ResponseDeletionResult(string id) Id = id; } - internal ResponseDeletionResult(string id, bool deleted, string @object, IDictionary additionalBinaryDataProperties) + internal ResponseDeletionResult(string id, string @object, bool deleted, IDictionary additionalBinaryDataProperties) { Id = id; - Deleted = deleted; Object = @object; + Deleted = deleted; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs b/src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs index 09ab5c1b1..6132dadfc 100644 --- a/src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseReasoningOptions.Serialization.cs @@ -26,11 +26,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(ResponseReasoningOptions)} does not support writing '{format}' format."); } - if (Optional.IsDefined(GenerateSummary) && _additionalBinaryDataProperties?.ContainsKey("generate_summary") != true) - { - writer.WritePropertyName("generate_summary"u8); - writer.WriteStringValue(GenerateSummary.Value.ToString()); - } if (Optional.IsDefined(ReasoningEffortLevel) && _additionalBinaryDataProperties?.ContainsKey("effort") != true) { writer.WritePropertyName("effort"u8); @@ -41,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("summary"u8); writer.WriteStringValue(ReasoningSummaryVerbosity.Value.ToString()); } + if (Optional.IsDefined(GenerateSummary) && _additionalBinaryDataProperties?.ContainsKey("generate_summary") != true) + { + writer.WritePropertyName("generate_summary"u8); + writer.WriteStringValue(GenerateSummary.Value.ToString()); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -82,46 +82,46 @@ internal static ResponseReasoningOptions DeserializeResponseReasoningOptions(Jso { return null; } - InternalReasoningGenerateSummary? generateSummary = default; ResponseReasoningEffortLevel? reasoningEffortLevel = default; ResponseReasoningSummaryVerbosity? reasoningSummaryVerbosity = default; + InternalReasoningGenerateSummary? generateSummary = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("generate_summary"u8)) + if (prop.NameEquals("effort"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - generateSummary = null; + reasoningEffortLevel = null; continue; } - generateSummary = new InternalReasoningGenerateSummary(prop.Value.GetString()); + reasoningEffortLevel = new ResponseReasoningEffortLevel(prop.Value.GetString()); continue; } - if (prop.NameEquals("effort"u8)) + if (prop.NameEquals("summary"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningEffortLevel = null; + reasoningSummaryVerbosity = null; continue; } - reasoningEffortLevel = new ResponseReasoningEffortLevel(prop.Value.GetString()); + reasoningSummaryVerbosity = new ResponseReasoningSummaryVerbosity(prop.Value.GetString()); continue; } - if (prop.NameEquals("summary"u8)) + if (prop.NameEquals("generate_summary"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { - reasoningSummaryVerbosity = null; + generateSummary = null; continue; } - reasoningSummaryVerbosity = new ResponseReasoningSummaryVerbosity(prop.Value.GetString()); + generateSummary = new InternalReasoningGenerateSummary(prop.Value.GetString()); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new ResponseReasoningOptions(generateSummary, reasoningEffortLevel, reasoningSummaryVerbosity, additionalBinaryDataProperties); + return new ResponseReasoningOptions(reasoningEffortLevel, reasoningSummaryVerbosity, generateSummary, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/Responses/ResponseReasoningOptions.cs b/src/Generated/Models/Responses/ResponseReasoningOptions.cs index c374a7acf..fb54c8c10 100644 --- a/src/Generated/Models/Responses/ResponseReasoningOptions.cs +++ b/src/Generated/Models/Responses/ResponseReasoningOptions.cs @@ -17,11 +17,11 @@ public ResponseReasoningOptions() { } - internal ResponseReasoningOptions(InternalReasoningGenerateSummary? generateSummary, ResponseReasoningEffortLevel? reasoningEffortLevel, ResponseReasoningSummaryVerbosity? reasoningSummaryVerbosity, IDictionary additionalBinaryDataProperties) + internal ResponseReasoningOptions(ResponseReasoningEffortLevel? reasoningEffortLevel, ResponseReasoningSummaryVerbosity? reasoningSummaryVerbosity, InternalReasoningGenerateSummary? generateSummary, IDictionary additionalBinaryDataProperties) { - GenerateSummary = generateSummary; ReasoningEffortLevel = reasoningEffortLevel; ReasoningSummaryVerbosity = reasoningSummaryVerbosity; + GenerateSummary = generateSummary; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs b/src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs index 9a230d392..523afce67 100644 --- a/src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs +++ b/src/Generated/Models/Responses/ResponseTokenUsage.Serialization.cs @@ -35,26 +35,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("input_tokens"u8); writer.WriteNumberValue(InputTokenCount); } - if (_additionalBinaryDataProperties?.ContainsKey("output_tokens") != true) - { - writer.WritePropertyName("output_tokens"u8); - writer.WriteNumberValue(OutputTokenCount); - } - if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) - { - writer.WritePropertyName("total_tokens"u8); - writer.WriteNumberValue(TotalTokenCount); - } if (_additionalBinaryDataProperties?.ContainsKey("input_tokens_details") != true) { writer.WritePropertyName("input_tokens_details"u8); writer.WriteObjectValue(InputTokenDetails, options); } + if (_additionalBinaryDataProperties?.ContainsKey("output_tokens") != true) + { + writer.WritePropertyName("output_tokens"u8); + writer.WriteNumberValue(OutputTokenCount); + } if (_additionalBinaryDataProperties?.ContainsKey("output_tokens_details") != true) { writer.WritePropertyName("output_tokens_details"u8); writer.WriteObjectValue(OutputTokenDetails, options); } + if (_additionalBinaryDataProperties?.ContainsKey("total_tokens") != true) + { + writer.WritePropertyName("total_tokens"u8); + writer.WriteNumberValue(TotalTokenCount); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -97,10 +97,10 @@ internal static ResponseTokenUsage DeserializeResponseTokenUsage(JsonElement ele return null; } int inputTokenCount = default; - int outputTokenCount = default; - int totalTokenCount = default; ResponseInputTokenUsageDetails inputTokenDetails = default; + int outputTokenCount = default; ResponseOutputTokenUsageDetails outputTokenDetails = default; + int totalTokenCount = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -109,24 +109,24 @@ internal static ResponseTokenUsage DeserializeResponseTokenUsage(JsonElement ele inputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("output_tokens"u8)) + if (prop.NameEquals("input_tokens_details"u8)) { - outputTokenCount = prop.Value.GetInt32(); + inputTokenDetails = ResponseInputTokenUsageDetails.DeserializeResponseInputTokenUsageDetails(prop.Value, options); continue; } - if (prop.NameEquals("total_tokens"u8)) + if (prop.NameEquals("output_tokens"u8)) { - totalTokenCount = prop.Value.GetInt32(); + outputTokenCount = prop.Value.GetInt32(); continue; } - if (prop.NameEquals("input_tokens_details"u8)) + if (prop.NameEquals("output_tokens_details"u8)) { - inputTokenDetails = ResponseInputTokenUsageDetails.DeserializeResponseInputTokenUsageDetails(prop.Value, options); + outputTokenDetails = ResponseOutputTokenUsageDetails.DeserializeResponseOutputTokenUsageDetails(prop.Value, options); continue; } - if (prop.NameEquals("output_tokens_details"u8)) + if (prop.NameEquals("total_tokens"u8)) { - outputTokenDetails = ResponseOutputTokenUsageDetails.DeserializeResponseOutputTokenUsageDetails(prop.Value, options); + totalTokenCount = prop.Value.GetInt32(); continue; } // Plugin customization: remove options.Format != "W" check @@ -134,10 +134,10 @@ internal static ResponseTokenUsage DeserializeResponseTokenUsage(JsonElement ele } return new ResponseTokenUsage( inputTokenCount, - outputTokenCount, - totalTokenCount, inputTokenDetails, + outputTokenCount, outputTokenDetails, + totalTokenCount, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/Responses/ResponseTokenUsage.cs b/src/Generated/Models/Responses/ResponseTokenUsage.cs index c331f6a8f..1c9375d6e 100644 --- a/src/Generated/Models/Responses/ResponseTokenUsage.cs +++ b/src/Generated/Models/Responses/ResponseTokenUsage.cs @@ -13,22 +13,22 @@ public partial class ResponseTokenUsage { private protected IDictionary _additionalBinaryDataProperties; - internal ResponseTokenUsage(int inputTokenCount, int outputTokenCount, int totalTokenCount, ResponseInputTokenUsageDetails inputTokenDetails, ResponseOutputTokenUsageDetails outputTokenDetails) + internal ResponseTokenUsage(int inputTokenCount, ResponseInputTokenUsageDetails inputTokenDetails, int outputTokenCount, ResponseOutputTokenUsageDetails outputTokenDetails, int totalTokenCount) { InputTokenCount = inputTokenCount; - OutputTokenCount = outputTokenCount; - TotalTokenCount = totalTokenCount; InputTokenDetails = inputTokenDetails; + OutputTokenCount = outputTokenCount; OutputTokenDetails = outputTokenDetails; + TotalTokenCount = totalTokenCount; } - internal ResponseTokenUsage(int inputTokenCount, int outputTokenCount, int totalTokenCount, ResponseInputTokenUsageDetails inputTokenDetails, ResponseOutputTokenUsageDetails outputTokenDetails, IDictionary additionalBinaryDataProperties) + internal ResponseTokenUsage(int inputTokenCount, ResponseInputTokenUsageDetails inputTokenDetails, int outputTokenCount, ResponseOutputTokenUsageDetails outputTokenDetails, int totalTokenCount, IDictionary additionalBinaryDataProperties) { InputTokenCount = inputTokenCount; - OutputTokenCount = outputTokenCount; - TotalTokenCount = totalTokenCount; InputTokenDetails = inputTokenDetails; + OutputTokenCount = outputTokenCount; OutputTokenDetails = outputTokenDetails; + TotalTokenCount = totalTokenCount; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs index f231818cf..8e5a9cca6 100644 --- a/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs +++ b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.Serialization.cs @@ -35,6 +35,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("file_id"u8); writer.WriteStringValue(FileId); } + if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) + { + writer.WritePropertyName("chunking_strategy"u8); + writer.WriteObjectValue(ChunkingStrategy, options); + } if (Optional.IsCollectionDefined(Attributes) && _additionalBinaryDataProperties?.ContainsKey("attributes") != true) { writer.WritePropertyName("attributes"u8); @@ -58,11 +63,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) - { - writer.WritePropertyName("chunking_strategy"u8); - writer.WriteObjectValue(ChunkingStrategy, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -105,8 +105,8 @@ internal static InternalCreateVectorStoreFileRequest DeserializeInternalCreateVe return null; } string fileId = default; - IDictionary attributes = default; FileChunkingStrategy chunkingStrategy = default; + IDictionary attributes = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -115,6 +115,15 @@ internal static InternalCreateVectorStoreFileRequest DeserializeInternalCreateVe fileId = prop.Value.GetString(); continue; } + if (prop.NameEquals("chunking_strategy"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); + continue; + } if (prop.NameEquals("attributes"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -136,19 +145,10 @@ internal static InternalCreateVectorStoreFileRequest DeserializeInternalCreateVe attributes = dictionary; continue; } - if (prop.NameEquals("chunking_strategy"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new InternalCreateVectorStoreFileRequest(fileId, attributes ?? new ChangeTrackingDictionary(), chunkingStrategy, additionalBinaryDataProperties); + return new InternalCreateVectorStoreFileRequest(fileId, chunkingStrategy, attributes ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.cs b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.cs index 98127a139..28b446a40 100644 --- a/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.cs +++ b/src/Generated/Models/VectorStores/InternalCreateVectorStoreFileRequest.cs @@ -20,12 +20,12 @@ public InternalCreateVectorStoreFileRequest(string fileId) Attributes = new ChangeTrackingDictionary(); } - internal InternalCreateVectorStoreFileRequest(string fileId, IDictionary attributes, FileChunkingStrategy chunkingStrategy, IDictionary additionalBinaryDataProperties) + internal InternalCreateVectorStoreFileRequest(string fileId, FileChunkingStrategy chunkingStrategy, IDictionary attributes, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections FileId = fileId; - Attributes = attributes ?? new ChangeTrackingDictionary(); ChunkingStrategy = chunkingStrategy; + Attributes = attributes ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/VectorStore.Serialization.cs b/src/Generated/Models/VectorStores/VectorStore.Serialization.cs index b0d9cecec..a2532f264 100644 --- a/src/Generated/Models/VectorStores/VectorStore.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStore.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.VectorStores { public partial class VectorStore : IJsonModel { - internal VectorStore() : this(null, default, null, default, null, default, default, default, null, null, null, null) + internal VectorStore() : this(null, null, default, null, default, null, default, null, default, default, null, null) { } @@ -36,6 +36,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("id"u8); writer.WriteStringValue(Id); } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -61,6 +66,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("status"u8); writer.WriteStringValue(Status.ToSerialString()); } + if (Optional.IsDefined(ExpirationPolicy) && _additionalBinaryDataProperties?.ContainsKey("expires_after") != true) + { + writer.WritePropertyName("expires_after"u8); + writer.WriteObjectValue(ExpirationPolicy, options); + } if (Optional.IsDefined(ExpiresAt) && _additionalBinaryDataProperties?.ContainsKey("expires_at") != true) { writer.WritePropertyName("expires_at"u8); @@ -95,16 +105,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } - if (Optional.IsDefined(ExpirationPolicy) && _additionalBinaryDataProperties?.ContainsKey("expires_after") != true) - { - writer.WritePropertyName("expires_after"u8); - writer.WriteObjectValue(ExpirationPolicy, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -147,16 +147,16 @@ internal static VectorStore DeserializeVectorStore(JsonElement element, ModelRea return null; } string id = default; + string @object = default; DateTimeOffset createdAt = default; string name = default; int usageBytes = default; VectorStoreFileCounts fileCounts = default; VectorStoreStatus status = default; + VectorStoreExpirationPolicy expirationPolicy = default; DateTimeOffset? expiresAt = default; DateTimeOffset? lastActiveAt = default; IReadOnlyDictionary metadata = default; - string @object = default; - VectorStoreExpirationPolicy expirationPolicy = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -165,6 +165,11 @@ internal static VectorStore DeserializeVectorStore(JsonElement element, ModelRea id = prop.Value.GetString(); continue; } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -190,6 +195,15 @@ internal static VectorStore DeserializeVectorStore(JsonElement element, ModelRea status = prop.Value.GetString().ToVectorStoreStatus(); continue; } + if (prop.NameEquals("expires_after"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + expirationPolicy = VectorStoreExpirationPolicy.DeserializeVectorStoreExpirationPolicy(prop.Value, options); + continue; + } if (prop.NameEquals("expires_at"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -232,35 +246,21 @@ internal static VectorStore DeserializeVectorStore(JsonElement element, ModelRea metadata = dictionary; continue; } - if (prop.NameEquals("object"u8)) - { - @object = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("expires_after"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - expirationPolicy = VectorStoreExpirationPolicy.DeserializeVectorStoreExpirationPolicy(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new VectorStore( id, + @object, createdAt, name, usageBytes, fileCounts, status, + expirationPolicy, expiresAt, lastActiveAt, metadata, - @object, - expirationPolicy, additionalBinaryDataProperties); } diff --git a/src/Generated/Models/VectorStores/VectorStore.cs b/src/Generated/Models/VectorStores/VectorStore.cs index 8f87a4c6a..df909dcc0 100644 --- a/src/Generated/Models/VectorStores/VectorStore.cs +++ b/src/Generated/Models/VectorStores/VectorStore.cs @@ -26,20 +26,20 @@ internal VectorStore(string id, DateTimeOffset createdAt, string name, int usage Metadata = new ChangeTrackingDictionary(); } - internal VectorStore(string id, DateTimeOffset createdAt, string name, int usageBytes, VectorStoreFileCounts fileCounts, VectorStoreStatus status, DateTimeOffset? expiresAt, DateTimeOffset? lastActiveAt, IReadOnlyDictionary metadata, string @object, VectorStoreExpirationPolicy expirationPolicy, IDictionary additionalBinaryDataProperties) + internal VectorStore(string id, string @object, DateTimeOffset createdAt, string name, int usageBytes, VectorStoreFileCounts fileCounts, VectorStoreStatus status, VectorStoreExpirationPolicy expirationPolicy, DateTimeOffset? expiresAt, DateTimeOffset? lastActiveAt, IReadOnlyDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Id = id; + Object = @object; CreatedAt = createdAt; Name = name; UsageBytes = usageBytes; FileCounts = fileCounts; Status = status; + ExpirationPolicy = expirationPolicy; ExpiresAt = expiresAt; LastActiveAt = lastActiveAt; Metadata = metadata ?? new ChangeTrackingDictionary(); - Object = @object; - ExpirationPolicy = expirationPolicy; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs index 5edb29d5a..cd9259b50 100644 --- a/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.Serialization.cs @@ -31,6 +31,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(VectorStoreBatchFileJob)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("id") != true) + { + writer.WritePropertyName("id"u8); + writer.WriteStringValue(BatchId); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -46,11 +51,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("status"u8); writer.WriteStringValue(Status.ToString()); } - if (_additionalBinaryDataProperties?.ContainsKey("id") != true) - { - writer.WritePropertyName("id"u8); - writer.WriteStringValue(BatchId); - } if (_additionalBinaryDataProperties?.ContainsKey("file_counts") != true) { writer.WritePropertyName("file_counts"u8); @@ -102,15 +102,20 @@ internal static VectorStoreBatchFileJob DeserializeVectorStoreBatchFileJob(JsonE { return null; } + string batchId = default; DateTimeOffset createdAt = default; string vectorStoreId = default; VectorStoreBatchFileJobStatus status = default; - string batchId = default; VectorStoreFileCounts fileCounts = default; object @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("id"u8)) + { + batchId = prop.Value.GetString(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -126,11 +131,6 @@ internal static VectorStoreBatchFileJob DeserializeVectorStoreBatchFileJob(JsonE status = new VectorStoreBatchFileJobStatus(prop.Value.GetString()); continue; } - if (prop.NameEquals("id"u8)) - { - batchId = prop.Value.GetString(); - continue; - } if (prop.NameEquals("file_counts"u8)) { fileCounts = VectorStoreFileCounts.DeserializeVectorStoreFileCounts(prop.Value, options); @@ -145,10 +145,10 @@ internal static VectorStoreBatchFileJob DeserializeVectorStoreBatchFileJob(JsonE additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new VectorStoreBatchFileJob( + batchId, createdAt, vectorStoreId, status, - batchId, fileCounts, @object, additionalBinaryDataProperties); diff --git a/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs index 7770b558a..626ac8fc8 100644 --- a/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs +++ b/src/Generated/Models/VectorStores/VectorStoreBatchFileJob.cs @@ -13,21 +13,21 @@ public partial class VectorStoreBatchFileJob { private protected IDictionary _additionalBinaryDataProperties; - internal VectorStoreBatchFileJob(DateTimeOffset createdAt, string vectorStoreId, VectorStoreBatchFileJobStatus status, string batchId, VectorStoreFileCounts fileCounts) + internal VectorStoreBatchFileJob(string batchId, DateTimeOffset createdAt, string vectorStoreId, VectorStoreBatchFileJobStatus status, VectorStoreFileCounts fileCounts) { + BatchId = batchId; CreatedAt = createdAt; VectorStoreId = vectorStoreId; Status = status; - BatchId = batchId; FileCounts = fileCounts; } - internal VectorStoreBatchFileJob(DateTimeOffset createdAt, string vectorStoreId, VectorStoreBatchFileJobStatus status, string batchId, VectorStoreFileCounts fileCounts, object @object, IDictionary additionalBinaryDataProperties) + internal VectorStoreBatchFileJob(string batchId, DateTimeOffset createdAt, string vectorStoreId, VectorStoreBatchFileJobStatus status, VectorStoreFileCounts fileCounts, object @object, IDictionary additionalBinaryDataProperties) { + BatchId = batchId; CreatedAt = createdAt; VectorStoreId = vectorStoreId; Status = status; - BatchId = batchId; FileCounts = fileCounts; Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; diff --git a/src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs index ff0510e03..559b4530b 100644 --- a/src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.Serialization.cs @@ -46,6 +46,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } + if (Optional.IsDefined(ExpirationPolicy) && _additionalBinaryDataProperties?.ContainsKey("expires_after") != true) + { + writer.WritePropertyName("expires_after"u8); + writer.WriteObjectValue(ExpirationPolicy, options); + } + if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) + { + writer.WritePropertyName("chunking_strategy"u8); + writer.WriteObjectValue(ChunkingStrategy, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -62,16 +72,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ExpirationPolicy) && _additionalBinaryDataProperties?.ContainsKey("expires_after") != true) - { - writer.WritePropertyName("expires_after"u8); - writer.WriteObjectValue(ExpirationPolicy, options); - } - if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) - { - writer.WritePropertyName("chunking_strategy"u8); - writer.WriteObjectValue(ChunkingStrategy, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -115,9 +115,9 @@ internal static VectorStoreCreationOptions DeserializeVectorStoreCreationOptions } IList fileIds = default; string name = default; - IDictionary metadata = default; VectorStoreExpirationPolicy expirationPolicy = default; FileChunkingStrategy chunkingStrategy = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -147,43 +147,43 @@ internal static VectorStoreCreationOptions DeserializeVectorStoreCreationOptions name = prop.Value.GetString(); continue; } - if (prop.NameEquals("metadata"u8)) + if (prop.NameEquals("expires_after"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - Dictionary dictionary = new Dictionary(); - foreach (var prop0 in prop.Value.EnumerateObject()) - { - if (prop0.Value.ValueKind == JsonValueKind.Null) - { - dictionary.Add(prop0.Name, null); - } - else - { - dictionary.Add(prop0.Name, prop0.Value.GetString()); - } - } - metadata = dictionary; + expirationPolicy = VectorStoreExpirationPolicy.DeserializeVectorStoreExpirationPolicy(prop.Value, options); continue; } - if (prop.NameEquals("expires_after"u8)) + if (prop.NameEquals("chunking_strategy"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - expirationPolicy = VectorStoreExpirationPolicy.DeserializeVectorStoreExpirationPolicy(prop.Value, options); + chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); continue; } - if (prop.NameEquals("chunking_strategy"u8)) + if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) { continue; } - chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); + Dictionary dictionary = new Dictionary(); + foreach (var prop0 in prop.Value.EnumerateObject()) + { + if (prop0.Value.ValueKind == JsonValueKind.Null) + { + dictionary.Add(prop0.Name, null); + } + else + { + dictionary.Add(prop0.Name, prop0.Value.GetString()); + } + } + metadata = dictionary; continue; } // Plugin customization: remove options.Format != "W" check @@ -192,9 +192,9 @@ internal static VectorStoreCreationOptions DeserializeVectorStoreCreationOptions return new VectorStoreCreationOptions( fileIds ?? new ChangeTrackingList(), name, - metadata ?? new ChangeTrackingDictionary(), expirationPolicy, chunkingStrategy, + metadata ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } diff --git a/src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs index 777cb3279..094c41dc6 100644 --- a/src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs +++ b/src/Generated/Models/VectorStores/VectorStoreCreationOptions.cs @@ -18,14 +18,14 @@ public VectorStoreCreationOptions() : this(null, null, null, null, null, null) { } - internal VectorStoreCreationOptions(IList fileIds, string name, IDictionary metadata, VectorStoreExpirationPolicy expirationPolicy, FileChunkingStrategy chunkingStrategy, IDictionary additionalBinaryDataProperties) + internal VectorStoreCreationOptions(IList fileIds, string name, VectorStoreExpirationPolicy expirationPolicy, FileChunkingStrategy chunkingStrategy, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections FileIds = fileIds ?? new ChangeTrackingList(); Name = name; - Metadata = metadata ?? new ChangeTrackingDictionary(); ExpirationPolicy = expirationPolicy; ChunkingStrategy = chunkingStrategy; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs index 6ca36e8d9..3ac57fb24 100644 --- a/src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.Serialization.cs @@ -31,16 +31,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(VectorStoreDeletionResult)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) - { - writer.WritePropertyName("deleted"u8); - writer.WriteBooleanValue(Deleted); - } if (_additionalBinaryDataProperties?.ContainsKey("id") != true) { writer.WritePropertyName("id"u8); writer.WriteStringValue(VectorStoreId); } + if (_additionalBinaryDataProperties?.ContainsKey("deleted") != true) + { + writer.WritePropertyName("deleted"u8); + writer.WriteBooleanValue(Deleted); + } if (_additionalBinaryDataProperties?.ContainsKey("object") != true) { writer.WritePropertyName("object"u8); @@ -87,20 +87,20 @@ internal static VectorStoreDeletionResult DeserializeVectorStoreDeletionResult(J { return null; } - bool deleted = default; string vectorStoreId = default; + bool deleted = default; string @object = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("deleted"u8)) + if (prop.NameEquals("id"u8)) { - deleted = prop.Value.GetBoolean(); + vectorStoreId = prop.Value.GetString(); continue; } - if (prop.NameEquals("id"u8)) + if (prop.NameEquals("deleted"u8)) { - vectorStoreId = prop.Value.GetString(); + deleted = prop.Value.GetBoolean(); continue; } if (prop.NameEquals("object"u8)) @@ -111,7 +111,7 @@ internal static VectorStoreDeletionResult DeserializeVectorStoreDeletionResult(J // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new VectorStoreDeletionResult(deleted, vectorStoreId, @object, additionalBinaryDataProperties); + return new VectorStoreDeletionResult(vectorStoreId, deleted, @object, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs index 0ba9bd757..b54012c78 100644 --- a/src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs +++ b/src/Generated/Models/VectorStores/VectorStoreDeletionResult.cs @@ -13,16 +13,16 @@ public partial class VectorStoreDeletionResult { private protected IDictionary _additionalBinaryDataProperties; - internal VectorStoreDeletionResult(bool deleted, string vectorStoreId) + internal VectorStoreDeletionResult(string vectorStoreId, bool deleted) { - Deleted = deleted; VectorStoreId = vectorStoreId; + Deleted = deleted; } - internal VectorStoreDeletionResult(bool deleted, string vectorStoreId, string @object, IDictionary additionalBinaryDataProperties) + internal VectorStoreDeletionResult(string vectorStoreId, bool deleted, string @object, IDictionary additionalBinaryDataProperties) { - Deleted = deleted; VectorStoreId = vectorStoreId; + Deleted = deleted; Object = @object; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs index b46f3654a..a33c2381b 100644 --- a/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.Serialization.cs @@ -30,16 +30,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(VectorStoreExpirationPolicy)} does not support writing '{format}' format."); } - if (_additionalBinaryDataProperties?.ContainsKey("days") != true) - { - writer.WritePropertyName("days"u8); - writer.WriteNumberValue(Days); - } if (_additionalBinaryDataProperties?.ContainsKey("anchor") != true) { writer.WritePropertyName("anchor"u8); writer.WriteStringValue(Anchor.ToSerialString()); } + if (_additionalBinaryDataProperties?.ContainsKey("days") != true) + { + writer.WritePropertyName("days"u8); + writer.WriteNumberValue(Days); + } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -81,25 +81,25 @@ internal static VectorStoreExpirationPolicy DeserializeVectorStoreExpirationPoli { return null; } - int days = default; VectorStoreExpirationAnchor anchor = default; + int days = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { - if (prop.NameEquals("days"u8)) + if (prop.NameEquals("anchor"u8)) { - days = prop.Value.GetInt32(); + anchor = prop.Value.GetString().ToVectorStoreExpirationAnchor(); continue; } - if (prop.NameEquals("anchor"u8)) + if (prop.NameEquals("days"u8)) { - anchor = prop.Value.GetString().ToVectorStoreExpirationAnchor(); + days = prop.Value.GetInt32(); continue; } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new VectorStoreExpirationPolicy(days, anchor, additionalBinaryDataProperties); + return new VectorStoreExpirationPolicy(anchor, days, additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs index 0d7c6fcee..e28c222b4 100644 --- a/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs +++ b/src/Generated/Models/VectorStores/VectorStoreExpirationPolicy.cs @@ -13,10 +13,10 @@ public partial class VectorStoreExpirationPolicy { private protected IDictionary _additionalBinaryDataProperties; - internal VectorStoreExpirationPolicy(int days, VectorStoreExpirationAnchor anchor, IDictionary additionalBinaryDataProperties) + internal VectorStoreExpirationPolicy(VectorStoreExpirationAnchor anchor, int days, IDictionary additionalBinaryDataProperties) { - Days = days; Anchor = anchor; + Days = days; _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs index b46d60854..521c1c702 100644 --- a/src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.Serialization.cs @@ -13,7 +13,7 @@ namespace OpenAI.VectorStores { public partial class VectorStoreFileAssociation : IJsonModel { - internal VectorStoreFileAssociation() : this(default, null, default, null, null, null, default, null, null, null) + internal VectorStoreFileAssociation() : this(null, null, default, default, null, default, null, null, null, null) { } @@ -31,6 +31,21 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(VectorStoreFileAssociation)} does not support writing '{format}' format."); } + if (_additionalBinaryDataProperties?.ContainsKey("id") != true) + { + writer.WritePropertyName("id"u8); + writer.WriteStringValue(FileId); + } + if (_additionalBinaryDataProperties?.ContainsKey("object") != true) + { + writer.WritePropertyName("object"u8); + writer.WriteStringValue(Object); + } + if (_additionalBinaryDataProperties?.ContainsKey("usage_bytes") != true) + { + writer.WritePropertyName("usage_bytes"u8); + writer.WriteNumberValue(Size); + } if (_additionalBinaryDataProperties?.ContainsKey("created_at") != true) { writer.WritePropertyName("created_at"u8); @@ -58,20 +73,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WriteNull("last_error"u8); } } - if (_additionalBinaryDataProperties?.ContainsKey("object") != true) - { - writer.WritePropertyName("object"u8); - writer.WriteStringValue(Object); - } - if (_additionalBinaryDataProperties?.ContainsKey("id") != true) - { - writer.WritePropertyName("id"u8); - writer.WriteStringValue(FileId); - } - if (_additionalBinaryDataProperties?.ContainsKey("usage_bytes") != true) + if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) { - writer.WritePropertyName("usage_bytes"u8); - writer.WriteNumberValue(Size); + writer.WritePropertyName("chunking_strategy"u8); + writer.WriteObjectValue(ChunkingStrategy, options); } if (Optional.IsCollectionDefined(Attributes) && _additionalBinaryDataProperties?.ContainsKey("attributes") != true) { @@ -96,11 +101,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ChunkingStrategy) && _additionalBinaryDataProperties?.ContainsKey("chunking_strategy") != true) - { - writer.WritePropertyName("chunking_strategy"u8); - writer.WriteObjectValue(ChunkingStrategy, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -142,18 +142,33 @@ internal static VectorStoreFileAssociation DeserializeVectorStoreFileAssociation { return null; } + string fileId = default; + string @object = default; + int size = default; DateTimeOffset createdAt = default; string vectorStoreId = default; VectorStoreFileAssociationStatus status = default; VectorStoreFileAssociationError lastError = default; - string @object = default; - string fileId = default; - int size = default; - IDictionary attributes = default; FileChunkingStrategy chunkingStrategy = default; + IDictionary attributes = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { + if (prop.NameEquals("id"u8)) + { + fileId = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("object"u8)) + { + @object = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("usage_bytes"u8)) + { + size = prop.Value.GetInt32(); + continue; + } if (prop.NameEquals("created_at"u8)) { createdAt = DateTimeOffset.FromUnixTimeSeconds(prop.Value.GetInt64()); @@ -179,19 +194,13 @@ internal static VectorStoreFileAssociation DeserializeVectorStoreFileAssociation lastError = VectorStoreFileAssociationError.DeserializeVectorStoreFileAssociationError(prop.Value, options); continue; } - if (prop.NameEquals("object"u8)) - { - @object = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("id"u8)) - { - fileId = prop.Value.GetString(); - continue; - } - if (prop.NameEquals("usage_bytes"u8)) + if (prop.NameEquals("chunking_strategy"u8)) { - size = prop.Value.GetInt32(); + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); continue; } if (prop.NameEquals("attributes"u8)) @@ -215,28 +224,19 @@ internal static VectorStoreFileAssociation DeserializeVectorStoreFileAssociation attributes = dictionary; continue; } - if (prop.NameEquals("chunking_strategy"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - chunkingStrategy = FileChunkingStrategy.DeserializeFileChunkingStrategy(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } return new VectorStoreFileAssociation( + fileId, + @object, + size, createdAt, vectorStoreId, status, lastError, - @object, - fileId, - size, - attributes ?? new ChangeTrackingDictionary(), chunkingStrategy, + attributes ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } diff --git a/src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs index dc72450a3..5e194a354 100644 --- a/src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs +++ b/src/Generated/Models/VectorStores/VectorStoreFileAssociation.cs @@ -14,29 +14,29 @@ public partial class VectorStoreFileAssociation { private protected IDictionary _additionalBinaryDataProperties; - internal VectorStoreFileAssociation(DateTimeOffset createdAt, string vectorStoreId, VectorStoreFileAssociationStatus status, VectorStoreFileAssociationError lastError, string fileId, int size) + internal VectorStoreFileAssociation(string fileId, int size, DateTimeOffset createdAt, string vectorStoreId, VectorStoreFileAssociationStatus status, VectorStoreFileAssociationError lastError) { + FileId = fileId; + Size = size; CreatedAt = createdAt; VectorStoreId = vectorStoreId; Status = status; LastError = lastError; - FileId = fileId; - Size = size; Attributes = new ChangeTrackingDictionary(); } - internal VectorStoreFileAssociation(DateTimeOffset createdAt, string vectorStoreId, VectorStoreFileAssociationStatus status, VectorStoreFileAssociationError lastError, string @object, string fileId, int size, IDictionary attributes, FileChunkingStrategy chunkingStrategy, IDictionary additionalBinaryDataProperties) + internal VectorStoreFileAssociation(string fileId, string @object, int size, DateTimeOffset createdAt, string vectorStoreId, VectorStoreFileAssociationStatus status, VectorStoreFileAssociationError lastError, FileChunkingStrategy chunkingStrategy, IDictionary attributes, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections + FileId = fileId; + Object = @object; + Size = size; CreatedAt = createdAt; VectorStoreId = vectorStoreId; Status = status; LastError = lastError; - Object = @object; - FileId = fileId; - Size = size; - Attributes = attributes ?? new ChangeTrackingDictionary(); ChunkingStrategy = chunkingStrategy; + Attributes = attributes ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs index 648f88631..21881c00b 100644 --- a/src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs +++ b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.Serialization.cs @@ -31,6 +31,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("name"u8); writer.WriteStringValue(Name); } + if (Optional.IsDefined(ExpirationPolicy) && _additionalBinaryDataProperties?.ContainsKey("expires_after") != true) + { + writer.WritePropertyName("expires_after"u8); + writer.WriteObjectValue(ExpirationPolicy, options); + } if (Optional.IsCollectionDefined(Metadata) && _additionalBinaryDataProperties?.ContainsKey("metadata") != true) { writer.WritePropertyName("metadata"u8); @@ -47,11 +52,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndObject(); } - if (Optional.IsDefined(ExpirationPolicy) && _additionalBinaryDataProperties?.ContainsKey("expires_after") != true) - { - writer.WritePropertyName("expires_after"u8); - writer.WriteObjectValue(ExpirationPolicy, options); - } // Plugin customization: remove options.Format != "W" check if (_additionalBinaryDataProperties != null) { @@ -94,8 +94,8 @@ internal static VectorStoreModificationOptions DeserializeVectorStoreModificatio return null; } string name = default; - IDictionary metadata = default; VectorStoreExpirationPolicy expirationPolicy = default; + IDictionary metadata = default; IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); foreach (var prop in element.EnumerateObject()) { @@ -109,6 +109,16 @@ internal static VectorStoreModificationOptions DeserializeVectorStoreModificatio name = prop.Value.GetString(); continue; } + if (prop.NameEquals("expires_after"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + expirationPolicy = null; + continue; + } + expirationPolicy = VectorStoreExpirationPolicy.DeserializeVectorStoreExpirationPolicy(prop.Value, options); + continue; + } if (prop.NameEquals("metadata"u8)) { if (prop.Value.ValueKind == JsonValueKind.Null) @@ -130,20 +140,10 @@ internal static VectorStoreModificationOptions DeserializeVectorStoreModificatio metadata = dictionary; continue; } - if (prop.NameEquals("expires_after"u8)) - { - if (prop.Value.ValueKind == JsonValueKind.Null) - { - expirationPolicy = null; - continue; - } - expirationPolicy = VectorStoreExpirationPolicy.DeserializeVectorStoreExpirationPolicy(prop.Value, options); - continue; - } // Plugin customization: remove options.Format != "W" check additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); } - return new VectorStoreModificationOptions(name, metadata ?? new ChangeTrackingDictionary(), expirationPolicy, additionalBinaryDataProperties); + return new VectorStoreModificationOptions(name, expirationPolicy, metadata ?? new ChangeTrackingDictionary(), additionalBinaryDataProperties); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); diff --git a/src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs index e5522104c..7c7850c01 100644 --- a/src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs +++ b/src/Generated/Models/VectorStores/VectorStoreModificationOptions.cs @@ -18,12 +18,12 @@ public VectorStoreModificationOptions() : this(null, null, null, null) { } - internal VectorStoreModificationOptions(string name, IDictionary metadata, VectorStoreExpirationPolicy expirationPolicy, IDictionary additionalBinaryDataProperties) + internal VectorStoreModificationOptions(string name, VectorStoreExpirationPolicy expirationPolicy, IDictionary metadata, IDictionary additionalBinaryDataProperties) { // Plugin customization: ensure initialization of collections Name = name; - Metadata = metadata ?? new ChangeTrackingDictionary(); ExpirationPolicy = expirationPolicy; + Metadata = metadata ?? new ChangeTrackingDictionary(); _additionalBinaryDataProperties = additionalBinaryDataProperties; } diff --git a/src/Generated/OpenAIModelFactory.cs b/src/Generated/OpenAIModelFactory.cs index 8804a62bd..48b1486f6 100644 --- a/src/Generated/OpenAIModelFactory.cs +++ b/src/Generated/OpenAIModelFactory.cs @@ -24,25 +24,25 @@ namespace OpenAI { internal static partial class OpenAIModelFactory { - public static Assistant Assistant(string id = default, DateTimeOffset createdAt = default, string name = default, string description = default, string model = default, string instructions = default, IEnumerable tools = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default, float? temperature = default, string @object = default, AssistantResponseFormat responseFormat = default, float? nucleusSamplingFactor = default) + public static Assistant Assistant(string id = default, string @object = default, DateTimeOffset createdAt = default, string name = default, string description = default, string model = default, string instructions = default, IEnumerable tools = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default, float? temperature = default, float? nucleusSamplingFactor = default, AssistantResponseFormat responseFormat = default) { tools ??= new ChangeTrackingList(); metadata ??= new ChangeTrackingDictionary(); return new Assistant( id, + @object, createdAt, name, description, model, instructions, - tools?.ToList(), + tools.ToList(), toolResources, metadata, temperature, - @object, - responseFormat, nucleusSamplingFactor, + responseFormat, additionalBinaryDataProperties: null); } @@ -60,26 +60,26 @@ public static CodeInterpreterToolResources CodeInterpreterToolResources(IEnumera { fileIds ??= new ChangeTrackingList(); - return new CodeInterpreterToolResources(fileIds?.ToList(), additionalBinaryDataProperties: null); + return new CodeInterpreterToolResources(fileIds.ToList(), additionalBinaryDataProperties: null); } - public static AssistantCreationOptions AssistantCreationOptions(string name = default, string description = default, string instructions = default, IDictionary metadata = default, float? temperature = default, string model = default, IEnumerable tools = default, ToolResources toolResources = default, AssistantResponseFormat responseFormat = default, float? nucleusSamplingFactor = default, ChatReasoningEffortLevel? reasoningEffortLevel = default) + public static AssistantCreationOptions AssistantCreationOptions(string model = default, string name = default, string description = default, string instructions = default, ChatReasoningEffortLevel? reasoningEffortLevel = default, IEnumerable tools = default, ToolResources toolResources = default, IDictionary metadata = default, float? temperature = default, float? nucleusSamplingFactor = default, AssistantResponseFormat responseFormat = default) { - metadata ??= new ChangeTrackingDictionary(); tools ??= new ChangeTrackingList(); + metadata ??= new ChangeTrackingDictionary(); return new AssistantCreationOptions( + model, name, description, instructions, + reasoningEffortLevel, + tools.ToList(), + toolResources, metadata, temperature, - model, - tools?.ToList(), - toolResources, - responseFormat, nucleusSamplingFactor, - reasoningEffortLevel, + responseFormat, additionalBinaryDataProperties: null); } @@ -88,40 +88,40 @@ public static FileSearchToolResources FileSearchToolResources(IEnumerable(); newVectorStores ??= new ChangeTrackingList(); - return new FileSearchToolResources(vectorStoreIds?.ToList(), newVectorStores?.ToList(), additionalBinaryDataProperties: null); + return new FileSearchToolResources(vectorStoreIds.ToList(), newVectorStores.ToList(), additionalBinaryDataProperties: null); } - public static VectorStoreCreationHelper VectorStoreCreationHelper(IEnumerable fileIds = default, IDictionary metadata = default, FileChunkingStrategy chunkingStrategy = default) + public static VectorStoreCreationHelper VectorStoreCreationHelper(IEnumerable fileIds = default, FileChunkingStrategy chunkingStrategy = default, IDictionary metadata = default) { fileIds ??= new ChangeTrackingList(); metadata ??= new ChangeTrackingDictionary(); - return new VectorStoreCreationHelper(fileIds?.ToList(), metadata, chunkingStrategy, additionalBinaryDataProperties: null); + return new VectorStoreCreationHelper(fileIds.ToList(), chunkingStrategy, metadata, additionalBinaryDataProperties: null); } - public static AssistantModificationOptions AssistantModificationOptions(string name = default, string description = default, string instructions = default, IDictionary metadata = default, float? temperature = default, string model = default, IEnumerable defaultTools = default, ToolResources toolResources = default, AssistantResponseFormat responseFormat = default, float? nucleusSamplingFactor = default, ChatReasoningEffortLevel? reasoningEffortLevel = default) + public static AssistantModificationOptions AssistantModificationOptions(string model = default, ChatReasoningEffortLevel? reasoningEffortLevel = default, string name = default, string description = default, string instructions = default, IEnumerable defaultTools = default, ToolResources toolResources = default, IDictionary metadata = default, float? temperature = default, float? nucleusSamplingFactor = default, AssistantResponseFormat responseFormat = default) { - metadata ??= new ChangeTrackingDictionary(); defaultTools ??= new ChangeTrackingList(); + metadata ??= new ChangeTrackingDictionary(); return new AssistantModificationOptions( + model, + reasoningEffortLevel, name, description, instructions, + defaultTools.ToList(), + toolResources, metadata, temperature, - model, - defaultTools?.ToList(), - toolResources, - responseFormat, nucleusSamplingFactor, - reasoningEffortLevel, + responseFormat, additionalBinaryDataProperties: null); } - public static AssistantDeletionResult AssistantDeletionResult(bool deleted = default, string assistantId = default, string @object = default) + public static AssistantDeletionResult AssistantDeletionResult(string assistantId = default, bool deleted = default, string @object = default) { - return new AssistantDeletionResult(deleted, assistantId, @object, additionalBinaryDataProperties: null); + return new AssistantDeletionResult(assistantId, deleted, @object, additionalBinaryDataProperties: null); } public static TranscribedWord TranscribedWord(string word = default, TimeSpan startTime = default, TimeSpan endTime = default) @@ -129,18 +129,18 @@ public static TranscribedWord TranscribedWord(string word = default, TimeSpan st return new TranscribedWord(word, startTime, endTime, additionalBinaryDataProperties: null); } - public static TranscribedSegment TranscribedSegment(int id = default, string text = default, float temperature = default, float compressionRatio = default, TimeSpan startTime = default, TimeSpan endTime = default, int seekOffset = default, ReadOnlyMemory tokenIds = default, float averageLogProbability = default, float noSpeechProbability = default) + public static TranscribedSegment TranscribedSegment(int id = default, int seekOffset = default, TimeSpan startTime = default, TimeSpan endTime = default, string text = default, ReadOnlyMemory tokenIds = default, float temperature = default, float averageLogProbability = default, float compressionRatio = default, float noSpeechProbability = default) { return new TranscribedSegment( id, - text, - temperature, - compressionRatio, + seekOffset, startTime, endTime, - seekOffset, + text, tokenIds, + temperature, averageLogProbability, + compressionRatio, noSpeechProbability, additionalBinaryDataProperties: null); } @@ -154,39 +154,39 @@ public static StreamingAudioTranscriptionTextDeltaUpdate StreamingAudioTranscrip { transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); - return new StreamingAudioTranscriptionTextDeltaUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDelta, additionalBinaryDataProperties: null, delta, transcriptionTokenLogProbabilities?.ToList()); + return new StreamingAudioTranscriptionTextDeltaUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDelta, additionalBinaryDataProperties: null, delta, transcriptionTokenLogProbabilities.ToList()); } public static StreamingAudioTranscriptionTextDoneUpdate StreamingAudioTranscriptionTextDoneUpdate(string text = default, IEnumerable transcriptionTokenLogProbabilities = default) { transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); - return new StreamingAudioTranscriptionTextDoneUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDone, additionalBinaryDataProperties: null, text, transcriptionTokenLogProbabilities?.ToList()); + return new StreamingAudioTranscriptionTextDoneUpdate(StreamingAudioTranscriptionUpdateKind.TranscriptTextDone, additionalBinaryDataProperties: null, text, transcriptionTokenLogProbabilities.ToList()); } - public static AudioTranslation AudioTranslation(string language = default, string text = default, IEnumerable segments = default, string task = default, TimeSpan? duration = default) + public static AudioTranslation AudioTranslation(string task = default, string language = default, TimeSpan? duration = default, string text = default, IEnumerable segments = default) { segments ??= new ChangeTrackingList(); return new AudioTranslation( - language, - text, - segments?.ToList(), task, + language, duration, + text, + segments.ToList(), additionalBinaryDataProperties: null); } - public static ChatOutputAudio ChatOutputAudio(string id = default, DateTimeOffset expiresAt = default, string transcript = default, BinaryData audioBytes = default) + public static ChatOutputAudio ChatOutputAudio(string id = default, DateTimeOffset expiresAt = default, BinaryData audioBytes = default, string transcript = default) { - return new ChatOutputAudio(id, expiresAt, transcript, audioBytes, additionalBinaryDataProperties: null); + return new ChatOutputAudio(id, expiresAt, audioBytes, transcript, additionalBinaryDataProperties: null); } public static ChatTokenLogProbabilityDetails ChatTokenLogProbabilityDetails(string token = default, float logProbability = default, ReadOnlyMemory? utf8Bytes = default, IEnumerable topLogProbabilities = default) { topLogProbabilities ??= new ChangeTrackingList(); - return new ChatTokenLogProbabilityDetails(token, logProbability, utf8Bytes, topLogProbabilities?.ToList(), additionalBinaryDataProperties: null); + return new ChatTokenLogProbabilityDetails(token, logProbability, utf8Bytes, topLogProbabilities.ToList(), additionalBinaryDataProperties: null); } public static ChatTokenTopLogProbabilityDetails ChatTokenTopLogProbabilityDetails(string token = default, float logProbability = default, ReadOnlyMemory? utf8Bytes = default) @@ -205,9 +205,9 @@ public static ChatTokenUsage ChatTokenUsage(int outputTokenCount = default, int additionalBinaryDataProperties: null); } - public static ChatOutputTokenUsageDetails ChatOutputTokenUsageDetails(int reasoningTokenCount = default, int audioTokenCount = default, int acceptedPredictionTokenCount = default, int rejectedPredictionTokenCount = default) + public static ChatOutputTokenUsageDetails ChatOutputTokenUsageDetails(int acceptedPredictionTokenCount = default, int audioTokenCount = default, int reasoningTokenCount = default, int rejectedPredictionTokenCount = default) { - return new ChatOutputTokenUsageDetails(reasoningTokenCount, audioTokenCount, acceptedPredictionTokenCount, rejectedPredictionTokenCount, additionalBinaryDataProperties: null); + return new ChatOutputTokenUsageDetails(acceptedPredictionTokenCount, audioTokenCount, reasoningTokenCount, rejectedPredictionTokenCount, additionalBinaryDataProperties: null); } public static ChatInputTokenUsageDetails ChatInputTokenUsageDetails(int audioTokenCount = default, int cachedTokenCount = default) @@ -215,9 +215,9 @@ public static ChatInputTokenUsageDetails ChatInputTokenUsageDetails(int audioTok return new ChatInputTokenUsageDetails(audioTokenCount, cachedTokenCount, additionalBinaryDataProperties: null); } - public static ChatMessage ChatMessage(ChatMessageContent content = default, string role = default) + public static ChatMessage ChatMessage(string role = default, ChatMessageContent content = default) { - return new InternalUnknownChatMessage(content, role.ToChatMessageRole(), additionalBinaryDataProperties: null); + return new InternalUnknownChatMessage(role.ToChatMessageRole(), content, additionalBinaryDataProperties: null); } public static ChatMessageContentPart ChatMessageContentPart() @@ -227,32 +227,32 @@ public static ChatMessageContentPart ChatMessageContentPart() public static SystemChatMessage SystemChatMessage(ChatMessageContent content = default, string participantName = default) { - return new SystemChatMessage(content, ChatMessageRole.System, additionalBinaryDataProperties: null, participantName); + return new SystemChatMessage(default, content, additionalBinaryDataProperties: null, participantName); } public static DeveloperChatMessage DeveloperChatMessage(ChatMessageContent content = default, string participantName = default) { - return new DeveloperChatMessage(content, ChatMessageRole.Developer, additionalBinaryDataProperties: null, participantName); + return new DeveloperChatMessage(default, content, additionalBinaryDataProperties: null, participantName); } public static UserChatMessage UserChatMessage(ChatMessageContent content = default, string participantName = default) { - return new UserChatMessage(content, ChatMessageRole.User, additionalBinaryDataProperties: null, participantName); + return new UserChatMessage(default, content, additionalBinaryDataProperties: null, participantName); } - public static AssistantChatMessage AssistantChatMessage(ChatMessageContent content = default, string refusal = default, string participantName = default, IEnumerable toolCalls = default, ChatFunctionCall functionCall = default, ChatOutputAudioReference outputAudioReference = default) + public static AssistantChatMessage AssistantChatMessage(ChatMessageContent content = default, string refusal = default, string participantName = default, ChatOutputAudioReference outputAudioReference = default, IEnumerable toolCalls = default, ChatFunctionCall functionCall = default) { toolCalls ??= new ChangeTrackingList(); return new AssistantChatMessage( + default, content, - ChatMessageRole.Assistant, additionalBinaryDataProperties: null, refusal, participantName, - toolCalls?.ToList(), - functionCall, - outputAudioReference); + outputAudioReference, + toolCalls.ToList(), + functionCall); } public static ChatOutputAudioReference ChatOutputAudioReference(string id = default) @@ -267,12 +267,12 @@ public static ChatFunctionCall ChatFunctionCall(string functionName = default, B public static ToolChatMessage ToolChatMessage(ChatMessageContent content = default, string toolCallId = default) { - return new ToolChatMessage(content, ChatMessageRole.Tool, additionalBinaryDataProperties: null, toolCallId); + return new ToolChatMessage(default, content, additionalBinaryDataProperties: null, toolCallId); } public static FunctionChatMessage FunctionChatMessage(ChatMessageContent content = default, string functionName = default) { - return new FunctionChatMessage(content, ChatMessageRole.Function, additionalBinaryDataProperties: null, functionName); + return new FunctionChatMessage(default, content, additionalBinaryDataProperties: null, functionName); } public static ChatAudioOptions ChatAudioOptions(ChatOutputAudioVoice outputAudioVoice = default, ChatOutputAudioFormat outputAudioFormat = default) @@ -280,14 +280,14 @@ public static ChatAudioOptions ChatAudioOptions(ChatOutputAudioVoice outputAudio return new ChatAudioOptions(outputAudioVoice, outputAudioFormat, additionalBinaryDataProperties: null); } - public static ChatFunction ChatFunction(string functionName = default, string functionDescription = default, BinaryData functionParameters = default) + public static ChatFunction ChatFunction(string functionDescription = default, string functionName = default, BinaryData functionParameters = default) { - return new ChatFunction(functionName, functionDescription, functionParameters, additionalBinaryDataProperties: null); + return new ChatFunction(functionDescription, functionName, functionParameters, additionalBinaryDataProperties: null); } - public static StreamingChatOutputAudioUpdate StreamingChatOutputAudioUpdate(string id = default, DateTimeOffset? expiresAt = default, string transcriptUpdate = default, BinaryData audioBytesUpdate = default) + public static StreamingChatOutputAudioUpdate StreamingChatOutputAudioUpdate(string id = default, string transcriptUpdate = default, BinaryData audioBytesUpdate = default, DateTimeOffset? expiresAt = default) { - return new StreamingChatOutputAudioUpdate(id, expiresAt, transcriptUpdate, audioBytesUpdate, additionalBinaryDataProperties: null); + return new StreamingChatOutputAudioUpdate(id, transcriptUpdate, audioBytesUpdate, expiresAt, additionalBinaryDataProperties: null); } public static StreamingChatFunctionCallUpdate StreamingChatFunctionCallUpdate(string functionName = default, BinaryData functionArgumentsUpdate = default) @@ -295,9 +295,9 @@ public static StreamingChatFunctionCallUpdate StreamingChatFunctionCallUpdate(st return new StreamingChatFunctionCallUpdate(functionName, functionArgumentsUpdate, additionalBinaryDataProperties: null); } - public static ChatCompletionDeletionResult ChatCompletionDeletionResult(bool deleted = default, string @object = default, string chatCompletionId = default) + public static ChatCompletionDeletionResult ChatCompletionDeletionResult(string @object = default, string chatCompletionId = default, bool deleted = default) { - return new ChatCompletionDeletionResult(deleted, @object, chatCompletionId, additionalBinaryDataProperties: null); + return new ChatCompletionDeletionResult(@object, chatCompletionId, deleted, additionalBinaryDataProperties: null); } public static ContainerResource ContainerResource(string id = default, string @object = default, string name = default, DateTimeOffset createdAt = default, string status = default, ContainerResourceExpiresAfter expiresAfter = default) @@ -321,7 +321,7 @@ public static CreateContainerBody CreateContainerBody(string name = default, IEn { fileIds ??= new ChangeTrackingList(); - return new CreateContainerBody(name, fileIds?.ToList(), expiresAfter, additionalBinaryDataProperties: null); + return new CreateContainerBody(name, fileIds.ToList(), expiresAfter, additionalBinaryDataProperties: null); } public static CreateContainerBodyExpiresAfter CreateContainerBodyExpiresAfter(string anchor = default, int minutes = default) @@ -361,7 +361,7 @@ public static OpenAIEmbeddingCollection OpenAIEmbeddingCollection(IEnumerable(); - return new OpenAIEmbeddingCollection(data?.ToList(), model, @object, usage, serializedAdditionalRawData: null); + return new OpenAIEmbeddingCollection(data.ToList(), model, @object, usage, serializedAdditionalRawData: null); } public static OpenAIEmbedding OpenAIEmbedding(int index = default, BinaryData embeddingProperty = default, string @object = default) @@ -379,7 +379,7 @@ public static OpenAIFileCollection OpenAIFileCollection(IEnumerable data ??= new ChangeTrackingList(); return new OpenAIFileCollection( - data?.ToList(), + data.ToList(), @object, firstId, lastId, @@ -387,34 +387,34 @@ public static OpenAIFileCollection OpenAIFileCollection(IEnumerable serializedAdditionalRawData: null); } - public static OpenAIFile OpenAIFile(string id = default, DateTimeOffset createdAt = default, DateTimeOffset? expiresAt = default, string filename = default, FilePurpose purpose = default, string @object = default, long? sizeInBytesLong = default, FileStatus status = default, string statusDetails = default) + public static OpenAIFile OpenAIFile(string id = default, long? sizeInBytesLong = default, DateTimeOffset createdAt = default, DateTimeOffset? expiresAt = default, string filename = default, string @object = default, FilePurpose purpose = default, FileStatus status = default, string statusDetails = default) { return new OpenAIFile( id, + sizeInBytesLong, createdAt, expiresAt, filename, - purpose, @object, - sizeInBytesLong, + purpose, status, statusDetails, additionalBinaryDataProperties: null); } - public static FileDeletionResult FileDeletionResult(bool deleted = default, string fileId = default, string @object = default) + public static FileDeletionResult FileDeletionResult(string fileId = default, string @object = default, bool deleted = default) { - return new FileDeletionResult(deleted, fileId, @object, additionalBinaryDataProperties: null); + return new FileDeletionResult(fileId, @object, deleted, additionalBinaryDataProperties: null); } - public static HyperparametersForSupervised HyperparametersForSupervised(BinaryData batchSize = default, BinaryData nEpochs = default, BinaryData learningRateMultiplier = default) + public static HyperparametersForSupervised HyperparametersForSupervised(BinaryData batchSize = default, BinaryData learningRateMultiplier = default, BinaryData nEpochs = default) { - return new HyperparametersForSupervised(batchSize, nEpochs, learningRateMultiplier, additionalBinaryDataProperties: null); + return new HyperparametersForSupervised(batchSize, learningRateMultiplier, nEpochs, additionalBinaryDataProperties: null); } - public static HyperparametersForDPO HyperparametersForDPO(BinaryData batchSize = default, BinaryData nEpochs = default, BinaryData learningRateMultiplier = default, BinaryData beta = default) + public static HyperparametersForDPO HyperparametersForDPO(BinaryData beta = default, BinaryData batchSize = default, BinaryData learningRateMultiplier = default, BinaryData nEpochs = default) { - return new HyperparametersForDPO(batchSize, nEpochs, learningRateMultiplier, beta, additionalBinaryDataProperties: null); + return new HyperparametersForDPO(beta, batchSize, learningRateMultiplier, nEpochs, additionalBinaryDataProperties: null); } public static GraderStringCheck GraderStringCheck(string name = default, string input = default, string reference = default, GraderStringCheckOperation operation = default) @@ -459,9 +459,9 @@ public static FineTuningError FineTuningError(string code = default, string mess return new FineTuningError(code, message, invalidParameter, additionalBinaryDataProperties: null); } - public static FineTuningHyperparameters FineTuningHyperparameters(BinaryData epochCount = default, BinaryData batchSize = default, BinaryData learningRateMultiplier = default) + public static FineTuningHyperparameters FineTuningHyperparameters(BinaryData batchSize = default, BinaryData learningRateMultiplier = default, BinaryData epochCount = default) { - return new FineTuningHyperparameters(epochCount, batchSize, learningRateMultiplier, additionalBinaryDataProperties: null); + return new FineTuningHyperparameters(batchSize, learningRateMultiplier, epochCount, additionalBinaryDataProperties: null); } public static FineTuningCheckpoint FineTuningCheckpoint(string id = default, DateTimeOffset createdAt = default, string modelId = default, int stepNumber = default, FineTuningCheckpointMetrics metrics = default, string jobId = default, string @object = default) @@ -477,16 +477,16 @@ public static FineTuningCheckpoint FineTuningCheckpoint(string id = default, Dat additionalBinaryDataProperties: null); } - public static FineTuningCheckpointMetrics FineTuningCheckpointMetrics(float? trainLoss = default, float? trainMeanTokenAccuracy = default, float? validLoss = default, float? validMeanTokenAccuracy = default, float? fullValidLoss = default, float? fullValidMeanTokenAccuracy = default, int stepNumber = default) + public static FineTuningCheckpointMetrics FineTuningCheckpointMetrics(int stepNumber = default, float? trainLoss = default, float? trainMeanTokenAccuracy = default, float? validLoss = default, float? validMeanTokenAccuracy = default, float? fullValidLoss = default, float? fullValidMeanTokenAccuracy = default) { return new FineTuningCheckpointMetrics( + stepNumber, trainLoss, trainMeanTokenAccuracy, validLoss, validMeanTokenAccuracy, fullValidLoss, fullValidMeanTokenAccuracy, - stepNumber, additionalBinaryDataProperties: null); } @@ -503,6 +503,59 @@ public static FineTuningEvent FineTuningEvent(string id = default, DateTimeOffse additionalBinaryDataProperties: null); } + public static RunGraderRequest RunGraderRequest(BinaryData grader = default, BinaryData item = default, string modelSample = default) + { + return new RunGraderRequest(grader, item, modelSample, additionalBinaryDataProperties: null); + } + + public static RunGraderResponse RunGraderResponse(float reward = default, RunGraderResponseMetadata metadata = default, BinaryData subRewards = default, BinaryData modelGraderTokenUsagePerModel = default) + { + return new RunGraderResponse(reward, metadata, subRewards, modelGraderTokenUsagePerModel, additionalBinaryDataProperties: null); + } + + public static RunGraderResponseMetadata RunGraderResponseMetadata(string name = default, string kind = default, RunGraderResponseMetadataErrors errors = default, float executionTime = default, BinaryData scores = default, int? tokenUsage = default, string sampledModelName = default) + { + return new RunGraderResponseMetadata( + name, + kind, + errors, + executionTime, + scores, + tokenUsage, + sampledModelName, + additionalBinaryDataProperties: null); + } + + public static RunGraderResponseMetadataErrors RunGraderResponseMetadataErrors(bool formulaParseError = default, bool sampleParseError = default, bool truncatedObservationError = default, bool unresponsiveRewardError = default, bool invalidVariableError = default, bool otherError = default, bool pythonGraderServerError = default, string pythonGraderServerErrorType = default, bool pythonGraderRuntimeError = default, string pythonGraderRuntimeErrorDetails = default, bool modelGraderServerError = default, bool modelGraderRefusalError = default, bool modelGraderParseError = default, string modelGraderServerErrorDetails = default) + { + return new RunGraderResponseMetadataErrors( + formulaParseError, + sampleParseError, + truncatedObservationError, + unresponsiveRewardError, + invalidVariableError, + otherError, + pythonGraderServerError, + pythonGraderServerErrorType, + pythonGraderRuntimeError, + pythonGraderRuntimeErrorDetails, + modelGraderServerError, + modelGraderRefusalError, + modelGraderParseError, + modelGraderServerErrorDetails, + additionalBinaryDataProperties: null); + } + + public static ValidateGraderRequest ValidateGraderRequest(BinaryData grader = default) + { + return new ValidateGraderRequest(grader, additionalBinaryDataProperties: null); + } + + public static ValidateGraderResponse ValidateGraderResponse(BinaryData grader = default) + { + return new ValidateGraderResponse(grader, additionalBinaryDataProperties: null); + } + public static FileSearchToolRankingOptions FileSearchToolRankingOptions(FileSearchToolRanker? ranker = default, float? scoreThreshold = default) { return new FileSearchToolRankingOptions(ranker, scoreThreshold, additionalBinaryDataProperties: null); @@ -541,7 +594,7 @@ public static ComputerCallSafetyCheck ComputerCallSafetyCheck(string id = defaul return new ComputerCallSafetyCheck(id, code, message, additionalBinaryDataProperties: null); } - public static OpenAIResponse OpenAIResponse(IDictionary metadata = default, float? temperature = default, float? topP = default, ResponseServiceTier? serviceTier = default, string previousResponseId = default, bool? background = default, string instructions = default, IEnumerable tools = default, string id = default, ResponseStatus? status = default, DateTimeOffset createdAt = default, ResponseError error = default, ResponseTokenUsage usage = default, string endUserId = default, ResponseReasoningOptions reasoningOptions = default, int? maxOutputTokenCount = default, ResponseTextOptions textOptions = default, ResponseTruncationMode? truncationMode = default, ResponseIncompleteStatusDetails incompleteStatusDetails = default, IEnumerable outputItems = default, bool parallelToolCallsEnabled = default, ResponseToolChoice toolChoice = default, string model = default, string @object = default) + public static OpenAIResponse OpenAIResponse(IDictionary metadata = default, float? temperature = default, float? topP = default, string endUserId = default, ResponseServiceTier? serviceTier = default, string previousResponseId = default, string model = default, ResponseReasoningOptions reasoningOptions = default, bool? background = default, int? maxOutputTokenCount = default, string instructions = default, ResponseTextOptions textOptions = default, IEnumerable tools = default, ResponseToolChoice toolChoice = default, ResponseTruncationMode? truncationMode = default, string id = default, string @object = default, ResponseStatus? status = default, DateTimeOffset createdAt = default, ResponseError error = default, ResponseIncompleteStatusDetails incompleteStatusDetails = default, IEnumerable outputItems = default, ResponseTokenUsage usage = default, bool parallelToolCallsEnabled = default) { metadata ??= new ChangeTrackingDictionary(); tools ??= new ChangeTrackingList(); @@ -551,27 +604,27 @@ public static OpenAIResponse OpenAIResponse(IDictionary metadata metadata, temperature, topP, + endUserId, serviceTier, previousResponseId, + model, + reasoningOptions, background, + maxOutputTokenCount, instructions, - tools?.ToList(), + textOptions, + tools.ToList(), + toolChoice, + truncationMode, id, + @object, status, createdAt, error, - usage, - endUserId, - reasoningOptions, - maxOutputTokenCount, - textOptions, - truncationMode, incompleteStatusDetails, - outputItems?.ToList(), + outputItems.ToList(), + usage, parallelToolCallsEnabled, - toolChoice, - model, - @object, additionalBinaryDataProperties: null); } @@ -585,14 +638,14 @@ public static ResponseIncompleteStatusDetails ResponseIncompleteStatusDetails(Re return new ResponseIncompleteStatusDetails(reason, additionalBinaryDataProperties: null); } - public static ResponseTokenUsage ResponseTokenUsage(int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default, ResponseInputTokenUsageDetails inputTokenDetails = default, ResponseOutputTokenUsageDetails outputTokenDetails = default) + public static ResponseTokenUsage ResponseTokenUsage(int inputTokenCount = default, ResponseInputTokenUsageDetails inputTokenDetails = default, int outputTokenCount = default, ResponseOutputTokenUsageDetails outputTokenDetails = default, int totalTokenCount = default) { return new ResponseTokenUsage( inputTokenCount, - outputTokenCount, - totalTokenCount, inputTokenDetails, + outputTokenCount, outputTokenDetails, + totalTokenCount, additionalBinaryDataProperties: null); } @@ -606,44 +659,44 @@ public static ResponseOutputTokenUsageDetails ResponseOutputTokenUsageDetails(in return new ResponseOutputTokenUsageDetails(reasoningTokenCount, additionalBinaryDataProperties: null); } - public static ResponseDeletionResult ResponseDeletionResult(string id = default, bool deleted = default, string @object = default) + public static ResponseDeletionResult ResponseDeletionResult(string id = default, string @object = default, bool deleted = default) { - return new ResponseDeletionResult(id, deleted, @object, additionalBinaryDataProperties: null); + return new ResponseDeletionResult(id, @object, deleted, additionalBinaryDataProperties: null); } - public static ImageGenerationOptions ImageGenerationOptions(GeneratedImageQuality? quality = default, GeneratedImageFormat? responseFormat = default, GeneratedImageSize? size = default, GeneratedImageBackground? background = default, GeneratedImageStyle? style = default, InternalCreateImageRequestModel? model = default, string prompt = default, long? n = default, string endUserId = default, int? outputCompressionFactor = default, GeneratedImageFileFormat? outputFileFormat = default, GeneratedImageModerationLevel? moderationLevel = default) + public static ImageGenerationOptions ImageGenerationOptions(string prompt = default, InternalCreateImageRequestModel? model = default, long? n = default, GeneratedImageQuality? quality = default, GeneratedImageFormat? responseFormat = default, GeneratedImageFileFormat? outputFileFormat = default, int? outputCompressionFactor = default, GeneratedImageSize? size = default, GeneratedImageModerationLevel? moderationLevel = default, GeneratedImageBackground? background = default, GeneratedImageStyle? style = default, string endUserId = default) { return new ImageGenerationOptions( + prompt, + model, + n, quality, responseFormat, + outputFileFormat, + outputCompressionFactor, size, + moderationLevel, background, style, - model, - prompt, - n, endUserId, - outputCompressionFactor, - outputFileFormat, - moderationLevel, additionalBinaryDataProperties: null); } - public static GeneratedImageCollection GeneratedImageCollection(IEnumerable data = default, ImageTokenUsage usage = default, DateTimeOffset createdAt = default) + public static GeneratedImageCollection GeneratedImageCollection(DateTimeOffset createdAt = default, IEnumerable data = default, ImageTokenUsage usage = default) { data ??= new ChangeTrackingList(); - return new GeneratedImageCollection(data?.ToList(), usage, createdAt, additionalBinaryDataProperties: null); + return new GeneratedImageCollection(createdAt, data.ToList(), usage, additionalBinaryDataProperties: null); } - public static GeneratedImage GeneratedImage(string revisedPrompt = default, BinaryData imageBytes = default, Uri imageUri = default) + public static GeneratedImage GeneratedImage(BinaryData imageBytes = default, Uri imageUri = default, string revisedPrompt = default) { - return new GeneratedImage(revisedPrompt, imageBytes, imageUri, additionalBinaryDataProperties: null); + return new GeneratedImage(imageBytes, imageUri, revisedPrompt, additionalBinaryDataProperties: null); } - public static ImageTokenUsage ImageTokenUsage(int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default, ImageInputTokenUsageDetails inputTokenDetails = default) + public static ImageTokenUsage ImageTokenUsage(int totalTokenCount = default, int inputTokenCount = default, int outputTokenCount = default, ImageInputTokenUsageDetails inputTokenDetails = default) { - return new ImageTokenUsage(inputTokenCount, outputTokenCount, totalTokenCount, inputTokenDetails, additionalBinaryDataProperties: null); + return new ImageTokenUsage(totalTokenCount, inputTokenCount, outputTokenCount, inputTokenDetails, additionalBinaryDataProperties: null); } public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(int textTokenCount = default, int imageTokenCount = default) @@ -651,55 +704,55 @@ public static ImageInputTokenUsageDetails ImageInputTokenUsageDetails(int textTo return new ImageInputTokenUsageDetails(textTokenCount, imageTokenCount, additionalBinaryDataProperties: null); } - public static ImageVariationOptions ImageVariationOptions(InternalCreateImageVariationRequestModel? model = default, BinaryData image = default, long? n = default, GeneratedImageSize? size = default, GeneratedImageFormat? responseFormat = default, string endUserId = default) + public static ImageVariationOptions ImageVariationOptions(BinaryData image = default, InternalCreateImageVariationRequestModel? model = default, long? n = default, GeneratedImageFormat? responseFormat = default, GeneratedImageSize? size = default, string endUserId = default) { return new ImageVariationOptions( - model, image, + model, n, - size, responseFormat, + size, endUserId, additionalBinaryDataProperties: null); } - public static MessageCreationOptions MessageCreationOptions(IEnumerable attachments = default, IDictionary metadata = default, Assistants.MessageRole role = default, IEnumerable content = default) + public static MessageCreationOptions MessageCreationOptions(Assistants.MessageRole role = default, IEnumerable content = default, IEnumerable attachments = default, IDictionary metadata = default) { + content ??= new ChangeTrackingList(); attachments ??= new ChangeTrackingList(); metadata ??= new ChangeTrackingDictionary(); - content ??= new ChangeTrackingList(); - return new MessageCreationOptions(attachments?.ToList(), metadata, role, content?.ToList(), additionalBinaryDataProperties: null); + return new MessageCreationOptions(role, content.ToList(), attachments.ToList(), metadata, additionalBinaryDataProperties: null); } public static MessageCreationAttachment MessageCreationAttachment(string fileId = default, IEnumerable tools = default) { tools ??= new ChangeTrackingList(); - return new MessageCreationAttachment(fileId, tools?.ToList(), additionalBinaryDataProperties: null); + return new MessageCreationAttachment(fileId, tools.ToList(), additionalBinaryDataProperties: null); } - public static ThreadMessage ThreadMessage(string id = default, DateTimeOffset createdAt = default, string threadId = default, Assistants.MessageStatus status = default, MessageFailureDetails incompleteDetails = default, DateTimeOffset? completedAt = default, DateTimeOffset? incompleteAt = default, IEnumerable content = default, string assistantId = default, string runId = default, IReadOnlyDictionary metadata = default, string @object = default, Assistants.MessageRole role = default, IEnumerable attachments = default) + public static ThreadMessage ThreadMessage(string id = default, string @object = default, DateTimeOffset createdAt = default, string threadId = default, Assistants.MessageStatus status = default, MessageFailureDetails incompleteDetails = default, DateTimeOffset? completedAt = default, DateTimeOffset? incompleteAt = default, Assistants.MessageRole role = default, IEnumerable content = default, string assistantId = default, string runId = default, IEnumerable attachments = default, IReadOnlyDictionary metadata = default) { content ??= new ChangeTrackingList(); - metadata ??= new ChangeTrackingDictionary(); attachments ??= new ChangeTrackingList(); + metadata ??= new ChangeTrackingDictionary(); return new ThreadMessage( id, + @object, createdAt, threadId, status, incompleteDetails, completedAt, incompleteAt, - content?.ToList(), + role, + content.ToList(), assistantId, runId, + attachments.ToList(), metadata, - @object, - role, - attachments?.ToList(), additionalBinaryDataProperties: null); } @@ -715,16 +768,16 @@ public static MessageModificationOptions MessageModificationOptions(IDictionary< return new MessageModificationOptions(metadata, additionalBinaryDataProperties: null); } - public static MessageDeletionResult MessageDeletionResult(bool deleted = default, string messageId = default, string @object = default) + public static MessageDeletionResult MessageDeletionResult(string messageId = default, bool deleted = default, string @object = default) { - return new MessageDeletionResult(deleted, messageId, @object, additionalBinaryDataProperties: null); + return new MessageDeletionResult(messageId, deleted, @object, additionalBinaryDataProperties: null); } public static ModerationResultCollection ModerationResultCollection(string id = default, string model = default, IEnumerable results = default) { results ??= new ChangeTrackingList(); - return new ModerationResultCollection(id, model, results?.ToList()); + return new ModerationResultCollection(id, model, results.ToList()); } public static ModerationResult ModerationResult(bool flagged = default) @@ -732,12 +785,12 @@ public static ModerationResult ModerationResult(bool flagged = default) return new ModerationResult(flagged, additionalBinaryDataProperties: null); } - public static ThreadCreationOptions ThreadCreationOptions(IDictionary metadata = default, ToolResources toolResources = default, IEnumerable internalMessages = default) + public static ThreadCreationOptions ThreadCreationOptions(IEnumerable internalMessages = default, ToolResources toolResources = default, IDictionary metadata = default) { - metadata ??= new ChangeTrackingDictionary(); internalMessages ??= new ChangeTrackingList(); + metadata ??= new ChangeTrackingDictionary(); - return new ThreadCreationOptions(metadata, toolResources, internalMessages?.ToList(), additionalBinaryDataProperties: null); + return new ThreadCreationOptions(internalMessages.ToList(), toolResources, metadata, additionalBinaryDataProperties: null); } public static RunError RunError(RunErrorCode code = default, string message = default) @@ -755,7 +808,7 @@ public static RunTokenUsage RunTokenUsage(int outputTokenCount = default, int in return new RunTokenUsage(outputTokenCount, inputTokenCount, totalTokenCount, additionalBinaryDataProperties: null); } - public static RunCreationOptions RunCreationOptions(string assistantId = default, bool? stream = default, AssistantResponseFormat responseFormat = default, string modelOverride = default, string instructionsOverride = default, string additionalInstructions = default, IEnumerable internalMessages = default, bool? allowParallelToolCalls = default, IEnumerable toolsOverride = default, IDictionary metadata = default, float? temperature = default, float? nucleusSamplingFactor = default, int? maxInputTokenCount = default, int? maxOutputTokenCount = default, RunTruncationStrategy truncationStrategy = default, ToolConstraint toolConstraint = default, ChatReasoningEffortLevel? reasoningEffortLevel = default) + public static RunCreationOptions RunCreationOptions(string assistantId = default, string modelOverride = default, ChatReasoningEffortLevel? reasoningEffortLevel = default, string instructionsOverride = default, string additionalInstructions = default, IEnumerable internalMessages = default, IEnumerable toolsOverride = default, IDictionary metadata = default, float? temperature = default, float? nucleusSamplingFactor = default, bool? stream = default, int? maxInputTokenCount = default, int? maxOutputTokenCount = default, RunTruncationStrategy truncationStrategy = default, ToolConstraint toolConstraint = default, bool? allowParallelToolCalls = default, AssistantResponseFormat responseFormat = default) { internalMessages ??= new ChangeTrackingList(); toolsOverride ??= new ChangeTrackingList(); @@ -763,22 +816,22 @@ public static RunCreationOptions RunCreationOptions(string assistantId = default return new RunCreationOptions( assistantId, - stream, - responseFormat, modelOverride, + reasoningEffortLevel, instructionsOverride, additionalInstructions, - internalMessages?.ToList(), - allowParallelToolCalls, - toolsOverride?.ToList(), + internalMessages.ToList(), + toolsOverride.ToList(), metadata, temperature, nucleusSamplingFactor, + stream, maxInputTokenCount, maxOutputTokenCount, truncationStrategy, toolConstraint, - reasoningEffortLevel, + allowParallelToolCalls, + responseFormat, additionalBinaryDataProperties: null); } @@ -794,18 +847,20 @@ public static ToolOutput ToolOutput(string toolCallId = default, string output = return new ToolOutput(toolCallId, output, additionalBinaryDataProperties: null); } - public static RunStep RunStep(string id = default, DateTimeOffset createdAt = default, string assistantId = default, string threadId = default, string runId = default, RunStepKind kind = default, RunStepStatus status = default, RunStepError lastError = default, DateTimeOffset? expiredAt = default, DateTimeOffset? cancelledAt = default, DateTimeOffset? failedAt = default, DateTimeOffset? completedAt = default, IReadOnlyDictionary metadata = default, RunStepTokenUsage usage = default, string @object = default, RunStepDetails details = default) + public static RunStep RunStep(string id = default, string @object = default, DateTimeOffset createdAt = default, string assistantId = default, string threadId = default, string runId = default, RunStepKind kind = default, RunStepStatus status = default, RunStepDetails details = default, RunStepError lastError = default, DateTimeOffset? expiredAt = default, DateTimeOffset? cancelledAt = default, DateTimeOffset? failedAt = default, DateTimeOffset? completedAt = default, IReadOnlyDictionary metadata = default, RunStepTokenUsage usage = default) { metadata ??= new ChangeTrackingDictionary(); return new RunStep( id, + @object, createdAt, assistantId, threadId, runId, kind, status, + details, lastError, expiredAt, cancelledAt, @@ -813,8 +868,6 @@ public static RunStep RunStep(string id = default, DateTimeOffset createdAt = de completedAt, metadata, usage, - @object, - details, additionalBinaryDataProperties: null); } @@ -827,12 +880,12 @@ public static RunStepFileSearchResult RunStepFileSearchResult(string fileId = de { content ??= new ChangeTrackingList(); - return new RunStepFileSearchResult(fileId, fileName, score, content?.ToList(), additionalBinaryDataProperties: null); + return new RunStepFileSearchResult(fileId, fileName, score, content.ToList(), additionalBinaryDataProperties: null); } - public static RunStepFileSearchResultContent RunStepFileSearchResultContent(string text = default, RunStepFileSearchResultContentKind kind = default) + public static RunStepFileSearchResultContent RunStepFileSearchResultContent(RunStepFileSearchResultContentKind kind = default, string text = default) { - return new RunStepFileSearchResultContent(text, kind, additionalBinaryDataProperties: null); + return new RunStepFileSearchResultContent(kind, text, additionalBinaryDataProperties: null); } public static RunStepError RunStepError(RunStepErrorCode code = default, string message = default) @@ -845,47 +898,47 @@ public static RunStepTokenUsage RunStepTokenUsage(int outputTokenCount = default return new RunStepTokenUsage(outputTokenCount, inputTokenCount, totalTokenCount, additionalBinaryDataProperties: null); } - public static AssistantThread AssistantThread(string id = default, DateTimeOffset createdAt = default, IReadOnlyDictionary metadata = default, string @object = default, ToolResources toolResources = default) + public static AssistantThread AssistantThread(string id = default, string @object = default, DateTimeOffset createdAt = default, ToolResources toolResources = default, IReadOnlyDictionary metadata = default) { metadata ??= new ChangeTrackingDictionary(); return new AssistantThread( id, - createdAt, - metadata, @object, + createdAt, toolResources, + metadata, additionalBinaryDataProperties: null); } - public static ThreadModificationOptions ThreadModificationOptions(IDictionary metadata = default, ToolResources toolResources = default) + public static ThreadModificationOptions ThreadModificationOptions(ToolResources toolResources = default, IDictionary metadata = default) { metadata ??= new ChangeTrackingDictionary(); - return new ThreadModificationOptions(metadata, toolResources, additionalBinaryDataProperties: null); + return new ThreadModificationOptions(toolResources, metadata, additionalBinaryDataProperties: null); } - public static ThreadDeletionResult ThreadDeletionResult(bool deleted = default, string threadId = default, string @object = default) + public static ThreadDeletionResult ThreadDeletionResult(string threadId = default, bool deleted = default, string @object = default) { - return new ThreadDeletionResult(deleted, threadId, @object, additionalBinaryDataProperties: null); + return new ThreadDeletionResult(threadId, deleted, @object, additionalBinaryDataProperties: null); } - public static VectorStore VectorStore(string id = default, DateTimeOffset createdAt = default, string name = default, int usageBytes = default, VectorStoreFileCounts fileCounts = default, VectorStoreStatus status = default, DateTimeOffset? expiresAt = default, DateTimeOffset? lastActiveAt = default, IReadOnlyDictionary metadata = default, string @object = default, VectorStoreExpirationPolicy expirationPolicy = default) + public static VectorStore VectorStore(string id = default, string @object = default, DateTimeOffset createdAt = default, string name = default, int usageBytes = default, VectorStoreFileCounts fileCounts = default, VectorStoreStatus status = default, VectorStoreExpirationPolicy expirationPolicy = default, DateTimeOffset? expiresAt = default, DateTimeOffset? lastActiveAt = default, IReadOnlyDictionary metadata = default) { metadata ??= new ChangeTrackingDictionary(); return new VectorStore( id, + @object, createdAt, name, usageBytes, fileCounts, status, + expirationPolicy, expiresAt, lastActiveAt, metadata, - @object, - expirationPolicy, additionalBinaryDataProperties: null); } @@ -900,63 +953,63 @@ public static VectorStoreFileCounts VectorStoreFileCounts(int inProgress = defau additionalBinaryDataProperties: null); } - public static VectorStoreExpirationPolicy VectorStoreExpirationPolicy(int days = default, VectorStoreExpirationAnchor anchor = default) + public static VectorStoreExpirationPolicy VectorStoreExpirationPolicy(VectorStoreExpirationAnchor anchor = default, int days = default) { - return new VectorStoreExpirationPolicy(days, anchor, additionalBinaryDataProperties: null); + return new VectorStoreExpirationPolicy(anchor, days, additionalBinaryDataProperties: null); } - public static VectorStoreCreationOptions VectorStoreCreationOptions(IEnumerable fileIds = default, string name = default, IDictionary metadata = default, VectorStoreExpirationPolicy expirationPolicy = default, FileChunkingStrategy chunkingStrategy = default) + public static VectorStoreCreationOptions VectorStoreCreationOptions(IEnumerable fileIds = default, string name = default, VectorStoreExpirationPolicy expirationPolicy = default, FileChunkingStrategy chunkingStrategy = default, IDictionary metadata = default) { fileIds ??= new ChangeTrackingList(); metadata ??= new ChangeTrackingDictionary(); return new VectorStoreCreationOptions( - fileIds?.ToList(), + fileIds.ToList(), name, - metadata, expirationPolicy, chunkingStrategy, + metadata, additionalBinaryDataProperties: null); } - public static VectorStoreModificationOptions VectorStoreModificationOptions(string name = default, IDictionary metadata = default, VectorStoreExpirationPolicy expirationPolicy = default) + public static VectorStoreModificationOptions VectorStoreModificationOptions(string name = default, VectorStoreExpirationPolicy expirationPolicy = default, IDictionary metadata = default) { metadata ??= new ChangeTrackingDictionary(); - return new VectorStoreModificationOptions(name, metadata, expirationPolicy, additionalBinaryDataProperties: null); + return new VectorStoreModificationOptions(name, expirationPolicy, metadata, additionalBinaryDataProperties: null); } - public static VectorStoreDeletionResult VectorStoreDeletionResult(bool deleted = default, string vectorStoreId = default, string @object = default) + public static VectorStoreDeletionResult VectorStoreDeletionResult(string vectorStoreId = default, bool deleted = default, string @object = default) { - return new VectorStoreDeletionResult(deleted, vectorStoreId, @object, additionalBinaryDataProperties: null); + return new VectorStoreDeletionResult(vectorStoreId, deleted, @object, additionalBinaryDataProperties: null); } - public static VectorStoreBatchFileJob VectorStoreBatchFileJob(DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreBatchFileJobStatus status = default, string batchId = default, VectorStoreFileCounts fileCounts = default, object @object = default) + public static VectorStoreBatchFileJob VectorStoreBatchFileJob(string batchId = default, DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreBatchFileJobStatus status = default, VectorStoreFileCounts fileCounts = default, object @object = default) { return new VectorStoreBatchFileJob( + batchId, createdAt, vectorStoreId, status, - batchId, fileCounts, @object, additionalBinaryDataProperties: null); } - public static VectorStoreFileAssociation VectorStoreFileAssociation(DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreFileAssociationStatus status = default, VectorStoreFileAssociationError lastError = default, string @object = default, string fileId = default, int size = default, IDictionary attributes = default, FileChunkingStrategy chunkingStrategy = default) + public static VectorStoreFileAssociation VectorStoreFileAssociation(string fileId = default, string @object = default, int size = default, DateTimeOffset createdAt = default, string vectorStoreId = default, VectorStoreFileAssociationStatus status = default, VectorStoreFileAssociationError lastError = default, FileChunkingStrategy chunkingStrategy = default, IDictionary attributes = default) { attributes ??= new ChangeTrackingDictionary(); return new VectorStoreFileAssociation( + fileId, + @object, + size, createdAt, vectorStoreId, status, lastError, - @object, - fileId, - size, - attributes, chunkingStrategy, + attributes, additionalBinaryDataProperties: null); } @@ -974,17 +1027,17 @@ public static OpenAIModelCollection OpenAIModelCollection(string @object = defau { data ??= new ChangeTrackingList(); - return new OpenAIModelCollection(@object, data?.ToList(), serializedAdditionalRawData: null); + return new OpenAIModelCollection(@object, data.ToList(), serializedAdditionalRawData: null); } - public static OpenAIModel OpenAIModel(string id = default, string ownedBy = default, string @object = default, DateTimeOffset createdAt = default) + public static OpenAIModel OpenAIModel(string id = default, DateTimeOffset createdAt = default, string @object = default, string ownedBy = default) { - return new OpenAIModel(id, ownedBy, @object, createdAt, additionalBinaryDataProperties: null); + return new OpenAIModel(id, createdAt, @object, ownedBy, additionalBinaryDataProperties: null); } - public static ModelDeletionResult ModelDeletionResult(bool deleted = default, string modelId = default, string @object = default) + public static ModelDeletionResult ModelDeletionResult(string modelId = default, bool deleted = default, string @object = default) { - return new ModelDeletionResult(deleted, modelId, @object, additionalBinaryDataProperties: null); + return new ModelDeletionResult(modelId, deleted, @object, additionalBinaryDataProperties: null); } public static InputTranscriptionOptions InputTranscriptionOptions(InputTranscriptionModel? model = default, string language = default, string prompt = default) @@ -1009,7 +1062,7 @@ public static ConversationTool ConversationTool(string kind = default) public static ConversationFunctionTool ConversationFunctionTool(string name = default, string description = default, BinaryData parameters = default) { - return new ConversationFunctionTool(ConversationToolKind.Function, additionalBinaryDataProperties: null, name, description, parameters); + return new ConversationFunctionTool(default, additionalBinaryDataProperties: null, name, description, parameters); } public static ConversationContentPart ConversationContentPart(string kind = default) @@ -1058,20 +1111,20 @@ public static ItemDeletedUpdate ItemDeletedUpdate(string eventId = default, stri return new ItemDeletedUpdate(RealtimeUpdateKind.ItemDeleted, eventId, additionalBinaryDataProperties: null, itemId); } - public static ConversationTokenUsage ConversationTokenUsage(ConversationInputTokenUsageDetails inputTokenDetails = default, ConversationOutputTokenUsageDetails outputTokenDetails = default, int inputTokenCount = default, int outputTokenCount = default, int totalTokenCount = default) + public static ConversationTokenUsage ConversationTokenUsage(int totalTokenCount = default, int inputTokenCount = default, int outputTokenCount = default, ConversationInputTokenUsageDetails inputTokenDetails = default, ConversationOutputTokenUsageDetails outputTokenDetails = default) { return new ConversationTokenUsage( - inputTokenDetails, - outputTokenDetails, + totalTokenCount, inputTokenCount, outputTokenCount, - totalTokenCount, + inputTokenDetails, + outputTokenDetails, additionalBinaryDataProperties: null); } - public static ConversationInputTokenUsageDetails ConversationInputTokenUsageDetails(int audioTokenCount = default, int cachedTokenCount = default, int textTokenCount = default) + public static ConversationInputTokenUsageDetails ConversationInputTokenUsageDetails(int cachedTokenCount = default, int textTokenCount = default, int audioTokenCount = default) { - return new ConversationInputTokenUsageDetails(audioTokenCount, cachedTokenCount, textTokenCount, additionalBinaryDataProperties: null); + return new ConversationInputTokenUsageDetails(cachedTokenCount, textTokenCount, audioTokenCount, additionalBinaryDataProperties: null); } public static ConversationOutputTokenUsageDetails ConversationOutputTokenUsageDetails(int textTokenCount = default, int audioTokenCount = default) @@ -1121,7 +1174,7 @@ public static RateLimitsUpdate RateLimitsUpdate(string eventId = default, IEnume { allDetails ??= new ChangeTrackingList(); - return new RateLimitsUpdate(RealtimeUpdateKind.RateLimitsUpdated, eventId, additionalBinaryDataProperties: null, allDetails?.ToList()); + return new RateLimitsUpdate(RealtimeUpdateKind.RateLimitsUpdated, eventId, additionalBinaryDataProperties: null, allDetails.ToList()); } public static ConversationRateLimitDetailsItem ConversationRateLimitDetailsItem(string name = default, int maximumCount = default, int remainingCount = default, TimeSpan timeUntilReset = default) @@ -1144,20 +1197,20 @@ public static ChatToolChoice ChatToolChoice() return new ChatToolChoice(additionalBinaryDataProperties: null); } - public static AudioTranscription AudioTranscription(string language = default, string text = default, IEnumerable words = default, IEnumerable segments = default, string task = default, TimeSpan? duration = default, IEnumerable transcriptionTokenLogProbabilities = default) + public static AudioTranscription AudioTranscription(string task = default, string language = default, TimeSpan? duration = default, string text = default, IEnumerable words = default, IEnumerable segments = default, IEnumerable transcriptionTokenLogProbabilities = default) { words ??= new ChangeTrackingList(); segments ??= new ChangeTrackingList(); transcriptionTokenLogProbabilities ??= new ChangeTrackingList(); return new AudioTranscription( - language, - text, - words?.ToList(), - segments?.ToList(), task, + language, duration, - transcriptionTokenLogProbabilities?.ToList(), + text, + words.ToList(), + segments.ToList(), + transcriptionTokenLogProbabilities.ToList(), additionalBinaryDataProperties: null); } @@ -1198,58 +1251,5 @@ public static ResponseItemCollectionOptions ResponseItemCollectionOptions(string { return new ResponseItemCollectionOptions(afterId, beforeId, pageSizeLimit, order, additionalBinaryDataProperties: null); } - - public static RunGraderRequest RunGraderRequest(BinaryData grader = default, BinaryData item = default, string modelSample = default) - { - return new RunGraderRequest(grader, item, modelSample, additionalBinaryDataProperties: null); - } - - public static RunGraderResponse RunGraderResponse(float reward = default, RunGraderResponseMetadata metadata = default, BinaryData subRewards = default, BinaryData modelGraderTokenUsagePerModel = default) - { - return new RunGraderResponse(reward, metadata, subRewards, modelGraderTokenUsagePerModel, additionalBinaryDataProperties: null); - } - - public static RunGraderResponseMetadata RunGraderResponseMetadata(string name = default, string kind = default, RunGraderResponseMetadataErrors errors = default, float executionTime = default, BinaryData scores = default, int? tokenUsage = default, string sampledModelName = default) - { - return new RunGraderResponseMetadata( - name, - kind, - errors, - executionTime, - scores, - tokenUsage, - sampledModelName, - additionalBinaryDataProperties: null); - } - - public static RunGraderResponseMetadataErrors RunGraderResponseMetadataErrors(bool formulaParseError = default, bool sampleParseError = default, bool truncatedObservationError = default, bool unresponsiveRewardError = default, bool invalidVariableError = default, bool otherError = default, bool pythonGraderServerError = default, string pythonGraderServerErrorType = default, bool pythonGraderRuntimeError = default, string pythonGraderRuntimeErrorDetails = default, bool modelGraderServerError = default, bool modelGraderRefusalError = default, bool modelGraderParseError = default, string modelGraderServerErrorDetails = default) - { - return new RunGraderResponseMetadataErrors( - formulaParseError, - sampleParseError, - truncatedObservationError, - unresponsiveRewardError, - invalidVariableError, - otherError, - pythonGraderServerError, - pythonGraderServerErrorType, - pythonGraderRuntimeError, - pythonGraderRuntimeErrorDetails, - modelGraderServerError, - modelGraderRefusalError, - modelGraderParseError, - modelGraderServerErrorDetails, - additionalBinaryDataProperties: null); - } - - public static ValidateGraderRequest ValidateGraderRequest(BinaryData grader = default) - { - return new ValidateGraderRequest(grader, additionalBinaryDataProperties: null); - } - - public static ValidateGraderResponse ValidateGraderResponse(BinaryData grader = default) - { - return new ValidateGraderResponse(grader, additionalBinaryDataProperties: null); - } } } diff --git a/tspCodeModel.json b/tspCodeModel.json index ba9900deb..6e00e023a 100644 --- a/tspCodeModel.json +++ b/tspCodeModel.json @@ -161,7 +161,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -755,7 +755,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -814,7 +814,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -1075,7 +1075,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -1134,7 +1134,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input", @@ -1298,7 +1298,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -1377,7 +1377,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input", @@ -1508,7 +1508,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -1632,7 +1632,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -1717,7 +1717,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -2065,7 +2065,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -2111,7 +2111,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -2892,7 +2892,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -3050,7 +3050,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -3175,7 +3175,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -3260,7 +3260,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output", @@ -3319,7 +3319,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -3365,7 +3365,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -3502,7 +3502,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -3561,7 +3561,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -3659,7 +3659,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -3731,7 +3731,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -3764,7 +3764,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -3823,7 +3823,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -3993,7 +3993,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -4143,7 +4143,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -4215,7 +4215,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -4333,7 +4333,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -4431,7 +4431,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -4464,7 +4464,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Output,Json", @@ -4523,7 +4523,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -4569,7 +4569,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -4990,7 +4990,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5088,7 +5088,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5134,7 +5134,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5219,7 +5219,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5311,7 +5311,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5383,7 +5383,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5455,7 +5455,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5514,7 +5514,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5560,7 +5560,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -5619,7 +5619,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -6563,7 +6563,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -6622,7 +6622,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -6840,7 +6840,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -6998,7 +6998,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -7057,7 +7057,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -7592,7 +7592,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -7916,7 +7916,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -8217,7 +8217,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -8302,7 +8302,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8361,7 +8361,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8420,7 +8420,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8492,7 +8492,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8551,7 +8551,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8610,7 +8610,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8669,7 +8669,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8741,7 +8741,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8800,7 +8800,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8859,7 +8859,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8918,7 +8918,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -8977,7 +8977,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -9745,7 +9745,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -9843,7 +9843,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -9889,7 +9889,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -9948,7 +9948,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -10072,7 +10072,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -10118,7 +10118,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -10177,7 +10177,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -10223,7 +10223,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -10282,7 +10282,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -10328,7 +10328,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input", @@ -10426,7 +10426,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -10472,7 +10472,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -10557,7 +10557,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -10590,7 +10590,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input", @@ -10636,7 +10636,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -10695,7 +10695,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -10741,7 +10741,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -10876,7 +10876,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -10981,7 +10981,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -11040,7 +11040,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -11125,7 +11125,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -11171,7 +11171,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -11243,7 +11243,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -11725,7 +11725,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -11771,7 +11771,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -11830,7 +11830,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -11889,7 +11889,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -12026,7 +12026,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12085,7 +12085,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12131,7 +12131,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12177,7 +12177,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12262,7 +12262,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12492,7 +12492,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12551,7 +12551,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12656,7 +12656,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12728,7 +12728,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12787,7 +12787,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12833,7 +12833,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -12879,7 +12879,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -12938,7 +12938,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -12997,7 +12997,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -13304,7 +13304,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -13515,7 +13515,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -13953,7 +13953,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -13999,7 +13999,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -14058,7 +14058,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -14117,7 +14117,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -14163,7 +14163,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -14235,7 +14235,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -14281,7 +14281,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -14815,7 +14815,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -14887,7 +14887,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -14959,7 +14959,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -15005,7 +15005,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -15064,7 +15064,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -15110,7 +15110,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -15169,7 +15169,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -15267,7 +15267,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -15313,7 +15313,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -15385,7 +15385,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -15431,7 +15431,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -15503,7 +15503,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Json", @@ -15575,7 +15575,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output,Json", @@ -15621,7 +15621,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -15680,7 +15680,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output", @@ -15739,7 +15739,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output", @@ -15785,7 +15785,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Output", @@ -16028,7 +16028,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input,Output", @@ -16120,7 +16120,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -16166,7 +16166,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -16212,7 +16212,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -16258,7 +16258,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -16343,7 +16343,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -16389,7 +16389,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -16435,7 +16435,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "isFixed": true, "isFlags": false, "usage": "Input", @@ -23922,7 +23922,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "2253", @@ -23966,7 +23967,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2258", @@ -23987,7 +23989,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "2259", @@ -24020,7 +24023,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2262", @@ -24038,7 +24042,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -24050,7 +24054,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2265", @@ -24068,7 +24073,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -24080,7 +24085,8 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { "$id": "2268", @@ -24105,7 +24111,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "2270", @@ -24123,7 +24130,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -24135,7 +24142,8 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { "$id": "2273", @@ -24173,7 +24181,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -24213,7 +24222,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -24249,7 +24259,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2281", @@ -24289,7 +24300,8 @@ "json": { "name": "max_num_results" } - } + }, + "isHttpMetadata": false }, { "$id": "2285", @@ -24324,7 +24336,8 @@ "json": { "name": "ranker" } - } + }, + "isHttpMetadata": false }, { "$id": "2288", @@ -24349,7 +24362,8 @@ "json": { "name": "score_threshold" } - } + }, + "isHttpMetadata": false } ] }, @@ -24363,7 +24377,8 @@ "json": { "name": "ranking_options" } - } + }, + "isHttpMetadata": false } ] }, @@ -24377,7 +24392,8 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, @@ -24413,7 +24429,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2292", @@ -24452,7 +24469,8 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { "$id": "2296", @@ -24477,7 +24495,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2298", @@ -24502,7 +24521,8 @@ "json": { "name": "parameters" } - } + }, + "isHttpMetadata": false }, { "$id": "2300", @@ -24520,7 +24540,7 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -24532,7 +24552,8 @@ "json": { "name": "strict" } - } + }, + "isHttpMetadata": false } ] }, @@ -24546,7 +24567,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] } @@ -24565,7 +24587,8 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { "$id": "2303", @@ -24629,7 +24652,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -24643,7 +24667,8 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { "$id": "2311", @@ -24678,7 +24703,8 @@ "json": { "name": "vector_store_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -24692,11 +24718,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -24708,7 +24735,8 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { "$id": "2314", @@ -24738,7 +24766,7 @@ }, "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": true, @@ -24750,7 +24778,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { "$id": "2319", @@ -24768,7 +24797,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -24780,7 +24809,8 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { "$id": "2322", @@ -24798,7 +24828,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -24810,7 +24840,8 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { "$id": "2325", @@ -24864,7 +24895,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -24908,7 +24940,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -24945,7 +24978,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2335", @@ -24985,7 +25019,8 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { "$id": "2339", @@ -25010,7 +25045,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2341", @@ -25045,7 +25081,8 @@ "json": { "name": "schema" } - } + }, + "isHttpMetadata": false }, { "$id": "2344", @@ -25063,7 +25100,7 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -25075,7 +25112,8 @@ "json": { "name": "strict" } - } + }, + "isHttpMetadata": false } ] }, @@ -25089,7 +25127,8 @@ "json": { "name": "json_schema" } - } + }, + "isHttpMetadata": false } ] } @@ -25125,7 +25164,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -25139,7 +25179,7 @@ "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -25151,7 +25191,8 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false } ] }, @@ -25168,7 +25209,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "2349", @@ -25192,7 +25234,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2351", @@ -25216,7 +25259,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2353", @@ -25240,7 +25284,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -25333,7 +25378,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -25345,7 +25390,8 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { "$id": "2361", @@ -25369,7 +25415,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { "$id": "2363", @@ -25386,7 +25433,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -25398,7 +25445,8 @@ "json": { "name": "param" } - } + }, + "isHttpMetadata": false }, { "$id": "2366", @@ -25422,7 +25470,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -25436,7 +25485,8 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, @@ -25471,7 +25521,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "2370", @@ -25489,7 +25540,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -25501,7 +25552,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2373", @@ -25519,7 +25571,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -25531,7 +25583,8 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { "$id": "2376", @@ -25549,7 +25602,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -25561,7 +25614,8 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { "$id": "2379", @@ -25574,7 +25628,7 @@ "type": { "$ref": "53" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -25586,7 +25640,8 @@ "json": { "name": "reasoning_effort" } - } + }, + "isHttpMetadata": false }, { "$id": "2381", @@ -25607,7 +25662,8 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { "$id": "2382", @@ -25660,7 +25716,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -25674,7 +25731,8 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { "$id": "2388", @@ -25709,7 +25767,8 @@ "json": { "name": "vector_store_ids" } - } + }, + "isHttpMetadata": false }, { "$id": "2391", @@ -25749,7 +25808,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false }, { "$id": "2395", @@ -25785,7 +25845,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -25826,7 +25887,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -25863,7 +25925,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2402", @@ -25902,7 +25965,8 @@ "json": { "name": "max_chunk_size_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2406", @@ -25927,7 +25991,8 @@ "json": { "name": "chunk_overlap_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -25941,7 +26006,8 @@ "json": { "name": "static" } - } + }, + "isHttpMetadata": false } ] } @@ -25957,7 +26023,8 @@ "json": { "name": "chunking_strategy" } - } + }, + "isHttpMetadata": false }, { "$id": "2408", @@ -25978,7 +26045,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -25995,7 +26063,8 @@ "json": { "name": "vector_stores" } - } + }, + "isHttpMetadata": false } ] }, @@ -26009,11 +26078,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26025,7 +26095,8 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { "$id": "2409", @@ -26046,7 +26117,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { "$id": "2410", @@ -26064,7 +26136,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26076,7 +26148,8 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { "$id": "2413", @@ -26094,7 +26167,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26106,7 +26179,8 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { "$id": "2416", @@ -26119,7 +26193,7 @@ "type": { "$ref": "2327" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26131,7 +26205,8 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false } ] }, @@ -26187,7 +26262,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "2420", @@ -26200,7 +26276,7 @@ "type": { "$ref": "53" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26212,7 +26288,8 @@ "json": { "name": "reasoning_effort" } - } + }, + "isHttpMetadata": false }, { "$id": "2422", @@ -26230,7 +26307,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26242,7 +26319,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2425", @@ -26260,7 +26338,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26272,7 +26350,8 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { "$id": "2428", @@ -26290,7 +26369,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26302,7 +26381,8 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { "$id": "2431", @@ -26323,7 +26403,8 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { "$id": "2432", @@ -26376,7 +26457,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -26390,7 +26472,8 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { "$id": "2438", @@ -26410,11 +26493,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26426,7 +26510,8 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { "$id": "2439", @@ -26447,7 +26532,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { "$id": "2440", @@ -26465,7 +26551,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26477,7 +26563,8 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { "$id": "2443", @@ -26495,7 +26582,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26507,7 +26594,8 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { "$id": "2446", @@ -26520,7 +26608,7 @@ "type": { "$ref": "2327" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -26532,7 +26620,8 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false } ] }, @@ -26573,7 +26662,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2451", @@ -26597,7 +26687,8 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { "$id": "2453", @@ -26617,7 +26708,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -26649,7 +26741,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "2456", @@ -26674,7 +26767,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { "$id": "2458", @@ -26699,7 +26793,8 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { "$id": "2460", @@ -26720,7 +26815,8 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { "$id": "2461", @@ -26741,7 +26837,8 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false }, { "$id": "2462", @@ -26766,7 +26863,8 @@ "json": { "name": "speed" } - } + }, + "isHttpMetadata": false } ] }, @@ -26806,9 +26904,11 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "file" + "name": "file", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2467", @@ -26832,9 +26932,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "model" + "name": "model", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2468", @@ -26862,9 +26964,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "language" + "name": "language", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2470", @@ -26892,9 +26996,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "prompt" + "name": "prompt", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2472", @@ -26917,9 +27023,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "response_format" + "name": "response_format", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2473", @@ -26954,9 +27062,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "temperature" + "name": "temperature", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2476", @@ -26987,9 +27097,11 @@ "defaultContentTypes": [ "application/json" ], - "name": "include[]" + "name": "include[]", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2478", @@ -27020,9 +27132,11 @@ "defaultContentTypes": [ "application/json" ], - "name": "timestamp_granularities[]" + "name": "timestamp_granularities[]", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2480", @@ -27040,7 +27154,7 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -27055,9 +27169,11 @@ "defaultContentTypes": [ "application/json" ], - "name": "stream" + "name": "stream", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2483", @@ -27081,7 +27197,6 @@ "$id": "2486", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Must be set to `server_vad` to enable manual chunking using server side VAD.", "type": { "$ref": "1435" @@ -27092,13 +27207,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.VadConfig.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2487", "kind": "property", "name": "prefix_padding_ms", - "serializedName": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds).", "type": { "$id": "2488", @@ -27113,13 +27228,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.VadConfig.prefix_padding_ms", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2489", "kind": "property", "name": "silence_duration_ms", - "serializedName": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds).\nWith shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { "$id": "2490", @@ -27134,13 +27249,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.VadConfig.silence_duration_ms", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2491", "kind": "property", "name": "threshold", - "serializedName": "threshold", "doc": "Sensitivity threshold (0.0 to 1.0) for voice activity detection. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { "$id": "2492", @@ -27155,11 +27270,12 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.VadConfig.threshold", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -27174,9 +27290,11 @@ "defaultContentTypes": [ "application/json" ], - "name": "chunking_strategy" + "name": "chunking_strategy", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, @@ -27212,7 +27330,8 @@ "json": { "name": "task" } - } + }, + "isHttpMetadata": false }, { "$id": "2495", @@ -27237,7 +27356,8 @@ "json": { "name": "language" } - } + }, + "isHttpMetadata": false }, { "$id": "2497", @@ -27270,7 +27390,8 @@ "json": { "name": "duration" } - } + }, + "isHttpMetadata": false }, { "$id": "2500", @@ -27295,7 +27416,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { "$id": "2502", @@ -27339,7 +27461,8 @@ "json": { "name": "word" } - } + }, + "isHttpMetadata": false }, { "$id": "2507", @@ -27372,7 +27495,8 @@ "json": { "name": "start" } - } + }, + "isHttpMetadata": false }, { "$id": "2510", @@ -27405,7 +27529,8 @@ "json": { "name": "end" } - } + }, + "isHttpMetadata": false } ] }, @@ -27422,7 +27547,8 @@ "json": { "name": "words" } - } + }, + "isHttpMetadata": false }, { "$id": "2513", @@ -27466,7 +27592,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2518", @@ -27491,7 +27618,8 @@ "json": { "name": "seek" } - } + }, + "isHttpMetadata": false }, { "$id": "2520", @@ -27524,7 +27652,8 @@ "json": { "name": "start" } - } + }, + "isHttpMetadata": false }, { "$id": "2523", @@ -27557,7 +27686,8 @@ "json": { "name": "end" } - } + }, + "isHttpMetadata": false }, { "$id": "2526", @@ -27582,7 +27712,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { "$id": "2528", @@ -27614,7 +27745,8 @@ "json": { "name": "tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2531", @@ -27639,7 +27771,8 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { "$id": "2533", @@ -27664,7 +27797,8 @@ "json": { "name": "avg_logprob" } - } + }, + "isHttpMetadata": false }, { "$id": "2535", @@ -27689,7 +27823,8 @@ "json": { "name": "compression_ratio" } - } + }, + "isHttpMetadata": false }, { "$id": "2537", @@ -27714,7 +27849,8 @@ "json": { "name": "no_speech_prob" } - } + }, + "isHttpMetadata": false } ] }, @@ -27731,7 +27867,8 @@ "json": { "name": "segments" } - } + }, + "isHttpMetadata": false } ] }, @@ -27774,7 +27911,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { "$id": "2542", @@ -27818,7 +27956,8 @@ "json": { "name": "token" } - } + }, + "isHttpMetadata": false }, { "$id": "2547", @@ -27843,7 +27982,8 @@ "json": { "name": "logprob" } - } + }, + "isHttpMetadata": false }, { "$id": "2549", @@ -27875,7 +28015,8 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false } ] }, @@ -27892,7 +28033,8 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false } ] }, @@ -27911,7 +28053,6 @@ "$id": "2553", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "107" }, @@ -27921,7 +28062,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateTranscriptionResponseStreamEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { @@ -27947,7 +28089,6 @@ "$id": "2555", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `transcript.text.delta`.", "type": { "$ref": "109" @@ -27958,13 +28099,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2556", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The text delta that was additionally transcribed.", "type": { "$id": "2557", @@ -27979,13 +28120,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2558", "kind": "property", "name": "logprobs", - "serializedName": "logprobs", "doc": "The log probabilities of the delta. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.", "type": { "$id": "2559", @@ -28004,7 +28145,6 @@ "$id": "2561", "kind": "property", "name": "token", - "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { "$id": "2562", @@ -28019,13 +28159,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDeltaEvent.logprob.anonymous.token", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2563", "kind": "property", "name": "logprob", - "serializedName": "logprob", "doc": "The log probability of the token.", "type": { "$id": "2564", @@ -28040,13 +28180,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDeltaEvent.logprob.anonymous.logprob", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2565", "kind": "property", "name": "bytes", - "serializedName": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { "$ref": "2529" @@ -28057,7 +28197,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDeltaEvent.logprob.anonymous.bytes", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -28070,7 +28211,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDeltaEvent.logprobs", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -28092,7 +28234,6 @@ "$id": "2567", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `transcript.text.done`.", "type": { "$ref": "110" @@ -28103,13 +28244,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2568", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The text that was transcribed.", "type": { "$id": "2569", @@ -28124,13 +28265,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDoneEvent.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2570", "kind": "property", "name": "logprobs", - "serializedName": "logprobs", "doc": "The log probabilities of the individual tokens in the transcription. Only included if you [create a transcription](/docs/api-reference/audio/create-transcription) with the `include[]` parameter set to `logprobs`.", "type": { "$id": "2571", @@ -28149,7 +28290,6 @@ "$id": "2573", "kind": "property", "name": "token", - "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { "$id": "2574", @@ -28164,13 +28304,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDoneEvent.logprob.anonymous.token", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2575", "kind": "property", "name": "logprob", - "serializedName": "logprob", "doc": "The log probability of the token.", "type": { "$id": "2576", @@ -28185,13 +28325,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDoneEvent.logprob.anonymous.logprob", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "2577", "kind": "property", "name": "bytes", - "serializedName": "bytes", "doc": "The bytes that were used to generate the log probability.", "type": { "$ref": "2529" @@ -28202,7 +28342,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDoneEvent.logprob.anonymous.bytes", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -28215,7 +28356,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.TranscriptTextDoneEvent.logprobs", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } @@ -28269,9 +28411,11 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "file" + "name": "file", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2581", @@ -28295,9 +28439,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "model" + "name": "model", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2582", @@ -28325,9 +28471,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "prompt" + "name": "prompt", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2584", @@ -28351,9 +28499,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "response_format" + "name": "response_format", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "2585", @@ -28388,9 +28538,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "temperature" + "name": "temperature", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, @@ -28422,7 +28574,8 @@ "json": { "name": "task" } - } + }, + "isHttpMetadata": false }, { "$id": "2590", @@ -28447,7 +28600,8 @@ "json": { "name": "language" } - } + }, + "isHttpMetadata": false }, { "$id": "2592", @@ -28480,7 +28634,8 @@ "json": { "name": "duration" } - } + }, + "isHttpMetadata": false }, { "$id": "2595", @@ -28505,7 +28660,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { "$id": "2597", @@ -28526,7 +28682,8 @@ "json": { "name": "segments" } - } + }, + "isHttpMetadata": false } ] }, @@ -28561,7 +28718,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -28597,7 +28755,8 @@ "json": { "name": "input_file_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2604", @@ -28618,7 +28777,8 @@ "json": { "name": "endpoint" } - } + }, + "isHttpMetadata": false }, { "$id": "2605", @@ -28639,7 +28799,8 @@ "json": { "name": "completion_window" } - } + }, + "isHttpMetadata": false }, { "$id": "2606", @@ -28660,7 +28821,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -28695,7 +28857,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2610", @@ -28716,7 +28879,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "2611", @@ -28741,7 +28905,8 @@ "json": { "name": "endpoint" } - } + }, + "isHttpMetadata": false }, { "$id": "2613", @@ -28776,7 +28941,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "2616", @@ -28819,7 +28985,8 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { "$id": "2621", @@ -28844,7 +29011,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { "$id": "2623", @@ -28862,7 +29030,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -28874,7 +29042,8 @@ "json": { "name": "param" } - } + }, + "isHttpMetadata": false }, { "$id": "2626", @@ -28892,7 +29061,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -28904,7 +29073,8 @@ "json": { "name": "line" } - } + }, + "isHttpMetadata": false } ] }, @@ -28921,7 +29091,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false } ] }, @@ -28935,7 +29106,8 @@ "json": { "name": "errors" } - } + }, + "isHttpMetadata": false }, { "$id": "2629", @@ -28960,7 +29132,8 @@ "json": { "name": "input_file_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2631", @@ -28985,7 +29158,8 @@ "json": { "name": "completion_window" } - } + }, + "isHttpMetadata": false }, { "$id": "2633", @@ -29006,7 +29180,8 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { "$id": "2634", @@ -29031,7 +29206,8 @@ "json": { "name": "output_file_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2636", @@ -29056,7 +29232,8 @@ "json": { "name": "error_file_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2638", @@ -29089,7 +29266,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2641", @@ -29122,7 +29300,8 @@ "json": { "name": "in_progress_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2644", @@ -29155,7 +29334,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2647", @@ -29188,7 +29368,8 @@ "json": { "name": "finalizing_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2650", @@ -29221,7 +29402,8 @@ "json": { "name": "completed_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2653", @@ -29254,7 +29436,8 @@ "json": { "name": "failed_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2656", @@ -29287,7 +29470,8 @@ "json": { "name": "expired_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2659", @@ -29320,7 +29504,8 @@ "json": { "name": "cancelling_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2662", @@ -29353,7 +29538,8 @@ "json": { "name": "cancelled_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2665", @@ -29393,7 +29579,8 @@ "json": { "name": "total" } - } + }, + "isHttpMetadata": false }, { "$id": "2669", @@ -29418,7 +29605,8 @@ "json": { "name": "completed" } - } + }, + "isHttpMetadata": false }, { "$id": "2671", @@ -29443,7 +29631,8 @@ "json": { "name": "failed" } - } + }, + "isHttpMetadata": false } ] }, @@ -29457,7 +29646,8 @@ "json": { "name": "request_counts" } - } + }, + "isHttpMetadata": false }, { "$id": "2673", @@ -29478,7 +29668,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -29525,7 +29716,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "2677", @@ -29549,7 +29741,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2679", @@ -29573,7 +29766,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2681", @@ -29597,7 +29791,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false }, { "$id": "2683", @@ -29617,7 +29812,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -29650,7 +29846,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "2686", @@ -29695,7 +29892,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2691", @@ -29735,7 +29933,8 @@ "json": { "name": "finish_reason" } - } + }, + "isHttpMetadata": false }, { "$id": "2695", @@ -29760,7 +29959,8 @@ "json": { "name": "index" } - } + }, + "isHttpMetadata": false }, { "$id": "2697", @@ -29793,7 +29993,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -29805,7 +30005,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2702", @@ -29823,7 +30024,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -29835,7 +30036,8 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false }, { "$id": "2705", @@ -29878,7 +30080,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2710", @@ -29909,7 +30112,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2712", @@ -29949,7 +30153,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2716", @@ -29974,7 +30179,8 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, @@ -29988,7 +30194,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] }, @@ -30005,7 +30212,8 @@ "json": { "name": "tool_calls" } - } + }, + "isHttpMetadata": false }, { "$id": "2718", @@ -30045,7 +30253,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2722", @@ -30085,7 +30294,8 @@ "json": { "name": "end_index" } - } + }, + "isHttpMetadata": false }, { "$id": "2726", @@ -30110,7 +30320,8 @@ "json": { "name": "start_index" } - } + }, + "isHttpMetadata": false }, { "$id": "2728", @@ -30135,7 +30346,8 @@ "json": { "name": "url" } - } + }, + "isHttpMetadata": false }, { "$id": "2730", @@ -30160,7 +30372,8 @@ "json": { "name": "title" } - } + }, + "isHttpMetadata": false } ] }, @@ -30174,7 +30387,8 @@ "json": { "name": "url_citation" } - } + }, + "isHttpMetadata": false } ] }, @@ -30191,7 +30405,8 @@ "json": { "name": "annotations" } - } + }, + "isHttpMetadata": false }, { "$id": "2732", @@ -30222,7 +30437,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2734", @@ -30261,7 +30477,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2738", @@ -30285,7 +30502,8 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, @@ -30299,7 +30517,8 @@ "json": { "name": "function_call" } - } + }, + "isHttpMetadata": false }, { "$id": "2740", @@ -30342,7 +30561,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "2745", @@ -30375,7 +30595,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false }, { "$id": "2748", @@ -30401,7 +30622,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "2750", @@ -30426,11 +30648,12 @@ "json": { "name": "transcript" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -30442,7 +30665,8 @@ "json": { "name": "audio" } - } + }, + "isHttpMetadata": false } ] }, @@ -30456,7 +30680,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { "$id": "2752", @@ -30521,7 +30746,8 @@ "json": { "name": "token" } - } + }, + "isHttpMetadata": false }, { "$id": "2761", @@ -30546,7 +30772,8 @@ "json": { "name": "logprob" } - } + }, + "isHttpMetadata": false }, { "$id": "2763", @@ -30560,7 +30787,7 @@ "type": { "$ref": "2529" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -30572,7 +30799,8 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false }, { "$id": "2765", @@ -30616,7 +30844,8 @@ "json": { "name": "token" } - } + }, + "isHttpMetadata": false }, { "$id": "2770", @@ -30641,7 +30870,8 @@ "json": { "name": "logprob" } - } + }, + "isHttpMetadata": false }, { "$id": "2772", @@ -30655,7 +30885,7 @@ "type": { "$ref": "2529" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -30667,7 +30897,8 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false } ] }, @@ -30684,14 +30915,15 @@ "json": { "name": "top_logprobs" } - } + }, + "isHttpMetadata": false } ] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": true, @@ -30703,7 +30935,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2774", @@ -30717,7 +30950,7 @@ "type": { "$ref": "2757" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": true, @@ -30729,11 +30962,12 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -30745,7 +30979,8 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false } ] }, @@ -30762,7 +30997,8 @@ "json": { "name": "choices" } - } + }, + "isHttpMetadata": false }, { "$id": "2776", @@ -30795,7 +31031,8 @@ "json": { "name": "created" } - } + }, + "isHttpMetadata": false }, { "$id": "2779", @@ -30820,7 +31057,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "2781", @@ -30840,7 +31078,8 @@ "json": { "name": "service_tier" } - } + }, + "isHttpMetadata": false }, { "$id": "2782", @@ -30865,7 +31104,8 @@ "json": { "name": "system_fingerprint" } - } + }, + "isHttpMetadata": false }, { "$id": "2784", @@ -30886,7 +31126,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "2785", @@ -30926,7 +31167,8 @@ "json": { "name": "completion_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2789", @@ -30951,7 +31193,8 @@ "json": { "name": "prompt_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2791", @@ -30976,7 +31219,8 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2793", @@ -31016,7 +31260,8 @@ "json": { "name": "accepted_prediction_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2797", @@ -31041,7 +31286,8 @@ "json": { "name": "audio_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2799", @@ -31066,7 +31312,8 @@ "json": { "name": "reasoning_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2801", @@ -31091,7 +31338,8 @@ "json": { "name": "rejected_prediction_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -31105,7 +31353,8 @@ "json": { "name": "completion_tokens_details" } - } + }, + "isHttpMetadata": false }, { "$id": "2803", @@ -31145,7 +31394,8 @@ "json": { "name": "audio_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2807", @@ -31170,7 +31420,8 @@ "json": { "name": "cached_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -31184,7 +31435,8 @@ "json": { "name": "prompt_tokens_details" } - } + }, + "isHttpMetadata": false } ] }, @@ -31198,7 +31450,8 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false } ] }, @@ -31215,7 +31468,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "2809", @@ -31240,7 +31494,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2811", @@ -31265,7 +31520,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "2813", @@ -31290,7 +31546,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -31367,7 +31624,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { "$id": "2817", @@ -31385,7 +31643,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -31397,7 +31655,8 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { "$id": "2820", @@ -31415,7 +31674,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -31427,7 +31686,8 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { "$id": "2823", @@ -31452,7 +31712,8 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false }, { "$id": "2825", @@ -31472,7 +31733,8 @@ "json": { "name": "service_tier" } - } + }, + "isHttpMetadata": false }, { "$id": "2826", @@ -31511,7 +31773,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -31568,7 +31831,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -31609,7 +31873,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2839", @@ -31634,7 +31899,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -31671,7 +31937,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2843", @@ -31710,7 +31977,8 @@ "json": { "name": "url" } - } + }, + "isHttpMetadata": false }, { "$id": "2847", @@ -31731,7 +31999,8 @@ "json": { "name": "detail" } - } + }, + "isHttpMetadata": false } ] }, @@ -31745,7 +32014,8 @@ "json": { "name": "image_url" } - } + }, + "isHttpMetadata": false } ] }, @@ -31781,7 +32051,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2850", @@ -31806,7 +32077,8 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false } ] }, @@ -31843,7 +32115,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2854", @@ -31882,7 +32155,8 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { "$id": "2858", @@ -31907,7 +32181,8 @@ "json": { "name": "file_data" } - } + }, + "isHttpMetadata": false }, { "$id": "2860", @@ -31932,7 +32207,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -31946,7 +32222,8 @@ "json": { "name": "file" } - } + }, + "isHttpMetadata": false } ] }, @@ -31983,7 +32260,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2864", @@ -32023,7 +32301,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "2868", @@ -32044,7 +32323,8 @@ "json": { "name": "format" } - } + }, + "isHttpMetadata": false } ] }, @@ -32058,7 +32338,8 @@ "json": { "name": "input_audio" } - } + }, + "isHttpMetadata": false } ] } @@ -32068,10 +32349,10 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -32083,7 +32364,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { @@ -32139,7 +32421,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -32152,7 +32434,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2875", @@ -32183,7 +32466,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2877", @@ -32208,7 +32492,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] }, @@ -32255,7 +32540,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -32268,7 +32553,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2884", @@ -32299,7 +32585,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2886", @@ -32324,7 +32611,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] }, @@ -32389,7 +32677,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -32402,7 +32690,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2894", @@ -32433,7 +32722,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2896", @@ -32458,7 +32748,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] }, @@ -32520,10 +32811,10 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -32535,7 +32826,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2905", @@ -32553,7 +32845,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -32565,7 +32857,8 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false }, { "$id": "2908", @@ -32596,7 +32889,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2910", @@ -32621,7 +32915,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2912", @@ -32664,11 +32959,12 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -32680,7 +32976,8 @@ "json": { "name": "audio" } - } + }, + "isHttpMetadata": false }, { "$id": "2917", @@ -32700,7 +32997,8 @@ "json": { "name": "tool_calls" } - } + }, + "isHttpMetadata": false }, { "$id": "2918", @@ -32742,7 +33040,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "2923", @@ -32766,11 +33065,12 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -32782,7 +33082,8 @@ "json": { "name": "function_call" } - } + }, + "isHttpMetadata": false } ] }, @@ -32828,7 +33129,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2928", @@ -32868,7 +33170,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -32881,7 +33183,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2933", @@ -32906,7 +33209,8 @@ "json": { "name": "tool_call_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -32953,7 +33257,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "2938", @@ -32971,7 +33276,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -32983,7 +33288,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "2941", @@ -33008,7 +33314,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] } @@ -33027,7 +33334,8 @@ "json": { "name": "messages" } - } + }, + "isHttpMetadata": false }, { "$id": "2943", @@ -33048,7 +33356,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "2944", @@ -33068,7 +33377,7 @@ "crossLanguageDefinitionId": "OpenAI.ResponseModalities", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33080,7 +33389,8 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { "$id": "2947", @@ -33093,7 +33403,7 @@ "type": { "$ref": "53" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33105,7 +33415,8 @@ "json": { "name": "reasoning_effort" } - } + }, + "isHttpMetadata": false }, { "$id": "2949", @@ -33123,7 +33434,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33135,7 +33446,8 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "2952", @@ -33153,7 +33465,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33165,7 +33477,8 @@ "json": { "name": "frequency_penalty" } - } + }, + "isHttpMetadata": false }, { "$id": "2955", @@ -33183,7 +33496,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33195,7 +33508,8 @@ "json": { "name": "presence_penalty" } - } + }, + "isHttpMetadata": false }, { "$id": "2958", @@ -33249,7 +33563,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "2964", @@ -33289,7 +33604,8 @@ "json": { "name": "country" } - } + }, + "isHttpMetadata": false }, { "$id": "2968", @@ -33314,7 +33630,8 @@ "json": { "name": "region" } - } + }, + "isHttpMetadata": false }, { "$id": "2970", @@ -33339,7 +33656,8 @@ "json": { "name": "city" } - } + }, + "isHttpMetadata": false }, { "$id": "2972", @@ -33364,7 +33682,8 @@ "json": { "name": "timezone" } - } + }, + "isHttpMetadata": false } ] }, @@ -33378,11 +33697,12 @@ "json": { "name": "approximate" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33394,7 +33714,8 @@ "json": { "name": "user_location" } - } + }, + "isHttpMetadata": false }, { "$id": "2974", @@ -33414,7 +33735,8 @@ "json": { "name": "search_context_size" } - } + }, + "isHttpMetadata": false } ] }, @@ -33428,7 +33750,8 @@ "json": { "name": "web_search_options" } - } + }, + "isHttpMetadata": false }, { "$id": "2975", @@ -33446,7 +33769,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33458,7 +33781,8 @@ "json": { "name": "top_logprobs" } - } + }, + "isHttpMetadata": false }, { "$id": "2978", @@ -33479,7 +33803,8 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false }, { "$id": "2979", @@ -33518,7 +33843,8 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { "$id": "2983", @@ -33539,11 +33865,12 @@ "json": { "name": "format" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33555,7 +33882,8 @@ "json": { "name": "audio" } - } + }, + "isHttpMetadata": false }, { "$id": "2984", @@ -33573,7 +33901,7 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33585,7 +33913,8 @@ "json": { "name": "store" } - } + }, + "isHttpMetadata": false }, { "$id": "2987", @@ -33603,7 +33932,7 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33615,7 +33944,8 @@ "json": { "name": "stream" } - } + }, + "isHttpMetadata": false }, { "$id": "2990", @@ -33644,7 +33974,7 @@ "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33656,7 +33986,8 @@ "json": { "name": "stop" } - } + }, + "isHttpMetadata": false }, { "$id": "2994", @@ -33686,7 +34017,7 @@ }, "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33698,7 +34029,8 @@ "json": { "name": "logit_bias" } - } + }, + "isHttpMetadata": false }, { "$id": "2999", @@ -33716,7 +34048,7 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33728,7 +34060,8 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false }, { "$id": "3002", @@ -33746,7 +34079,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33758,7 +34091,8 @@ "json": { "name": "max_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "3005", @@ -33776,7 +34110,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33788,7 +34122,8 @@ "json": { "name": "n" } - } + }, + "isHttpMetadata": false }, { "$id": "3008", @@ -33826,7 +34161,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -33867,7 +34203,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3014", @@ -33891,7 +34228,7 @@ "$ref": "2883" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -33904,13 +34241,14 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] } } }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33922,7 +34260,8 @@ "json": { "name": "prediction" } - } + }, + "isHttpMetadata": false }, { "$id": "3017", @@ -33940,7 +34279,7 @@ "crossLanguageDefinitionId": "TypeSpec.int64", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -33952,7 +34291,8 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false }, { "$id": "3020", @@ -33995,11 +34335,12 @@ "json": { "name": "include_usage" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -34011,7 +34352,8 @@ "json": { "name": "stream_options" } - } + }, + "isHttpMetadata": false }, { "$id": "3025", @@ -34061,7 +34403,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3030", @@ -34081,7 +34424,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] }, @@ -34098,7 +34442,8 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { "$id": "3031", @@ -34142,7 +34487,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3035", @@ -34181,7 +34527,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] }, @@ -34195,7 +34542,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] } @@ -34213,7 +34561,8 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { "$id": "3039", @@ -34244,7 +34593,8 @@ "json": { "name": "parallel_tool_calls" } - } + }, + "isHttpMetadata": false }, { "$id": "3042", @@ -34296,12 +34646,13 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -34314,7 +34665,8 @@ "json": { "name": "function_call" } - } + }, + "isHttpMetadata": false }, { "$id": "3047", @@ -34359,7 +34711,8 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { "$id": "3052", @@ -34384,7 +34737,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3054", @@ -34409,7 +34763,8 @@ "json": { "name": "parameters" } - } + }, + "isHttpMetadata": false } ] }, @@ -34426,7 +34781,8 @@ "json": { "name": "functions" } - } + }, + "isHttpMetadata": false } ] }, @@ -34535,7 +34891,6 @@ "$id": "3057", "kind": "property", "name": "id", - "serializedName": "id", "doc": "A unique identifier for the chat completion. Each chunk has the same ID.", "type": { "$id": "3058", @@ -34550,13 +34905,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3059", "kind": "property", "name": "choices", - "serializedName": "choices", "doc": "A list of chat completion choices. Can contain more than one elements if `n` is greater than 1. Can also be empty for the\nlast chunk if you set `stream_options: {\"include_usage\": true}`.", "type": { "$id": "3060", @@ -34575,7 +34930,6 @@ "$id": "3062", "kind": "property", "name": "delta", - "serializedName": "delta", "type": { "$id": "3063", "kind": "model", @@ -34590,7 +34944,6 @@ "$id": "3064", "kind": "property", "name": "audio", - "serializedName": "audio", "doc": "Response audio associated with the streaming chat delta payload.", "type": { "$id": "3065", @@ -34605,7 +34958,6 @@ "$id": "3066", "kind": "property", "name": "id", - "serializedName": "id", "type": { "$id": "3067", "kind": "string", @@ -34619,13 +34971,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageAudioChunk.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3068", "kind": "property", "name": "transcript", - "serializedName": "transcript", "type": { "$id": "3069", "kind": "string", @@ -34639,13 +34991,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageAudioChunk.transcript", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3070", "kind": "property", "name": "data", - "serializedName": "data", "type": { "$id": "3071", "kind": "bytes", @@ -34660,13 +35012,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageAudioChunk.data", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3072", "kind": "property", "name": "expires_at", - "serializedName": "expires_at", "type": { "$id": "3073", "kind": "utcDateTime", @@ -34688,7 +35040,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageAudioChunk.expires_at", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -34698,13 +35051,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.audio", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3075", "kind": "property", "name": "content", - "serializedName": "content", "doc": "The contents of the chunk message.", "type": { "$id": "3076", @@ -34716,7 +35069,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -34724,13 +35077,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.content", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3078", "kind": "property", "name": "function_call", - "serializedName": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { "$id": "3079", @@ -34745,7 +35098,6 @@ "$id": "3080", "kind": "property", "name": "name", - "serializedName": "name", "type": { "$id": "3081", "kind": "string", @@ -34759,13 +35111,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.function_call.anonymous.name", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3082", "kind": "property", "name": "arguments", - "serializedName": "arguments", "type": { "$id": "3083", "kind": "string", @@ -34779,7 +35131,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.function_call.anonymous.arguments", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -34789,13 +35142,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.function_call", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3084", "kind": "property", "name": "tool_calls", - "serializedName": "tool_calls", "type": { "$id": "3085", "kind": "array", @@ -34813,7 +35166,6 @@ "$id": "3087", "kind": "property", "name": "index", - "serializedName": "index", "type": { "$id": "3088", "kind": "int32", @@ -34827,13 +35179,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageToolCallChunk.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3089", "kind": "property", "name": "id", - "serializedName": "id", "doc": "The ID of the tool call.", "type": { "$id": "3090", @@ -34848,13 +35200,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageToolCallChunk.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3091", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the tool. Currently, only `function` is supported.", "type": { "$ref": "1463" @@ -34865,13 +35217,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageToolCallChunk.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3092", "kind": "property", "name": "function", - "serializedName": "function", "type": { "$id": "3093", "kind": "model", @@ -34885,7 +35237,6 @@ "$id": "3094", "kind": "property", "name": "name", - "serializedName": "name", "doc": "The name of the function to call.", "type": { "$id": "3095", @@ -34900,13 +35251,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageToolCallChunk.function.anonymous.name", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3096", "kind": "property", "name": "arguments", - "serializedName": "arguments", "doc": "The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.", "type": { "$id": "3097", @@ -34921,7 +35272,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageToolCallChunk.function.anonymous.arguments", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -34931,7 +35283,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageToolCallChunk.function", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -34944,13 +35297,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.tool_calls", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3098", "kind": "property", "name": "role", - "serializedName": "role", "doc": "The role of the author of this message.", "type": { "$ref": "145" @@ -34961,13 +35314,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.role", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3099", "kind": "property", "name": "refusal", - "serializedName": "refusal", "doc": "The refusal message generated by the model.", "type": { "$id": "3100", @@ -34979,7 +35332,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -34987,7 +35340,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionStreamResponseDelta.refusal", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -34997,13 +35351,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.anonymous.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3102", "kind": "property", "name": "logprobs", - "serializedName": "logprobs", "doc": "Log probability information for the choice.", "type": { "$id": "3103", @@ -35021,7 +35375,6 @@ "$id": "3105", "kind": "property", "name": "content", - "serializedName": "content", "doc": "A list of message content tokens with log probability information.", "type": { "$id": "3106", @@ -35029,7 +35382,7 @@ "type": { "$ref": "2757" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": true, @@ -35037,13 +35390,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.logprobs.anonymous.content", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3107", "kind": "property", "name": "refusal", - "serializedName": "refusal", "doc": "A list of message refusal tokens with log probability information.", "type": { "$id": "3108", @@ -35051,7 +35404,7 @@ "type": { "$ref": "2757" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": true, @@ -35059,11 +35412,12 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.logprobs.anonymous.refusal", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -35071,13 +35425,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.anonymous.logprobs", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3109", "kind": "property", "name": "finish_reason", - "serializedName": "finish_reason", "doc": "The reason the model stopped generating tokens. This will be `stop` if the model hit a natural stop point or a provided stop sequence,\n`length` if the maximum number of tokens specified in the request was reached,\n`content_filter` if content was omitted due to a flag from our content filters,\n`tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.", "type": { "$id": "3110", @@ -35085,7 +35439,7 @@ "type": { "$ref": "260" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -35093,13 +35447,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.anonymous.finish_reason", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3111", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the choice in the list of choices.", "type": { "$id": "3112", @@ -35114,7 +35468,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choice.anonymous.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -35127,13 +35482,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.choices", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3113", "kind": "property", "name": "created", - "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the chat completion was created. Each chunk has the same timestamp.", "type": { "$id": "3114", @@ -35156,13 +35511,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.created", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3116", "kind": "property", "name": "model", - "serializedName": "model", "doc": "The model to generate the completion.", "type": { "$id": "3117", @@ -35177,13 +35532,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.model", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3118", "kind": "property", "name": "service_tier", - "serializedName": "service_tier", "type": { "$ref": "153" }, @@ -35193,13 +35548,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.service_tier", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3119", "kind": "property", "name": "system_fingerprint", - "serializedName": "system_fingerprint", "doc": "This fingerprint represents the backend configuration that the model runs with.\nCan be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.", "type": { "$id": "3120", @@ -35214,13 +35569,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.system_fingerprint", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3121", "kind": "property", "name": "object", - "serializedName": "object", "doc": "The object type, which is always `chat.completion.chunk`.", "type": { "$ref": "1465" @@ -35231,13 +35586,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.object", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { "$id": "3122", "kind": "property", "name": "usage", - "serializedName": "usage", "doc": "An optional field that will only be present when you set\n`stream_options: {\"include_usage\": true}` in your request. When present, it\ncontains a null value **except for the last chunk** which contains the\ntoken usage statistics for the entire request.\n\n**NOTE:** If the stream is interrupted or cancelled, you may not\nreceive the final usage chunk which contains the total token usage for\nthe request.", "type": { "$id": "3123", @@ -35245,7 +35600,7 @@ "type": { "$ref": "2786" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -35253,7 +35608,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.CreateChatCompletionStreamResponse.usage", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -35306,7 +35662,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -35338,7 +35695,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3128", @@ -35363,7 +35721,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3130", @@ -35388,7 +35747,8 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false } ] }, @@ -35421,7 +35781,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3134", @@ -35461,7 +35822,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "3138", @@ -35482,7 +35844,8 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false }, { "$id": "3139", @@ -35502,7 +35865,8 @@ "json": { "name": "tool_calls" } - } + }, + "isHttpMetadata": false }, { "$id": "3140", @@ -35523,7 +35887,8 @@ "json": { "name": "annotations" } - } + }, + "isHttpMetadata": false }, { "$id": "3141", @@ -35554,7 +35919,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "3143", @@ -35575,7 +35941,8 @@ "json": { "name": "function_call" } - } + }, + "isHttpMetadata": false }, { "$id": "3144", @@ -35596,7 +35963,8 @@ "json": { "name": "audio" } - } + }, + "isHttpMetadata": false }, { "$id": "3145", @@ -35621,7 +35989,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ] }, @@ -35638,7 +36007,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3147", @@ -35663,7 +36033,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3149", @@ -35688,7 +36059,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3151", @@ -35713,7 +36085,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -35748,7 +36121,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3155", @@ -35792,7 +36166,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3160", @@ -35817,7 +36192,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3162", @@ -35842,7 +36218,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3164", @@ -35875,7 +36252,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3167", @@ -35900,7 +36278,8 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { "$id": "3169", @@ -35936,7 +36315,8 @@ "json": { "name": "anchor" } - } + }, + "isHttpMetadata": false }, { "$id": "3172", @@ -35961,7 +36341,8 @@ "json": { "name": "minutes" } - } + }, + "isHttpMetadata": false } ] }, @@ -35975,7 +36356,8 @@ "json": { "name": "expires_after" } - } + }, + "isHttpMetadata": false } ] }, @@ -35992,7 +36374,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3174", @@ -36017,7 +36400,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3176", @@ -36042,7 +36426,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3178", @@ -36067,7 +36452,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -36109,7 +36495,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3183", @@ -36130,7 +36517,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false }, { "$id": "3184", @@ -36166,7 +36554,8 @@ "json": { "name": "anchor" } - } + }, + "isHttpMetadata": false }, { "$id": "3187", @@ -36190,7 +36579,8 @@ "json": { "name": "minutes" } - } + }, + "isHttpMetadata": false } ] }, @@ -36204,7 +36594,8 @@ "json": { "name": "expires_after" } - } + }, + "isHttpMetadata": false } ] }, @@ -36242,7 +36633,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3192", @@ -36262,7 +36654,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3193", @@ -36282,7 +36675,8 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false } ] }, @@ -36321,9 +36715,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "file_id" + "name": "file_id", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "3197", @@ -36352,9 +36748,11 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "file" + "name": "file", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, @@ -36390,7 +36788,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3202", @@ -36415,7 +36814,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3204", @@ -36440,7 +36840,8 @@ "json": { "name": "container_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3206", @@ -36473,7 +36874,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3209", @@ -36498,7 +36900,8 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false }, { "$id": "3211", @@ -36523,7 +36926,8 @@ "json": { "name": "path" } - } + }, + "isHttpMetadata": false }, { "$id": "3213", @@ -36548,7 +36952,8 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false } ] }, @@ -36580,7 +36985,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3217", @@ -36608,7 +37014,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3219", @@ -36633,7 +37040,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3221", @@ -36658,7 +37066,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3223", @@ -36683,7 +37092,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -36718,7 +37128,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3228", @@ -36738,7 +37149,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3229", @@ -36758,7 +37170,8 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false } ] }, @@ -36806,7 +37219,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -36819,7 +37232,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { "$id": "3235", @@ -36840,7 +37254,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "3236", @@ -36861,7 +37276,8 @@ "json": { "name": "encoding_format" } - } + }, + "isHttpMetadata": false }, { "$id": "3237", @@ -36886,7 +37302,8 @@ "json": { "name": "dimensions" } - } + }, + "isHttpMetadata": false }, { "$id": "3239", @@ -36911,7 +37328,8 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false } ] }, @@ -36967,7 +37385,8 @@ "json": { "name": "index" } - } + }, + "isHttpMetadata": false }, { "$id": "3247", @@ -37002,7 +37421,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -37015,7 +37434,8 @@ "json": { "name": "embedding" } - } + }, + "isHttpMetadata": false }, { "$id": "3252", @@ -37036,7 +37456,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -37053,7 +37474,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3253", @@ -37078,7 +37500,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "3255", @@ -37099,7 +37522,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3256", @@ -37139,7 +37563,8 @@ "json": { "name": "prompt_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "3260", @@ -37164,7 +37589,8 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -37178,7 +37604,8 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false } ] }, @@ -37215,7 +37642,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3264", @@ -37259,7 +37687,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3269", @@ -37277,7 +37706,7 @@ "crossLanguageDefinitionId": "TypeSpec.int64", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -37289,7 +37718,8 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false }, { "$id": "3272", @@ -37322,7 +37752,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3275", @@ -37355,7 +37786,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3278", @@ -37380,7 +37812,8 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { "$id": "3280", @@ -37401,7 +37834,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3281", @@ -37422,7 +37856,8 @@ "json": { "name": "purpose" } - } + }, + "isHttpMetadata": false }, { "$id": "3282", @@ -37443,7 +37878,8 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { "$id": "3283", @@ -37468,7 +37904,8 @@ "json": { "name": "status_details" } - } + }, + "isHttpMetadata": false } ] }, @@ -37485,7 +37922,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3285", @@ -37509,7 +37947,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3287", @@ -37533,7 +37972,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3289", @@ -37557,7 +37997,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -37600,9 +38041,11 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "file" + "name": "file", + "headers": [] } - } + }, + "isHttpMetadata": false }, { "$id": "3294", @@ -37626,9 +38069,11 @@ "defaultContentTypes": [ "text/plain" ], - "name": "purpose" + "name": "purpose", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, @@ -37663,7 +38108,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3298", @@ -37683,7 +38129,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3299", @@ -37707,7 +38154,8 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false } ] }, @@ -37762,7 +38210,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3307", @@ -37795,7 +38244,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3310", @@ -37820,7 +38270,8 @@ "json": { "name": "project_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3312", @@ -37841,7 +38292,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -37858,7 +38310,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3313", @@ -37878,7 +38331,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3314", @@ -37895,7 +38349,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -37907,7 +38361,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3317", @@ -37924,7 +38379,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -37936,7 +38391,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3320", @@ -37960,7 +38416,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -37995,7 +38452,8 @@ "json": { "name": "project_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -38031,7 +38489,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3327", @@ -38052,7 +38511,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3328", @@ -38077,7 +38537,8 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false } ] }, @@ -38109,7 +38570,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "3332", @@ -38134,7 +38596,8 @@ "json": { "name": "training_file" } - } + }, + "isHttpMetadata": false }, { "$id": "3334", @@ -38173,7 +38636,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38186,7 +38649,8 @@ "json": { "name": "batch_size" } - } + }, + "isHttpMetadata": false }, { "$id": "3339", @@ -38210,7 +38674,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38223,7 +38687,8 @@ "json": { "name": "learning_rate_multiplier" } - } + }, + "isHttpMetadata": false }, { "$id": "3342", @@ -38247,7 +38712,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38260,7 +38725,8 @@ "json": { "name": "n_epochs" } - } + }, + "isHttpMetadata": false } ] }, @@ -38274,7 +38740,8 @@ "json": { "name": "hyperparameters" } - } + }, + "isHttpMetadata": false }, { "$id": "3345", @@ -38292,7 +38759,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -38304,7 +38771,8 @@ "json": { "name": "suffix" } - } + }, + "isHttpMetadata": false }, { "$id": "3348", @@ -38322,7 +38790,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -38334,7 +38802,8 @@ "json": { "name": "validation_file" } - } + }, + "isHttpMetadata": false }, { "$id": "3351", @@ -38375,7 +38844,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -38414,7 +38884,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3358", @@ -38452,7 +38923,8 @@ "json": { "name": "project" } - } + }, + "isHttpMetadata": false }, { "$id": "3362", @@ -38469,7 +38941,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -38481,7 +38953,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3365", @@ -38498,7 +38971,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -38510,7 +38983,8 @@ "json": { "name": "entity" } - } + }, + "isHttpMetadata": false }, { "$id": "3368", @@ -38530,7 +39004,8 @@ "json": { "name": "tags" } - } + }, + "isHttpMetadata": false } ] }, @@ -38544,7 +39019,8 @@ "json": { "name": "wandb" } - } + }, + "isHttpMetadata": false } ] } @@ -38553,7 +39029,7 @@ "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -38565,7 +39041,8 @@ "json": { "name": "integrations" } - } + }, + "isHttpMetadata": false }, { "$id": "3369", @@ -38583,7 +39060,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -38595,7 +39072,8 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false }, { "$id": "3372", @@ -38631,7 +39109,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3375", @@ -38685,7 +39164,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38698,7 +39177,8 @@ "json": { "name": "batch_size" } - } + }, + "isHttpMetadata": false }, { "$id": "3382", @@ -38722,7 +39202,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38735,7 +39215,8 @@ "json": { "name": "learning_rate_multiplier" } - } + }, + "isHttpMetadata": false }, { "$id": "3385", @@ -38759,7 +39240,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38772,7 +39253,8 @@ "json": { "name": "n_epochs" } - } + }, + "isHttpMetadata": false } ] }, @@ -38786,7 +39268,8 @@ "json": { "name": "hyperparameters" } - } + }, + "isHttpMetadata": false } ] }, @@ -38800,7 +39283,8 @@ "json": { "name": "supervised" } - } + }, + "isHttpMetadata": false }, { "$id": "3388", @@ -38854,7 +39338,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38867,7 +39351,8 @@ "json": { "name": "beta" } - } + }, + "isHttpMetadata": false }, { "$id": "3395", @@ -38891,7 +39376,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38904,7 +39389,8 @@ "json": { "name": "batch_size" } - } + }, + "isHttpMetadata": false }, { "$id": "3398", @@ -38928,7 +39414,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38941,7 +39427,8 @@ "json": { "name": "learning_rate_multiplier" } - } + }, + "isHttpMetadata": false }, { "$id": "3401", @@ -38965,7 +39452,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -38978,7 +39465,8 @@ "json": { "name": "n_epochs" } - } + }, + "isHttpMetadata": false } ] }, @@ -38992,7 +39480,8 @@ "json": { "name": "hyperparameters" } - } + }, + "isHttpMetadata": false } ] }, @@ -39006,7 +39495,8 @@ "json": { "name": "dpo" } - } + }, + "isHttpMetadata": false }, { "$id": "3404", @@ -39070,7 +39560,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -39114,7 +39605,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3413", @@ -39139,7 +39631,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3415", @@ -39164,7 +39657,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { "$id": "3417", @@ -39189,7 +39683,8 @@ "json": { "name": "reference" } - } + }, + "isHttpMetadata": false }, { "$id": "3419", @@ -39210,7 +39705,8 @@ "json": { "name": "evaluation_metric" } - } + }, + "isHttpMetadata": false } ] }, @@ -39247,7 +39743,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3422", @@ -39272,7 +39769,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3424", @@ -39297,7 +39795,8 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false }, { "$id": "3426", @@ -39322,7 +39821,8 @@ "json": { "name": "image_tag" } - } + }, + "isHttpMetadata": false } ] }, @@ -39359,7 +39859,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3430", @@ -39384,7 +39885,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3432", @@ -39409,7 +39911,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "3434", @@ -39434,7 +39937,8 @@ "json": { "name": "sampling_params" } - } + }, + "isHttpMetadata": false }, { "$id": "3436", @@ -39475,7 +39979,8 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { "$id": "3440", @@ -39521,7 +40026,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -39560,7 +40066,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3447", @@ -39584,7 +40091,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -39619,7 +40127,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3451", @@ -39643,14 +40152,15 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] } } } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -39663,7 +40173,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { "$id": "3453", @@ -39684,7 +40195,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -39701,7 +40213,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { "$id": "3454", @@ -39722,7 +40235,8 @@ "json": { "name": "range" } - } + }, + "isHttpMetadata": false } ] }, @@ -39759,7 +40273,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3457", @@ -39784,7 +40299,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3459", @@ -39841,7 +40357,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3463", @@ -39866,7 +40383,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3465", @@ -39891,7 +40409,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "3467", @@ -39911,7 +40430,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { "$id": "3468", @@ -39932,7 +40452,8 @@ "json": { "name": "labels" } - } + }, + "isHttpMetadata": false }, { "$id": "3469", @@ -39953,12 +40474,13 @@ "json": { "name": "passing_labels" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -39971,7 +40493,8 @@ "json": { "name": "graders" } - } + }, + "isHttpMetadata": false }, { "$id": "3470", @@ -39996,7 +40519,8 @@ "json": { "name": "calculate_output" } - } + }, + "isHttpMetadata": false } ] }, @@ -40035,7 +40559,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3474", @@ -40060,7 +40585,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3476", @@ -40085,7 +40611,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { "$id": "3478", @@ -40110,7 +40637,8 @@ "json": { "name": "reference" } - } + }, + "isHttpMetadata": false }, { "$id": "3480", @@ -40131,7 +40659,8 @@ "json": { "name": "operation" } - } + }, + "isHttpMetadata": false } ] }, @@ -40148,7 +40677,7 @@ "$ref": "3455" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -40161,7 +40690,8 @@ "json": { "name": "grader" } - } + }, + "isHttpMetadata": false }, { "$id": "3481", @@ -40200,7 +40730,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40213,7 +40743,8 @@ "json": { "name": "batch_size" } - } + }, + "isHttpMetadata": false }, { "$id": "3486", @@ -40237,7 +40768,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40250,7 +40781,8 @@ "json": { "name": "learning_rate_multiplier" } - } + }, + "isHttpMetadata": false }, { "$id": "3489", @@ -40274,7 +40806,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40287,7 +40819,8 @@ "json": { "name": "n_epochs" } - } + }, + "isHttpMetadata": false }, { "$id": "3492", @@ -40308,7 +40841,8 @@ "json": { "name": "reasoning_effort" } - } + }, + "isHttpMetadata": false }, { "$id": "3493", @@ -40332,7 +40866,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40345,7 +40879,8 @@ "json": { "name": "compute_multiplier" } - } + }, + "isHttpMetadata": false }, { "$id": "3496", @@ -40369,7 +40904,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40382,7 +40917,8 @@ "json": { "name": "eval_interval" } - } + }, + "isHttpMetadata": false }, { "$id": "3499", @@ -40406,7 +40942,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40419,7 +40955,8 @@ "json": { "name": "eval_samples" } - } + }, + "isHttpMetadata": false } ] }, @@ -40433,7 +40970,8 @@ "json": { "name": "hyperparameters" } - } + }, + "isHttpMetadata": false } ] }, @@ -40447,7 +40985,8 @@ "json": { "name": "reinforcement" } - } + }, + "isHttpMetadata": false } ] }, @@ -40461,7 +41000,8 @@ "json": { "name": "method" } - } + }, + "isHttpMetadata": false }, { "$id": "3502", @@ -40482,7 +41022,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -40578,7 +41119,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -40590,7 +41131,8 @@ "json": { "name": "user_provided_suffix" } - } + }, + "isHttpMetadata": false }, { "$id": "3507", @@ -40615,7 +41157,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3509", @@ -40648,7 +41191,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3512", @@ -40691,7 +41235,8 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { "$id": "3517", @@ -40716,7 +41261,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { "$id": "3519", @@ -40734,7 +41280,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -40746,11 +41292,12 @@ "json": { "name": "param" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -40762,7 +41309,8 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false }, { "$id": "3522", @@ -40780,7 +41328,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -40792,7 +41340,8 @@ "json": { "name": "fine_tuned_model" } - } + }, + "isHttpMetadata": false }, { "$id": "3525", @@ -40818,7 +41367,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -40830,7 +41379,8 @@ "json": { "name": "finished_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3529", @@ -40872,10 +41422,10 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -40887,7 +41437,8 @@ "json": { "name": "batch_size" } - } + }, + "isHttpMetadata": false }, { "$id": "3535", @@ -40911,7 +41462,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40924,7 +41475,8 @@ "json": { "name": "learning_rate_multiplier" } - } + }, + "isHttpMetadata": false }, { "$id": "3538", @@ -40948,7 +41500,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -40961,7 +41513,8 @@ "json": { "name": "n_epochs" } - } + }, + "isHttpMetadata": false } ] }, @@ -40975,7 +41528,8 @@ "json": { "name": "hyperparameters" } - } + }, + "isHttpMetadata": false }, { "$id": "3541", @@ -41000,7 +41554,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { "$id": "3543", @@ -41021,7 +41576,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3544", @@ -41046,7 +41602,8 @@ "json": { "name": "organization_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3546", @@ -41067,7 +41624,8 @@ "json": { "name": "result_files" } - } + }, + "isHttpMetadata": false }, { "$id": "3547", @@ -41088,7 +41646,8 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { "$id": "3548", @@ -41106,7 +41665,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -41118,7 +41677,8 @@ "json": { "name": "trained_tokens" } - } + }, + "isHttpMetadata": false }, { "$id": "3551", @@ -41143,7 +41703,8 @@ "json": { "name": "training_file" } - } + }, + "isHttpMetadata": false }, { "$id": "3553", @@ -41161,7 +41722,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -41173,7 +41734,8 @@ "json": { "name": "validation_file" } - } + }, + "isHttpMetadata": false }, { "$id": "3556", @@ -41214,7 +41776,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { @@ -41254,7 +41817,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3563", @@ -41294,7 +41858,8 @@ "json": { "name": "project" } - } + }, + "isHttpMetadata": false }, { "$id": "3567", @@ -41312,7 +41877,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -41324,7 +41889,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { "$id": "3570", @@ -41342,7 +41908,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -41354,7 +41920,8 @@ "json": { "name": "entity" } - } + }, + "isHttpMetadata": false }, { "$id": "3573", @@ -41375,7 +41942,8 @@ "json": { "name": "tags" } - } + }, + "isHttpMetadata": false } ] }, @@ -41389,7 +41957,8 @@ "json": { "name": "wandb" } - } + }, + "isHttpMetadata": false } ] } @@ -41398,7 +41967,7 @@ "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -41410,7 +41979,8 @@ "json": { "name": "integrations" } - } + }, + "isHttpMetadata": false }, { "$id": "3574", @@ -41435,7 +42005,8 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false }, { "$id": "3576", @@ -41461,7 +42032,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -41473,7 +42044,8 @@ "json": { "name": "estimated_finish" } - } + }, + "isHttpMetadata": false }, { "$id": "3580", @@ -41493,7 +42065,8 @@ "json": { "name": "method" } - } + }, + "isHttpMetadata": false }, { "$id": "3581", @@ -41514,7 +42087,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -41567,7 +42141,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3585", @@ -41591,7 +42166,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false }, { "$id": "3587", @@ -41611,7 +42187,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -41666,7 +42243,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3594", @@ -41699,7 +42277,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3597", @@ -41724,7 +42303,8 @@ "json": { "name": "fine_tuned_model_checkpoint" } - } + }, + "isHttpMetadata": false }, { "$id": "3599", @@ -41749,7 +42329,8 @@ "json": { "name": "step_number" } - } + }, + "isHttpMetadata": false }, { "$id": "3601", @@ -41788,7 +42369,8 @@ "json": { "name": "step" } - } + }, + "isHttpMetadata": false }, { "$id": "3605", @@ -41812,7 +42394,8 @@ "json": { "name": "train_loss" } - } + }, + "isHttpMetadata": false }, { "$id": "3607", @@ -41836,7 +42419,8 @@ "json": { "name": "train_mean_token_accuracy" } - } + }, + "isHttpMetadata": false }, { "$id": "3609", @@ -41860,7 +42444,8 @@ "json": { "name": "valid_loss" } - } + }, + "isHttpMetadata": false }, { "$id": "3611", @@ -41884,7 +42469,8 @@ "json": { "name": "valid_mean_token_accuracy" } - } + }, + "isHttpMetadata": false }, { "$id": "3613", @@ -41908,7 +42494,8 @@ "json": { "name": "full_valid_loss" } - } + }, + "isHttpMetadata": false }, { "$id": "3615", @@ -41932,7 +42519,8 @@ "json": { "name": "full_valid_mean_token_accuracy" } - } + }, + "isHttpMetadata": false } ] }, @@ -41946,7 +42534,8 @@ "json": { "name": "metrics" } - } + }, + "isHttpMetadata": false }, { "$id": "3617", @@ -41971,7 +42560,8 @@ "json": { "name": "fine_tuning_job_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3619", @@ -41992,7 +42582,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -42009,7 +42600,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3620", @@ -42029,7 +42621,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3621", @@ -42046,7 +42639,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -42058,7 +42651,8 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3624", @@ -42075,7 +42669,7 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -42087,7 +42681,8 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { "$id": "3627", @@ -42111,7 +42706,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -42168,7 +42764,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3634", @@ -42193,7 +42790,8 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { "$id": "3636", @@ -42226,7 +42824,8 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { "$id": "3639", @@ -42247,7 +42846,8 @@ "json": { "name": "level" } - } + }, + "isHttpMetadata": false }, { "$id": "3640", @@ -42272,7 +42872,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { "$id": "3642", @@ -42293,7 +42894,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { "$id": "3643", @@ -42318,7 +42920,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false } ] }, @@ -42335,7 +42938,8 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { "$id": "3645", @@ -42355,7 +42959,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { "$id": "3646", @@ -42379,7 +42984,8 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, @@ -42389,169 +42995,933 @@ { "$id": "3648", "kind": "model", - "name": "EvalList", + "name": "RunGraderRequest", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.EvalList", - "usage": "Output,Json", - "doc": "An object representing a list of evals.", + "crossLanguageDefinitionId": "OpenAI.RunGraderRequest", + "usage": "Json", "decorators": [], "properties": [ { "$id": "3649", "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The type of this object. It is always set to \"list\".", + "name": "grader", + "serializedName": "grader", + "doc": "The grader used for the fine-tuning job.", "type": { - "$ref": "1555" + "$id": "3650", + "kind": "union", + "name": "RunGraderRequestGrader", + "variantTypes": [ + { + "$ref": "3408" + }, + { + "$ref": "3411" + }, + { + "$ref": "3420" + }, + { + "$ref": "3428" + }, + { + "$ref": "3455" + } + ], + "namespace": "OpenAI", + "decorators": [] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.EvalList.object", + "crossLanguageDefinitionId": "OpenAI.RunGraderRequest.grader", "serializationOptions": { "json": { - "name": "object" + "name": "grader" } - } + }, + "isHttpMetadata": false }, { - "$id": "3650", + "$id": "3651", "kind": "property", - "name": "data", - "serializedName": "data", - "doc": "An array of eval objects.", + "name": "item", + "serializedName": "item", + "doc": "The dataset item provided to the grader. This will be used to populate\nthe `item` namespace. See [the guide](/docs/guides/graders) for more details.", "type": { - "$id": "3651", - "kind": "array", - "name": "ArrayEval", - "valueType": { - "$id": "3652", - "kind": "model", - "name": "Eval", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.Eval", - "usage": "Output,Json", - "doc": "An Eval object with a data source config and testing criteria.\nAn Eval represents a task to be done for your LLM integration.\nLike:\n- Improve the quality of my chatbot\n- See how well my chatbot handles customer support\n- Check if o4-mini is better at my usecase than gpt-4o", - "decorators": [], - "properties": [ - { - "$id": "3653", - "kind": "property", - "name": "object", - "serializedName": "object", - "doc": "The object type.", - "type": { - "$ref": "1557" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Eval.object", - "serializationOptions": { - "json": { - "name": "object" - } - } + "$id": "3652", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderRequest.item", + "serializationOptions": { + "json": { + "name": "item" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3653", + "kind": "property", + "name": "model_sample", + "serializedName": "model_sample", + "doc": "The model sample to be evaluated. This value will be used to populate\nthe `sample` namespace. See [the guide](/docs/guides/graders) for more details.\nThe `output_json` variable will be populated if the model sample is a\nvalid JSON string.", + "type": { + "$id": "3654", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderRequest.model_sample", + "serializationOptions": { + "json": { + "name": "model_sample" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "3655", + "kind": "model", + "name": "RunGraderResponse", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse", + "usage": "Output", + "decorators": [], + "properties": [ + { + "$id": "3656", + "kind": "property", + "name": "reward", + "type": { + "$id": "3657", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.reward", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3658", + "kind": "property", + "name": "metadata", + "type": { + "$id": "3659", + "kind": "model", + "name": "RunGraderResponseMetadata", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous", + "usage": "Output", + "decorators": [], + "properties": [ + { + "$id": "3660", + "kind": "property", + "name": "name", + "type": { + "$id": "3661", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - { - "$id": "3654", - "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "Unique identifier for the evaluation.", - "type": { - "$id": "3655", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Eval.id", - "serializationOptions": { - "json": { - "name": "id" - } - } + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.name", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3662", + "kind": "property", + "name": "type", + "type": { + "$id": "3663", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - { - "$id": "3656", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the evaluation.", - "type": { - "$id": "3657", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3664", + "kind": "property", + "name": "errors", + "type": { + "$id": "3665", + "kind": "model", + "name": "RunGraderResponseMetadataErrors", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous", + "usage": "Output", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.Eval.name", - "serializationOptions": { - "json": { - "name": "name" - } - } - }, - { - "$id": "3658", - "kind": "property", - "name": "data_source_config", - "serializedName": "data_source_config", - "doc": "Configuration of data sources used in runs of the evaluation.", - "type": { - "$id": "3659", - "kind": "model", - "name": "EvalDataSourceConfigResource", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigResource", - "usage": "Output,Json", - "decorators": [], - "discriminatorProperty": { - "$id": "3660", + "properties": [ + { + "$id": "3666", "kind": "property", - "name": "type", - "serializedName": "type", + "name": "formula_parse_error", "type": { - "$ref": "376" + "$id": "3667", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] }, "optional": false, "readOnly": false, - "discriminator": true, + "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigResource.type", - "serializationOptions": { - "json": { - "name": "type" - } - } + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.formula_parse_error", + "serializationOptions": {}, + "isHttpMetadata": false }, - "properties": [ - { - "$ref": "3660" - } - ], - "discriminatedSubtypes": { - "custom": { - "$id": "3661", - "kind": "model", - "name": "EvalCustomDataSourceConfigResource", + { + "$id": "3668", + "kind": "property", + "name": "sample_parse_error", + "type": { + "$id": "3669", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.sample_parse_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3670", + "kind": "property", + "name": "truncated_observation_error", + "type": { + "$id": "3671", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.truncated_observation_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3672", + "kind": "property", + "name": "unresponsive_reward_error", + "type": { + "$id": "3673", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.unresponsive_reward_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3674", + "kind": "property", + "name": "invalid_variable_error", + "type": { + "$id": "3675", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.invalid_variable_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3676", + "kind": "property", + "name": "other_error", + "type": { + "$id": "3677", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.other_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3678", + "kind": "property", + "name": "python_grader_server_error", + "type": { + "$id": "3679", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_server_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3680", + "kind": "property", + "name": "python_grader_server_error_type", + "type": { + "$id": "3681", + "kind": "nullable", + "type": { + "$id": "3682", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_server_error_type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3683", + "kind": "property", + "name": "python_grader_runtime_error", + "type": { + "$id": "3684", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_runtime_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3685", + "kind": "property", + "name": "python_grader_runtime_error_details", + "type": { + "$id": "3686", + "kind": "nullable", + "type": { + "$id": "3687", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_runtime_error_details", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3688", + "kind": "property", + "name": "model_grader_server_error", + "type": { + "$id": "3689", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_server_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3690", + "kind": "property", + "name": "model_grader_refusal_error", + "type": { + "$id": "3691", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_refusal_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3692", + "kind": "property", + "name": "model_grader_parse_error", + "type": { + "$id": "3693", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_parse_error", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3694", + "kind": "property", + "name": "model_grader_server_error_details", + "type": { + "$id": "3695", + "kind": "nullable", + "type": { + "$id": "3696", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_server_error_details", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.errors", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3697", + "kind": "property", + "name": "execution_time", + "type": { + "$id": "3698", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.execution_time", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3699", + "kind": "property", + "name": "scores", + "type": { + "$id": "3700", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.scores", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3701", + "kind": "property", + "name": "token_usage", + "type": { + "$id": "3702", + "kind": "nullable", + "type": { + "$id": "3703", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.token_usage", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3704", + "kind": "property", + "name": "sampled_model_name", + "type": { + "$id": "3705", + "kind": "nullable", + "type": { + "$id": "3706", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "namespace": "OpenAI" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.sampled_model_name", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3707", + "kind": "property", + "name": "sub_rewards", + "type": { + "$id": "3708", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.sub_rewards", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "3709", + "kind": "property", + "name": "model_grader_token_usage_per_model", + "type": { + "$id": "3710", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.model_grader_token_usage_per_model", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "3659" + }, + { + "$ref": "3665" + }, + { + "$id": "3711", + "kind": "model", + "name": "ValidateGraderRequest", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ValidateGraderRequest", + "usage": "Json", + "decorators": [], + "properties": [ + { + "$id": "3712", + "kind": "property", + "name": "grader", + "serializedName": "grader", + "doc": "The grader used for the fine-tuning job.", + "type": { + "$id": "3713", + "kind": "union", + "name": "ValidateGraderRequestGrader", + "variantTypes": [ + { + "$ref": "3408" + }, + { + "$ref": "3411" + }, + { + "$ref": "3420" + }, + { + "$ref": "3428" + }, + { + "$ref": "3455" + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ValidateGraderRequest.grader", + "serializationOptions": { + "json": { + "name": "grader" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "3714", + "kind": "model", + "name": "ValidateGraderResponse", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.ValidateGraderResponse", + "usage": "Output", + "decorators": [], + "properties": [ + { + "$id": "3715", + "kind": "property", + "name": "grader", + "doc": "The grader used for the fine-tuning job.", + "type": { + "$id": "3716", + "kind": "union", + "name": "ValidateGraderResponseGrader", + "variantTypes": [ + { + "$ref": "3408" + }, + { + "$ref": "3411" + }, + { + "$ref": "3420" + }, + { + "$ref": "3428" + }, + { + "$ref": "3455" + } + ], + "namespace": "OpenAI", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ValidateGraderResponse.grader", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + { + "$id": "3717", + "kind": "model", + "name": "EvalList", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.EvalList", + "usage": "Output,Json", + "doc": "An object representing a list of evals.", + "decorators": [], + "properties": [ + { + "$id": "3718", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The type of this object. It is always set to \"list\".", + "type": { + "$ref": "1555" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.EvalList.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3719", + "kind": "property", + "name": "data", + "serializedName": "data", + "doc": "An array of eval objects.", + "type": { + "$id": "3720", + "kind": "array", + "name": "ArrayEval", + "valueType": { + "$id": "3721", + "kind": "model", + "name": "Eval", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.Eval", + "usage": "Output,Json", + "doc": "An Eval object with a data source config and testing criteria.\nAn Eval represents a task to be done for your LLM integration.\nLike:\n- Improve the quality of my chatbot\n- See how well my chatbot handles customer support\n- Check if o4-mini is better at my usecase than gpt-4o", + "decorators": [], + "properties": [ + { + "$id": "3722", + "kind": "property", + "name": "object", + "serializedName": "object", + "doc": "The object type.", + "type": { + "$ref": "1557" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Eval.object", + "serializationOptions": { + "json": { + "name": "object" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3723", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Unique identifier for the evaluation.", + "type": { + "$id": "3724", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Eval.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3725", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the evaluation.", + "type": { + "$id": "3726", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.Eval.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "3727", + "kind": "property", + "name": "data_source_config", + "serializedName": "data_source_config", + "doc": "Configuration of data sources used in runs of the evaluation.", + "type": { + "$id": "3728", + "kind": "model", + "name": "EvalDataSourceConfigResource", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigResource", + "usage": "Output,Json", + "decorators": [], + "discriminatorProperty": { + "$id": "3729", + "kind": "property", + "name": "type", + "serializedName": "type", + "type": { + "$ref": "376" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.EvalDataSourceConfigResource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "3729" + } + ], + "discriminatedSubtypes": { + "custom": { + "$id": "3730", + "kind": "model", + "name": "EvalCustomDataSourceConfigResource", "namespace": "OpenAI", "crossLanguageDefinitionId": "OpenAI.EvalCustomDataSourceConfigResource", "usage": "Output,Json", @@ -42559,11 +43929,11 @@ "discriminatorValue": "custom", "decorators": [], "baseModel": { - "$ref": "3659" + "$ref": "3728" }, "properties": [ { - "$id": "3662", + "$id": "3731", "kind": "property", "name": "type", "serializedName": "type", @@ -42581,26 +43951,27 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3663", + "$id": "3732", "kind": "property", "name": "schema", "serializedName": "schema", "doc": "The json schema for the run data source items.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "type": { - "$id": "3664", + "$id": "3733", "kind": "dict", "keyType": { - "$id": "3665", + "$id": "3734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "3666", + "$id": "3735", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -42618,12 +43989,13 @@ "json": { "name": "schema" } - } + }, + "isHttpMetadata": false } ] }, "stored_completions": { - "$id": "3667", + "$id": "3736", "kind": "model", "name": "EvalStoredCompletionsDataSourceConfigResource", "namespace": "OpenAI", @@ -42634,11 +44006,11 @@ "discriminatorValue": "stored_completions", "decorators": [], "baseModel": { - "$ref": "3659" + "$ref": "3728" }, "properties": [ { - "$id": "3668", + "$id": "3737", "kind": "property", "name": "type", "serializedName": "type", @@ -42656,10 +44028,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3669", + "$id": "3738", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -42677,16 +44050,17 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3670", + "$id": "3739", "kind": "property", "name": "schema", "serializedName": "schema", "doc": "The json schema for the run data source items.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": false, "readOnly": false, @@ -42698,12 +44072,13 @@ "json": { "name": "schema" } - } + }, + "isHttpMetadata": false } ] }, "logs": { - "$id": "3671", + "$id": "3740", "kind": "model", "name": "EvalLogsDataSourceConfigResource", "namespace": "OpenAI", @@ -42713,11 +44088,11 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "3659" + "$ref": "3728" }, "properties": [ { - "$id": "3672", + "$id": "3741", "kind": "property", "name": "type", "serializedName": "type", @@ -42735,10 +44110,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3673", + "$id": "3742", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -42756,16 +44132,17 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3674", + "$id": "3743", "kind": "property", "name": "schema", "serializedName": "schema", "doc": "The json schema for the run data source items.\nLearn how to build JSON schemas [here](https://json-schema.org/).", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": false, "readOnly": false, @@ -42777,7 +44154,8 @@ "json": { "name": "schema" } - } + }, + "isHttpMetadata": false } ] } @@ -42793,23 +44171,24 @@ "json": { "name": "data_source_config" } - } + }, + "isHttpMetadata": false }, { - "$id": "3675", + "$id": "3744", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A list of testing criteria.", "type": { - "$id": "3676", + "$id": "3745", "kind": "nullable", "type": { - "$id": "3677", + "$id": "3746", "kind": "array", "name": "ArrayEvalGraderResource", "valueType": { - "$id": "3678", + "$id": "3747", "kind": "model", "name": "EvalGraderResource", "namespace": "OpenAI", @@ -42817,7 +44196,7 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3679", + "$id": "3748", "kind": "property", "name": "type", "serializedName": "type", @@ -42834,16 +44213,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "3679" + "$ref": "3748" } ], "discriminatedSubtypes": { "label_model": { - "$id": "3680", + "$id": "3749", "kind": "model", "name": "EvalGraderLabelModelResource", "namespace": "OpenAI", @@ -42852,11 +44232,11 @@ "discriminatorValue": "label_model", "decorators": [], "baseModel": { - "$ref": "3678" + "$ref": "3747" }, "properties": [ { - "$id": "3681", + "$id": "3750", "kind": "property", "name": "type", "serializedName": "type", @@ -42874,16 +44254,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3682", + "$id": "3751", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3683", + "$id": "3752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42899,16 +44280,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3684", + "$id": "3753", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3685", + "$id": "3754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -42924,10 +44306,11 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3686", + "$id": "3755", "kind": "property", "name": "input", "serializedName": "input", @@ -42944,10 +44327,11 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3687", + "$id": "3756", "kind": "property", "name": "labels", "serializedName": "labels", @@ -42965,10 +44349,11 @@ "json": { "name": "labels" } - } + }, + "isHttpMetadata": false }, { - "$id": "3688", + "$id": "3757", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", @@ -42986,12 +44371,13 @@ "json": { "name": "passing_labels" } - } + }, + "isHttpMetadata": false } ] }, "text_similarity": { - "$id": "3689", + "$id": "3758", "kind": "model", "name": "EvalGraderTextSimilarityResource", "namespace": "OpenAI", @@ -43000,11 +44386,11 @@ "discriminatorValue": "text_similarity", "decorators": [], "baseModel": { - "$ref": "3678" + "$ref": "3747" }, "properties": [ { - "$id": "3690", + "$id": "3759", "kind": "property", "name": "type", "serializedName": "type", @@ -43022,16 +44408,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3691", + "$id": "3760", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3692", + "$id": "3761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43047,16 +44434,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3693", + "$id": "3762", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3694", + "$id": "3763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43072,16 +44460,17 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3695", + "$id": "3764", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3696", + "$id": "3765", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43097,10 +44486,11 @@ "json": { "name": "reference" } - } + }, + "isHttpMetadata": false }, { - "$id": "3697", + "$id": "3766", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", @@ -43118,16 +44508,17 @@ "json": { "name": "evaluation_metric" } - } + }, + "isHttpMetadata": false }, { - "$id": "3698", + "$id": "3767", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3699", + "$id": "3768", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43143,12 +44534,13 @@ "json": { "name": "pass_threshold" } - } + }, + "isHttpMetadata": false } ] }, "python": { - "$id": "3700", + "$id": "3769", "kind": "model", "name": "EvalGraderPythonResource", "namespace": "OpenAI", @@ -43157,11 +44549,11 @@ "discriminatorValue": "python", "decorators": [], "baseModel": { - "$ref": "3678" + "$ref": "3747" }, "properties": [ { - "$id": "3701", + "$id": "3770", "kind": "property", "name": "type", "serializedName": "type", @@ -43179,16 +44571,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3702", + "$id": "3771", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3703", + "$id": "3772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43204,16 +44597,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3704", + "$id": "3773", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3705", + "$id": "3774", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43229,16 +44623,17 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false }, { - "$id": "3706", + "$id": "3775", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3707", + "$id": "3776", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43254,16 +44649,17 @@ "json": { "name": "image_tag" } - } + }, + "isHttpMetadata": false }, { - "$id": "3708", + "$id": "3777", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3709", + "$id": "3778", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43279,12 +44675,13 @@ "json": { "name": "pass_threshold" } - } + }, + "isHttpMetadata": false } ] }, "score_model": { - "$id": "3710", + "$id": "3779", "kind": "model", "name": "EvalGraderScoreModelResource", "namespace": "OpenAI", @@ -43293,11 +44690,11 @@ "discriminatorValue": "score_model", "decorators": [], "baseModel": { - "$ref": "3678" + "$ref": "3747" }, "properties": [ { - "$id": "3711", + "$id": "3780", "kind": "property", "name": "type", "serializedName": "type", @@ -43315,16 +44712,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3712", + "$id": "3781", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3713", + "$id": "3782", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43340,16 +44738,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3714", + "$id": "3783", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "3715", + "$id": "3784", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43365,16 +44764,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3716", + "$id": "3785", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "3717", + "$id": "3786", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -43390,10 +44790,11 @@ "json": { "name": "sampling_params" } - } + }, + "isHttpMetadata": false }, { - "$id": "3718", + "$id": "3787", "kind": "property", "name": "input", "serializedName": "input", @@ -43411,10 +44812,11 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3719", + "$id": "3788", "kind": "property", "name": "range", "serializedName": "range", @@ -43432,16 +44834,17 @@ "json": { "name": "range" } - } + }, + "isHttpMetadata": false }, { - "$id": "3720", + "$id": "3789", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3721", + "$id": "3790", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -43457,7 +44860,8 @@ "json": { "name": "pass_threshold" } - } + }, + "isHttpMetadata": false } ] } @@ -43466,7 +44870,7 @@ "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -43478,21 +44882,22 @@ "json": { "name": "testing_criteria" } - } + }, + "isHttpMetadata": false }, { - "$id": "3722", + "$id": "3791", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the eval was created.", "type": { - "$id": "3723", + "$id": "3792", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3724", + "$id": "3793", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -43511,10 +44916,11 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "3725", + "$id": "3794", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -43532,7 +44938,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -43549,16 +44956,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "3726", + "$id": "3795", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval in the data array.", "type": { - "$id": "3727", + "$id": "3796", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43574,16 +44982,17 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "3728", + "$id": "3797", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval in the data array.", "type": { - "$id": "3729", + "$id": "3798", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43599,16 +45008,17 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "3730", + "$id": "3799", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more evals available.", "type": { - "$id": "3731", + "$id": "3800", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -43624,42 +45034,43 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "3652" + "$ref": "3721" }, { - "$ref": "3659" + "$ref": "3728" }, { - "$ref": "3661" + "$ref": "3730" }, { - "$ref": "3667" + "$ref": "3736" }, { - "$ref": "3671" + "$ref": "3740" }, { - "$ref": "3678" + "$ref": "3747" }, { - "$ref": "3680" + "$ref": "3749" }, { - "$ref": "3689" + "$ref": "3758" }, { - "$ref": "3700" + "$ref": "3769" }, { - "$ref": "3710" + "$ref": "3779" }, { - "$id": "3732", + "$id": "3801", "kind": "model", "name": "CreateEvalRequest", "namespace": "OpenAI", @@ -43668,13 +45079,13 @@ "decorators": [], "properties": [ { - "$id": "3733", + "$id": "3802", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation.", "type": { - "$id": "3734", + "$id": "3803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -43690,10 +45101,11 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3735", + "$id": "3804", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -43711,16 +45123,17 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3736", + "$id": "3805", "kind": "property", "name": "data_source_config", "serializedName": "data_source_config", "doc": "The configuration for the data source used for the evaluation runs. Dictates the schema of the data used in the evaluation.", "type": { - "$id": "3737", + "$id": "3806", "kind": "model", "name": "EvalDataSourceConfigParams", "namespace": "OpenAI", @@ -43728,7 +45141,7 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "3738", + "$id": "3807", "kind": "property", "name": "type", "serializedName": "type", @@ -43745,16 +45158,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "3738" + "$ref": "3807" } ], "discriminatedSubtypes": { "custom": { - "$id": "3739", + "$id": "3808", "kind": "model", "name": "EvalCustomDataSourceConfigParams", "namespace": "OpenAI", @@ -43764,11 +45178,11 @@ "discriminatorValue": "custom", "decorators": [], "baseModel": { - "$ref": "3737" + "$ref": "3806" }, "properties": [ { - "$id": "3740", + "$id": "3809", "kind": "property", "name": "type", "serializedName": "type", @@ -43786,16 +45200,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3741", + "$id": "3810", "kind": "property", "name": "item_schema", "serializedName": "item_schema", "doc": "The json schema for each row in the data source.", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": false, "readOnly": false, @@ -43807,16 +45222,17 @@ "json": { "name": "item_schema" } - } + }, + "isHttpMetadata": false }, { - "$id": "3742", + "$id": "3811", "kind": "property", "name": "include_sample_schema", "serializedName": "include_sample_schema", "doc": "Whether the eval should expect you to populate the sample namespace (ie, by generating responses off of your data source)", "type": { - "$id": "3743", + "$id": "3812", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -43832,12 +45248,13 @@ "json": { "name": "include_sample_schema" } - } + }, + "isHttpMetadata": false } ] }, "logs": { - "$id": "3744", + "$id": "3813", "kind": "model", "name": "EvalLogsDataSourceConfigParams", "namespace": "OpenAI", @@ -43847,11 +45264,11 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "3737" + "$ref": "3806" }, "properties": [ { - "$id": "3745", + "$id": "3814", "kind": "property", "name": "type", "serializedName": "type", @@ -43869,10 +45286,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3746", + "$id": "3815", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -43890,12 +45308,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, "stored_completions": { - "$id": "3747", + "$id": "3816", "kind": "model", "name": "EvalStoredCompletionsDataSourceConfigParams", "namespace": "OpenAI", @@ -43906,11 +45325,11 @@ "discriminatorValue": "stored_completions", "decorators": [], "baseModel": { - "$ref": "3737" + "$ref": "3806" }, "properties": [ { - "$id": "3748", + "$id": "3817", "kind": "property", "name": "type", "serializedName": "type", @@ -43928,16 +45347,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3749", + "$id": "3818", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "Metadata filters for the stored completions data source.", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": true, "readOnly": false, @@ -43949,7 +45369,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] } @@ -43965,20 +45386,21 @@ "json": { "name": "data_source_config" } - } + }, + "isHttpMetadata": false }, { - "$id": "3750", + "$id": "3819", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A list of graders for all eval runs in this group. Graders can reference variables in the data source using double curly braces notation, like `{{item.variable_name}}`. To reference the model's output, use the `sample` namespace (ie, `{{sample.output_text}}`).", "type": { - "$id": "3751", + "$id": "3820", "kind": "array", "name": "ArrayEvalGraderParams", "valueType": { - "$id": "3752", + "$id": "3821", "kind": "model", "name": "EvalGraderParams", "namespace": "OpenAI", @@ -43986,7 +45408,7 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "3753", + "$id": "3822", "kind": "property", "name": "type", "serializedName": "type", @@ -44003,16 +45425,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "3753" + "$ref": "3822" } ], "discriminatedSubtypes": { "label_model": { - "$id": "3754", + "$id": "3823", "kind": "model", "name": "EvalGraderLabelModelParams", "namespace": "OpenAI", @@ -44022,11 +45445,11 @@ "discriminatorValue": "label_model", "decorators": [], "baseModel": { - "$ref": "3752" + "$ref": "3821" }, "properties": [ { - "$id": "3755", + "$id": "3824", "kind": "property", "name": "type", "serializedName": "type", @@ -44044,16 +45467,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3756", + "$id": "3825", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3757", + "$id": "3826", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44069,16 +45493,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3758", + "$id": "3827", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation. Must support structured outputs.", "type": { - "$id": "3759", + "$id": "3828", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44094,25 +45519,26 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3760", + "$id": "3829", "kind": "property", "name": "input", "serializedName": "input", "doc": "A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.", "type": { - "$id": "3761", + "$id": "3830", "kind": "array", "name": "ArrayCreateEvalItem", "valueType": { - "$id": "3762", + "$id": "3831", "kind": "union", "name": "CreateEvalItem", "variantTypes": [ { - "$id": "3763", + "$id": "3832", "kind": "model", "name": "EvalGraderLabelModelParamsInput", "namespace": "OpenAI", @@ -44121,13 +45547,13 @@ "decorators": [], "properties": [ { - "$id": "3764", + "$id": "3833", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "3765", + "$id": "3834", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44143,16 +45569,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "3766", + "$id": "3835", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "3767", + "$id": "3836", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44168,7 +45595,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, @@ -44192,10 +45620,11 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3768", + "$id": "3837", "kind": "property", "name": "labels", "serializedName": "labels", @@ -44213,10 +45642,11 @@ "json": { "name": "labels" } - } + }, + "isHttpMetadata": false }, { - "$id": "3769", + "$id": "3838", "kind": "property", "name": "passing_labels", "serializedName": "passing_labels", @@ -44234,12 +45664,13 @@ "json": { "name": "passing_labels" } - } + }, + "isHttpMetadata": false } ] }, "string_check": { - "$id": "3770", + "$id": "3839", "kind": "model", "name": "EvalGraderStringCheckParams", "namespace": "OpenAI", @@ -44248,11 +45679,11 @@ "discriminatorValue": "string_check", "decorators": [], "baseModel": { - "$ref": "3752" + "$ref": "3821" }, "properties": [ { - "$id": "3771", + "$id": "3840", "kind": "property", "name": "type", "serializedName": "type", @@ -44270,16 +45701,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3772", + "$id": "3841", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3773", + "$id": "3842", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44295,16 +45727,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3774", + "$id": "3843", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input text. This may include template strings.", "type": { - "$id": "3775", + "$id": "3844", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44320,16 +45753,17 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3776", + "$id": "3845", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The reference text. This may include template strings.", "type": { - "$id": "3777", + "$id": "3846", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44345,10 +45779,11 @@ "json": { "name": "reference" } - } + }, + "isHttpMetadata": false }, { - "$id": "3778", + "$id": "3847", "kind": "property", "name": "operation", "serializedName": "operation", @@ -44366,12 +45801,13 @@ "json": { "name": "operation" } - } + }, + "isHttpMetadata": false } ] }, "text_similarity": { - "$id": "3779", + "$id": "3848", "kind": "model", "name": "EvalGraderTextSimilarityParams", "namespace": "OpenAI", @@ -44380,11 +45816,11 @@ "discriminatorValue": "text_similarity", "decorators": [], "baseModel": { - "$ref": "3752" + "$ref": "3821" }, "properties": [ { - "$id": "3780", + "$id": "3849", "kind": "property", "name": "type", "serializedName": "type", @@ -44402,16 +45838,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3781", + "$id": "3850", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3782", + "$id": "3851", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44427,16 +45864,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3783", + "$id": "3852", "kind": "property", "name": "input", "serializedName": "input", "doc": "The text being graded.", "type": { - "$id": "3784", + "$id": "3853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44452,16 +45890,17 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3785", + "$id": "3854", "kind": "property", "name": "reference", "serializedName": "reference", "doc": "The text being graded against.", "type": { - "$id": "3786", + "$id": "3855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44477,10 +45916,11 @@ "json": { "name": "reference" } - } + }, + "isHttpMetadata": false }, { - "$id": "3787", + "$id": "3856", "kind": "property", "name": "evaluation_metric", "serializedName": "evaluation_metric", @@ -44498,16 +45938,17 @@ "json": { "name": "evaluation_metric" } - } + }, + "isHttpMetadata": false }, { - "$id": "3788", + "$id": "3857", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3789", + "$id": "3858", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44523,12 +45964,13 @@ "json": { "name": "pass_threshold" } - } + }, + "isHttpMetadata": false } ] }, "python": { - "$id": "3790", + "$id": "3859", "kind": "model", "name": "EvalGraderPythonParams", "namespace": "OpenAI", @@ -44537,11 +45979,11 @@ "discriminatorValue": "python", "decorators": [], "baseModel": { - "$ref": "3752" + "$ref": "3821" }, "properties": [ { - "$id": "3791", + "$id": "3860", "kind": "property", "name": "type", "serializedName": "type", @@ -44559,16 +46001,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3792", + "$id": "3861", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3793", + "$id": "3862", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44584,16 +46027,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3794", + "$id": "3863", "kind": "property", "name": "source", "serializedName": "source", "doc": "The source code of the python script.", "type": { - "$id": "3795", + "$id": "3864", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44609,16 +46053,17 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false }, { - "$id": "3796", + "$id": "3865", "kind": "property", "name": "image_tag", "serializedName": "image_tag", "doc": "The image tag to use for the python script.", "type": { - "$id": "3797", + "$id": "3866", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44634,16 +46079,17 @@ "json": { "name": "image_tag" } - } + }, + "isHttpMetadata": false }, { - "$id": "3798", + "$id": "3867", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3799", + "$id": "3868", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44659,12 +46105,13 @@ "json": { "name": "pass_threshold" } - } + }, + "isHttpMetadata": false } ] }, "score_model": { - "$id": "3800", + "$id": "3869", "kind": "model", "name": "EvalGraderScoreModelParams", "namespace": "OpenAI", @@ -44673,11 +46120,11 @@ "discriminatorValue": "score_model", "decorators": [], "baseModel": { - "$ref": "3752" + "$ref": "3821" }, "properties": [ { - "$id": "3801", + "$id": "3870", "kind": "property", "name": "type", "serializedName": "type", @@ -44695,16 +46142,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3802", + "$id": "3871", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the grader.", "type": { - "$id": "3803", + "$id": "3872", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44720,16 +46168,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3804", + "$id": "3873", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for the evaluation.", "type": { - "$id": "3805", + "$id": "3874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44745,16 +46194,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3806", + "$id": "3875", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "doc": "The sampling parameters for the model.", "type": { - "$id": "3807", + "$id": "3876", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -44770,10 +46220,11 @@ "json": { "name": "sampling_params" } - } + }, + "isHttpMetadata": false }, { - "$id": "3808", + "$id": "3877", "kind": "property", "name": "input", "serializedName": "input", @@ -44791,10 +46242,11 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "3809", + "$id": "3878", "kind": "property", "name": "range", "serializedName": "range", @@ -44812,16 +46264,17 @@ "json": { "name": "range" } - } + }, + "isHttpMetadata": false }, { - "$id": "3810", + "$id": "3879", "kind": "property", "name": "pass_threshold", "serializedName": "pass_threshold", "doc": "The threshold for the score.", "type": { - "$id": "3811", + "$id": "3880", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -44837,7 +46290,8 @@ "json": { "name": "pass_threshold" } - } + }, + "isHttpMetadata": false } ] } @@ -44856,45 +46310,46 @@ "json": { "name": "testing_criteria" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "3737" + "$ref": "3806" }, { - "$ref": "3739" + "$ref": "3808" }, { - "$ref": "3744" + "$ref": "3813" }, { - "$ref": "3747" + "$ref": "3816" }, { - "$ref": "3752" + "$ref": "3821" }, { - "$ref": "3754" + "$ref": "3823" }, { - "$ref": "3763" + "$ref": "3832" }, { - "$ref": "3770" + "$ref": "3839" }, { - "$ref": "3779" + "$ref": "3848" }, { - "$ref": "3790" + "$ref": "3859" }, { - "$ref": "3800" + "$ref": "3869" }, { - "$id": "3812", + "$id": "3881", "kind": "model", "name": "UpdateEvalRequest", "namespace": "OpenAI", @@ -44903,12 +46358,12 @@ "decorators": [], "properties": [ { - "$id": "3813", + "$id": "3882", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "3814", + "$id": "3883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -44924,15 +46379,16 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3815", + "$id": "3884", "kind": "property", "name": "metadata", "serializedName": "metadata", "type": { - "$id": "3816", + "$id": "3885", "kind": "model", "name": "MetadataPropertyForRequest", "namespace": "OpenAI", @@ -44942,7 +46398,7 @@ "decorators": [], "properties": [ { - "$id": "3817", + "$id": "3886", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -44960,7 +46416,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -44974,15 +46431,16 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "3816" + "$ref": "3885" }, { - "$id": "3818", + "$id": "3887", "kind": "model", "name": "DeleteEvalResponse", "namespace": "OpenAI", @@ -44991,7 +46449,7 @@ "decorators": [], "properties": [ { - "$id": "3819", + "$id": "3888", "kind": "property", "name": "object", "serializedName": "object", @@ -45008,15 +46466,16 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "3820", + "$id": "3889", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "3821", + "$id": "3890", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45032,15 +46491,16 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "3822", + "$id": "3891", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "type": { - "$id": "3823", + "$id": "3892", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45056,12 +46516,13 @@ "json": { "name": "eval_id" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "3824", + "$id": "3893", "kind": "model", "name": "EvalRunList", "namespace": "OpenAI", @@ -45071,7 +46532,7 @@ "decorators": [], "properties": [ { - "$id": "3825", + "$id": "3894", "kind": "property", "name": "object", "serializedName": "object", @@ -45089,20 +46550,21 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "3826", + "$id": "3895", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval run objects.", "type": { - "$id": "3827", + "$id": "3896", "kind": "array", "name": "ArrayEvalRun", "valueType": { - "$id": "3828", + "$id": "3897", "kind": "model", "name": "EvalRun", "namespace": "OpenAI", @@ -45112,7 +46574,7 @@ "decorators": [], "properties": [ { - "$id": "3829", + "$id": "3898", "kind": "property", "name": "object", "serializedName": "object", @@ -45130,16 +46592,17 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "3830", + "$id": "3899", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation run.", "type": { - "$id": "3831", + "$id": "3900", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45155,16 +46618,17 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "3832", + "$id": "3901", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "doc": "The identifier of the associated evaluation.", "type": { - "$id": "3833", + "$id": "3902", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45180,16 +46644,17 @@ "json": { "name": "eval_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "3834", + "$id": "3903", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the evaluation run.", "type": { - "$id": "3835", + "$id": "3904", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45205,16 +46670,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "3836", + "$id": "3905", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model that is evaluated, if applicable.", "type": { - "$id": "3837", + "$id": "3906", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45230,16 +46696,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3838", + "$id": "3907", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the evaluation run.", "type": { - "$id": "3839", + "$id": "3908", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45255,21 +46722,22 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3840", + "$id": "3909", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the evaluation run was created.", "type": { - "$id": "3841", + "$id": "3910", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "3842", + "$id": "3911", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45288,16 +46756,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "3843", + "$id": "3912", "kind": "property", "name": "report_url", "serializedName": "report_url", "doc": "The URL to the rendered evaluation run report on the UI dashboard.", "type": { - "$id": "3844", + "$id": "3913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45313,16 +46782,17 @@ "json": { "name": "report_url" } - } + }, + "isHttpMetadata": false }, { - "$id": "3845", + "$id": "3914", "kind": "property", "name": "result_counts", "serializedName": "result_counts", "doc": "Counters summarizing the outcomes of the evaluation run.", "type": { - "$id": "3846", + "$id": "3915", "kind": "model", "name": "EvalRunResultCounts", "namespace": "OpenAI", @@ -45331,13 +46801,13 @@ "decorators": [], "properties": [ { - "$id": "3847", + "$id": "3916", "kind": "property", "name": "total", "serializedName": "total", "doc": "Total number of executed output items.", "type": { - "$id": "3848", + "$id": "3917", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45353,16 +46823,17 @@ "json": { "name": "total" } - } + }, + "isHttpMetadata": false }, { - "$id": "3849", + "$id": "3918", "kind": "property", "name": "errored", "serializedName": "errored", "doc": "Number of output items that resulted in an error.", "type": { - "$id": "3850", + "$id": "3919", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45378,16 +46849,17 @@ "json": { "name": "errored" } - } + }, + "isHttpMetadata": false }, { - "$id": "3851", + "$id": "3920", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of output items that failed to pass the evaluation.", "type": { - "$id": "3852", + "$id": "3921", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45403,16 +46875,17 @@ "json": { "name": "failed" } - } + }, + "isHttpMetadata": false }, { - "$id": "3853", + "$id": "3922", "kind": "property", "name": "passed", "serializedName": "passed", "doc": "Number of output items that passed the evaluation.", "type": { - "$id": "3854", + "$id": "3923", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45428,7 +46901,8 @@ "json": { "name": "passed" } - } + }, + "isHttpMetadata": false } ] }, @@ -45442,20 +46916,21 @@ "json": { "name": "result_counts" } - } + }, + "isHttpMetadata": false }, { - "$id": "3855", + "$id": "3924", "kind": "property", "name": "per_model_usage", "serializedName": "per_model_usage", "doc": "Usage statistics for each model during the evaluation run.", "type": { - "$id": "3856", + "$id": "3925", "kind": "array", "name": "Array15", "valueType": { - "$id": "3857", + "$id": "3926", "kind": "model", "name": "EvalRunPerModelUsage", "namespace": "OpenAI", @@ -45464,13 +46939,13 @@ "decorators": [], "properties": [ { - "$id": "3858", + "$id": "3927", "kind": "property", "name": "model_name", "serializedName": "model_name", "doc": "The name of the model.", "type": { - "$id": "3859", + "$id": "3928", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45486,16 +46961,17 @@ "json": { "name": "model_name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3860", + "$id": "3929", "kind": "property", "name": "invocation_count", "serializedName": "invocation_count", "doc": "The number of invocations.", "type": { - "$id": "3861", + "$id": "3930", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45511,16 +46987,17 @@ "json": { "name": "invocation_count" } - } + }, + "isHttpMetadata": false }, { - "$id": "3862", + "$id": "3931", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "The number of prompt tokens used.", "type": { - "$id": "3863", + "$id": "3932", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45536,16 +47013,17 @@ "json": { "name": "prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "3864", + "$id": "3933", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "The number of completion tokens generated.", "type": { - "$id": "3865", + "$id": "3934", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45561,16 +47039,17 @@ "json": { "name": "completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "3866", + "$id": "3935", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "3867", + "$id": "3936", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45586,16 +47065,17 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "3868", + "$id": "3937", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens retrieved from cache.", "type": { - "$id": "3869", + "$id": "3938", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45611,7 +47091,8 @@ "json": { "name": "cached_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -45628,20 +47109,21 @@ "json": { "name": "per_model_usage" } - } + }, + "isHttpMetadata": false }, { - "$id": "3870", + "$id": "3939", "kind": "property", "name": "per_testing_criteria_results", "serializedName": "per_testing_criteria_results", "doc": "Results per testing criteria applied during the evaluation run.", "type": { - "$id": "3871", + "$id": "3940", "kind": "array", "name": "Array16", "valueType": { - "$id": "3872", + "$id": "3941", "kind": "model", "name": "EvalRunPerTestingCriteriaResult", "namespace": "OpenAI", @@ -45650,13 +47132,13 @@ "decorators": [], "properties": [ { - "$id": "3873", + "$id": "3942", "kind": "property", "name": "testing_criteria", "serializedName": "testing_criteria", "doc": "A description of the testing criteria.", "type": { - "$id": "3874", + "$id": "3943", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45672,16 +47154,17 @@ "json": { "name": "testing_criteria" } - } + }, + "isHttpMetadata": false }, { - "$id": "3875", + "$id": "3944", "kind": "property", "name": "passed", "serializedName": "passed", "doc": "Number of tests passed for this criteria.", "type": { - "$id": "3876", + "$id": "3945", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45697,16 +47180,17 @@ "json": { "name": "passed" } - } + }, + "isHttpMetadata": false }, { - "$id": "3877", + "$id": "3946", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "Number of tests failed for this criteria.", "type": { - "$id": "3878", + "$id": "3947", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -45722,7 +47206,8 @@ "json": { "name": "failed" } - } + }, + "isHttpMetadata": false } ] }, @@ -45739,16 +47224,17 @@ "json": { "name": "per_testing_criteria_results" } - } + }, + "isHttpMetadata": false }, { - "$id": "3879", + "$id": "3948", "kind": "property", "name": "data_source", "serializedName": "data_source", "doc": "Information about the run's data source.", "type": { - "$id": "3880", + "$id": "3949", "kind": "model", "name": "EvalRunDataSourceResource", "namespace": "OpenAI", @@ -45757,7 +47243,7 @@ "decorators": [], "properties": [ { - "$id": "3881", + "$id": "3950", "kind": "property", "name": "type", "serializedName": "type", @@ -45774,7 +47260,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, @@ -45788,10 +47275,11 @@ "json": { "name": "data_source" } - } + }, + "isHttpMetadata": false }, { - "$id": "3882", + "$id": "3951", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -45809,15 +47297,16 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3883", + "$id": "3952", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "3884", + "$id": "3953", "kind": "model", "name": "EvalApiError", "namespace": "OpenAI", @@ -45827,13 +47316,13 @@ "decorators": [], "properties": [ { - "$id": "3885", + "$id": "3954", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "3886", + "$id": "3955", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45849,16 +47338,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "3887", + "$id": "3956", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "3888", + "$id": "3957", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45874,7 +47364,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false } ] }, @@ -45888,7 +47379,8 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, @@ -45905,16 +47397,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "3889", + "$id": "3958", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval run in the data array.", "type": { - "$id": "3890", + "$id": "3959", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45930,16 +47423,17 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "3891", + "$id": "3960", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval run in the data array.", "type": { - "$id": "3892", + "$id": "3961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -45955,16 +47449,17 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "3893", + "$id": "3962", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more evals available.", "type": { - "$id": "3894", + "$id": "3963", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -45980,30 +47475,31 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "3828" + "$ref": "3897" }, { - "$ref": "3846" + "$ref": "3915" }, { - "$ref": "3857" + "$ref": "3926" }, { - "$ref": "3872" + "$ref": "3941" }, { - "$ref": "3880" + "$ref": "3949" }, { - "$ref": "3884" + "$ref": "3953" }, { - "$id": "3895", + "$id": "3964", "kind": "model", "name": "CreateEvalRunRequest", "namespace": "OpenAI", @@ -46012,13 +47508,13 @@ "decorators": [], "properties": [ { - "$id": "3896", + "$id": "3965", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the run.", "type": { - "$id": "3897", + "$id": "3966", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46034,10 +47530,11 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3898", + "$id": "3967", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -46055,16 +47552,17 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3899", + "$id": "3968", "kind": "property", "name": "data_source", "serializedName": "data_source", "doc": "Details about the run's data source.", "type": { - "$id": "3900", + "$id": "3969", "kind": "model", "name": "EvalRunDataSourceParams", "namespace": "OpenAI", @@ -46072,7 +47570,7 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "3901", + "$id": "3970", "kind": "property", "name": "type", "serializedName": "type", @@ -46089,16 +47587,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "3901" + "$ref": "3970" } ], "discriminatedSubtypes": { "jsonl": { - "$id": "3902", + "$id": "3971", "kind": "model", "name": "EvalJsonlRunDataSourceParams", "namespace": "OpenAI", @@ -46108,11 +47607,11 @@ "discriminatorValue": "jsonl", "decorators": [], "baseModel": { - "$ref": "3900" + "$ref": "3969" }, "properties": [ { - "$id": "3903", + "$id": "3972", "kind": "property", "name": "type", "serializedName": "type", @@ -46130,21 +47629,22 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3904", + "$id": "3973", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in the data source.", "type": { - "$id": "3905", + "$id": "3974", "kind": "union", "name": "EvalJsonlRunDataSourceParamsSource", "variantTypes": [ { - "$id": "3906", + "$id": "3975", "kind": "model", "name": "EvalRunFileContentDataContentSource", "namespace": "OpenAI", @@ -46153,7 +47653,7 @@ "discriminatorValue": "file_content", "decorators": [], "baseModel": { - "$id": "3907", + "$id": "3976", "kind": "model", "name": "EvalRunDataContentSource", "namespace": "OpenAI", @@ -46161,7 +47661,7 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "3908", + "$id": "3977", "kind": "property", "name": "type", "serializedName": "type", @@ -46178,19 +47678,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "3908" + "$ref": "3977" } ], "discriminatedSubtypes": { "file_content": { - "$ref": "3906" + "$ref": "3975" }, "file_id": { - "$id": "3909", + "$id": "3978", "kind": "model", "name": "EvalRunFileIdDataContentSource", "namespace": "OpenAI", @@ -46199,11 +47700,11 @@ "discriminatorValue": "file_id", "decorators": [], "baseModel": { - "$ref": "3907" + "$ref": "3976" }, "properties": [ { - "$id": "3910", + "$id": "3979", "kind": "property", "name": "type", "serializedName": "type", @@ -46221,16 +47722,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3911", + "$id": "3980", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the file.", "type": { - "$id": "3912", + "$id": "3981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -46246,12 +47748,13 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ] }, "stored_completions": { - "$id": "3913", + "$id": "3982", "kind": "model", "name": "EvalRunStoredCompletionsDataContentSource", "namespace": "OpenAI", @@ -46261,11 +47764,11 @@ "discriminatorValue": "stored_completions", "decorators": [], "baseModel": { - "$ref": "3907" + "$ref": "3976" }, "properties": [ { - "$id": "3914", + "$id": "3983", "kind": "property", "name": "type", "serializedName": "type", @@ -46283,10 +47786,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3915", + "$id": "3984", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -46304,25 +47808,26 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3916", + "$id": "3985", "kind": "property", "name": "model", "serializedName": "model", "doc": "An optional model to filter by (e.g., 'gpt-4o').", "type": { - "$id": "3917", + "$id": "3986", "kind": "nullable", "type": { - "$id": "3918", + "$id": "3987", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46334,25 +47839,26 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3919", + "$id": "3988", "kind": "property", "name": "created_after", "serializedName": "created_after", "doc": "An optional Unix timestamp to filter items created after this time.", "type": { - "$id": "3920", + "$id": "3989", "kind": "nullable", "type": { - "$id": "3921", + "$id": "3990", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46364,25 +47870,26 @@ "json": { "name": "created_after" } - } + }, + "isHttpMetadata": false }, { - "$id": "3922", + "$id": "3991", "kind": "property", "name": "created_before", "serializedName": "created_before", "doc": "An optional Unix timestamp to filter items created before this time.", "type": { - "$id": "3923", + "$id": "3992", "kind": "nullable", "type": { - "$id": "3924", + "$id": "3993", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46394,25 +47901,26 @@ "json": { "name": "created_before" } - } + }, + "isHttpMetadata": false }, { - "$id": "3925", + "$id": "3994", "kind": "property", "name": "limit", "serializedName": "limit", "doc": "An optional maximum number of items to return.", "type": { - "$id": "3926", + "$id": "3995", "kind": "nullable", "type": { - "$id": "3927", + "$id": "3996", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46424,12 +47932,13 @@ "json": { "name": "limit" } - } + }, + "isHttpMetadata": false } ] }, "responses": { - "$id": "3928", + "$id": "3997", "kind": "model", "name": "EvalRunResponsesDataContentSource", "namespace": "OpenAI", @@ -46439,11 +47948,11 @@ "discriminatorValue": "responses", "decorators": [], "baseModel": { - "$ref": "3907" + "$ref": "3976" }, "properties": [ { - "$id": "3929", + "$id": "3998", "kind": "property", "name": "type", "serializedName": "type", @@ -46461,10 +47970,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3930", + "$id": "3999", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -46482,25 +47992,26 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "3931", + "$id": "4000", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to find responses for. This is a query parameter used to select responses.", "type": { - "$id": "3932", + "$id": "4001", "kind": "nullable", "type": { - "$id": "3933", + "$id": "4002", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46512,25 +48023,26 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "3934", + "$id": "4003", "kind": "property", "name": "instructions_search", "serializedName": "instructions_search", "doc": "Optional string to search the 'instructions' field. This is a query parameter used to select responses.", "type": { - "$id": "3935", + "$id": "4004", "kind": "nullable", "type": { - "$id": "3936", + "$id": "4005", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46542,25 +48054,26 @@ "json": { "name": "instructions_search" } - } + }, + "isHttpMetadata": false }, { - "$id": "3937", + "$id": "4006", "kind": "property", "name": "created_after", "serializedName": "created_after", "doc": "Only include items created after this timestamp (inclusive). This is a query parameter used to select responses.", "type": { - "$id": "3938", + "$id": "4007", "kind": "nullable", "type": { - "$id": "3939", + "$id": "4008", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46572,25 +48085,26 @@ "json": { "name": "created_after" } - } + }, + "isHttpMetadata": false }, { - "$id": "3940", + "$id": "4009", "kind": "property", "name": "created_before", "serializedName": "created_before", "doc": "Only include items created before this timestamp (inclusive). This is a query parameter used to select responses.", "type": { - "$id": "3941", + "$id": "4010", "kind": "nullable", "type": { - "$id": "3942", + "$id": "4011", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46602,21 +48116,22 @@ "json": { "name": "created_before" } - } + }, + "isHttpMetadata": false }, { - "$id": "3943", + "$id": "4012", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "doc": "Optional reasoning effort parameter. This is a query parameter used to select responses.", "type": { - "$id": "3944", + "$id": "4013", "kind": "nullable", "type": { "$ref": "53" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46628,25 +48143,26 @@ "json": { "name": "reasoning_effort" } - } + }, + "isHttpMetadata": false }, { - "$id": "3945", + "$id": "4014", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature. This is a query parameter used to select responses.", "type": { - "$id": "3946", + "$id": "4015", "kind": "nullable", "type": { - "$id": "3947", + "$id": "4016", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46658,25 +48174,26 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "3948", + "$id": "4017", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "Nucleus sampling parameter. This is a query parameter used to select responses.", "type": { - "$id": "3949", + "$id": "4018", "kind": "nullable", "type": { - "$id": "3950", + "$id": "4019", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46688,21 +48205,22 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "3951", + "$id": "4020", "kind": "property", "name": "users", "serializedName": "users", "doc": "List of user identifiers. This is a query parameter used to select responses.", "type": { - "$id": "3952", + "$id": "4021", "kind": "nullable", "type": { "$ref": "2309" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46714,21 +48232,22 @@ "json": { "name": "users" } - } + }, + "isHttpMetadata": false }, { - "$id": "3953", + "$id": "4022", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "List of tool names. This is a query parameter used to select responses.", "type": { - "$id": "3954", + "$id": "4023", "kind": "nullable", "type": { "$ref": "2309" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -46740,7 +48259,8 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false } ] } @@ -46748,13 +48268,13 @@ }, "properties": [ { - "$id": "3955", + "$id": "4024", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of jsonl source. Always `file_content`.", "type": { - "$id": "3956", + "$id": "4025", "kind": "enumvalue", "name": "file_content", "value": "file_content", @@ -46776,20 +48296,21 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3957", + "$id": "4026", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the jsonl file.", "type": { - "$id": "3958", + "$id": "4027", "kind": "array", "name": "Array17", "valueType": { - "$id": "3959", + "$id": "4028", "kind": "model", "name": "EvalRunFileContentDataContentSourceContent", "namespace": "OpenAI", @@ -46798,12 +48319,12 @@ "decorators": [], "properties": [ { - "$id": "3960", + "$id": "4029", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": false, "readOnly": false, @@ -46815,15 +48336,16 @@ "json": { "name": "item" } - } + }, + "isHttpMetadata": false }, { - "$id": "3961", + "$id": "4030", "kind": "property", "name": "sample", "serializedName": "sample", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": true, "readOnly": false, @@ -46835,7 +48357,8 @@ "json": { "name": "sample" } - } + }, + "isHttpMetadata": false } ] }, @@ -46852,15 +48375,16 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "3909" + "$ref": "3978" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -46873,12 +48397,13 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false } ] }, "completions": { - "$id": "3962", + "$id": "4031", "kind": "model", "name": "EvalCompletionsRunDataSourceParams", "namespace": "OpenAI", @@ -46888,11 +48413,11 @@ "discriminatorValue": "completions", "decorators": [], "baseModel": { - "$ref": "3900" + "$ref": "3969" }, "properties": [ { - "$id": "3963", + "$id": "4032", "kind": "property", "name": "type", "serializedName": "type", @@ -46910,21 +48435,22 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3964", + "$id": "4033", "kind": "property", "name": "input_messages", "serializedName": "input_messages", "doc": "Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace.", "type": { - "$id": "3965", + "$id": "4034", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsInputMessages", "variantTypes": [ { - "$id": "3966", + "$id": "4035", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsInputMessages1", "namespace": "OpenAI", @@ -46933,7 +48459,7 @@ "decorators": [], "properties": [ { - "$id": "3967", + "$id": "4036", "kind": "property", "name": "type", "serializedName": "type", @@ -46951,25 +48477,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3968", + "$id": "4037", "kind": "property", "name": "template", "serializedName": "template", "doc": "A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.", "type": { - "$id": "3969", + "$id": "4038", "kind": "array", "name": "Array18", "valueType": { - "$id": "3970", + "$id": "4039", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsInputMessagesTemplate", "variantTypes": [ { - "$id": "3971", + "$id": "4040", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -46979,7 +48506,7 @@ "$ref": "3438" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -46995,12 +48522,13 @@ "json": { "name": "template" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "3972", + "$id": "4041", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsInputMessages2", "namespace": "OpenAI", @@ -47009,7 +48537,7 @@ "decorators": [], "properties": [ { - "$id": "3973", + "$id": "4042", "kind": "property", "name": "type", "serializedName": "type", @@ -47027,16 +48555,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3974", + "$id": "4043", "kind": "property", "name": "item_reference", "serializedName": "item_reference", "doc": "A reference to a variable in the `item` namespace. Ie, \"item.input_trajectory\"", "type": { - "$id": "3975", + "$id": "4044", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47052,12 +48581,13 @@ "json": { "name": "item_reference" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -47070,15 +48600,16 @@ "json": { "name": "input_messages" } - } + }, + "isHttpMetadata": false }, { - "$id": "3976", + "$id": "4045", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "type": { - "$id": "3977", + "$id": "4046", "kind": "model", "name": "EvalCompletionsRunDataSourceParamsSamplingParams", "namespace": "OpenAI", @@ -47087,13 +48618,13 @@ "decorators": [], "properties": [ { - "$id": "3978", + "$id": "4047", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "A higher temperature increases randomness in the outputs.", "type": { - "$id": "3979", + "$id": "4048", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47109,16 +48640,17 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "3980", + "$id": "4049", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens in the generated output.", "type": { - "$id": "3981", + "$id": "4050", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -47134,16 +48666,17 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "3982", + "$id": "4051", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.", "type": { - "$id": "3983", + "$id": "4052", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47159,16 +48692,17 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "3984", + "$id": "4053", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "A seed value to initialize the randomness, during sampling.", "type": { - "$id": "3985", + "$id": "4054", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -47184,16 +48718,17 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false }, { - "$id": "3986", + "$id": "4055", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "An object specifying the format that the model must output.\n\nSetting to `{ \"type\": \"json_schema\", \"json_schema\": {...} }` enables\nStructured Outputs which ensures the model will match your supplied JSON\nschema. Learn more in the [Structured Outputs\nguide](/docs/guides/structured-outputs).\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.", "type": { - "$id": "3987", + "$id": "4056", "kind": "model", "name": "ResponseTextFormatConfiguration", "namespace": "OpenAI", @@ -47201,7 +48736,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "3988", + "$id": "4057", "kind": "property", "name": "type", "serializedName": "type", @@ -47218,16 +48753,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "3988" + "$ref": "4057" } ], "discriminatedSubtypes": { "text": { - "$id": "3989", + "$id": "4058", "kind": "model", "name": "ResponseTextFormatConfigurationText", "namespace": "OpenAI", @@ -47236,11 +48772,11 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "3987" + "$ref": "4056" }, "properties": [ { - "$id": "3990", + "$id": "4059", "kind": "property", "name": "type", "serializedName": "type", @@ -47257,12 +48793,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "json_object": { - "$id": "3991", + "$id": "4060", "kind": "model", "name": "ResponseTextFormatConfigurationJsonObject", "namespace": "OpenAI", @@ -47271,11 +48808,11 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "3987" + "$ref": "4056" }, "properties": [ { - "$id": "3992", + "$id": "4061", "kind": "property", "name": "type", "serializedName": "type", @@ -47292,12 +48829,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "json_schema": { - "$id": "3993", + "$id": "4062", "kind": "model", "name": "ResponseTextFormatConfigurationJsonSchema", "namespace": "OpenAI", @@ -47307,11 +48845,11 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "3987" + "$ref": "4056" }, "properties": [ { - "$id": "3994", + "$id": "4063", "kind": "property", "name": "type", "serializedName": "type", @@ -47329,16 +48867,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "3995", + "$id": "4064", "kind": "property", "name": "description", "serializedName": "description", "doc": "A description of what the response format is for, used by the model to\ndetermine how to respond in the format.", "type": { - "$id": "3996", + "$id": "4065", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47354,16 +48893,17 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { - "$id": "3997", + "$id": "4066", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.", "type": { - "$id": "3998", + "$id": "4067", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47379,10 +48919,11 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "3999", + "$id": "4068", "kind": "property", "name": "schema", "serializedName": "schema", @@ -47399,25 +48940,26 @@ "json": { "name": "schema" } - } + }, + "isHttpMetadata": false }, { - "$id": "4000", + "$id": "4069", "kind": "property", "name": "strict", "serializedName": "strict", "doc": "Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](/docs/guides/structured-outputs).", "type": { - "$id": "4001", + "$id": "4070", "kind": "nullable", "type": { - "$id": "4002", + "$id": "4071", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -47429,7 +48971,8 @@ "json": { "name": "strict" } - } + }, + "isHttpMetadata": false } ] } @@ -47445,10 +48988,11 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "4003", + "$id": "4072", "kind": "property", "name": "tools", "serializedName": "tools", @@ -47466,7 +49010,8 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false } ] }, @@ -47480,16 +49025,17 @@ "json": { "name": "sampling_params" } - } + }, + "isHttpMetadata": false }, { - "$id": "4004", + "$id": "4073", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").", "type": { - "$id": "4005", + "$id": "4074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47505,30 +49051,31 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "4006", + "$id": "4075", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in this run's data source.", "type": { - "$id": "4007", + "$id": "4076", "kind": "union", "name": "EvalCompletionsRunDataSourceParamsSource", "variantTypes": [ { - "$ref": "3906" + "$ref": "3975" }, { - "$ref": "3909" + "$ref": "3978" }, { - "$ref": "3913" + "$ref": "3982" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -47541,12 +49088,13 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false } ] }, "responses": { - "$id": "4008", + "$id": "4077", "kind": "model", "name": "EvalResponsesRunDataSourceParams", "namespace": "OpenAI", @@ -47556,11 +49104,11 @@ "discriminatorValue": "responses", "decorators": [], "baseModel": { - "$ref": "3900" + "$ref": "3969" }, "properties": [ { - "$id": "4009", + "$id": "4078", "kind": "property", "name": "type", "serializedName": "type", @@ -47578,21 +49126,22 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4010", + "$id": "4079", "kind": "property", "name": "input_messages", "serializedName": "input_messages", "doc": "Used when sampling from a model. Dictates the structure of the messages passed into the model. Can either be a reference to a prebuilt trajectory (ie, `item.input_trajectory`), or a template with variable references to the `item` namespace.", "type": { - "$id": "4011", + "$id": "4080", "kind": "union", "name": "EvalResponsesRunDataSourceParamsInputMessages", "variantTypes": [ { - "$id": "4012", + "$id": "4081", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessages1", "namespace": "OpenAI", @@ -47601,7 +49150,7 @@ "decorators": [], "properties": [ { - "$id": "4013", + "$id": "4082", "kind": "property", "name": "type", "serializedName": "type", @@ -47619,25 +49168,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4014", + "$id": "4083", "kind": "property", "name": "template", "serializedName": "template", "doc": "A list of chat messages forming the prompt or context. May include variable references to the `item` namespace, ie {{item.name}}.", "type": { - "$id": "4015", + "$id": "4084", "kind": "array", "name": "Array19", "valueType": { - "$id": "4016", + "$id": "4085", "kind": "union", "name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate", "variantTypes": [ { - "$id": "4017", + "$id": "4086", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessagesTemplate1", "namespace": "OpenAI", @@ -47646,13 +49196,13 @@ "decorators": [], "properties": [ { - "$id": "4018", + "$id": "4087", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4019", + "$id": "4088", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47668,16 +49218,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4020", + "$id": "4089", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4021", + "$id": "4090", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47693,7 +49244,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, @@ -47701,7 +49253,7 @@ "$ref": "3438" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -47717,12 +49269,13 @@ "json": { "name": "template" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "4022", + "$id": "4091", "kind": "model", "name": "EvalResponsesRunDataSourceParamsInputMessages2", "namespace": "OpenAI", @@ -47731,7 +49284,7 @@ "decorators": [], "properties": [ { - "$id": "4023", + "$id": "4092", "kind": "property", "name": "type", "serializedName": "type", @@ -47749,16 +49302,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4024", + "$id": "4093", "kind": "property", "name": "item_reference", "serializedName": "item_reference", "doc": "A reference to a variable in the `item` namespace. Ie, \"item.name\"", "type": { - "$id": "4025", + "$id": "4094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -47774,12 +49328,13 @@ "json": { "name": "item_reference" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -47792,15 +49347,16 @@ "json": { "name": "input_messages" } - } + }, + "isHttpMetadata": false }, { - "$id": "4026", + "$id": "4095", "kind": "property", "name": "sampling_params", "serializedName": "sampling_params", "type": { - "$id": "4027", + "$id": "4096", "kind": "model", "name": "EvalResponsesRunDataSourceParamsSamplingParams", "namespace": "OpenAI", @@ -47809,13 +49365,13 @@ "decorators": [], "properties": [ { - "$id": "4028", + "$id": "4097", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "A higher temperature increases randomness in the outputs.", "type": { - "$id": "4029", + "$id": "4098", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47831,16 +49387,17 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "4030", + "$id": "4099", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens in the generated output.", "type": { - "$id": "4031", + "$id": "4100", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -47856,16 +49413,17 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4032", + "$id": "4101", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to temperature for nucleus sampling; 1.0 includes all tokens.", "type": { - "$id": "4033", + "$id": "4102", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -47881,16 +49439,17 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "4034", + "$id": "4103", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "A seed value to initialize the randomness, during sampling.", "type": { - "$id": "4035", + "$id": "4104", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -47906,20 +49465,21 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false }, { - "$id": "4036", + "$id": "4105", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nThe two categories of tools you can provide the model are:\n\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](/docs/guides/tools-web-search)\n or [file search](/docs/guides/tools-file-search). Learn more about\n [built-in tools](/docs/guides/tools).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code. Learn more about\n [function calling](/docs/guides/function-calling).", "type": { - "$id": "4037", + "$id": "4106", "kind": "array", "name": "ArrayTool", "valueType": { - "$id": "4038", + "$id": "4107", "kind": "model", "name": "Tool", "namespace": "OpenAI", @@ -47927,7 +49487,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4039", + "$id": "4108", "kind": "property", "name": "type", "serializedName": "type", @@ -47944,16 +49504,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4039" + "$ref": "4108" } ], "discriminatedSubtypes": { "function": { - "$id": "4040", + "$id": "4109", "kind": "model", "name": "FunctionTool", "namespace": "OpenAI", @@ -47963,11 +49524,11 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4041", + "$id": "4110", "kind": "property", "name": "type", "serializedName": "type", @@ -47985,16 +49546,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4042", + "$id": "4111", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "4043", + "$id": "4112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48010,25 +49572,26 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4044", + "$id": "4113", "kind": "property", "name": "description", "serializedName": "description", "doc": "A description of the function. Used by the model to determine whether or not to call the function.", "type": { - "$id": "4045", + "$id": "4114", "kind": "nullable", "type": { - "$id": "4046", + "$id": "4115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -48040,25 +49603,26 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { - "$id": "4047", + "$id": "4116", "kind": "property", "name": "parameters", "serializedName": "parameters", "doc": "A JSON schema object describing the parameters of the function.", "type": { - "$id": "4048", + "$id": "4117", "kind": "nullable", "type": { - "$id": "4049", + "$id": "4118", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -48070,25 +49634,26 @@ "json": { "name": "parameters" } - } + }, + "isHttpMetadata": false }, { - "$id": "4050", + "$id": "4119", "kind": "property", "name": "strict", "serializedName": "strict", "doc": "Whether to enforce strict parameter validation. Default `true`.", "type": { - "$id": "4051", + "$id": "4120", "kind": "nullable", "type": { - "$id": "4052", + "$id": "4121", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -48100,12 +49665,13 @@ "json": { "name": "strict" } - } + }, + "isHttpMetadata": false } ] }, "file_search": { - "$id": "4053", + "$id": "4122", "kind": "model", "name": "FileSearchTool", "namespace": "OpenAI", @@ -48115,11 +49681,11 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4054", + "$id": "4123", "kind": "property", "name": "type", "serializedName": "type", @@ -48137,10 +49703,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4055", + "$id": "4124", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", @@ -48158,16 +49725,17 @@ "json": { "name": "vector_store_ids" } - } + }, + "isHttpMetadata": false }, { - "$id": "4056", + "$id": "4125", "kind": "property", "name": "max_num_results", "serializedName": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { - "$id": "4057", + "$id": "4126", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48183,16 +49751,17 @@ "json": { "name": "max_num_results" } - } + }, + "isHttpMetadata": false }, { - "$id": "4058", + "$id": "4127", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$id": "4059", + "$id": "4128", "kind": "model", "name": "RankingOptions", "namespace": "OpenAI", @@ -48201,7 +49770,7 @@ "decorators": [], "properties": [ { - "$id": "4060", + "$id": "4129", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -48219,16 +49788,17 @@ "json": { "name": "ranker" } - } + }, + "isHttpMetadata": false }, { - "$id": "4061", + "$id": "4130", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "doc": "The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.", "type": { - "$id": "4062", + "$id": "4131", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -48244,7 +49814,8 @@ "json": { "name": "score_threshold" } - } + }, + "isHttpMetadata": false } ] }, @@ -48258,24 +49829,25 @@ "json": { "name": "ranking_options" } - } + }, + "isHttpMetadata": false }, { - "$id": "4063", + "$id": "4132", "kind": "property", "name": "filters", "serializedName": "filters", "doc": "A filter to apply.", "type": { - "$id": "4064", + "$id": "4133", "kind": "nullable", "type": { - "$id": "4065", + "$id": "4134", "kind": "union", "name": "Filters", "variantTypes": [ { - "$id": "4066", + "$id": "4135", "kind": "model", "name": "ComparisonFilter", "namespace": "OpenAI", @@ -48283,7 +49855,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4067", + "$id": "4136", "kind": "property", "name": "type", "serializedName": "type", @@ -48300,19 +49872,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4067" + "$ref": "4136" }, { - "$id": "4068", + "$id": "4137", "kind": "property", "name": "key", "serializedName": "key", "type": { - "$id": "4069", + "$id": "4138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -48328,41 +49901,42 @@ "json": { "name": "key" } - } + }, + "isHttpMetadata": false }, { - "$id": "4070", + "$id": "4139", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "4071", + "$id": "4140", "kind": "union", "name": "ComparisonFilterValue", "variantTypes": [ { - "$id": "4072", + "$id": "4141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4073", + "$id": "4142", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, { - "$id": "4074", + "$id": "4143", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -48375,12 +49949,13 @@ "json": { "name": "value" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "eq": { - "$id": "4075", + "$id": "4144", "kind": "model", "name": "ComparisonFilterEquals", "namespace": "OpenAI", @@ -48389,11 +49964,11 @@ "discriminatorValue": "eq", "decorators": [], "baseModel": { - "$ref": "4066" + "$ref": "4135" }, "properties": [ { - "$id": "4076", + "$id": "4145", "kind": "property", "name": "type", "serializedName": "type", @@ -48410,12 +49985,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "ne": { - "$id": "4077", + "$id": "4146", "kind": "model", "name": "ComparisonFilterNotEquals", "namespace": "OpenAI", @@ -48424,11 +50000,11 @@ "discriminatorValue": "ne", "decorators": [], "baseModel": { - "$ref": "4066" + "$ref": "4135" }, "properties": [ { - "$id": "4078", + "$id": "4147", "kind": "property", "name": "type", "serializedName": "type", @@ -48445,12 +50021,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "gt": { - "$id": "4079", + "$id": "4148", "kind": "model", "name": "ComparisonFilterGreaterThan", "namespace": "OpenAI", @@ -48459,11 +50036,11 @@ "discriminatorValue": "gt", "decorators": [], "baseModel": { - "$ref": "4066" + "$ref": "4135" }, "properties": [ { - "$id": "4080", + "$id": "4149", "kind": "property", "name": "type", "serializedName": "type", @@ -48480,12 +50057,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "gte": { - "$id": "4081", + "$id": "4150", "kind": "model", "name": "ComparisonFilterGreaterThanOrEquals", "namespace": "OpenAI", @@ -48494,11 +50072,11 @@ "discriminatorValue": "gte", "decorators": [], "baseModel": { - "$ref": "4066" + "$ref": "4135" }, "properties": [ { - "$id": "4082", + "$id": "4151", "kind": "property", "name": "type", "serializedName": "type", @@ -48515,12 +50093,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "lt": { - "$id": "4083", + "$id": "4152", "kind": "model", "name": "ComparisonFilterLessThan", "namespace": "OpenAI", @@ -48529,11 +50108,11 @@ "discriminatorValue": "lt", "decorators": [], "baseModel": { - "$ref": "4066" + "$ref": "4135" }, "properties": [ { - "$id": "4084", + "$id": "4153", "kind": "property", "name": "type", "serializedName": "type", @@ -48550,12 +50129,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "lte": { - "$id": "4085", + "$id": "4154", "kind": "model", "name": "ComparisonFilterLessThanOrEquals", "namespace": "OpenAI", @@ -48564,11 +50144,11 @@ "discriminatorValue": "lte", "decorators": [], "baseModel": { - "$ref": "4066" + "$ref": "4135" }, "properties": [ { - "$id": "4086", + "$id": "4155", "kind": "property", "name": "type", "serializedName": "type", @@ -48585,14 +50165,15 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] } } }, { - "$id": "4087", + "$id": "4156", "kind": "model", "name": "CompoundFilter", "namespace": "OpenAI", @@ -48600,7 +50181,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4088", + "$id": "4157", "kind": "property", "name": "type", "serializedName": "type", @@ -48617,34 +50198,35 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4088" + "$ref": "4157" }, { - "$id": "4089", + "$id": "4158", "kind": "property", "name": "filters", "serializedName": "filters", "type": { - "$id": "4090", + "$id": "4159", "kind": "array", "name": "Array20", "valueType": { - "$id": "4091", + "$id": "4160", "kind": "union", "name": "CompoundFilterFilter", "variantTypes": [ { - "$ref": "4066" + "$ref": "4135" }, { - "$ref": "4087" + "$ref": "4156" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -48660,12 +50242,13 @@ "json": { "name": "filters" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "and": { - "$id": "4092", + "$id": "4161", "kind": "model", "name": "CompoundFilterAnd", "namespace": "OpenAI", @@ -48674,11 +50257,11 @@ "discriminatorValue": "and", "decorators": [], "baseModel": { - "$ref": "4087" + "$ref": "4156" }, "properties": [ { - "$id": "4093", + "$id": "4162", "kind": "property", "name": "type", "serializedName": "type", @@ -48695,12 +50278,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "or": { - "$id": "4094", + "$id": "4163", "kind": "model", "name": "CompoundFilterOr", "namespace": "OpenAI", @@ -48709,11 +50293,11 @@ "discriminatorValue": "or", "decorators": [], "baseModel": { - "$ref": "4087" + "$ref": "4156" }, "properties": [ { - "$id": "4095", + "$id": "4164", "kind": "property", "name": "type", "serializedName": "type", @@ -48730,7 +50314,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] } @@ -48740,7 +50325,7 @@ "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -48752,12 +50337,13 @@ "json": { "name": "filters" } - } + }, + "isHttpMetadata": false } ] }, "computer_use_preview": { - "$id": "4096", + "$id": "4165", "kind": "model", "name": "ComputerUsePreviewTool", "namespace": "OpenAI", @@ -48767,11 +50353,11 @@ "discriminatorValue": "computer_use_preview", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4097", + "$id": "4166", "kind": "property", "name": "type", "serializedName": "type", @@ -48789,10 +50375,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4098", + "$id": "4167", "kind": "property", "name": "environment", "serializedName": "environment", @@ -48810,16 +50397,17 @@ "json": { "name": "environment" } - } + }, + "isHttpMetadata": false }, { - "$id": "4099", + "$id": "4168", "kind": "property", "name": "display_width", "serializedName": "display_width", "doc": "The width of the computer display.", "type": { - "$id": "4100", + "$id": "4169", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48835,16 +50423,17 @@ "json": { "name": "display_width" } - } + }, + "isHttpMetadata": false }, { - "$id": "4101", + "$id": "4170", "kind": "property", "name": "display_height", "serializedName": "display_height", "doc": "The height of the computer display.", "type": { - "$id": "4102", + "$id": "4171", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -48860,12 +50449,13 @@ "json": { "name": "display_height" } - } + }, + "isHttpMetadata": false } ] }, "web_search_preview": { - "$id": "4103", + "$id": "4172", "kind": "model", "name": "WebSearchPreviewTool", "namespace": "OpenAI", @@ -48875,11 +50465,11 @@ "discriminatorValue": "web_search_preview", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4104", + "$id": "4173", "kind": "property", "name": "type", "serializedName": "type", @@ -48897,19 +50487,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4105", + "$id": "4174", "kind": "property", "name": "user_location", "serializedName": "user_location", "doc": "The user's location.", "type": { - "$id": "4106", + "$id": "4175", "kind": "nullable", "type": { - "$id": "4107", + "$id": "4176", "kind": "model", "name": "Location", "namespace": "OpenAI", @@ -48917,7 +50508,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4108", + "$id": "4177", "kind": "property", "name": "type", "serializedName": "type", @@ -48934,16 +50525,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4108" + "$ref": "4177" } ], "discriminatedSubtypes": { "approximate": { - "$id": "4109", + "$id": "4178", "kind": "model", "name": "ApproximateLocation", "namespace": "OpenAI", @@ -48952,11 +50544,11 @@ "discriminatorValue": "approximate", "decorators": [], "baseModel": { - "$ref": "4107" + "$ref": "4176" }, "properties": [ { - "$id": "4110", + "$id": "4179", "kind": "property", "name": "type", "serializedName": "type", @@ -48973,24 +50565,25 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4111", + "$id": "4180", "kind": "property", "name": "country", "serializedName": "country", "type": { - "$id": "4112", + "$id": "4181", "kind": "nullable", "type": { - "$id": "4113", + "$id": "4182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49002,24 +50595,25 @@ "json": { "name": "country" } - } + }, + "isHttpMetadata": false }, { - "$id": "4114", + "$id": "4183", "kind": "property", "name": "region", "serializedName": "region", "type": { - "$id": "4115", + "$id": "4184", "kind": "nullable", "type": { - "$id": "4116", + "$id": "4185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49031,24 +50625,25 @@ "json": { "name": "region" } - } + }, + "isHttpMetadata": false }, { - "$id": "4117", + "$id": "4186", "kind": "property", "name": "city", "serializedName": "city", "type": { - "$id": "4118", + "$id": "4187", "kind": "nullable", "type": { - "$id": "4119", + "$id": "4188", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49060,24 +50655,25 @@ "json": { "name": "city" } - } + }, + "isHttpMetadata": false }, { - "$id": "4120", + "$id": "4189", "kind": "property", "name": "timezone", "serializedName": "timezone", "type": { - "$id": "4121", + "$id": "4190", "kind": "nullable", "type": { - "$id": "4122", + "$id": "4191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49089,13 +50685,14 @@ "json": { "name": "timezone" } - } + }, + "isHttpMetadata": false } ] } } }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49107,10 +50704,11 @@ "json": { "name": "user_location" } - } + }, + "isHttpMetadata": false }, { - "$id": "4123", + "$id": "4192", "kind": "property", "name": "search_context_size", "serializedName": "search_context_size", @@ -49128,12 +50726,13 @@ "json": { "name": "search_context_size" } - } + }, + "isHttpMetadata": false } ] }, "code_interpreter": { - "$id": "4124", + "$id": "4193", "kind": "model", "name": "CodeInterpreterTool", "namespace": "OpenAI", @@ -49143,11 +50742,11 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4125", + "$id": "4194", "kind": "property", "name": "type", "serializedName": "type", @@ -49165,28 +50764,29 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4126", + "$id": "4195", "kind": "property", "name": "container", "serializedName": "container", "doc": "The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code.", "type": { - "$id": "4127", + "$id": "4196", "kind": "union", "name": "CodeInterpreterToolContainer", "variantTypes": [ { - "$id": "4128", + "$id": "4197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4129", + "$id": "4198", "kind": "model", "name": "CodeInterpreterToolAuto", "namespace": "OpenAI", @@ -49196,7 +50796,7 @@ "decorators": [], "properties": [ { - "$id": "4130", + "$id": "4199", "kind": "property", "name": "type", "serializedName": "type", @@ -49214,10 +50814,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4131", + "$id": "4200", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -49235,12 +50836,13 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -49253,12 +50855,13 @@ "json": { "name": "container" } - } + }, + "isHttpMetadata": false } ] }, "image_generation": { - "$id": "4132", + "$id": "4201", "kind": "model", "name": "ImageGenTool", "namespace": "OpenAI", @@ -49268,11 +50871,11 @@ "discriminatorValue": "image_generation", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4133", + "$id": "4202", "kind": "property", "name": "type", "serializedName": "type", @@ -49290,10 +50893,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4134", + "$id": "4203", "kind": "property", "name": "model", "serializedName": "model", @@ -49311,10 +50915,11 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "4135", + "$id": "4204", "kind": "property", "name": "quality", "serializedName": "quality", @@ -49332,10 +50937,11 @@ "json": { "name": "quality" } - } + }, + "isHttpMetadata": false }, { - "$id": "4136", + "$id": "4205", "kind": "property", "name": "size", "serializedName": "size", @@ -49353,10 +50959,11 @@ "json": { "name": "size" } - } + }, + "isHttpMetadata": false }, { - "$id": "4137", + "$id": "4206", "kind": "property", "name": "output_format", "serializedName": "output_format", @@ -49374,16 +50981,17 @@ "json": { "name": "output_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "4138", + "$id": "4207", "kind": "property", "name": "output_compression", "serializedName": "output_compression", "doc": "Compression level for the output image. Default: 100.", "type": { - "$id": "4139", + "$id": "4208", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49399,10 +51007,11 @@ "json": { "name": "output_compression" } - } + }, + "isHttpMetadata": false }, { - "$id": "4140", + "$id": "4209", "kind": "property", "name": "moderation", "serializedName": "moderation", @@ -49420,10 +51029,11 @@ "json": { "name": "moderation" } - } + }, + "isHttpMetadata": false }, { - "$id": "4141", + "$id": "4210", "kind": "property", "name": "background", "serializedName": "background", @@ -49441,16 +51051,17 @@ "json": { "name": "background" } - } + }, + "isHttpMetadata": false }, { - "$id": "4142", + "$id": "4211", "kind": "property", "name": "input_image_mask", "serializedName": "input_image_mask", "doc": "Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).", "type": { - "$id": "4143", + "$id": "4212", "kind": "model", "name": "ImageGenToolInputImageMask", "namespace": "OpenAI", @@ -49459,13 +51070,13 @@ "decorators": [], "properties": [ { - "$id": "4144", + "$id": "4213", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "Base64-encoded mask image.", "type": { - "$id": "4145", + "$id": "4214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49481,16 +51092,17 @@ "json": { "name": "image_url" } - } + }, + "isHttpMetadata": false }, { - "$id": "4146", + "$id": "4215", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "File ID for the mask image.", "type": { - "$id": "4147", + "$id": "4216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49506,7 +51118,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -49520,16 +51133,17 @@ "json": { "name": "input_image_mask" } - } + }, + "isHttpMetadata": false }, { - "$id": "4148", + "$id": "4217", "kind": "property", "name": "partial_images", "serializedName": "partial_images", "doc": "Number of partial images to generate in streaming mode, from 0 (default value) to 3.", "type": { - "$id": "4149", + "$id": "4218", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -49545,12 +51159,13 @@ "json": { "name": "partial_images" } - } + }, + "isHttpMetadata": false } ] }, "local_shell": { - "$id": "4150", + "$id": "4219", "kind": "model", "name": "LocalShellTool", "namespace": "OpenAI", @@ -49560,11 +51175,11 @@ "discriminatorValue": "local_shell", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4151", + "$id": "4220", "kind": "property", "name": "type", "serializedName": "type", @@ -49582,12 +51197,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "mcp": { - "$id": "4152", + "$id": "4221", "kind": "model", "name": "MCPTool", "namespace": "OpenAI", @@ -49597,11 +51213,11 @@ "discriminatorValue": "mcp", "decorators": [], "baseModel": { - "$ref": "4038" + "$ref": "4107" }, "properties": [ { - "$id": "4153", + "$id": "4222", "kind": "property", "name": "type", "serializedName": "type", @@ -49619,16 +51235,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4154", + "$id": "4223", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "A label for this MCP server, used to identify it in tool calls.", "type": { - "$id": "4155", + "$id": "4224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49644,16 +51261,17 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4156", + "$id": "4225", "kind": "property", "name": "server_url", "serializedName": "server_url", "doc": "The URL for the MCP server.", "type": { - "$id": "4157", + "$id": "4226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -49669,21 +51287,22 @@ "json": { "name": "server_url" } - } + }, + "isHttpMetadata": false }, { - "$id": "4158", + "$id": "4227", "kind": "property", "name": "headers", "serializedName": "headers", "doc": "Optional HTTP headers to send to the MCP server. Use for authentication\nor other purposes.", "type": { - "$id": "4159", + "$id": "4228", "kind": "nullable", "type": { "$ref": "2316" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49695,19 +51314,20 @@ "json": { "name": "headers" } - } + }, + "isHttpMetadata": false }, { - "$id": "4160", + "$id": "4229", "kind": "property", "name": "allowed_tools", "serializedName": "allowed_tools", "doc": "List of allowed tool names or a filter object.", "type": { - "$id": "4161", + "$id": "4230", "kind": "nullable", "type": { - "$id": "4162", + "$id": "4231", "kind": "union", "name": "MCPToolAllowedTools", "variantTypes": [ @@ -49715,7 +51335,7 @@ "$ref": "2309" }, { - "$id": "4163", + "$id": "4232", "kind": "model", "name": "MCPToolAllowedTools1", "namespace": "OpenAI", @@ -49724,7 +51344,7 @@ "decorators": [], "properties": [ { - "$id": "4164", + "$id": "4233", "kind": "property", "name": "tool_names", "serializedName": "tool_names", @@ -49742,15 +51362,16 @@ "json": { "name": "tool_names" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49762,24 +51383,25 @@ "json": { "name": "allowed_tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "4165", + "$id": "4234", "kind": "property", "name": "require_approval", "serializedName": "require_approval", "doc": "Specify which of the MCP server's tools require approval.", "type": { - "$id": "4166", + "$id": "4235", "kind": "nullable", "type": { - "$id": "4167", + "$id": "4236", "kind": "union", "name": "MCPToolRequireApproval", "variantTypes": [ { - "$id": "4168", + "$id": "4237", "kind": "model", "name": "MCPToolRequireApproval1", "namespace": "OpenAI", @@ -49788,13 +51410,13 @@ "decorators": [], "properties": [ { - "$id": "4169", + "$id": "4238", "kind": "property", "name": "always", "serializedName": "always", "doc": "A list of tools that always require approval.", "type": { - "$id": "4170", + "$id": "4239", "kind": "model", "name": "MCPToolRequireApprovalAlways", "namespace": "OpenAI", @@ -49803,7 +51425,7 @@ "decorators": [], "properties": [ { - "$id": "4171", + "$id": "4240", "kind": "property", "name": "tool_names", "serializedName": "tool_names", @@ -49821,7 +51443,8 @@ "json": { "name": "tool_names" } - } + }, + "isHttpMetadata": false } ] }, @@ -49835,16 +51458,17 @@ "json": { "name": "always" } - } + }, + "isHttpMetadata": false }, { - "$id": "4172", + "$id": "4241", "kind": "property", "name": "never", "serializedName": "never", "doc": "A list of tools that never require approval.", "type": { - "$id": "4173", + "$id": "4242", "kind": "model", "name": "MCPToolRequireApprovalNever", "namespace": "OpenAI", @@ -49853,7 +51477,7 @@ "decorators": [], "properties": [ { - "$id": "4174", + "$id": "4243", "kind": "property", "name": "tool_names", "serializedName": "tool_names", @@ -49871,7 +51495,8 @@ "json": { "name": "tool_names" } - } + }, + "isHttpMetadata": false } ] }, @@ -49885,7 +51510,8 @@ "json": { "name": "never" } - } + }, + "isHttpMetadata": false } ] }, @@ -49896,10 +51522,10 @@ "$ref": "1579" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -49911,7 +51537,8 @@ "json": { "name": "require_approval" } - } + }, + "isHttpMetadata": false } ] } @@ -49930,16 +51557,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "4175", + "$id": "4244", "kind": "property", "name": "text", "serializedName": "text", "doc": "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Structured Outputs](/docs/guides/structured-outputs)", "type": { - "$id": "4176", + "$id": "4245", "kind": "model", "name": "EvalResponsesRunDataSourceParamsSamplingParamsText", "namespace": "OpenAI", @@ -49948,12 +51576,12 @@ "decorators": [], "properties": [ { - "$id": "4177", + "$id": "4246", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "3987" + "$ref": "4056" }, "optional": true, "readOnly": false, @@ -49965,7 +51593,8 @@ "json": { "name": "format" } - } + }, + "isHttpMetadata": false } ] }, @@ -49979,7 +51608,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -49993,16 +51623,17 @@ "json": { "name": "sampling_params" } - } + }, + "isHttpMetadata": false }, { - "$id": "4178", + "$id": "4247", "kind": "property", "name": "model", "serializedName": "model", "doc": "The name of the model to use for generating completions (e.g. \"o3-mini\").", "type": { - "$id": "4179", + "$id": "4248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50018,30 +51649,31 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "4180", + "$id": "4249", "kind": "property", "name": "source", "serializedName": "source", "doc": "Determines what populates the `item` namespace in this run's data source.", "type": { - "$id": "4181", + "$id": "4250", "kind": "union", "name": "EvalResponsesRunDataSourceParamsSource", "variantTypes": [ { - "$ref": "3906" + "$ref": "3975" }, { - "$ref": "3909" + "$ref": "3978" }, { - "$ref": "3928" + "$ref": "3997" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -50054,7 +51686,8 @@ "json": { "name": "source" } - } + }, + "isHttpMetadata": false } ] } @@ -50070,162 +51703,163 @@ "json": { "name": "data_source" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "3900" + "$ref": "3969" }, { - "$ref": "3902" + "$ref": "3971" }, { - "$ref": "3906" + "$ref": "3975" }, { - "$ref": "3959" + "$ref": "4028" }, { - "$ref": "3907" + "$ref": "3976" }, { - "$ref": "3909" + "$ref": "3978" }, { - "$ref": "3913" + "$ref": "3982" }, { - "$ref": "3928" + "$ref": "3997" }, { - "$ref": "3962" + "$ref": "4031" }, { - "$ref": "3966" + "$ref": "4035" }, { - "$ref": "3972" + "$ref": "4041" }, { - "$ref": "3977" + "$ref": "4046" }, { - "$ref": "3987" + "$ref": "4056" }, { - "$ref": "3989" + "$ref": "4058" }, { - "$ref": "3991" + "$ref": "4060" }, { - "$ref": "3993" + "$ref": "4062" }, { - "$ref": "4008" + "$ref": "4077" }, { - "$ref": "4012" + "$ref": "4081" }, { - "$ref": "4017" + "$ref": "4086" }, { - "$ref": "4022" + "$ref": "4091" }, { - "$ref": "4027" + "$ref": "4096" }, { - "$ref": "4038" + "$ref": "4107" }, { - "$ref": "4040" + "$ref": "4109" }, { - "$ref": "4053" + "$ref": "4122" }, { - "$ref": "4059" + "$ref": "4128" }, { - "$ref": "4066" + "$ref": "4135" }, { - "$ref": "4075" + "$ref": "4144" }, { - "$ref": "4077" + "$ref": "4146" }, { - "$ref": "4079" + "$ref": "4148" }, { - "$ref": "4081" + "$ref": "4150" }, { - "$ref": "4083" + "$ref": "4152" }, { - "$ref": "4085" + "$ref": "4154" }, { - "$ref": "4087" + "$ref": "4156" }, { - "$ref": "4092" + "$ref": "4161" }, { - "$ref": "4094" + "$ref": "4163" }, { - "$ref": "4096" + "$ref": "4165" }, { - "$ref": "4103" + "$ref": "4172" }, { - "$ref": "4107" + "$ref": "4176" }, { - "$ref": "4109" + "$ref": "4178" }, { - "$ref": "4124" + "$ref": "4193" }, { - "$ref": "4129" + "$ref": "4198" }, { - "$ref": "4132" + "$ref": "4201" }, { - "$ref": "4143" + "$ref": "4212" }, { - "$ref": "4150" + "$ref": "4219" }, { - "$ref": "4152" + "$ref": "4221" }, { - "$ref": "4163" + "$ref": "4232" }, { - "$ref": "4168" + "$ref": "4237" }, { - "$ref": "4170" + "$ref": "4239" }, { - "$ref": "4173" + "$ref": "4242" }, { - "$ref": "4176" + "$ref": "4245" }, { - "$id": "4182", + "$id": "4251", "kind": "model", "name": "DeleteEvalRunResponse", "namespace": "OpenAI", @@ -50234,7 +51868,7 @@ "decorators": [], "properties": [ { - "$id": "4183", + "$id": "4252", "kind": "property", "name": "object", "serializedName": "object", @@ -50251,15 +51885,16 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "4184", + "$id": "4253", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "4185", + "$id": "4254", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -50275,15 +51910,16 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "4186", + "$id": "4255", "kind": "property", "name": "eval_run_id", "serializedName": "eval_run_id", "type": { - "$id": "4187", + "$id": "4256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50299,12 +51935,13 @@ "json": { "name": "eval_run_id" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "4188", + "$id": "4257", "kind": "model", "name": "EvalRunOutputItemList", "namespace": "OpenAI", @@ -50314,7 +51951,7 @@ "decorators": [], "properties": [ { - "$id": "4189", + "$id": "4258", "kind": "property", "name": "object", "serializedName": "object", @@ -50332,20 +51969,21 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "4190", + "$id": "4259", "kind": "property", "name": "data", "serializedName": "data", "doc": "An array of eval run output item objects.", "type": { - "$id": "4191", + "$id": "4260", "kind": "array", "name": "ArrayEvalRunOutputItem", "valueType": { - "$id": "4192", + "$id": "4261", "kind": "model", "name": "EvalRunOutputItem", "namespace": "OpenAI", @@ -50355,7 +51993,7 @@ "decorators": [], "properties": [ { - "$id": "4193", + "$id": "4262", "kind": "property", "name": "object", "serializedName": "object", @@ -50373,16 +52011,17 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "4194", + "$id": "4263", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for the evaluation run output item.", "type": { - "$id": "4195", + "$id": "4264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50398,16 +52037,17 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4196", + "$id": "4265", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The identifier of the evaluation run associated with this output item.", "type": { - "$id": "4197", + "$id": "4266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50423,16 +52063,17 @@ "json": { "name": "run_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4198", + "$id": "4267", "kind": "property", "name": "eval_id", "serializedName": "eval_id", "doc": "The identifier of the evaluation group.", "type": { - "$id": "4199", + "$id": "4268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50448,21 +52089,22 @@ "json": { "name": "eval_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4200", + "$id": "4269", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) when the evaluation run was created.", "type": { - "$id": "4201", + "$id": "4270", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4202", + "$id": "4271", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50481,16 +52123,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "4203", + "$id": "4272", "kind": "property", "name": "status", "serializedName": "status", "doc": "The status of the evaluation run.", "type": { - "$id": "4204", + "$id": "4273", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50506,16 +52149,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4205", + "$id": "4274", "kind": "property", "name": "datasource_item_id", "serializedName": "datasource_item_id", "doc": "The identifier for the data source item.", "type": { - "$id": "4206", + "$id": "4275", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50531,16 +52175,17 @@ "json": { "name": "datasource_item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4207", + "$id": "4276", "kind": "property", "name": "datasource_item", "serializedName": "datasource_item", "doc": "Details of the input data source item.", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": false, "readOnly": false, @@ -50552,20 +52197,21 @@ "json": { "name": "datasource_item" } - } + }, + "isHttpMetadata": false }, { - "$id": "4208", + "$id": "4277", "kind": "property", "name": "results", "serializedName": "results", "doc": "A list of results from the evaluation run.", "type": { - "$id": "4209", + "$id": "4278", "kind": "array", "name": "ArrayRecord", "valueType": { - "$ref": "3664" + "$ref": "3733" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -50580,16 +52226,17 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false }, { - "$id": "4210", + "$id": "4279", "kind": "property", "name": "sample", "serializedName": "sample", "doc": "A sample containing the input and output of the evaluation run.", "type": { - "$id": "4211", + "$id": "4280", "kind": "model", "name": "EvalRunOutputItemSample", "namespace": "OpenAI", @@ -50598,17 +52245,17 @@ "decorators": [], "properties": [ { - "$id": "4212", + "$id": "4281", "kind": "property", "name": "input", "serializedName": "input", "doc": "An array of input messages.", "type": { - "$id": "4213", + "$id": "4282", "kind": "array", "name": "Array21", "valueType": { - "$id": "4214", + "$id": "4283", "kind": "model", "name": "EvalRunOutputItemSampleInput", "namespace": "OpenAI", @@ -50617,13 +52264,13 @@ "decorators": [], "properties": [ { - "$id": "4215", + "$id": "4284", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message sender (e.g., system, user, developer).", "type": { - "$id": "4216", + "$id": "4285", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50639,16 +52286,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4217", + "$id": "4286", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4218", + "$id": "4287", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50664,7 +52312,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, @@ -50681,20 +52330,21 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "4219", + "$id": "4288", "kind": "property", "name": "output", "serializedName": "output", "doc": "An array of output messages.", "type": { - "$id": "4220", + "$id": "4289", "kind": "array", "name": "Array22", "valueType": { - "$id": "4221", + "$id": "4290", "kind": "model", "name": "EvalRunOutputItemSampleOutput", "namespace": "OpenAI", @@ -50703,13 +52353,13 @@ "decorators": [], "properties": [ { - "$id": "4222", + "$id": "4291", "kind": "property", "name": "role", "serializedName": "role", "doc": "The role of the message (e.g. \"system\", \"assistant\", \"user\").", "type": { - "$id": "4223", + "$id": "4292", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50725,16 +52375,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4224", + "$id": "4293", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message.", "type": { - "$id": "4225", + "$id": "4294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50750,7 +52401,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, @@ -50767,16 +52419,17 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false }, { - "$id": "4226", + "$id": "4295", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", "doc": "The reason why the sample generation was finished.", "type": { - "$id": "4227", + "$id": "4296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50792,16 +52445,17 @@ "json": { "name": "finish_reason" } - } + }, + "isHttpMetadata": false }, { - "$id": "4228", + "$id": "4297", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for generating the sample.", "type": { - "$id": "4229", + "$id": "4298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -50817,16 +52471,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "4230", + "$id": "4299", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "Token usage details for the sample.", "type": { - "$id": "4231", + "$id": "4300", "kind": "model", "name": "EvalRunOutputItemSampleUsage", "namespace": "OpenAI", @@ -50835,13 +52490,13 @@ "decorators": [], "properties": [ { - "$id": "4232", + "$id": "4301", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "4233", + "$id": "4302", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50857,16 +52512,17 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4234", + "$id": "4303", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "The number of completion tokens generated.", "type": { - "$id": "4235", + "$id": "4304", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50882,16 +52538,17 @@ "json": { "name": "completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4236", + "$id": "4305", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "The number of prompt tokens used.", "type": { - "$id": "4237", + "$id": "4306", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50907,16 +52564,17 @@ "json": { "name": "prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4238", + "$id": "4307", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens retrieved from cache.", "type": { - "$id": "4239", + "$id": "4308", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -50932,7 +52590,8 @@ "json": { "name": "cached_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -50946,15 +52605,16 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false }, { - "$id": "4240", + "$id": "4309", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$ref": "3884" + "$ref": "3953" }, "optional": false, "readOnly": false, @@ -50966,16 +52626,17 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false }, { - "$id": "4241", + "$id": "4310", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature used.", "type": { - "$id": "4242", + "$id": "4311", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -50991,16 +52652,17 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "4243", + "$id": "4312", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of tokens allowed for completion.", "type": { - "$id": "4244", + "$id": "4313", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51016,16 +52678,17 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4245", + "$id": "4314", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "The top_p value used for sampling.", "type": { - "$id": "4246", + "$id": "4315", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -51041,16 +52704,17 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "4247", + "$id": "4316", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "The seed used for generating the sample.", "type": { - "$id": "4248", + "$id": "4317", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -51066,7 +52730,8 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false } ] }, @@ -51080,7 +52745,8 @@ "json": { "name": "sample" } - } + }, + "isHttpMetadata": false } ] }, @@ -51097,16 +52763,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "4249", + "$id": "4318", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The identifier of the first eval run output item in the data array.", "type": { - "$id": "4250", + "$id": "4319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51122,16 +52789,17 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4251", + "$id": "4320", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The identifier of the last eval run output item in the data array.", "type": { - "$id": "4252", + "$id": "4321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51147,16 +52815,17 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4253", + "$id": "4322", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates whether there are more eval run output items available.", "type": { - "$id": "4254", + "$id": "4323", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -51172,27 +52841,28 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "4192" + "$ref": "4261" }, { - "$ref": "4211" + "$ref": "4280" }, { - "$ref": "4214" + "$ref": "4283" }, { - "$ref": "4221" + "$ref": "4290" }, { - "$ref": "4231" + "$ref": "4300" }, { - "$id": "4255", + "$id": "4324", "kind": "model", "name": "CreateResponse", "namespace": "OpenAI", @@ -51201,7 +52871,7 @@ "decorators": [], "properties": [ { - "$id": "4256", + "$id": "4325", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -51219,10 +52889,11 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "4257", + "$id": "4326", "kind": "property", "name": "temperature", "serializedName": "temperature", @@ -51240,10 +52911,11 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "4258", + "$id": "4327", "kind": "property", "name": "top_p", "serializedName": "top_p", @@ -51261,16 +52933,17 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "4259", + "$id": "4328", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "4260", + "$id": "4329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51286,10 +52959,11 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false }, { - "$id": "4261", + "$id": "4330", "kind": "property", "name": "service_tier", "serializedName": "service_tier", @@ -51306,25 +52980,26 @@ "json": { "name": "service_tier" } - } + }, + "isHttpMetadata": false }, { - "$id": "4262", + "$id": "4331", "kind": "property", "name": "previous_response_id", "serializedName": "previous_response_id", "doc": "The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](/docs/guides/conversation-state).", "type": { - "$id": "4263", + "$id": "4332", "kind": "nullable", "type": { - "$id": "4264", + "$id": "4333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51336,10 +53011,11 @@ "json": { "name": "previous_response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4265", + "$id": "4334", "kind": "property", "name": "model", "serializedName": "model", @@ -51357,18 +53033,19 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "4266", + "$id": "4335", "kind": "property", "name": "reasoning", "serializedName": "reasoning", "type": { - "$id": "4267", + "$id": "4336", "kind": "nullable", "type": { - "$id": "4268", + "$id": "4337", "kind": "model", "name": "Reasoning", "namespace": "OpenAI", @@ -51378,17 +53055,17 @@ "decorators": [], "properties": [ { - "$id": "4269", + "$id": "4338", "kind": "property", "name": "effort", "serializedName": "effort", "type": { - "$id": "4270", + "$id": "4339", "kind": "nullable", "type": { "$ref": "53" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51400,21 +53077,22 @@ "json": { "name": "effort" } - } + }, + "isHttpMetadata": false }, { - "$id": "4271", + "$id": "4340", "kind": "property", "name": "summary", "serializedName": "summary", "doc": "A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.", "type": { - "$id": "4272", + "$id": "4341", "kind": "nullable", "type": { "$ref": "533" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51426,21 +53104,22 @@ "json": { "name": "summary" } - } + }, + "isHttpMetadata": false }, { - "$id": "4273", + "$id": "4342", "kind": "property", "name": "generate_summary", "serializedName": "generate_summary", "doc": "**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.", "type": { - "$id": "4274", + "$id": "4343", "kind": "nullable", "type": { "$ref": "538" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51452,11 +53131,12 @@ "json": { "name": "generate_summary" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51468,25 +53148,26 @@ "json": { "name": "reasoning" } - } + }, + "isHttpMetadata": false }, { - "$id": "4275", + "$id": "4344", "kind": "property", "name": "background", "serializedName": "background", "doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).", "type": { - "$id": "4276", + "$id": "4345", "kind": "nullable", "type": { - "$id": "4277", + "$id": "4346", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51498,25 +53179,26 @@ "json": { "name": "background" } - } + }, + "isHttpMetadata": false }, { - "$id": "4278", + "$id": "4347", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).", "type": { - "$id": "4279", + "$id": "4348", "kind": "nullable", "type": { - "$id": "4280", + "$id": "4349", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51528,25 +53210,26 @@ "json": { "name": "max_output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4281", + "$id": "4350", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Inserts a system (or developer) message as the first item in the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.", "type": { - "$id": "4282", + "$id": "4351", "kind": "nullable", "type": { - "$id": "4283", + "$id": "4352", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51558,16 +53241,17 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "4284", + "$id": "4353", "kind": "property", "name": "text", "serializedName": "text", "doc": "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Structured Outputs](/docs/guides/structured-outputs)", "type": { - "$id": "4285", + "$id": "4354", "kind": "model", "name": "CreateResponseText", "namespace": "OpenAI", @@ -51576,12 +53260,12 @@ "decorators": [], "properties": [ { - "$id": "4286", + "$id": "4355", "kind": "property", "name": "format", "serializedName": "format", "type": { - "$ref": "3987" + "$ref": "4056" }, "optional": true, "readOnly": false, @@ -51593,7 +53277,8 @@ "json": { "name": "format" } - } + }, + "isHttpMetadata": false } ] }, @@ -51607,16 +53292,17 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { - "$id": "4287", + "$id": "4356", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nThe two categories of tools you can provide the model are:\n\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](/docs/guides/tools-web-search)\n or [file search](/docs/guides/tools-file-search). Learn more about\n [built-in tools](/docs/guides/tools).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code. Learn more about\n [function calling](/docs/guides/function-calling).", "type": { - "$ref": "4037" + "$ref": "4106" }, "optional": true, "readOnly": false, @@ -51628,16 +53314,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "4288", + "$id": "4357", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.", "type": { - "$id": "4289", + "$id": "4358", "kind": "union", "name": "CreateResponseToolChoice", "variantTypes": [ @@ -51645,7 +53332,7 @@ "$ref": "543" }, { - "$id": "4290", + "$id": "4359", "kind": "model", "name": "ToolChoiceObject", "namespace": "OpenAI", @@ -51653,7 +53340,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4291", + "$id": "4360", "kind": "property", "name": "type", "serializedName": "type", @@ -51670,16 +53357,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4291" + "$ref": "4360" } ], "discriminatedSubtypes": { "file_search": { - "$id": "4292", + "$id": "4361", "kind": "model", "name": "ToolChoiceObjectFileSearch", "namespace": "OpenAI", @@ -51688,11 +53376,11 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4293", + "$id": "4362", "kind": "property", "name": "type", "serializedName": "type", @@ -51709,12 +53397,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "computer_use_preview": { - "$id": "4294", + "$id": "4363", "kind": "model", "name": "ToolChoiceObjectComputer", "namespace": "OpenAI", @@ -51723,11 +53412,11 @@ "discriminatorValue": "computer_use_preview", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4295", + "$id": "4364", "kind": "property", "name": "type", "serializedName": "type", @@ -51744,12 +53433,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "web_search_preview": { - "$id": "4296", + "$id": "4365", "kind": "model", "name": "ToolChoiceObjectWebSearch", "namespace": "OpenAI", @@ -51758,11 +53448,11 @@ "discriminatorValue": "web_search_preview", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4297", + "$id": "4366", "kind": "property", "name": "type", "serializedName": "type", @@ -51779,12 +53469,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "image_generation": { - "$id": "4298", + "$id": "4367", "kind": "model", "name": "ToolChoiceObjectImageGen", "namespace": "OpenAI", @@ -51793,11 +53484,11 @@ "discriminatorValue": "image_generation", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4299", + "$id": "4368", "kind": "property", "name": "type", "serializedName": "type", @@ -51814,12 +53505,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "code_interpreter": { - "$id": "4300", + "$id": "4369", "kind": "model", "name": "ToolChoiceObjectCodeInterpreter", "namespace": "OpenAI", @@ -51828,11 +53520,11 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4301", + "$id": "4370", "kind": "property", "name": "type", "serializedName": "type", @@ -51849,12 +53541,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "mcp": { - "$id": "4302", + "$id": "4371", "kind": "model", "name": "ToolChoiceObjectMCP", "namespace": "OpenAI", @@ -51863,11 +53556,11 @@ "discriminatorValue": "mcp", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4303", + "$id": "4372", "kind": "property", "name": "type", "serializedName": "type", @@ -51884,12 +53577,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "function": { - "$id": "4304", + "$id": "4373", "kind": "model", "name": "ToolChoiceObjectFunction", "namespace": "OpenAI", @@ -51899,11 +53593,11 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "4290" + "$ref": "4359" }, "properties": [ { - "$id": "4305", + "$id": "4374", "kind": "property", "name": "type", "serializedName": "type", @@ -51921,16 +53615,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4306", + "$id": "4375", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "4307", + "$id": "4376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -51946,14 +53641,15 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] } } } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -51966,21 +53662,22 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "4308", + "$id": "4377", "kind": "property", "name": "truncation", "serializedName": "truncation", "doc": "The truncation strategy to use for the model response.\n- `auto`: If the context of this response and previous ones exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping input items in the\n middle of the conversation.\n- `disabled` (default): If a model response will exceed the context window\n size for a model, the request will fail with a 400 error.", "type": { - "$id": "4309", + "$id": "4378", "kind": "nullable", "type": { "$ref": "557" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -51992,37 +53689,38 @@ "json": { "name": "truncation" } - } + }, + "isHttpMetadata": false }, { - "$id": "4310", + "$id": "4379", "kind": "property", "name": "input", "serializedName": "input", "doc": "Text, image, or file inputs to the model, used to generate a response.\n\nLearn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Image inputs](/docs/guides/images)\n- [File inputs](/docs/guides/pdf-files)\n- [Conversation state](/docs/guides/conversation-state)\n- [Function calling](/docs/guides/function-calling)", "type": { - "$id": "4311", + "$id": "4380", "kind": "union", "name": "CreateResponseInput", "variantTypes": [ { - "$id": "4312", + "$id": "4381", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4313", + "$id": "4382", "kind": "array", "name": "Array23", "valueType": { - "$id": "4314", + "$id": "4383", "kind": "union", "name": "CreateResponseInput1", "variantTypes": [ { - "$id": "4315", + "$id": "4384", "kind": "model", "name": "ImplicitUserMessage", "namespace": "OpenAI", @@ -52031,28 +53729,28 @@ "decorators": [], "properties": [ { - "$id": "4316", + "$id": "4385", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "4317", + "$id": "4386", "kind": "union", "name": "ImplicitUserMessageContent", "variantTypes": [ { - "$id": "4318", + "$id": "4387", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "4319", + "$id": "4388", "kind": "array", "name": "ArrayItemContent", "valueType": { - "$id": "4320", + "$id": "4389", "kind": "model", "name": "ItemContent", "namespace": "OpenAI", @@ -52060,7 +53758,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4321", + "$id": "4390", "kind": "property", "name": "type", "serializedName": "type", @@ -52077,16 +53775,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4321" + "$ref": "4390" } ], "discriminatedSubtypes": { "input_audio": { - "$id": "4322", + "$id": "4391", "kind": "model", "name": "ItemContentInputAudio", "namespace": "OpenAI", @@ -52096,11 +53795,11 @@ "discriminatorValue": "input_audio", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4323", + "$id": "4392", "kind": "property", "name": "type", "serializedName": "type", @@ -52118,16 +53817,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4324", + "$id": "4393", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64-encoded audio data.", "type": { - "$id": "4325", + "$id": "4394", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52143,10 +53843,11 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "4326", + "$id": "4395", "kind": "property", "name": "format", "serializedName": "format", @@ -52164,12 +53865,13 @@ "json": { "name": "format" } - } + }, + "isHttpMetadata": false } ] }, "output_audio": { - "$id": "4327", + "$id": "4396", "kind": "model", "name": "ItemContentOutputAudio", "namespace": "OpenAI", @@ -52179,11 +53881,11 @@ "discriminatorValue": "output_audio", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4328", + "$id": "4397", "kind": "property", "name": "type", "serializedName": "type", @@ -52201,16 +53903,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4329", + "$id": "4398", "kind": "property", "name": "data", "serializedName": "data", "doc": "Base64-encoded audio data from the model.", "type": { - "$id": "4330", + "$id": "4399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52226,16 +53929,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "4331", + "$id": "4400", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The transcript of the audio data from the model.", "type": { - "$id": "4332", + "$id": "4401", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52251,12 +53955,13 @@ "json": { "name": "transcript" } - } + }, + "isHttpMetadata": false } ] }, "refusal": { - "$id": "4333", + "$id": "4402", "kind": "model", "name": "ItemContentRefusal", "namespace": "OpenAI", @@ -52266,11 +53971,11 @@ "discriminatorValue": "refusal", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4334", + "$id": "4403", "kind": "property", "name": "type", "serializedName": "type", @@ -52288,16 +53993,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4335", + "$id": "4404", "kind": "property", "name": "refusal", "serializedName": "refusal", "doc": "The refusal explanationfrom the model.", "type": { - "$id": "4336", + "$id": "4405", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52313,12 +54019,13 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false } ] }, "input_text": { - "$id": "4337", + "$id": "4406", "kind": "model", "name": "ItemContentInputText", "namespace": "OpenAI", @@ -52328,11 +54035,11 @@ "discriminatorValue": "input_text", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4338", + "$id": "4407", "kind": "property", "name": "type", "serializedName": "type", @@ -52350,16 +54057,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4339", + "$id": "4408", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text input to the model.", "type": { - "$id": "4340", + "$id": "4409", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52375,12 +54083,13 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, "input_image": { - "$id": "4341", + "$id": "4410", "kind": "model", "name": "ItemContentInputImage", "namespace": "OpenAI", @@ -52390,11 +54099,11 @@ "discriminatorValue": "input_image", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4342", + "$id": "4411", "kind": "property", "name": "type", "serializedName": "type", @@ -52412,25 +54121,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4343", + "$id": "4412", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.", "type": { - "$id": "4344", + "$id": "4413", "kind": "nullable", "type": { - "$id": "4345", + "$id": "4414", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -52442,25 +54152,26 @@ "json": { "name": "image_url" } - } + }, + "isHttpMetadata": false }, { - "$id": "4346", + "$id": "4415", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to be sent to the model.", "type": { - "$id": "4347", + "$id": "4416", "kind": "nullable", "type": { - "$id": "4348", + "$id": "4417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -52472,10 +54183,11 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4349", + "$id": "4418", "kind": "property", "name": "detail", "serializedName": "detail", @@ -52493,12 +54205,13 @@ "json": { "name": "detail" } - } + }, + "isHttpMetadata": false } ] }, "input_file": { - "$id": "4350", + "$id": "4419", "kind": "model", "name": "ItemContentInputFile", "namespace": "OpenAI", @@ -52508,11 +54221,11 @@ "discriminatorValue": "input_file", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4351", + "$id": "4420", "kind": "property", "name": "type", "serializedName": "type", @@ -52530,25 +54243,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4352", + "$id": "4421", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to be sent to the model.", "type": { - "$id": "4353", + "$id": "4422", "kind": "nullable", "type": { - "$id": "4354", + "$id": "4423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -52560,16 +54274,17 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4355", + "$id": "4424", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file to be sent to the model.", "type": { - "$id": "4356", + "$id": "4425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52585,16 +54300,17 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { - "$id": "4357", + "$id": "4426", "kind": "property", "name": "file_data", "serializedName": "file_data", "doc": "The content of the file to be sent to the model.", "type": { - "$id": "4358", + "$id": "4427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52610,12 +54326,13 @@ "json": { "name": "file_data" } - } + }, + "isHttpMetadata": false } ] }, "output_text": { - "$id": "4359", + "$id": "4428", "kind": "model", "name": "ItemContentOutputText", "namespace": "OpenAI", @@ -52625,11 +54342,11 @@ "discriminatorValue": "output_text", "decorators": [], "baseModel": { - "$ref": "4320" + "$ref": "4389" }, "properties": [ { - "$id": "4360", + "$id": "4429", "kind": "property", "name": "type", "serializedName": "type", @@ -52647,16 +54364,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4361", + "$id": "4430", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text output from the model.", "type": { - "$id": "4362", + "$id": "4431", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52672,20 +54390,21 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { - "$id": "4363", + "$id": "4432", "kind": "property", "name": "annotations", "serializedName": "annotations", "doc": "The annotations of the text output.", "type": { - "$id": "4364", + "$id": "4433", "kind": "array", "name": "ArrayAnnotation", "valueType": { - "$id": "4365", + "$id": "4434", "kind": "model", "name": "Annotation", "namespace": "OpenAI", @@ -52693,7 +54412,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4366", + "$id": "4435", "kind": "property", "name": "type", "serializedName": "type", @@ -52710,16 +54429,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4366" + "$ref": "4435" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "4367", + "$id": "4436", "kind": "model", "name": "AnnotationFileCitation", "namespace": "OpenAI", @@ -52729,11 +54449,11 @@ "discriminatorValue": "file_citation", "decorators": [], "baseModel": { - "$ref": "4365" + "$ref": "4434" }, "properties": [ { - "$id": "4368", + "$id": "4437", "kind": "property", "name": "type", "serializedName": "type", @@ -52751,16 +54471,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4369", + "$id": "4438", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file.", "type": { - "$id": "4370", + "$id": "4439", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52776,16 +54497,17 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4371", + "$id": "4440", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the file in the list of files.", "type": { - "$id": "4372", + "$id": "4441", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52801,12 +54523,13 @@ "json": { "name": "index" } - } + }, + "isHttpMetadata": false } ] }, "url_citation": { - "$id": "4373", + "$id": "4442", "kind": "model", "name": "AnnotationUrlCitation", "namespace": "OpenAI", @@ -52816,11 +54539,11 @@ "discriminatorValue": "url_citation", "decorators": [], "baseModel": { - "$ref": "4365" + "$ref": "4434" }, "properties": [ { - "$id": "4374", + "$id": "4443", "kind": "property", "name": "type", "serializedName": "type", @@ -52838,16 +54561,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4375", + "$id": "4444", "kind": "property", "name": "url", "serializedName": "url", "doc": "The URL of the web resource.", "type": { - "$id": "4376", + "$id": "4445", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -52863,16 +54587,17 @@ "json": { "name": "url" } - } + }, + "isHttpMetadata": false }, { - "$id": "4377", + "$id": "4446", "kind": "property", "name": "start_index", "serializedName": "start_index", "doc": "The index of the first character of the URL citation in the message.", "type": { - "$id": "4378", + "$id": "4447", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52888,16 +54613,17 @@ "json": { "name": "start_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "4379", + "$id": "4448", "kind": "property", "name": "end_index", "serializedName": "end_index", "doc": "The index of the last character of the URL citation in the message.", "type": { - "$id": "4380", + "$id": "4449", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -52913,16 +54639,17 @@ "json": { "name": "end_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "4381", + "$id": "4450", "kind": "property", "name": "title", "serializedName": "title", "doc": "The title of the web resource.", "type": { - "$id": "4382", + "$id": "4451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -52938,12 +54665,13 @@ "json": { "name": "title" } - } + }, + "isHttpMetadata": false } ] }, "file_path": { - "$id": "4383", + "$id": "4452", "kind": "model", "name": "AnnotationFilePath", "namespace": "OpenAI", @@ -52953,11 +54681,11 @@ "discriminatorValue": "file_path", "decorators": [], "baseModel": { - "$ref": "4365" + "$ref": "4434" }, "properties": [ { - "$id": "4384", + "$id": "4453", "kind": "property", "name": "type", "serializedName": "type", @@ -52975,16 +54703,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4385", + "$id": "4454", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file.", "type": { - "$id": "4386", + "$id": "4455", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53000,16 +54729,17 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4387", + "$id": "4456", "kind": "property", "name": "index", "serializedName": "index", "doc": "The index of the file in the list of files.", "type": { - "$id": "4388", + "$id": "4457", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53025,7 +54755,8 @@ "json": { "name": "index" } - } + }, + "isHttpMetadata": false } ] } @@ -53044,19 +54775,20 @@ "json": { "name": "annotations" } - } + }, + "isHttpMetadata": false }, { - "$id": "4389", + "$id": "4458", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "type": { - "$id": "4390", + "$id": "4459", "kind": "array", "name": "ArrayLogProb", "valueType": { - "$id": "4391", + "$id": "4460", "kind": "model", "name": "LogProb", "namespace": "OpenAI", @@ -53066,12 +54798,12 @@ "decorators": [], "properties": [ { - "$id": "4392", + "$id": "4461", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "4393", + "$id": "4462", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53087,15 +54819,16 @@ "json": { "name": "token" } - } + }, + "isHttpMetadata": false }, { - "$id": "4394", + "$id": "4463", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "4395", + "$id": "4464", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -53111,10 +54844,11 @@ "json": { "name": "logprob" } - } + }, + "isHttpMetadata": false }, { - "$id": "4396", + "$id": "4465", "kind": "property", "name": "bytes", "serializedName": "bytes", @@ -53131,19 +54865,20 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false }, { - "$id": "4397", + "$id": "4466", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "type": { - "$id": "4398", + "$id": "4467", "kind": "array", "name": "ArrayTopLogProb", "valueType": { - "$id": "4399", + "$id": "4468", "kind": "model", "name": "TopLogProb", "namespace": "OpenAI", @@ -53153,12 +54888,12 @@ "decorators": [], "properties": [ { - "$id": "4400", + "$id": "4469", "kind": "property", "name": "token", "serializedName": "token", "type": { - "$id": "4401", + "$id": "4470", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53174,15 +54909,16 @@ "json": { "name": "token" } - } + }, + "isHttpMetadata": false }, { - "$id": "4402", + "$id": "4471", "kind": "property", "name": "logprob", "serializedName": "logprob", "type": { - "$id": "4403", + "$id": "4472", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -53198,10 +54934,11 @@ "json": { "name": "logprob" } - } + }, + "isHttpMetadata": false }, { - "$id": "4404", + "$id": "4473", "kind": "property", "name": "bytes", "serializedName": "bytes", @@ -53218,7 +54955,8 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false } ] }, @@ -53235,7 +54973,8 @@ "json": { "name": "top_logprobs" } - } + }, + "isHttpMetadata": false } ] }, @@ -53252,7 +54991,8 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false } ] } @@ -53262,7 +55002,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -53275,12 +55015,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "4405", + "$id": "4474", "kind": "model", "name": "ItemParam", "namespace": "OpenAI", @@ -53289,7 +55030,7 @@ "doc": "Content item used to generate a response.", "decorators": [], "discriminatorProperty": { - "$id": "4406", + "$id": "4475", "kind": "property", "name": "type", "serializedName": "type", @@ -53306,16 +55047,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4406" + "$ref": "4475" } ], "discriminatedSubtypes": { "file_search_call": { - "$id": "4407", + "$id": "4476", "kind": "model", "name": "FileSearchToolCallItemParam", "namespace": "OpenAI", @@ -53325,11 +55067,11 @@ "discriminatorValue": "file_search_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4408", + "$id": "4477", "kind": "property", "name": "type", "serializedName": "type", @@ -53346,10 +55088,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4409", + "$id": "4478", "kind": "property", "name": "queries", "serializedName": "queries", @@ -53367,23 +55110,24 @@ "json": { "name": "queries" } - } + }, + "isHttpMetadata": false }, { - "$id": "4410", + "$id": "4479", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search tool call.", "type": { - "$id": "4411", + "$id": "4480", "kind": "nullable", "type": { - "$id": "4412", + "$id": "4481", "kind": "array", "name": "Array24", "valueType": { - "$id": "4413", + "$id": "4482", "kind": "model", "name": "FileSearchToolCallItemParamResult", "namespace": "OpenAI", @@ -53392,13 +55136,13 @@ "decorators": [], "properties": [ { - "$id": "4414", + "$id": "4483", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The unique ID of the file.", "type": { - "$id": "4415", + "$id": "4484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53414,16 +55158,17 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4416", + "$id": "4485", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text that was retrieved from the file.", "type": { - "$id": "4417", + "$id": "4486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53439,16 +55184,17 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { - "$id": "4418", + "$id": "4487", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file.", "type": { - "$id": "4419", + "$id": "4488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53464,15 +55210,16 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { - "$id": "4420", + "$id": "4489", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": true, "readOnly": false, @@ -53484,16 +55231,17 @@ "json": { "name": "attributes" } - } + }, + "isHttpMetadata": false }, { - "$id": "4421", + "$id": "4490", "kind": "property", "name": "score", "serializedName": "score", "doc": "The relevance score of the file - a value between 0 and 1.", "type": { - "$id": "4422", + "$id": "4491", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -53509,14 +55257,15 @@ "json": { "name": "score" } - } + }, + "isHttpMetadata": false } ] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -53528,12 +55277,13 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false } ] }, "computer_call": { - "$id": "4423", + "$id": "4492", "kind": "model", "name": "ComputerToolCallItemParam", "namespace": "OpenAI", @@ -53543,11 +55293,11 @@ "discriminatorValue": "computer_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4424", + "$id": "4493", "kind": "property", "name": "type", "serializedName": "type", @@ -53564,16 +55314,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4425", + "$id": "4494", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "An identifier used when responding to the tool call with output.", "type": { - "$id": "4426", + "$id": "4495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -53589,15 +55340,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4427", + "$id": "4496", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$id": "4428", + "$id": "4497", "kind": "model", "name": "ComputerAction", "namespace": "OpenAI", @@ -53605,7 +55357,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4429", + "$id": "4498", "kind": "property", "name": "type", "serializedName": "type", @@ -53622,16 +55374,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4429" + "$ref": "4498" } ], "discriminatedSubtypes": { "click": { - "$id": "4430", + "$id": "4499", "kind": "model", "name": "ComputerActionClick", "namespace": "OpenAI", @@ -53641,11 +55394,11 @@ "discriminatorValue": "click", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4431", + "$id": "4500", "kind": "property", "name": "type", "serializedName": "type", @@ -53663,10 +55416,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4432", + "$id": "4501", "kind": "property", "name": "button", "serializedName": "button", @@ -53684,16 +55438,17 @@ "json": { "name": "button" } - } + }, + "isHttpMetadata": false }, { - "$id": "4433", + "$id": "4502", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the click occurred.", "type": { - "$id": "4434", + "$id": "4503", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53709,16 +55464,17 @@ "json": { "name": "x" } - } + }, + "isHttpMetadata": false }, { - "$id": "4435", + "$id": "4504", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the click occurred.", "type": { - "$id": "4436", + "$id": "4505", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53734,12 +55490,13 @@ "json": { "name": "y" } - } + }, + "isHttpMetadata": false } ] }, "double_click": { - "$id": "4437", + "$id": "4506", "kind": "model", "name": "ComputerActionDoubleClick", "namespace": "OpenAI", @@ -53749,11 +55506,11 @@ "discriminatorValue": "double_click", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4438", + "$id": "4507", "kind": "property", "name": "type", "serializedName": "type", @@ -53771,16 +55528,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4439", + "$id": "4508", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the double click occurred.", "type": { - "$id": "4440", + "$id": "4509", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53796,16 +55554,17 @@ "json": { "name": "x" } - } + }, + "isHttpMetadata": false }, { - "$id": "4441", + "$id": "4510", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the double click occurred.", "type": { - "$id": "4442", + "$id": "4511", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53821,12 +55580,13 @@ "json": { "name": "y" } - } + }, + "isHttpMetadata": false } ] }, "drag": { - "$id": "4443", + "$id": "4512", "kind": "model", "name": "ComputerActionDrag", "namespace": "OpenAI", @@ -53836,11 +55596,11 @@ "discriminatorValue": "drag", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4444", + "$id": "4513", "kind": "property", "name": "type", "serializedName": "type", @@ -53858,20 +55618,21 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4445", + "$id": "4514", "kind": "property", "name": "path", "serializedName": "path", "doc": "An array of coordinates representing the path of the drag action. Coordinates will appear as an array\nof objects, eg\n```\n[\n { x: 100, y: 200 },\n { x: 200, y: 300 }\n]\n```", "type": { - "$id": "4446", + "$id": "4515", "kind": "array", "name": "ArrayCoordinate", "valueType": { - "$id": "4447", + "$id": "4516", "kind": "model", "name": "Coordinate", "namespace": "OpenAI", @@ -53881,13 +55642,13 @@ "decorators": [], "properties": [ { - "$id": "4448", + "$id": "4517", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate.", "type": { - "$id": "4449", + "$id": "4518", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53903,16 +55664,17 @@ "json": { "name": "x" } - } + }, + "isHttpMetadata": false }, { - "$id": "4450", + "$id": "4519", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate.", "type": { - "$id": "4451", + "$id": "4520", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -53928,7 +55690,8 @@ "json": { "name": "y" } - } + }, + "isHttpMetadata": false } ] }, @@ -53945,12 +55708,13 @@ "json": { "name": "path" } - } + }, + "isHttpMetadata": false } ] }, "move": { - "$id": "4452", + "$id": "4521", "kind": "model", "name": "ComputerActionMove", "namespace": "OpenAI", @@ -53960,11 +55724,11 @@ "discriminatorValue": "move", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4453", + "$id": "4522", "kind": "property", "name": "type", "serializedName": "type", @@ -53982,16 +55746,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4454", + "$id": "4523", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate to move to.", "type": { - "$id": "4455", + "$id": "4524", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54007,16 +55772,17 @@ "json": { "name": "x" } - } + }, + "isHttpMetadata": false }, { - "$id": "4456", + "$id": "4525", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate to move to.", "type": { - "$id": "4457", + "$id": "4526", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54032,12 +55798,13 @@ "json": { "name": "y" } - } + }, + "isHttpMetadata": false } ] }, "screenshot": { - "$id": "4458", + "$id": "4527", "kind": "model", "name": "ComputerActionScreenshot", "namespace": "OpenAI", @@ -54047,11 +55814,11 @@ "discriminatorValue": "screenshot", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4459", + "$id": "4528", "kind": "property", "name": "type", "serializedName": "type", @@ -54069,12 +55836,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "scroll": { - "$id": "4460", + "$id": "4529", "kind": "model", "name": "ComputerActionScroll", "namespace": "OpenAI", @@ -54084,11 +55852,11 @@ "discriminatorValue": "scroll", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4461", + "$id": "4530", "kind": "property", "name": "type", "serializedName": "type", @@ -54106,16 +55874,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4462", + "$id": "4531", "kind": "property", "name": "x", "serializedName": "x", "doc": "The x-coordinate where the scroll occurred.", "type": { - "$id": "4463", + "$id": "4532", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54131,16 +55900,17 @@ "json": { "name": "x" } - } + }, + "isHttpMetadata": false }, { - "$id": "4464", + "$id": "4533", "kind": "property", "name": "y", "serializedName": "y", "doc": "The y-coordinate where the scroll occurred.", "type": { - "$id": "4465", + "$id": "4534", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54156,16 +55926,17 @@ "json": { "name": "y" } - } + }, + "isHttpMetadata": false }, { - "$id": "4466", + "$id": "4535", "kind": "property", "name": "scroll_x", "serializedName": "scroll_x", "doc": "The horizontal scroll distance.", "type": { - "$id": "4467", + "$id": "4536", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54181,16 +55952,17 @@ "json": { "name": "scroll_x" } - } + }, + "isHttpMetadata": false }, { - "$id": "4468", + "$id": "4537", "kind": "property", "name": "scroll_y", "serializedName": "scroll_y", "doc": "The vertical scroll distance.", "type": { - "$id": "4469", + "$id": "4538", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -54206,12 +55978,13 @@ "json": { "name": "scroll_y" } - } + }, + "isHttpMetadata": false } ] }, "type": { - "$id": "4470", + "$id": "4539", "kind": "model", "name": "ComputerActionTypeKeys", "namespace": "OpenAI", @@ -54221,11 +55994,11 @@ "discriminatorValue": "type", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4471", + "$id": "4540", "kind": "property", "name": "type", "serializedName": "type", @@ -54243,16 +56016,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4472", + "$id": "4541", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text to type.", "type": { - "$id": "4473", + "$id": "4542", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54268,12 +56042,13 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, "wait": { - "$id": "4474", + "$id": "4543", "kind": "model", "name": "ComputerActionWait", "namespace": "OpenAI", @@ -54283,11 +56058,11 @@ "discriminatorValue": "wait", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4475", + "$id": "4544", "kind": "property", "name": "type", "serializedName": "type", @@ -54305,12 +56080,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "keypress": { - "$id": "4476", + "$id": "4545", "kind": "model", "name": "ComputerActionKeyPress", "namespace": "OpenAI", @@ -54320,11 +56096,11 @@ "discriminatorValue": "keypress", "decorators": [], "baseModel": { - "$ref": "4428" + "$ref": "4497" }, "properties": [ { - "$id": "4477", + "$id": "4546", "kind": "property", "name": "type", "serializedName": "type", @@ -54342,10 +56118,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4478", + "$id": "4547", "kind": "property", "name": "keys", "serializedName": "keys", @@ -54363,7 +56140,8 @@ "json": { "name": "keys" } - } + }, + "isHttpMetadata": false } ] } @@ -54379,20 +56157,21 @@ "json": { "name": "action" } - } + }, + "isHttpMetadata": false }, { - "$id": "4479", + "$id": "4548", "kind": "property", "name": "pending_safety_checks", "serializedName": "pending_safety_checks", "doc": "The pending safety checks for the computer call.", "type": { - "$id": "4480", + "$id": "4549", "kind": "array", "name": "ArrayComputerToolCallSafetyCheck", "valueType": { - "$id": "4481", + "$id": "4550", "kind": "model", "name": "ComputerToolCallSafetyCheck", "namespace": "OpenAI", @@ -54402,13 +56181,13 @@ "decorators": [], "properties": [ { - "$id": "4482", + "$id": "4551", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the pending safety check.", "type": { - "$id": "4483", + "$id": "4552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54424,16 +56203,17 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4484", + "$id": "4553", "kind": "property", "name": "code", "serializedName": "code", "doc": "The type of the pending safety check.", "type": { - "$id": "4485", + "$id": "4554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54449,16 +56229,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "4486", + "$id": "4555", "kind": "property", "name": "message", "serializedName": "message", "doc": "Details about the pending safety check.", "type": { - "$id": "4487", + "$id": "4556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54474,7 +56255,8 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false } ] }, @@ -54491,12 +56273,13 @@ "json": { "name": "pending_safety_checks" } - } + }, + "isHttpMetadata": false } ] }, "computer_call_output": { - "$id": "4488", + "$id": "4557", "kind": "model", "name": "ComputerToolCallOutputItemParam", "namespace": "OpenAI", @@ -54506,11 +56289,11 @@ "discriminatorValue": "computer_call_output", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4489", + "$id": "4558", "kind": "property", "name": "type", "serializedName": "type", @@ -54527,16 +56310,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4490", + "$id": "4559", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the computer tool call that produced the output.", "type": { - "$id": "4491", + "$id": "4560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54552,16 +56336,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4492", + "$id": "4561", "kind": "property", "name": "acknowledged_safety_checks", "serializedName": "acknowledged_safety_checks", "doc": "The safety checks reported by the API that have been acknowledged by the\ndeveloper.", "type": { - "$ref": "4480" + "$ref": "4549" }, "optional": true, "readOnly": false, @@ -54573,15 +56358,16 @@ "json": { "name": "acknowledged_safety_checks" } - } + }, + "isHttpMetadata": false }, { - "$id": "4493", + "$id": "4562", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "4494", + "$id": "4563", "kind": "model", "name": "ComputerToolCallOutputItemOutput", "namespace": "OpenAI", @@ -54589,7 +56375,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4495", + "$id": "4564", "kind": "property", "name": "type", "serializedName": "type", @@ -54606,16 +56392,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4495" + "$ref": "4564" } ], "discriminatedSubtypes": { "computer_screenshot": { - "$id": "4496", + "$id": "4565", "kind": "model", "name": "ComputerToolCallOutputItemOutputComputerScreenshot", "namespace": "OpenAI", @@ -54624,11 +56411,11 @@ "discriminatorValue": "computer_screenshot", "decorators": [], "baseModel": { - "$ref": "4494" + "$ref": "4563" }, "properties": [ { - "$id": "4497", + "$id": "4566", "kind": "property", "name": "type", "serializedName": "type", @@ -54645,15 +56432,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4498", + "$id": "4567", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "4499", + "$id": "4568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54669,15 +56457,16 @@ "json": { "name": "image_url" } - } + }, + "isHttpMetadata": false }, { - "$id": "4500", + "$id": "4569", "kind": "property", "name": "file_id", "serializedName": "file_id", "type": { - "$id": "4501", + "$id": "4570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54693,7 +56482,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] } @@ -54709,12 +56499,13 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, "web_search_call": { - "$id": "4502", + "$id": "4571", "kind": "model", "name": "WebSearchToolCallItemParam", "namespace": "OpenAI", @@ -54724,11 +56515,11 @@ "discriminatorValue": "web_search_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4503", + "$id": "4572", "kind": "property", "name": "type", "serializedName": "type", @@ -54745,12 +56536,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "function_call": { - "$id": "4504", + "$id": "4573", "kind": "model", "name": "FunctionToolCallItemParam", "namespace": "OpenAI", @@ -54760,11 +56552,11 @@ "discriminatorValue": "function_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4505", + "$id": "4574", "kind": "property", "name": "type", "serializedName": "type", @@ -54781,16 +56573,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4506", + "$id": "4575", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4507", + "$id": "4576", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54806,16 +56599,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4508", + "$id": "4577", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to run.", "type": { - "$id": "4509", + "$id": "4578", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54831,16 +56625,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4510", + "$id": "4579", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments to pass to the function.", "type": { - "$id": "4511", + "$id": "4580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54856,12 +56651,13 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, "function_call_output": { - "$id": "4512", + "$id": "4581", "kind": "model", "name": "FunctionToolCallOutputItemParam", "namespace": "OpenAI", @@ -54871,11 +56667,11 @@ "discriminatorValue": "function_call_output", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4513", + "$id": "4582", "kind": "property", "name": "type", "serializedName": "type", @@ -54892,16 +56688,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4514", + "$id": "4583", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4515", + "$id": "4584", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54917,16 +56714,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4516", + "$id": "4585", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the function tool call.", "type": { - "$id": "4517", + "$id": "4586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -54942,12 +56740,13 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, "reasoning": { - "$id": "4518", + "$id": "4587", "kind": "model", "name": "ReasoningItemParam", "namespace": "OpenAI", @@ -54957,11 +56756,11 @@ "discriminatorValue": "reasoning", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4519", + "$id": "4588", "kind": "property", "name": "type", "serializedName": "type", @@ -54978,25 +56777,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4520", + "$id": "4589", "kind": "property", "name": "encrypted_content", "serializedName": "encrypted_content", "doc": "The encrypted content of the reasoning item - populated when a response is\ngenerated with `reasoning.encrypted_content` in the `include` parameter.", "type": { - "$id": "4521", + "$id": "4590", "kind": "nullable", "type": { - "$id": "4522", + "$id": "4591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -55008,20 +56808,21 @@ "json": { "name": "encrypted_content" } - } + }, + "isHttpMetadata": false }, { - "$id": "4523", + "$id": "4592", "kind": "property", "name": "summary", "serializedName": "summary", "doc": "Reasoning text contents.", "type": { - "$id": "4524", + "$id": "4593", "kind": "array", "name": "ArrayReasoningItemSummaryPart", "valueType": { - "$id": "4525", + "$id": "4594", "kind": "model", "name": "ReasoningItemSummaryPart", "namespace": "OpenAI", @@ -55029,7 +56830,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "4526", + "$id": "4595", "kind": "property", "name": "type", "serializedName": "type", @@ -55046,16 +56847,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4526" + "$ref": "4595" } ], "discriminatedSubtypes": { "summary_text": { - "$id": "4527", + "$id": "4596", "kind": "model", "name": "ReasoningItemSummaryTextPart", "namespace": "OpenAI", @@ -55064,11 +56866,11 @@ "discriminatorValue": "summary_text", "decorators": [], "baseModel": { - "$ref": "4525" + "$ref": "4594" }, "properties": [ { - "$id": "4528", + "$id": "4597", "kind": "property", "name": "type", "serializedName": "type", @@ -55085,15 +56887,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4529", + "$id": "4598", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "4530", + "$id": "4599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55109,7 +56912,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] } @@ -55128,12 +56932,13 @@ "json": { "name": "summary" } - } + }, + "isHttpMetadata": false } ] }, "item_reference": { - "$id": "4531", + "$id": "4600", "kind": "model", "name": "ItemReferenceItemParam", "namespace": "OpenAI", @@ -55143,11 +56948,11 @@ "discriminatorValue": "item_reference", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4532", + "$id": "4601", "kind": "property", "name": "type", "serializedName": "type", @@ -55164,16 +56969,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4533", + "$id": "4602", "kind": "property", "name": "id", "serializedName": "id", "doc": "The service-originated ID of the previously generated response item being referenced.", "type": { - "$id": "4534", + "$id": "4603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55189,12 +56995,13 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ] }, "image_generation_call": { - "$id": "4535", + "$id": "4604", "kind": "model", "name": "ImageGenToolCallItemParam", "namespace": "OpenAI", @@ -55204,11 +57011,11 @@ "discriminatorValue": "image_generation_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4536", + "$id": "4605", "kind": "property", "name": "type", "serializedName": "type", @@ -55225,25 +57032,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4537", + "$id": "4606", "kind": "property", "name": "result", "serializedName": "result", "doc": "The generated image encoded in base64.", "type": { - "$id": "4538", + "$id": "4607", "kind": "nullable", "type": { - "$id": "4539", + "$id": "4608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -55255,12 +57063,13 @@ "json": { "name": "result" } - } + }, + "isHttpMetadata": false } ] }, "code_interpreter_call": { - "$id": "4540", + "$id": "4609", "kind": "model", "name": "CodeInterpreterToolCallItemParam", "namespace": "OpenAI", @@ -55270,11 +57079,11 @@ "discriminatorValue": "code_interpreter_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4541", + "$id": "4610", "kind": "property", "name": "type", "serializedName": "type", @@ -55291,16 +57100,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4542", + "$id": "4611", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container used to run the code.", "type": { - "$id": "4543", + "$id": "4612", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55316,16 +57126,17 @@ "json": { "name": "container_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4544", + "$id": "4613", "kind": "property", "name": "code", "serializedName": "code", "doc": "The code to run.", "type": { - "$id": "4545", + "$id": "4614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55341,25 +57152,26 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "4546", + "$id": "4615", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the code interpreter tool call.", "type": { - "$id": "4547", + "$id": "4616", "kind": "array", "name": "ArrayCodeInterpreterToolOutput", "valueType": { - "$id": "4548", + "$id": "4617", "kind": "union", "name": "CodeInterpreterToolOutput", "variantTypes": [ { - "$id": "4549", + "$id": "4618", "kind": "model", "name": "CodeInterpreterTextOutput", "namespace": "OpenAI", @@ -55369,7 +57181,7 @@ "decorators": [], "properties": [ { - "$id": "4550", + "$id": "4619", "kind": "property", "name": "type", "serializedName": "type", @@ -55387,16 +57199,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4551", + "$id": "4620", "kind": "property", "name": "logs", "serializedName": "logs", "doc": "The logs of the code interpreter tool call.", "type": { - "$id": "4552", + "$id": "4621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55412,12 +57225,13 @@ "json": { "name": "logs" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "4553", + "$id": "4622", "kind": "model", "name": "CodeInterpreterFileOutput", "namespace": "OpenAI", @@ -55427,7 +57241,7 @@ "decorators": [], "properties": [ { - "$id": "4554", + "$id": "4623", "kind": "property", "name": "type", "serializedName": "type", @@ -55445,19 +57259,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4555", + "$id": "4624", "kind": "property", "name": "files", "serializedName": "files", "type": { - "$id": "4556", + "$id": "4625", "kind": "array", "name": "Array25", "valueType": { - "$id": "4557", + "$id": "4626", "kind": "model", "name": "CodeInterpreterFileOutputFile", "namespace": "OpenAI", @@ -55466,13 +57281,13 @@ "decorators": [], "properties": [ { - "$id": "4558", + "$id": "4627", "kind": "property", "name": "mime_type", "serializedName": "mime_type", "doc": "The MIME type of the file.", "type": { - "$id": "4559", + "$id": "4628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55488,16 +57303,17 @@ "json": { "name": "mime_type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4560", + "$id": "4629", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file.", "type": { - "$id": "4561", + "$id": "4630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55513,7 +57329,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -55530,7 +57347,8 @@ "json": { "name": "files" } - } + }, + "isHttpMetadata": false } ] } @@ -55551,12 +57369,13 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false } ] }, "local_shell_call": { - "$id": "4562", + "$id": "4631", "kind": "model", "name": "LocalShellToolCallItemParam", "namespace": "OpenAI", @@ -55566,11 +57385,11 @@ "discriminatorValue": "local_shell_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4563", + "$id": "4632", "kind": "property", "name": "type", "serializedName": "type", @@ -55587,16 +57406,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4564", + "$id": "4633", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the local shell tool call generated by the model.", "type": { - "$id": "4565", + "$id": "4634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55612,15 +57432,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4566", + "$id": "4635", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$id": "4567", + "$id": "4636", "kind": "model", "name": "LocalShellExecAction", "namespace": "OpenAI", @@ -55630,7 +57451,7 @@ "decorators": [], "properties": [ { - "$id": "4568", + "$id": "4637", "kind": "property", "name": "type", "serializedName": "type", @@ -55648,10 +57469,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4569", + "$id": "4638", "kind": "property", "name": "command", "serializedName": "command", @@ -55669,25 +57491,26 @@ "json": { "name": "command" } - } + }, + "isHttpMetadata": false }, { - "$id": "4570", + "$id": "4639", "kind": "property", "name": "timeout_ms", "serializedName": "timeout_ms", "doc": "Optional timeout in milliseconds for the command.", "type": { - "$id": "4571", + "$id": "4640", "kind": "nullable", "type": { - "$id": "4572", + "$id": "4641", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -55699,25 +57522,26 @@ "json": { "name": "timeout_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "4573", + "$id": "4642", "kind": "property", "name": "working_directory", "serializedName": "working_directory", "doc": "Optional working directory to run the command in.", "type": { - "$id": "4574", + "$id": "4643", "kind": "nullable", "type": { - "$id": "4575", + "$id": "4644", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -55729,10 +57553,11 @@ "json": { "name": "working_directory" } - } + }, + "isHttpMetadata": false }, { - "$id": "4576", + "$id": "4645", "kind": "property", "name": "env", "serializedName": "env", @@ -55750,25 +57575,26 @@ "json": { "name": "env" } - } + }, + "isHttpMetadata": false }, { - "$id": "4577", + "$id": "4646", "kind": "property", "name": "user", "serializedName": "user", "doc": "Optional user to run the command as.", "type": { - "$id": "4578", + "$id": "4647", "kind": "nullable", "type": { - "$id": "4579", + "$id": "4648", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -55780,7 +57606,8 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false } ] }, @@ -55794,12 +57621,13 @@ "json": { "name": "action" } - } + }, + "isHttpMetadata": false } ] }, "local_shell_call_output": { - "$id": "4580", + "$id": "4649", "kind": "model", "name": "LocalShellToolCallOutputItemParam", "namespace": "OpenAI", @@ -55809,11 +57637,11 @@ "discriminatorValue": "local_shell_call_output", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4581", + "$id": "4650", "kind": "property", "name": "type", "serializedName": "type", @@ -55830,16 +57658,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4582", + "$id": "4651", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the local shell tool call.", "type": { - "$id": "4583", + "$id": "4652", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55855,12 +57684,13 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, "mcp_list_tools": { - "$id": "4584", + "$id": "4653", "kind": "model", "name": "MCPListToolsItemParam", "namespace": "OpenAI", @@ -55870,11 +57700,11 @@ "discriminatorValue": "mcp_list_tools", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4585", + "$id": "4654", "kind": "property", "name": "type", "serializedName": "type", @@ -55891,16 +57721,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4586", + "$id": "4655", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "4587", + "$id": "4656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55916,20 +57747,21 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4588", + "$id": "4657", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$id": "4589", + "$id": "4658", "kind": "array", "name": "ArrayMcpListToolsTool", "valueType": { - "$id": "4590", + "$id": "4659", "kind": "model", "name": "MCPListToolsTool", "namespace": "OpenAI", @@ -55939,13 +57771,13 @@ "decorators": [], "properties": [ { - "$id": "4591", + "$id": "4660", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool.", "type": { - "$id": "4592", + "$id": "4661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -55961,25 +57793,26 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4593", + "$id": "4662", "kind": "property", "name": "description", "serializedName": "description", "doc": "The description of the tool.", "type": { - "$id": "4594", + "$id": "4663", "kind": "nullable", "type": { - "$id": "4595", + "$id": "4664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -55991,16 +57824,17 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { - "$id": "4596", + "$id": "4665", "kind": "property", "name": "input_schema", "serializedName": "input_schema", "doc": "The JSON schema describing the tool's input.", "type": { - "$id": "4597", + "$id": "4666", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -56016,25 +57850,26 @@ "json": { "name": "input_schema" } - } + }, + "isHttpMetadata": false }, { - "$id": "4598", + "$id": "4667", "kind": "property", "name": "annotations", "serializedName": "annotations", "doc": "Additional annotations about the tool.", "type": { - "$id": "4599", + "$id": "4668", "kind": "nullable", "type": { - "$id": "4600", + "$id": "4669", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56046,7 +57881,8 @@ "json": { "name": "annotations" } - } + }, + "isHttpMetadata": false } ] }, @@ -56063,25 +57899,26 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "4601", + "$id": "4670", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error message if the server could not list tools.", "type": { - "$id": "4602", + "$id": "4671", "kind": "nullable", "type": { - "$id": "4603", + "$id": "4672", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56093,12 +57930,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, "mcp_approval_request": { - "$id": "4604", + "$id": "4673", "kind": "model", "name": "MCPApprovalRequestItemParam", "namespace": "OpenAI", @@ -56108,11 +57946,11 @@ "discriminatorValue": "mcp_approval_request", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4605", + "$id": "4674", "kind": "property", "name": "type", "serializedName": "type", @@ -56129,16 +57967,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4606", + "$id": "4675", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "4607", + "$id": "4676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56154,16 +57993,17 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4608", + "$id": "4677", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "4609", + "$id": "4678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56179,16 +58019,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4610", + "$id": "4679", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "4611", + "$id": "4680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56204,12 +58045,13 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, "mcp_approval_response": { - "$id": "4612", + "$id": "4681", "kind": "model", "name": "MCPApprovalResponseItemParam", "namespace": "OpenAI", @@ -56219,11 +58061,11 @@ "discriminatorValue": "mcp_approval_response", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4613", + "$id": "4682", "kind": "property", "name": "type", "serializedName": "type", @@ -56240,16 +58082,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4614", + "$id": "4683", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "4615", + "$id": "4684", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56265,16 +58108,17 @@ "json": { "name": "approval_request_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4616", + "$id": "4685", "kind": "property", "name": "approve", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "4617", + "$id": "4686", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -56290,25 +58134,26 @@ "json": { "name": "approve" } - } + }, + "isHttpMetadata": false }, { - "$id": "4618", + "$id": "4687", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "Optional reason for the decision.", "type": { - "$id": "4619", + "$id": "4688", "kind": "nullable", "type": { - "$id": "4620", + "$id": "4689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56320,12 +58165,13 @@ "json": { "name": "reason" } - } + }, + "isHttpMetadata": false } ] }, "mcp_call": { - "$id": "4621", + "$id": "4690", "kind": "model", "name": "MCPCallItemParam", "namespace": "OpenAI", @@ -56335,11 +58181,11 @@ "discriminatorValue": "mcp_call", "decorators": [], "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4622", + "$id": "4691", "kind": "property", "name": "type", "serializedName": "type", @@ -56356,16 +58202,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4623", + "$id": "4692", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "4624", + "$id": "4693", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56381,16 +58228,17 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4625", + "$id": "4694", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "4626", + "$id": "4695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56406,16 +58254,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4627", + "$id": "4696", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "4628", + "$id": "4697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -56431,25 +58280,26 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false }, { - "$id": "4629", + "$id": "4698", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output from the tool call.", "type": { - "$id": "4630", + "$id": "4699", "kind": "nullable", "type": { - "$id": "4631", + "$id": "4700", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56461,25 +58311,26 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false }, { - "$id": "4632", + "$id": "4701", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error from the tool call, if any.", "type": { - "$id": "4633", + "$id": "4702", "kind": "nullable", "type": { - "$id": "4634", + "$id": "4703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56491,12 +58342,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, "message": { - "$id": "4635", + "$id": "4704", "kind": "model", "name": "ResponsesMessageItemParam", "namespace": "OpenAI", @@ -56506,7 +58358,7 @@ "discriminatorValue": "message", "decorators": [], "discriminatorProperty": { - "$id": "4636", + "$id": "4705", "kind": "property", "name": "role", "serializedName": "role", @@ -56524,14 +58376,15 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, "baseModel": { - "$ref": "4405" + "$ref": "4474" }, "properties": [ { - "$id": "4637", + "$id": "4706", "kind": "property", "name": "type", "serializedName": "type", @@ -56549,15 +58402,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$ref": "4636" + "$ref": "4705" } ], "discriminatedSubtypes": { "user": { - "$id": "4638", + "$id": "4707", "kind": "model", "name": "ResponsesUserMessageItemParam", "namespace": "OpenAI", @@ -56567,11 +58421,11 @@ "discriminatorValue": "user", "decorators": [], "baseModel": { - "$ref": "4635" + "$ref": "4704" }, "properties": [ { - "$id": "4639", + "$id": "4708", "kind": "property", "name": "role", "serializedName": "role", @@ -56589,16 +58443,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4640", + "$id": "4709", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -56610,12 +58465,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "system": { - "$id": "4641", + "$id": "4710", "kind": "model", "name": "ResponsesSystemMessageItemParam", "namespace": "OpenAI", @@ -56625,11 +58481,11 @@ "discriminatorValue": "system", "decorators": [], "baseModel": { - "$ref": "4635" + "$ref": "4704" }, "properties": [ { - "$id": "4642", + "$id": "4711", "kind": "property", "name": "role", "serializedName": "role", @@ -56647,16 +58503,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4643", + "$id": "4712", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -56668,12 +58525,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "developer": { - "$id": "4644", + "$id": "4713", "kind": "model", "name": "ResponsesDeveloperMessageItemParam", "namespace": "OpenAI", @@ -56683,11 +58541,11 @@ "discriminatorValue": "developer", "decorators": [], "baseModel": { - "$ref": "4635" + "$ref": "4704" }, "properties": [ { - "$id": "4645", + "$id": "4714", "kind": "property", "name": "role", "serializedName": "role", @@ -56705,16 +58563,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4646", + "$id": "4715", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -56726,12 +58585,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "assistant": { - "$id": "4647", + "$id": "4716", "kind": "model", "name": "ResponsesAssistantMessageItemParam", "namespace": "OpenAI", @@ -56741,11 +58601,11 @@ "discriminatorValue": "assistant", "decorators": [], "baseModel": { - "$ref": "4635" + "$ref": "4704" }, "properties": [ { - "$id": "4648", + "$id": "4717", "kind": "property", "name": "role", "serializedName": "role", @@ -56763,16 +58623,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4649", + "$id": "4718", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -56784,7 +58645,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] } @@ -56793,14 +58655,14 @@ } } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -56813,19 +58675,20 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "4650", + "$id": "4719", "kind": "property", "name": "include", "serializedName": "include", "doc": "Specify additional output data to include in the model response. Currently\nsupported values are:\n- `file_search_call.results`: Include the search results of\n the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning\n tokens in reasoning item outputs. This enables reasoning items to be used in\n multi-turn conversations when using the Responses API statelessly (like\n when the `store` parameter is set to `false`, or when an organization is\n enrolled in the zero data retention program).\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution\n in code interpreter tool call items.", "type": { - "$id": "4651", + "$id": "4720", "kind": "nullable", "type": { - "$id": "4652", + "$id": "4721", "kind": "array", "name": "ArrayIncludable", "valueType": { @@ -56834,7 +58697,7 @@ "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56846,25 +58709,26 @@ "json": { "name": "include" } - } + }, + "isHttpMetadata": false }, { - "$id": "4653", + "$id": "4722", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "doc": "Whether to allow the model to run tool calls in parallel.", "type": { - "$id": "4654", + "$id": "4723", "kind": "nullable", "type": { - "$id": "4655", + "$id": "4724", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56876,25 +58740,26 @@ "json": { "name": "parallel_tool_calls" } - } + }, + "isHttpMetadata": false }, { - "$id": "4656", + "$id": "4725", "kind": "property", "name": "store", "serializedName": "store", "doc": "Whether to store the generated model response for later retrieval via\nAPI.", "type": { - "$id": "4657", + "$id": "4726", "kind": "nullable", "type": { - "$id": "4658", + "$id": "4727", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56906,25 +58771,26 @@ "json": { "name": "store" } - } + }, + "isHttpMetadata": false }, { - "$id": "4659", + "$id": "4728", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If set to true, the model response data will be streamed to the client\nas it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\nSee the [Streaming section below](/docs/api-reference/responses-streaming)\nfor more information.", "type": { - "$id": "4660", + "$id": "4729", "kind": "nullable", "type": { - "$id": "4661", + "$id": "4730", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -56936,219 +58802,220 @@ "json": { "name": "stream" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "4268" + "$ref": "4337" }, { - "$ref": "4285" + "$ref": "4354" }, { - "$ref": "4290" + "$ref": "4359" }, { - "$ref": "4292" + "$ref": "4361" }, { - "$ref": "4294" + "$ref": "4363" }, { - "$ref": "4296" + "$ref": "4365" }, { - "$ref": "4298" + "$ref": "4367" }, { - "$ref": "4300" + "$ref": "4369" }, { - "$ref": "4302" + "$ref": "4371" }, { - "$ref": "4304" + "$ref": "4373" }, { - "$ref": "4315" + "$ref": "4384" }, { - "$ref": "4320" + "$ref": "4389" }, { - "$ref": "4322" + "$ref": "4391" }, { - "$ref": "4327" + "$ref": "4396" }, { - "$ref": "4333" + "$ref": "4402" }, { - "$ref": "4337" + "$ref": "4406" }, { - "$ref": "4341" + "$ref": "4410" }, { - "$ref": "4350" + "$ref": "4419" }, { - "$ref": "4359" + "$ref": "4428" }, { - "$ref": "4365" + "$ref": "4434" }, { - "$ref": "4367" + "$ref": "4436" }, { - "$ref": "4373" + "$ref": "4442" }, { - "$ref": "4383" + "$ref": "4452" }, { - "$ref": "4391" + "$ref": "4460" }, { - "$ref": "4399" + "$ref": "4468" }, { - "$ref": "4405" + "$ref": "4474" }, { - "$ref": "4407" + "$ref": "4476" }, { - "$ref": "4413" + "$ref": "4482" }, { - "$ref": "4423" + "$ref": "4492" }, { - "$ref": "4428" + "$ref": "4497" }, { - "$ref": "4430" + "$ref": "4499" }, { - "$ref": "4437" + "$ref": "4506" }, { - "$ref": "4443" + "$ref": "4512" }, { - "$ref": "4447" + "$ref": "4516" }, { - "$ref": "4452" + "$ref": "4521" }, { - "$ref": "4458" + "$ref": "4527" }, { - "$ref": "4460" + "$ref": "4529" }, { - "$ref": "4470" + "$ref": "4539" }, { - "$ref": "4474" + "$ref": "4543" }, { - "$ref": "4476" + "$ref": "4545" }, { - "$ref": "4481" + "$ref": "4550" }, { - "$ref": "4488" + "$ref": "4557" }, { - "$ref": "4494" + "$ref": "4563" }, { - "$ref": "4496" + "$ref": "4565" }, { - "$ref": "4502" + "$ref": "4571" }, { - "$ref": "4504" + "$ref": "4573" }, { - "$ref": "4512" + "$ref": "4581" }, { - "$ref": "4518" + "$ref": "4587" }, { - "$ref": "4525" + "$ref": "4594" }, { - "$ref": "4527" + "$ref": "4596" }, { - "$ref": "4531" + "$ref": "4600" }, { - "$ref": "4535" + "$ref": "4604" }, { - "$ref": "4540" + "$ref": "4609" }, { - "$ref": "4549" + "$ref": "4618" }, { - "$ref": "4553" + "$ref": "4622" }, { - "$ref": "4557" + "$ref": "4626" }, { - "$ref": "4562" + "$ref": "4631" }, { - "$ref": "4567" + "$ref": "4636" }, { - "$ref": "4580" + "$ref": "4649" }, { - "$ref": "4584" + "$ref": "4653" }, { - "$ref": "4590" + "$ref": "4659" }, { - "$ref": "4604" + "$ref": "4673" }, { - "$ref": "4612" + "$ref": "4681" }, { - "$ref": "4621" + "$ref": "4690" }, { - "$ref": "4635" + "$ref": "4704" }, { - "$ref": "4638" + "$ref": "4707" }, { - "$ref": "4641" + "$ref": "4710" }, { - "$ref": "4644" + "$ref": "4713" }, { - "$ref": "4647" + "$ref": "4716" }, { - "$id": "4662", + "$id": "4731", "kind": "model", "name": "Response", "namespace": "OpenAI", @@ -57157,7 +59024,7 @@ "decorators": [], "properties": [ { - "$id": "4663", + "$id": "4732", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -57175,25 +59042,26 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "4664", + "$id": "4733", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.", "type": { - "$id": "4665", + "$id": "4734", "kind": "nullable", "type": { - "$id": "4666", + "$id": "4735", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -57205,25 +59073,26 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "4667", + "$id": "4736", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.", "type": { - "$id": "4668", + "$id": "4737", "kind": "nullable", "type": { - "$id": "4669", + "$id": "4738", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -57235,25 +59104,26 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "4670", + "$id": "4739", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "4671", + "$id": "4740", "kind": "nullable", "type": { - "$id": "4672", + "$id": "4741", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -57265,10 +59135,11 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false }, { - "$id": "4673", + "$id": "4742", "kind": "property", "name": "service_tier", "serializedName": "service_tier", @@ -57285,16 +59156,17 @@ "json": { "name": "service_tier" } - } + }, + "isHttpMetadata": false }, { - "$id": "4674", + "$id": "4743", "kind": "property", "name": "previous_response_id", "serializedName": "previous_response_id", "doc": "The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](/docs/guides/conversation-state).", "type": { - "$ref": "4263" + "$ref": "4332" }, "optional": true, "readOnly": false, @@ -57306,10 +59178,11 @@ "json": { "name": "previous_response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4675", + "$id": "4744", "kind": "property", "name": "model", "serializedName": "model", @@ -57327,15 +59200,16 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "4676", + "$id": "4745", "kind": "property", "name": "reasoning", "serializedName": "reasoning", "type": { - "$ref": "4267" + "$ref": "4336" }, "optional": true, "readOnly": false, @@ -57347,16 +59221,17 @@ "json": { "name": "reasoning" } - } + }, + "isHttpMetadata": false }, { - "$id": "4677", + "$id": "4746", "kind": "property", "name": "background", "serializedName": "background", "doc": "Whether to run the model response in the background.\n[Learn more](/docs/guides/background).", "type": { - "$ref": "4276" + "$ref": "4345" }, "optional": true, "readOnly": false, @@ -57368,16 +59243,17 @@ "json": { "name": "background" } - } + }, + "isHttpMetadata": false }, { - "$id": "4678", + "$id": "4747", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).", "type": { - "$ref": "4279" + "$ref": "4348" }, "optional": true, "readOnly": false, @@ -57389,16 +59265,17 @@ "json": { "name": "max_output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4679", + "$id": "4748", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Inserts a system (or developer) message as the first item in the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.", "type": { - "$ref": "4282" + "$ref": "4351" }, "optional": true, "readOnly": false, @@ -57410,16 +59287,17 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "4680", + "$id": "4749", "kind": "property", "name": "text", "serializedName": "text", "doc": "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](/docs/guides/text)\n- [Structured Outputs](/docs/guides/structured-outputs)", "type": { - "$ref": "4285" + "$ref": "4354" }, "optional": true, "readOnly": false, @@ -57431,16 +59309,17 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { - "$id": "4681", + "$id": "4750", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nThe two categories of tools you can provide the model are:\n\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](/docs/guides/tools-web-search)\n or [file search](/docs/guides/tools-file-search). Learn more about\n [built-in tools](/docs/guides/tools).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code. Learn more about\n [function calling](/docs/guides/function-calling).", "type": { - "$ref": "4037" + "$ref": "4106" }, "optional": true, "readOnly": false, @@ -57452,16 +59331,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "4682", + "$id": "4751", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.", "type": { - "$ref": "4289" + "$ref": "4358" }, "optional": true, "readOnly": false, @@ -57473,16 +59353,17 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "4683", + "$id": "4752", "kind": "property", "name": "truncation", "serializedName": "truncation", "doc": "The truncation strategy to use for the model response.\n- `auto`: If the context of this response and previous ones exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping input items in the\n middle of the conversation.\n- `disabled` (default): If a model response will exceed the context window\n size for a model, the request will fail with a 400 error.", "type": { - "$ref": "4309" + "$ref": "4378" }, "optional": true, "readOnly": false, @@ -57494,16 +59375,17 @@ "json": { "name": "truncation" } - } + }, + "isHttpMetadata": false }, { - "$id": "4684", + "$id": "4753", "kind": "property", "name": "id", "serializedName": "id", "doc": "Unique identifier for this Response.", "type": { - "$id": "4685", + "$id": "4754", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57519,10 +59401,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4686", + "$id": "4755", "kind": "property", "name": "object", "serializedName": "object", @@ -57540,10 +59423,11 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "4687", + "$id": "4756", "kind": "property", "name": "status", "serializedName": "status", @@ -57561,21 +59445,22 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4688", + "$id": "4757", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "Unix timestamp (in seconds) of when this Response was created.", "type": { - "$id": "4689", + "$id": "4758", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "4690", + "$id": "4759", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -57594,18 +59479,19 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "4691", + "$id": "4760", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$id": "4692", + "$id": "4761", "kind": "nullable", "type": { - "$id": "4693", + "$id": "4762", "kind": "model", "name": "ResponseError", "namespace": "OpenAI", @@ -57615,7 +59501,7 @@ "decorators": [], "properties": [ { - "$id": "4694", + "$id": "4763", "kind": "property", "name": "code", "serializedName": "code", @@ -57632,16 +59518,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "4695", + "$id": "4764", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "4696", + "$id": "4765", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57657,11 +59544,12 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -57673,19 +59561,20 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false }, { - "$id": "4697", + "$id": "4766", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "Details about why the response is incomplete.", "type": { - "$id": "4698", + "$id": "4767", "kind": "nullable", "type": { - "$id": "4699", + "$id": "4768", "kind": "model", "name": "ResponseIncompleteDetails1", "namespace": "OpenAI", @@ -57694,7 +59583,7 @@ "decorators": [], "properties": [ { - "$id": "4700", + "$id": "4769", "kind": "property", "name": "reason", "serializedName": "reason", @@ -57712,11 +59601,12 @@ "json": { "name": "reason" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -57728,20 +59618,21 @@ "json": { "name": "incomplete_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "4701", + "$id": "4770", "kind": "property", "name": "output", "serializedName": "output", "doc": "An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.", "type": { - "$id": "4702", + "$id": "4771", "kind": "array", "name": "ArrayItemResource", "valueType": { - "$id": "4703", + "$id": "4772", "kind": "model", "name": "ItemResource", "namespace": "OpenAI", @@ -57750,7 +59641,7 @@ "doc": "Content item used to generate a response.", "decorators": [], "discriminatorProperty": { - "$id": "4704", + "$id": "4773", "kind": "property", "name": "type", "serializedName": "type", @@ -57767,19 +59658,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4704" + "$ref": "4773" }, { - "$id": "4705", + "$id": "4774", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "4706", + "$id": "4775", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57795,12 +59687,13 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "file_search_call": { - "$id": "4707", + "$id": "4776", "kind": "model", "name": "FileSearchToolCallItemResource", "namespace": "OpenAI", @@ -57810,11 +59703,11 @@ "discriminatorValue": "file_search_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4708", + "$id": "4777", "kind": "property", "name": "type", "serializedName": "type", @@ -57831,10 +59724,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4709", + "$id": "4778", "kind": "property", "name": "status", "serializedName": "status", @@ -57852,10 +59746,11 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4710", + "$id": "4779", "kind": "property", "name": "queries", "serializedName": "queries", @@ -57873,16 +59768,17 @@ "json": { "name": "queries" } - } + }, + "isHttpMetadata": false }, { - "$id": "4711", + "$id": "4780", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search tool call.", "type": { - "$ref": "4411" + "$ref": "4480" }, "optional": true, "readOnly": false, @@ -57894,12 +59790,13 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false } ] }, "computer_call": { - "$id": "4712", + "$id": "4781", "kind": "model", "name": "ComputerToolCallItemResource", "namespace": "OpenAI", @@ -57909,11 +59806,11 @@ "discriminatorValue": "computer_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4713", + "$id": "4782", "kind": "property", "name": "type", "serializedName": "type", @@ -57930,10 +59827,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4714", + "$id": "4783", "kind": "property", "name": "status", "serializedName": "status", @@ -57951,16 +59849,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4715", + "$id": "4784", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "An identifier used when responding to the tool call with output.", "type": { - "$id": "4716", + "$id": "4785", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -57976,15 +59875,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4717", + "$id": "4786", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$ref": "4428" + "$ref": "4497" }, "optional": false, "readOnly": false, @@ -57996,16 +59896,17 @@ "json": { "name": "action" } - } + }, + "isHttpMetadata": false }, { - "$id": "4718", + "$id": "4787", "kind": "property", "name": "pending_safety_checks", "serializedName": "pending_safety_checks", "doc": "The pending safety checks for the computer call.", "type": { - "$ref": "4480" + "$ref": "4549" }, "optional": false, "readOnly": false, @@ -58017,12 +59918,13 @@ "json": { "name": "pending_safety_checks" } - } + }, + "isHttpMetadata": false } ] }, "computer_call_output": { - "$id": "4719", + "$id": "4788", "kind": "model", "name": "ComputerToolCallOutputItemResource", "namespace": "OpenAI", @@ -58032,11 +59934,11 @@ "discriminatorValue": "computer_call_output", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4720", + "$id": "4789", "kind": "property", "name": "type", "serializedName": "type", @@ -58053,10 +59955,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4721", + "$id": "4790", "kind": "property", "name": "status", "serializedName": "status", @@ -58074,16 +59977,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4722", + "$id": "4791", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the computer tool call that produced the output.", "type": { - "$id": "4723", + "$id": "4792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58099,16 +60003,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4724", + "$id": "4793", "kind": "property", "name": "acknowledged_safety_checks", "serializedName": "acknowledged_safety_checks", "doc": "The safety checks reported by the API that have been acknowledged by the\ndeveloper.", "type": { - "$ref": "4480" + "$ref": "4549" }, "optional": true, "readOnly": false, @@ -58120,15 +60025,16 @@ "json": { "name": "acknowledged_safety_checks" } - } + }, + "isHttpMetadata": false }, { - "$id": "4725", + "$id": "4794", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$ref": "4494" + "$ref": "4563" }, "optional": false, "readOnly": false, @@ -58140,12 +60046,13 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, "web_search_call": { - "$id": "4726", + "$id": "4795", "kind": "model", "name": "WebSearchToolCallItemResource", "namespace": "OpenAI", @@ -58155,11 +60062,11 @@ "discriminatorValue": "web_search_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4727", + "$id": "4796", "kind": "property", "name": "type", "serializedName": "type", @@ -58176,10 +60083,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4728", + "$id": "4797", "kind": "property", "name": "status", "serializedName": "status", @@ -58197,12 +60105,13 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false } ] }, "function_call": { - "$id": "4729", + "$id": "4798", "kind": "model", "name": "FunctionToolCallItemResource", "namespace": "OpenAI", @@ -58212,11 +60121,11 @@ "discriminatorValue": "function_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4730", + "$id": "4799", "kind": "property", "name": "type", "serializedName": "type", @@ -58233,10 +60142,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4731", + "$id": "4800", "kind": "property", "name": "status", "serializedName": "status", @@ -58254,16 +60164,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4732", + "$id": "4801", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4733", + "$id": "4802", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58279,16 +60190,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4734", + "$id": "4803", "kind": "property", "name": "FunctionName", "serializedName": "name", "doc": "The name of the function to run.", "type": { - "$id": "4735", + "$id": "4804", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58304,16 +60216,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4736", + "$id": "4805", "kind": "property", "name": "FunctionArguments", "serializedName": "arguments", "doc": "A JSON string of the arguments to pass to the function.", "type": { - "$id": "4737", + "$id": "4806", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -58329,12 +60242,13 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, "function_call_output": { - "$id": "4738", + "$id": "4807", "kind": "model", "name": "FunctionToolCallOutputItemResource", "namespace": "OpenAI", @@ -58344,11 +60258,11 @@ "discriminatorValue": "function_call_output", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4739", + "$id": "4808", "kind": "property", "name": "type", "serializedName": "type", @@ -58365,10 +60279,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4740", + "$id": "4809", "kind": "property", "name": "status", "serializedName": "status", @@ -58386,16 +60301,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4741", + "$id": "4810", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the function tool call generated by the model.", "type": { - "$id": "4742", + "$id": "4811", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58411,16 +60327,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4743", + "$id": "4812", "kind": "property", "name": "FunctionOutput", "serializedName": "output", "doc": "A JSON string of the output of the function tool call.", "type": { - "$id": "4744", + "$id": "4813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58436,12 +60353,13 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, "reasoning": { - "$id": "4745", + "$id": "4814", "kind": "model", "name": "ReasoningItemResource", "namespace": "OpenAI", @@ -58451,11 +60369,11 @@ "discriminatorValue": "reasoning", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4746", + "$id": "4815", "kind": "property", "name": "type", "serializedName": "type", @@ -58472,10 +60390,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4747", + "$id": "4816", "kind": "property", "name": "status", "serializedName": "status", @@ -58493,16 +60412,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4748", + "$id": "4817", "kind": "property", "name": "encrypted_content", "serializedName": "encrypted_content", "doc": "The encrypted content of the reasoning item - populated when a response is\ngenerated with `reasoning.encrypted_content` in the `include` parameter.", "type": { - "$ref": "4521" + "$ref": "4590" }, "optional": true, "readOnly": false, @@ -58514,16 +60434,17 @@ "json": { "name": "encrypted_content" } - } + }, + "isHttpMetadata": false }, { - "$id": "4749", + "$id": "4818", "kind": "property", "name": "SummaryParts", "serializedName": "summary", "doc": "Reasoning text contents.", "type": { - "$ref": "4524" + "$ref": "4593" }, "optional": false, "readOnly": false, @@ -58535,12 +60456,13 @@ "json": { "name": "summary" } - } + }, + "isHttpMetadata": false } ] }, "image_generation_call": { - "$id": "4750", + "$id": "4819", "kind": "model", "name": "ImageGenToolCallItemResource", "namespace": "OpenAI", @@ -58550,11 +60472,11 @@ "discriminatorValue": "image_generation_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4751", + "$id": "4820", "kind": "property", "name": "type", "serializedName": "type", @@ -58571,10 +60493,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4752", + "$id": "4821", "kind": "property", "name": "status", "serializedName": "status", @@ -58591,16 +60514,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4753", + "$id": "4822", "kind": "property", "name": "result", "serializedName": "result", "doc": "The generated image encoded in base64.", "type": { - "$ref": "4538" + "$ref": "4607" }, "optional": false, "readOnly": false, @@ -58612,12 +60536,13 @@ "json": { "name": "result" } - } + }, + "isHttpMetadata": false } ] }, "code_interpreter_call": { - "$id": "4754", + "$id": "4823", "kind": "model", "name": "CodeInterpreterToolCallItemResource", "namespace": "OpenAI", @@ -58627,11 +60552,11 @@ "discriminatorValue": "code_interpreter_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4755", + "$id": "4824", "kind": "property", "name": "type", "serializedName": "type", @@ -58648,10 +60573,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4756", + "$id": "4825", "kind": "property", "name": "status", "serializedName": "status", @@ -58668,16 +60594,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4757", + "$id": "4826", "kind": "property", "name": "container_id", "serializedName": "container_id", "doc": "The ID of the container used to run the code.", "type": { - "$id": "4758", + "$id": "4827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58693,16 +60620,17 @@ "json": { "name": "container_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4759", + "$id": "4828", "kind": "property", "name": "code", "serializedName": "code", "doc": "The code to run.", "type": { - "$id": "4760", + "$id": "4829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58718,16 +60646,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "4761", + "$id": "4830", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the code interpreter tool call.", "type": { - "$ref": "4547" + "$ref": "4616" }, "optional": false, "readOnly": false, @@ -58739,12 +60668,13 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false } ] }, "local_shell_call": { - "$id": "4762", + "$id": "4831", "kind": "model", "name": "LocalShellToolCallItemResource", "namespace": "OpenAI", @@ -58754,11 +60684,11 @@ "discriminatorValue": "local_shell_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4763", + "$id": "4832", "kind": "property", "name": "type", "serializedName": "type", @@ -58775,10 +60705,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4764", + "$id": "4833", "kind": "property", "name": "status", "serializedName": "status", @@ -58795,16 +60726,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4765", + "$id": "4834", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The unique ID of the local shell tool call generated by the model.", "type": { - "$id": "4766", + "$id": "4835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58820,15 +60752,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4767", + "$id": "4836", "kind": "property", "name": "action", "serializedName": "action", "type": { - "$ref": "4567" + "$ref": "4636" }, "optional": false, "readOnly": false, @@ -58840,12 +60773,13 @@ "json": { "name": "action" } - } + }, + "isHttpMetadata": false } ] }, "local_shell_call_output": { - "$id": "4768", + "$id": "4837", "kind": "model", "name": "LocalShellToolCallOutputItemResource", "namespace": "OpenAI", @@ -58855,11 +60789,11 @@ "discriminatorValue": "local_shell_call_output", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4769", + "$id": "4838", "kind": "property", "name": "type", "serializedName": "type", @@ -58876,10 +60810,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4770", + "$id": "4839", "kind": "property", "name": "status", "serializedName": "status", @@ -58896,16 +60831,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "4771", + "$id": "4840", "kind": "property", "name": "output", "serializedName": "output", "doc": "A JSON string of the output of the local shell tool call.", "type": { - "$id": "4772", + "$id": "4841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58921,12 +60857,13 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, "mcp_list_tools": { - "$id": "4773", + "$id": "4842", "kind": "model", "name": "MCPListToolsItemResource", "namespace": "OpenAI", @@ -58936,11 +60873,11 @@ "discriminatorValue": "mcp_list_tools", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4774", + "$id": "4843", "kind": "property", "name": "type", "serializedName": "type", @@ -58957,16 +60894,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4775", + "$id": "4844", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server.", "type": { - "$id": "4776", + "$id": "4845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -58982,16 +60920,17 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4777", + "$id": "4846", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools available on the server.", "type": { - "$ref": "4589" + "$ref": "4658" }, "optional": false, "readOnly": false, @@ -59003,16 +60942,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "4778", + "$id": "4847", "kind": "property", "name": "error", "serializedName": "error", "doc": "Error message if the server could not list tools.", "type": { - "$ref": "4602" + "$ref": "4671" }, "optional": true, "readOnly": false, @@ -59024,12 +60964,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, "mcp_approval_request": { - "$id": "4779", + "$id": "4848", "kind": "model", "name": "MCPApprovalRequestItemResource", "namespace": "OpenAI", @@ -59039,11 +60980,11 @@ "discriminatorValue": "mcp_approval_request", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4780", + "$id": "4849", "kind": "property", "name": "type", "serializedName": "type", @@ -59060,16 +61001,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4781", + "$id": "4850", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server making the request.", "type": { - "$id": "4782", + "$id": "4851", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59085,16 +61027,17 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4783", + "$id": "4852", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool to run.", "type": { - "$id": "4784", + "$id": "4853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59110,16 +61053,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4785", + "$id": "4854", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of arguments for the tool.", "type": { - "$id": "4786", + "$id": "4855", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59135,12 +61079,13 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, "mcp_approval_response": { - "$id": "4787", + "$id": "4856", "kind": "model", "name": "MCPApprovalResponseItemResource", "namespace": "OpenAI", @@ -59150,11 +61095,11 @@ "discriminatorValue": "mcp_approval_response", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4788", + "$id": "4857", "kind": "property", "name": "type", "serializedName": "type", @@ -59171,16 +61116,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4789", + "$id": "4858", "kind": "property", "name": "approval_request_id", "serializedName": "approval_request_id", "doc": "The ID of the approval request being answered.", "type": { - "$id": "4790", + "$id": "4859", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59196,16 +61142,17 @@ "json": { "name": "approval_request_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "4791", + "$id": "4860", "kind": "property", "name": "approve", "serializedName": "approve", "doc": "Whether the request was approved.", "type": { - "$id": "4792", + "$id": "4861", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -59221,16 +61168,17 @@ "json": { "name": "approve" } - } + }, + "isHttpMetadata": false }, { - "$id": "4793", + "$id": "4862", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "Optional reason for the decision.", "type": { - "$ref": "4619" + "$ref": "4688" }, "optional": true, "readOnly": false, @@ -59242,12 +61190,13 @@ "json": { "name": "reason" } - } + }, + "isHttpMetadata": false } ] }, "mcp_call": { - "$id": "4794", + "$id": "4863", "kind": "model", "name": "MCPCallItemResource", "namespace": "OpenAI", @@ -59257,11 +61206,11 @@ "discriminatorValue": "mcp_call", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4795", + "$id": "4864", "kind": "property", "name": "type", "serializedName": "type", @@ -59278,16 +61227,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4796", + "$id": "4865", "kind": "property", "name": "server_label", "serializedName": "server_label", "doc": "The label of the MCP server running the tool.", "type": { - "$id": "4797", + "$id": "4866", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59303,16 +61253,17 @@ "json": { "name": "server_label" } - } + }, + "isHttpMetadata": false }, { - "$id": "4798", + "$id": "4867", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the tool that was run.", "type": { - "$id": "4799", + "$id": "4868", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59328,16 +61279,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "4800", + "$id": "4869", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "A JSON string of the arguments passed to the tool.", "type": { - "$id": "4801", + "$id": "4870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -59353,16 +61305,17 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false }, { - "$id": "4802", + "$id": "4871", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output from the tool call.", "type": { - "$ref": "4630" + "$ref": "4699" }, "optional": true, "readOnly": false, @@ -59374,16 +61327,17 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false }, { - "$id": "4803", + "$id": "4872", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error from the tool call, if any.", "type": { - "$ref": "4633" + "$ref": "4702" }, "optional": true, "readOnly": false, @@ -59395,12 +61349,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, "message": { - "$id": "4804", + "$id": "4873", "kind": "model", "name": "ResponsesMessageItemResource", "namespace": "OpenAI", @@ -59410,7 +61365,7 @@ "discriminatorValue": "message", "decorators": [], "discriminatorProperty": { - "$id": "4805", + "$id": "4874", "kind": "property", "name": "role", "serializedName": "role", @@ -59428,14 +61383,15 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4806", + "$id": "4875", "kind": "property", "name": "type", "serializedName": "type", @@ -59453,10 +61409,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "4807", + "$id": "4876", "kind": "property", "name": "status", "serializedName": "status", @@ -59474,15 +61431,16 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$ref": "4805" + "$ref": "4874" } ], "discriminatedSubtypes": { "user": { - "$id": "4808", + "$id": "4877", "kind": "model", "name": "ResponsesUserMessageItemResource", "namespace": "OpenAI", @@ -59492,11 +61450,11 @@ "discriminatorValue": "user", "decorators": [], "baseModel": { - "$ref": "4804" + "$ref": "4873" }, "properties": [ { - "$id": "4809", + "$id": "4878", "kind": "property", "name": "role", "serializedName": "role", @@ -59514,16 +61472,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4810", + "$id": "4879", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -59535,12 +61494,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "system": { - "$id": "4811", + "$id": "4880", "kind": "model", "name": "ResponsesSystemMessageItemResource", "namespace": "OpenAI", @@ -59550,11 +61510,11 @@ "discriminatorValue": "system", "decorators": [], "baseModel": { - "$ref": "4804" + "$ref": "4873" }, "properties": [ { - "$id": "4812", + "$id": "4881", "kind": "property", "name": "role", "serializedName": "role", @@ -59572,16 +61532,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4813", + "$id": "4882", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -59593,12 +61554,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "developer": { - "$id": "4814", + "$id": "4883", "kind": "model", "name": "ResponsesDeveloperMessageItemResource", "namespace": "OpenAI", @@ -59608,11 +61570,11 @@ "discriminatorValue": "developer", "decorators": [], "baseModel": { - "$ref": "4804" + "$ref": "4873" }, "properties": [ { - "$id": "4815", + "$id": "4884", "kind": "property", "name": "role", "serializedName": "role", @@ -59630,16 +61592,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4816", + "$id": "4885", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -59651,12 +61614,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "assistant": { - "$id": "4817", + "$id": "4886", "kind": "model", "name": "ResponsesAssistantMessageItemResource", "namespace": "OpenAI", @@ -59666,11 +61630,11 @@ "discriminatorValue": "assistant", "decorators": [], "baseModel": { - "$ref": "4804" + "$ref": "4873" }, "properties": [ { - "$id": "4818", + "$id": "4887", "kind": "property", "name": "role", "serializedName": "role", @@ -59688,16 +61652,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "4819", + "$id": "4888", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content associated with the message.", "type": { - "$ref": "4319" + "$ref": "4388" }, "optional": false, "readOnly": false, @@ -59709,14 +61674,15 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] } } }, "item_reference": { - "$id": "4820", + "$id": "4889", "kind": "model", "name": "DotNetItemReferenceItemResource", "namespace": "OpenAI", @@ -59726,11 +61692,11 @@ "discriminatorValue": "item_reference", "decorators": [], "baseModel": { - "$ref": "4703" + "$ref": "4772" }, "properties": [ { - "$id": "4821", + "$id": "4890", "kind": "property", "name": "type", "serializedName": "type", @@ -59747,7 +61713,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] } @@ -59766,25 +61733,26 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false }, { - "$id": "4822", + "$id": "4891", "kind": "property", "name": "output_text", "serializedName": "output_text", "doc": "SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.", "type": { - "$id": "4823", + "$id": "4892", "kind": "nullable", "type": { - "$id": "4824", + "$id": "4893", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -59796,15 +61764,16 @@ "json": { "name": "output_text" } - } + }, + "isHttpMetadata": false }, { - "$id": "4825", + "$id": "4894", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "4826", + "$id": "4895", "kind": "model", "name": "ResponseUsage", "namespace": "OpenAI", @@ -59814,13 +61783,13 @@ "decorators": [], "properties": [ { - "$id": "4827", + "$id": "4896", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of input tokens.", "type": { - "$id": "4828", + "$id": "4897", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59836,16 +61805,17 @@ "json": { "name": "input_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4829", + "$id": "4898", "kind": "property", "name": "input_tokens_details", "serializedName": "input_tokens_details", "doc": "A detailed breakdown of the input tokens.", "type": { - "$id": "4830", + "$id": "4899", "kind": "model", "name": "ResponseUsageInputTokensDetails", "namespace": "OpenAI", @@ -59854,13 +61824,13 @@ "decorators": [], "properties": [ { - "$id": "4831", + "$id": "4900", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of tokens that were retrieved from the cache.\n[More on prompt caching](/docs/guides/prompt-caching).", "type": { - "$id": "4832", + "$id": "4901", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59876,7 +61846,8 @@ "json": { "name": "cached_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -59890,16 +61861,17 @@ "json": { "name": "input_tokens_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "4833", + "$id": "4902", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of output tokens.", "type": { - "$id": "4834", + "$id": "4903", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59915,16 +61887,17 @@ "json": { "name": "output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "4835", + "$id": "4904", "kind": "property", "name": "output_tokens_details", "serializedName": "output_tokens_details", "doc": "A detailed breakdown of the output tokens.", "type": { - "$id": "4836", + "$id": "4905", "kind": "model", "name": "ResponseUsageOutputTokensDetails", "namespace": "OpenAI", @@ -59933,13 +61906,13 @@ "decorators": [], "properties": [ { - "$id": "4837", + "$id": "4906", "kind": "property", "name": "reasoning_tokens", "serializedName": "reasoning_tokens", "doc": "The number of reasoning tokens.", "type": { - "$id": "4838", + "$id": "4907", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59955,7 +61928,8 @@ "json": { "name": "reasoning_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -59969,16 +61943,17 @@ "json": { "name": "output_tokens_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "4839", + "$id": "4908", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens used.", "type": { - "$id": "4840", + "$id": "4909", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -59994,7 +61969,8 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -60008,16 +61984,17 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false }, { - "$id": "4841", + "$id": "4910", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "doc": "Whether to allow the model to run tool calls in parallel.", "type": { - "$id": "4842", + "$id": "4911", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -60033,93 +62010,94 @@ "json": { "name": "parallel_tool_calls" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "4693" + "$ref": "4762" }, { - "$ref": "4699" + "$ref": "4768" }, { - "$ref": "4703" + "$ref": "4772" }, { - "$ref": "4707" + "$ref": "4776" }, { - "$ref": "4712" + "$ref": "4781" }, { - "$ref": "4719" + "$ref": "4788" }, { - "$ref": "4726" + "$ref": "4795" }, { - "$ref": "4729" + "$ref": "4798" }, { - "$ref": "4738" + "$ref": "4807" }, { - "$ref": "4745" + "$ref": "4814" }, { - "$ref": "4750" + "$ref": "4819" }, { - "$ref": "4754" + "$ref": "4823" }, { - "$ref": "4762" + "$ref": "4831" }, { - "$ref": "4768" + "$ref": "4837" }, { - "$ref": "4773" + "$ref": "4842" }, { - "$ref": "4779" + "$ref": "4848" }, { - "$ref": "4787" + "$ref": "4856" }, { - "$ref": "4794" + "$ref": "4863" }, { - "$ref": "4804" + "$ref": "4873" }, { - "$ref": "4808" + "$ref": "4877" }, { - "$ref": "4811" + "$ref": "4880" }, { - "$ref": "4814" + "$ref": "4883" }, { - "$ref": "4817" + "$ref": "4886" }, { - "$ref": "4820" + "$ref": "4889" }, { - "$ref": "4826" + "$ref": "4895" }, { - "$ref": "4830" + "$ref": "4899" }, { - "$ref": "4836" + "$ref": "4905" }, { - "$id": "4843", + "$id": "4912", "kind": "model", "name": "ResponseStreamEvent", "namespace": "OpenAI", @@ -60127,10 +62105,9 @@ "usage": "Output", "decorators": [], "discriminatorProperty": { - "$id": "4844", + "$id": "4913", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "737" }, @@ -60140,20 +62117,20 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseStreamEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "4844" + "$ref": "4913" }, { - "$id": "4845", + "$id": "4914", "kind": "property", "name": "sequence_number", - "serializedName": "sequence_number", "doc": "The sequence number for this event.", "type": { - "$id": "4846", + "$id": "4915", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60165,12 +62142,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseStreamEvent.sequence_number", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "response.completed": { - "$id": "4847", + "$id": "4916", "kind": "model", "name": "ResponseCompletedEvent", "namespace": "OpenAI", @@ -60180,14 +62158,13 @@ "discriminatorValue": "response.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4848", + "$id": "4917", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.completed`.", "type": { "$ref": "748" @@ -60198,16 +62175,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4849", + "$id": "4918", "kind": "property", "name": "response", - "serializedName": "response", "doc": "Properties of the completed response.", "type": { - "$ref": "4662" + "$ref": "4731" }, "optional": false, "readOnly": false, @@ -60215,12 +62192,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCompletedEvent.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.content_part.added": { - "$id": "4850", + "$id": "4919", "kind": "model", "name": "ResponseContentPartAddedEvent", "namespace": "OpenAI", @@ -60230,14 +62208,13 @@ "discriminatorValue": "response.content_part.added", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4851", + "$id": "4920", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.content_part.added`.", "type": { "$ref": "749" @@ -60248,16 +62225,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4852", + "$id": "4921", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { - "$id": "4853", + "$id": "4922", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60269,16 +62246,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4854", + "$id": "4923", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { - "$id": "4855", + "$id": "4924", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60290,16 +62267,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4856", + "$id": "4925", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part that was added.", "type": { - "$id": "4857", + "$id": "4926", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60311,16 +62288,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4858", + "$id": "4927", "kind": "property", "name": "part", - "serializedName": "part", "doc": "The content part that was added.", "type": { - "$ref": "4320" + "$ref": "4389" }, "optional": false, "readOnly": false, @@ -60328,12 +62305,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartAddedEvent.part", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.content_part.done": { - "$id": "4859", + "$id": "4928", "kind": "model", "name": "ResponseContentPartDoneEvent", "namespace": "OpenAI", @@ -60343,14 +62321,13 @@ "discriminatorValue": "response.content_part.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4860", + "$id": "4929", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.content_part.done`.", "type": { "$ref": "750" @@ -60361,16 +62338,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4861", + "$id": "4930", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the content part was added to.", "type": { - "$id": "4862", + "$id": "4931", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60382,16 +62359,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4863", + "$id": "4932", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the content part was added to.", "type": { - "$id": "4864", + "$id": "4933", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60403,16 +62380,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4865", + "$id": "4934", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part that is done.", "type": { - "$id": "4866", + "$id": "4935", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60424,16 +62401,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4867", + "$id": "4936", "kind": "property", "name": "part", - "serializedName": "part", "doc": "The content part that is done.", "type": { - "$ref": "4320" + "$ref": "4389" }, "optional": false, "readOnly": false, @@ -60441,12 +62418,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseContentPartDoneEvent.part", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.created": { - "$id": "4868", + "$id": "4937", "kind": "model", "name": "ResponseCreatedEvent", "namespace": "OpenAI", @@ -60456,14 +62434,13 @@ "discriminatorValue": "response.created", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4869", + "$id": "4938", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.created`.", "type": { "$ref": "751" @@ -60474,16 +62451,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCreatedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4870", + "$id": "4939", "kind": "property", "name": "response", - "serializedName": "response", "doc": "The response that was created.", "type": { - "$ref": "4662" + "$ref": "4731" }, "optional": false, "readOnly": false, @@ -60491,12 +62468,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCreatedEvent.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "error": { - "$id": "4871", + "$id": "4940", "kind": "model", "name": "ResponseErrorEvent", "namespace": "OpenAI", @@ -60506,14 +62484,13 @@ "discriminatorValue": "error", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4872", + "$id": "4941", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `error`.", "type": { "$ref": "752" @@ -60524,25 +62501,25 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4873", + "$id": "4942", "kind": "property", "name": "code", - "serializedName": "code", "doc": "The error code.", "type": { - "$id": "4874", + "$id": "4943", "kind": "nullable", "type": { - "$id": "4875", + "$id": "4944", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -60550,16 +62527,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.code", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4876", + "$id": "4945", "kind": "property", "name": "message", - "serializedName": "message", "doc": "The error message.", "type": { - "$id": "4877", + "$id": "4946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60571,25 +62548,25 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.message", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4878", + "$id": "4947", "kind": "property", "name": "param", - "serializedName": "param", "doc": "The error parameter.", "type": { - "$id": "4879", + "$id": "4948", "kind": "nullable", "type": { - "$id": "4880", + "$id": "4949", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -60597,12 +62574,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseErrorEvent.param", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.file_search_call.completed": { - "$id": "4881", + "$id": "4950", "kind": "model", "name": "ResponseFileSearchCallCompletedEvent", "namespace": "OpenAI", @@ -60612,14 +62590,13 @@ "discriminatorValue": "response.file_search_call.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4882", + "$id": "4951", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.completed`.", "type": { "$ref": "753" @@ -60630,16 +62607,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4883", + "$id": "4952", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { - "$id": "4884", + "$id": "4953", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60651,16 +62628,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4885", + "$id": "4954", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "4886", + "$id": "4955", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60672,12 +62649,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallCompletedEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.file_search_call.in_progress": { - "$id": "4887", + "$id": "4956", "kind": "model", "name": "ResponseFileSearchCallInProgressEvent", "namespace": "OpenAI", @@ -60687,14 +62665,13 @@ "discriminatorValue": "response.file_search_call.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4888", + "$id": "4957", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.in_progress`.", "type": { "$ref": "754" @@ -60705,16 +62682,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4889", + "$id": "4958", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the file search call is initiated.", "type": { - "$id": "4890", + "$id": "4959", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60726,16 +62703,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4891", + "$id": "4960", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "4892", + "$id": "4961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60747,12 +62724,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallInProgressEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.file_search_call.searching": { - "$id": "4893", + "$id": "4962", "kind": "model", "name": "ResponseFileSearchCallSearchingEvent", "namespace": "OpenAI", @@ -60762,14 +62740,13 @@ "discriminatorValue": "response.file_search_call.searching", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4894", + "$id": "4963", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.file_search_call.searching`.", "type": { "$ref": "755" @@ -60780,16 +62757,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4895", + "$id": "4964", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the file search call is searching.", "type": { - "$id": "4896", + "$id": "4965", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60801,16 +62778,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4897", + "$id": "4966", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the file search call is initiated.", "type": { - "$id": "4898", + "$id": "4967", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60822,12 +62799,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFileSearchCallSearchingEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.function_call_arguments.delta": { - "$id": "4899", + "$id": "4968", "kind": "model", "name": "ResponseFunctionCallArgumentsDeltaEvent", "namespace": "OpenAI", @@ -60837,14 +62815,13 @@ "discriminatorValue": "response.function_call_arguments.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4900", + "$id": "4969", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.function_call_arguments.delta`.", "type": { "$ref": "756" @@ -60855,16 +62832,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4901", + "$id": "4970", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the function-call arguments delta is added to.", "type": { - "$id": "4902", + "$id": "4971", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60876,16 +62853,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4903", + "$id": "4972", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the function-call arguments delta is added to.", "type": { - "$id": "4904", + "$id": "4973", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60897,16 +62874,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4905", + "$id": "4974", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The function-call arguments delta that is added.", "type": { - "$id": "4906", + "$id": "4975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60918,12 +62895,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.function_call_arguments.done": { - "$id": "4907", + "$id": "4976", "kind": "model", "name": "ResponseFunctionCallArgumentsDoneEvent", "namespace": "OpenAI", @@ -60933,14 +62911,13 @@ "discriminatorValue": "response.function_call_arguments.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4908", + "$id": "4977", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "757" }, @@ -60950,16 +62927,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4909", + "$id": "4978", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "4910", + "$id": "4979", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -60971,16 +62948,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4911", + "$id": "4980", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item.", "type": { - "$id": "4912", + "$id": "4981", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -60992,16 +62969,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4913", + "$id": "4982", "kind": "property", "name": "arguments", - "serializedName": "arguments", "doc": "The function-call arguments.", "type": { - "$id": "4914", + "$id": "4983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61013,12 +62990,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFunctionCallArgumentsDoneEvent.arguments", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.in_progress": { - "$id": "4915", + "$id": "4984", "kind": "model", "name": "ResponseInProgressEvent", "namespace": "OpenAI", @@ -61028,14 +63006,13 @@ "discriminatorValue": "response.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4916", + "$id": "4985", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.in_progress`.", "type": { "$ref": "758" @@ -61046,16 +63023,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4917", + "$id": "4986", "kind": "property", "name": "response", - "serializedName": "response", "doc": "The response that is in progress.", "type": { - "$ref": "4662" + "$ref": "4731" }, "optional": false, "readOnly": false, @@ -61063,12 +63040,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseInProgressEvent.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.failed": { - "$id": "4918", + "$id": "4987", "kind": "model", "name": "ResponseFailedEvent", "namespace": "OpenAI", @@ -61078,14 +63056,13 @@ "discriminatorValue": "response.failed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4919", + "$id": "4988", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.failed`.", "type": { "$ref": "759" @@ -61096,16 +63073,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFailedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4920", + "$id": "4989", "kind": "property", "name": "response", - "serializedName": "response", "doc": "The response that failed.", "type": { - "$ref": "4662" + "$ref": "4731" }, "optional": false, "readOnly": false, @@ -61113,12 +63090,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseFailedEvent.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.incomplete": { - "$id": "4921", + "$id": "4990", "kind": "model", "name": "ResponseIncompleteEvent", "namespace": "OpenAI", @@ -61128,14 +63106,13 @@ "discriminatorValue": "response.incomplete", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4922", + "$id": "4991", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.incomplete`.", "type": { "$ref": "760" @@ -61146,16 +63123,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseIncompleteEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4923", + "$id": "4992", "kind": "property", "name": "response", - "serializedName": "response", "doc": "The response that was incomplete.", "type": { - "$ref": "4662" + "$ref": "4731" }, "optional": false, "readOnly": false, @@ -61163,12 +63140,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseIncompleteEvent.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.output_item.added": { - "$id": "4924", + "$id": "4993", "kind": "model", "name": "ResponseOutputItemAddedEvent", "namespace": "OpenAI", @@ -61178,14 +63156,13 @@ "discriminatorValue": "response.output_item.added", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4925", + "$id": "4994", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.output_item.added`.", "type": { "$ref": "761" @@ -61196,16 +63173,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4926", + "$id": "4995", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that was added.", "type": { - "$id": "4927", + "$id": "4996", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61217,16 +63194,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4928", + "$id": "4997", "kind": "property", "name": "item", - "serializedName": "item", "doc": "The output item that was added.", "type": { - "$ref": "4703" + "$ref": "4772" }, "optional": false, "readOnly": false, @@ -61234,12 +63211,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemAddedEvent.item", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.output_item.done": { - "$id": "4929", + "$id": "4998", "kind": "model", "name": "ResponseOutputItemDoneEvent", "namespace": "OpenAI", @@ -61249,14 +63227,13 @@ "discriminatorValue": "response.output_item.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4930", + "$id": "4999", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.output_item.done`.", "type": { "$ref": "762" @@ -61267,16 +63244,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4931", + "$id": "5000", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that was marked done.", "type": { - "$id": "4932", + "$id": "5001", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61288,16 +63265,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4933", + "$id": "5002", "kind": "property", "name": "item", - "serializedName": "item", "doc": "The output item that was marked done.", "type": { - "$ref": "4703" + "$ref": "4772" }, "optional": false, "readOnly": false, @@ -61305,12 +63282,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputItemDoneEvent.item", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.refusal.delta": { - "$id": "4934", + "$id": "5003", "kind": "model", "name": "ResponseRefusalDeltaEvent", "namespace": "OpenAI", @@ -61320,14 +63298,13 @@ "discriminatorValue": "response.refusal.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4935", + "$id": "5004", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.refusal.delta`.", "type": { "$ref": "763" @@ -61338,16 +63315,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4936", + "$id": "5005", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is added to.", "type": { - "$id": "4937", + "$id": "5006", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61359,16 +63336,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4938", + "$id": "5007", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the refusal text is added to.", "type": { - "$id": "4939", + "$id": "5008", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61380,16 +63357,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4940", + "$id": "5009", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part that the refusal text is added to.", "type": { - "$id": "4941", + "$id": "5010", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61401,16 +63378,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4942", + "$id": "5011", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The refusal text that is added.", "type": { - "$id": "4943", + "$id": "5012", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61422,12 +63399,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.refusal.done": { - "$id": "4944", + "$id": "5013", "kind": "model", "name": "ResponseRefusalDoneEvent", "namespace": "OpenAI", @@ -61437,14 +63415,13 @@ "discriminatorValue": "response.refusal.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4945", + "$id": "5014", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.refusal.done`.", "type": { "$ref": "764" @@ -61455,16 +63432,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4946", + "$id": "5015", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the refusal text is finalized.", "type": { - "$id": "4947", + "$id": "5016", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61476,16 +63453,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4948", + "$id": "5017", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the refusal text is finalized.", "type": { - "$id": "4949", + "$id": "5018", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61497,16 +63474,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4950", + "$id": "5019", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part that the refusal text is finalized.", "type": { - "$id": "4951", + "$id": "5020", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61518,16 +63495,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4952", + "$id": "5021", "kind": "property", "name": "refusal", - "serializedName": "refusal", "doc": "The refusal text that is finalized.", "type": { - "$id": "4953", + "$id": "5022", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61539,12 +63516,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseRefusalDoneEvent.refusal", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.output_text.delta": { - "$id": "4954", + "$id": "5023", "kind": "model", "name": "ResponseTextDeltaEvent", "namespace": "OpenAI", @@ -61554,14 +63532,13 @@ "discriminatorValue": "response.output_text.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4955", + "$id": "5024", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.output_text.delta`.", "type": { "$ref": "766" @@ -61572,16 +63549,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4956", + "$id": "5025", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the text delta was added to.", "type": { - "$id": "4957", + "$id": "5026", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61593,16 +63570,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4958", + "$id": "5027", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the text delta was added to.", "type": { - "$id": "4959", + "$id": "5028", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61614,16 +63591,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4960", + "$id": "5029", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part that the text delta was added to.", "type": { - "$id": "4961", + "$id": "5030", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61635,16 +63612,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4962", + "$id": "5031", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The text delta that was added.", "type": { - "$id": "4963", + "$id": "5032", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61656,12 +63633,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.output_text.done": { - "$id": "4964", + "$id": "5033", "kind": "model", "name": "ResponseTextDoneEvent", "namespace": "OpenAI", @@ -61671,14 +63649,13 @@ "discriminatorValue": "response.output_text.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4965", + "$id": "5034", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.output_text.done`.", "type": { "$ref": "767" @@ -61689,16 +63666,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4966", + "$id": "5035", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the output item that the text content is finalized.", "type": { - "$id": "4967", + "$id": "5036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61710,16 +63687,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4968", + "$id": "5037", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the text content is finalized.", "type": { - "$id": "4969", + "$id": "5038", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61731,16 +63708,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4970", + "$id": "5039", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part that the text content is finalized.", "type": { - "$id": "4971", + "$id": "5040", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61752,16 +63729,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4972", + "$id": "5041", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The text content that is finalized.", "type": { - "$id": "4973", + "$id": "5042", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61773,12 +63750,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseTextDoneEvent.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning_summary_part.added": { - "$id": "4974", + "$id": "5043", "kind": "model", "name": "ResponseReasoningSummaryPartAddedEvent", "namespace": "OpenAI", @@ -61788,14 +63766,13 @@ "discriminatorValue": "response.reasoning_summary_part.added", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4975", + "$id": "5044", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.added`.", "type": { "$ref": "768" @@ -61806,16 +63783,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4976", + "$id": "5045", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { - "$id": "4977", + "$id": "5046", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61827,16 +63804,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4978", + "$id": "5047", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { - "$id": "4979", + "$id": "5048", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61848,16 +63825,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4980", + "$id": "5049", "kind": "property", "name": "summary_index", - "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "4981", + "$id": "5050", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61869,16 +63846,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.summary_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4982", + "$id": "5051", "kind": "property", "name": "part", - "serializedName": "part", "doc": "The summary part that was added.", "type": { - "$ref": "4525" + "$ref": "4594" }, "optional": false, "readOnly": false, @@ -61886,12 +63863,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartAddedEvent.part", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning_summary_part.done": { - "$id": "4983", + "$id": "5052", "kind": "model", "name": "ResponseReasoningSummaryPartDoneEvent", "namespace": "OpenAI", @@ -61901,14 +63879,13 @@ "discriminatorValue": "response.reasoning_summary_part.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4984", + "$id": "5053", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_part.done`.", "type": { "$ref": "769" @@ -61919,16 +63896,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4985", + "$id": "5054", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the item this summary part is associated with.", "type": { - "$id": "4986", + "$id": "5055", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -61940,16 +63917,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4987", + "$id": "5056", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item this summary part is associated with.", "type": { - "$id": "4988", + "$id": "5057", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61961,16 +63938,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4989", + "$id": "5058", "kind": "property", "name": "summary_index", - "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "4990", + "$id": "5059", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -61982,16 +63959,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.summary_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4991", + "$id": "5060", "kind": "property", "name": "part", - "serializedName": "part", "doc": "The completed summary part.", "type": { - "$ref": "4525" + "$ref": "4594" }, "optional": false, "readOnly": false, @@ -61999,12 +63976,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryPartDoneEvent.part", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning_summary_text.delta": { - "$id": "4992", + "$id": "5061", "kind": "model", "name": "ResponseReasoningSummaryTextDeltaEvent", "namespace": "OpenAI", @@ -62014,14 +63992,13 @@ "discriminatorValue": "response.reasoning_summary_text.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "4993", + "$id": "5062", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.delta`.", "type": { "$ref": "770" @@ -62032,16 +64009,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4994", + "$id": "5063", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the item this summary text delta is associated with.", "type": { - "$id": "4995", + "$id": "5064", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62053,16 +64030,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4996", + "$id": "5065", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item this summary text delta is associated with.", "type": { - "$id": "4997", + "$id": "5066", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62074,16 +64051,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "4998", + "$id": "5067", "kind": "property", "name": "summary_index", - "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "4999", + "$id": "5068", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62095,16 +64072,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.summary_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5000", + "$id": "5069", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The text delta that was added to the summary.", "type": { - "$id": "5001", + "$id": "5070", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62116,12 +64093,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning_summary_text.done": { - "$id": "5002", + "$id": "5071", "kind": "model", "name": "ResponseReasoningSummaryTextDoneEvent", "namespace": "OpenAI", @@ -62131,14 +64109,13 @@ "discriminatorValue": "response.reasoning_summary_text.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5003", + "$id": "5072", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.reasoning_summary_text.done`.", "type": { "$ref": "771" @@ -62149,16 +64126,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5004", + "$id": "5073", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The ID of the item this summary text is associated with.", "type": { - "$id": "5005", + "$id": "5074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62170,16 +64147,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5006", + "$id": "5075", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item this summary text is associated with.", "type": { - "$id": "5007", + "$id": "5076", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62191,16 +64168,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5008", + "$id": "5077", "kind": "property", "name": "summary_index", - "serializedName": "summary_index", "doc": "The index of the summary part within the reasoning summary.", "type": { - "$id": "5009", + "$id": "5078", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62212,16 +64189,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.summary_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5010", + "$id": "5079", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The full text of the completed reasoning summary.", "type": { - "$id": "5011", + "$id": "5080", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62233,12 +64210,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryTextDoneEvent.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.web_search_call.completed": { - "$id": "5012", + "$id": "5081", "kind": "model", "name": "ResponseWebSearchCallCompletedEvent", "namespace": "OpenAI", @@ -62248,14 +64226,13 @@ "discriminatorValue": "response.web_search_call.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5013", + "$id": "5082", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.completed`.", "type": { "$ref": "772" @@ -62266,16 +64243,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5014", + "$id": "5083", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { - "$id": "5015", + "$id": "5084", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62287,16 +64264,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5016", + "$id": "5085", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5017", + "$id": "5086", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62308,12 +64285,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallCompletedEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.web_search_call.in_progress": { - "$id": "5018", + "$id": "5087", "kind": "model", "name": "ResponseWebSearchCallInProgressEvent", "namespace": "OpenAI", @@ -62323,14 +64301,13 @@ "discriminatorValue": "response.web_search_call.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5019", + "$id": "5088", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.in_progress`.", "type": { "$ref": "773" @@ -62341,16 +64318,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5020", + "$id": "5089", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { - "$id": "5021", + "$id": "5090", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62362,16 +64339,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5022", + "$id": "5091", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5023", + "$id": "5092", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62383,12 +64360,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallInProgressEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.web_search_call.searching": { - "$id": "5024", + "$id": "5093", "kind": "model", "name": "ResponseWebSearchCallSearchingEvent", "namespace": "OpenAI", @@ -62398,14 +64376,13 @@ "discriminatorValue": "response.web_search_call.searching", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5025", + "$id": "5094", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.web_search_call.searching`.", "type": { "$ref": "774" @@ -62416,16 +64393,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5026", + "$id": "5095", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the web search call is associated with.", "type": { - "$id": "5027", + "$id": "5096", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62437,16 +64414,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5028", + "$id": "5097", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "Unique ID for the output item associated with the web search call.", "type": { - "$id": "5029", + "$id": "5098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62458,12 +64435,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseWebSearchCallSearchingEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.image_generation_call.completed": { - "$id": "5030", + "$id": "5099", "kind": "model", "name": "ResponseImageGenCallCompletedEvent", "namespace": "OpenAI", @@ -62473,14 +64451,13 @@ "discriminatorValue": "response.image_generation_call.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5031", + "$id": "5100", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.completed'.", "type": { "$ref": "775" @@ -62491,16 +64468,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5032", + "$id": "5101", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5033", + "$id": "5102", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62512,16 +64489,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5034", + "$id": "5103", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5035", + "$id": "5104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62533,12 +64510,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallCompletedEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.image_generation_call.generating": { - "$id": "5036", + "$id": "5105", "kind": "model", "name": "ResponseImageGenCallGeneratingEvent", "namespace": "OpenAI", @@ -62548,14 +64526,13 @@ "discriminatorValue": "response.image_generation_call.generating", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5037", + "$id": "5106", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.generating'.", "type": { "$ref": "776" @@ -62566,16 +64543,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5038", + "$id": "5107", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5039", + "$id": "5108", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62587,16 +64564,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5040", + "$id": "5109", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5041", + "$id": "5110", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62608,12 +64585,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallGeneratingEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.image_generation_call.in_progress": { - "$id": "5042", + "$id": "5111", "kind": "model", "name": "ResponseImageGenCallInProgressEvent", "namespace": "OpenAI", @@ -62623,14 +64601,13 @@ "discriminatorValue": "response.image_generation_call.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5043", + "$id": "5112", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.in_progress'.", "type": { "$ref": "777" @@ -62641,16 +64618,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5044", + "$id": "5113", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5045", + "$id": "5114", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62662,16 +64639,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5046", + "$id": "5115", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5047", + "$id": "5116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62683,12 +64660,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallInProgressEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.image_generation_call.partial_image": { - "$id": "5048", + "$id": "5117", "kind": "model", "name": "ResponseImageGenCallPartialImageEvent", "namespace": "OpenAI", @@ -62698,14 +64676,13 @@ "discriminatorValue": "response.image_generation_call.partial_image", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5049", + "$id": "5118", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.image_generation_call.partial_image'.", "type": { "$ref": "778" @@ -62716,16 +64693,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5050", + "$id": "5119", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5051", + "$id": "5120", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62737,16 +64714,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5052", + "$id": "5121", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the image generation item being processed.", "type": { - "$id": "5053", + "$id": "5122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62758,16 +64735,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5054", + "$id": "5123", "kind": "property", "name": "partial_image_index", - "serializedName": "partial_image_index", "doc": "0-based index for the partial image (backend is 1-based, but this is 0-based for the user).", "type": { - "$id": "5055", + "$id": "5124", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62779,16 +64756,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.partial_image_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5056", + "$id": "5125", "kind": "property", "name": "partial_image_b64", - "serializedName": "partial_image_b64", "doc": "Base64-encoded partial image data, suitable for rendering as an image.", "type": { - "$id": "5057", + "$id": "5126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62800,12 +64777,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseImageGenCallPartialImageEvent.partial_image_b64", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_call.arguments_delta": { - "$id": "5058", + "$id": "5127", "kind": "model", "name": "ResponseMCPCallArgumentsDeltaEvent", "namespace": "OpenAI", @@ -62815,14 +64793,13 @@ "discriminatorValue": "response.mcp_call.arguments_delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5059", + "$id": "5128", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_delta'.", "type": { "$ref": "779" @@ -62833,16 +64810,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5060", + "$id": "5129", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5061", + "$id": "5130", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62854,16 +64831,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5062", + "$id": "5131", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5063", + "$id": "5132", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62875,16 +64852,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5064", + "$id": "5133", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The partial update to the arguments for the MCP tool call.", "type": { - "$id": "5065", + "$id": "5134", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -62896,12 +64873,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_call.arguments_done": { - "$id": "5066", + "$id": "5135", "kind": "model", "name": "ResponseMCPCallArgumentsDoneEvent", "namespace": "OpenAI", @@ -62911,14 +64889,13 @@ "discriminatorValue": "response.mcp_call.arguments_done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5067", + "$id": "5136", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.arguments_done'.", "type": { "$ref": "780" @@ -62929,16 +64906,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5068", + "$id": "5137", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5069", + "$id": "5138", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -62950,16 +64927,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5070", + "$id": "5139", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5071", + "$id": "5140", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -62971,16 +64948,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5072", + "$id": "5141", "kind": "property", "name": "arguments", - "serializedName": "arguments", "doc": "The finalized arguments for the MCP tool call.", "type": { - "$id": "5073", + "$id": "5142", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -62992,12 +64969,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallArgumentsDoneEvent.arguments", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_call.completed": { - "$id": "5074", + "$id": "5143", "kind": "model", "name": "ResponseMCPCallCompletedEvent", "namespace": "OpenAI", @@ -63007,14 +64985,13 @@ "discriminatorValue": "response.mcp_call.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5075", + "$id": "5144", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.completed'.", "type": { "$ref": "781" @@ -63025,12 +65002,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_call.failed": { - "$id": "5076", + "$id": "5145", "kind": "model", "name": "ResponseMCPCallFailedEvent", "namespace": "OpenAI", @@ -63040,14 +65018,13 @@ "discriminatorValue": "response.mcp_call.failed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5077", + "$id": "5146", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.failed'.", "type": { "$ref": "782" @@ -63058,12 +65035,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallFailedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_call.in_progress": { - "$id": "5078", + "$id": "5147", "kind": "model", "name": "ResponseMCPCallInProgressEvent", "namespace": "OpenAI", @@ -63073,14 +65051,13 @@ "discriminatorValue": "response.mcp_call.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5079", + "$id": "5148", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_call.in_progress'.", "type": { "$ref": "783" @@ -63091,16 +65068,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5080", + "$id": "5149", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5081", + "$id": "5150", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63112,16 +65089,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5082", + "$id": "5151", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the MCP tool call item being processed.", "type": { - "$id": "5083", + "$id": "5152", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63133,12 +65110,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPCallInProgressEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_list_tools.completed": { - "$id": "5084", + "$id": "5153", "kind": "model", "name": "ResponseMCPListToolsCompletedEvent", "namespace": "OpenAI", @@ -63148,14 +65126,13 @@ "discriminatorValue": "response.mcp_list_tools.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5085", + "$id": "5154", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.completed'.", "type": { "$ref": "784" @@ -63166,12 +65143,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_list_tools.failed": { - "$id": "5086", + "$id": "5155", "kind": "model", "name": "ResponseMCPListToolsFailedEvent", "namespace": "OpenAI", @@ -63181,14 +65159,13 @@ "discriminatorValue": "response.mcp_list_tools.failed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5087", + "$id": "5156", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.failed'.", "type": { "$ref": "785" @@ -63199,12 +65176,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsFailedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.mcp_list_tools.in_progress": { - "$id": "5088", + "$id": "5157", "kind": "model", "name": "ResponseMCPListToolsInProgressEvent", "namespace": "OpenAI", @@ -63214,14 +65192,13 @@ "discriminatorValue": "response.mcp_list_tools.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5089", + "$id": "5158", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.mcp_list_tools.in_progress'.", "type": { "$ref": "786" @@ -63232,12 +65209,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseMCPListToolsInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.output_text.annotation.added": { - "$id": "5090", + "$id": "5159", "kind": "model", "name": "ResponseOutputTextAnnotationAddedEvent", "namespace": "OpenAI", @@ -63247,14 +65225,13 @@ "discriminatorValue": "response.output_text.annotation.added", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5091", + "$id": "5160", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.output_text_annotation.added'.", "type": { "$ref": "765" @@ -63265,16 +65242,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5092", + "$id": "5161", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the item to which the annotation is being added.", "type": { - "$id": "5093", + "$id": "5162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63286,16 +65263,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5094", + "$id": "5163", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5095", + "$id": "5164", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63307,16 +65284,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5096", + "$id": "5165", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the content part within the output item.", "type": { - "$id": "5097", + "$id": "5166", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63328,16 +65305,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5098", + "$id": "5167", "kind": "property", "name": "annotation_index", - "serializedName": "annotation_index", "doc": "The index of the annotation within the content part.", "type": { - "$id": "5099", + "$id": "5168", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63349,16 +65326,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.annotation_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5100", + "$id": "5169", "kind": "property", "name": "annotation", - "serializedName": "annotation", "doc": "The annotation object being added. (See annotation schema for details.)", "type": { - "$id": "5101", + "$id": "5170", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -63370,12 +65347,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseOutputTextAnnotationAddedEvent.annotation", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.queued": { - "$id": "5102", + "$id": "5171", "kind": "model", "name": "ResponseQueuedEvent", "namespace": "OpenAI", @@ -63385,14 +65363,13 @@ "discriminatorValue": "response.queued", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5103", + "$id": "5172", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.queued'.", "type": { "$ref": "787" @@ -63403,16 +65380,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseQueuedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5104", + "$id": "5173", "kind": "property", "name": "response", - "serializedName": "response", "doc": "The full response object that is queued.", "type": { - "$ref": "4662" + "$ref": "4731" }, "optional": false, "readOnly": false, @@ -63420,12 +65397,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseQueuedEvent.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning.delta": { - "$id": "5105", + "$id": "5174", "kind": "model", "name": "ResponseReasoningDeltaEvent", "namespace": "OpenAI", @@ -63435,14 +65413,13 @@ "discriminatorValue": "response.reasoning.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5106", + "$id": "5175", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.delta'.", "type": { "$ref": "788" @@ -63453,16 +65430,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5107", + "$id": "5176", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is being updated.", "type": { - "$id": "5108", + "$id": "5177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63474,16 +65451,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5109", + "$id": "5178", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5110", + "$id": "5179", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63495,16 +65472,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5111", + "$id": "5180", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { - "$id": "5112", + "$id": "5181", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63516,16 +65493,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5113", + "$id": "5182", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The partial update to the reasoning content.", "type": { - "$id": "5114", + "$id": "5183", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -63537,12 +65514,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning.done": { - "$id": "5115", + "$id": "5184", "kind": "model", "name": "ResponseReasoningDoneEvent", "namespace": "OpenAI", @@ -63552,14 +65530,13 @@ "discriminatorValue": "response.reasoning.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5116", + "$id": "5185", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning.done'.", "type": { "$ref": "789" @@ -63570,16 +65547,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5117", + "$id": "5186", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the item for which reasoning is finalized.", "type": { - "$id": "5118", + "$id": "5187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63591,16 +65568,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5119", + "$id": "5188", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5120", + "$id": "5189", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63612,16 +65589,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5121", + "$id": "5190", "kind": "property", "name": "content_index", - "serializedName": "content_index", "doc": "The index of the reasoning content part within the output item.", "type": { - "$id": "5122", + "$id": "5191", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63633,16 +65610,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.content_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5123", + "$id": "5192", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The finalized reasoning text.", "type": { - "$id": "5124", + "$id": "5193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63654,12 +65631,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningDoneEvent.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning_summary.delta": { - "$id": "5125", + "$id": "5194", "kind": "model", "name": "ResponseReasoningSummaryDeltaEvent", "namespace": "OpenAI", @@ -63669,14 +65647,13 @@ "discriminatorValue": "response.reasoning_summary.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5126", + "$id": "5195", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.delta'.", "type": { "$ref": "790" @@ -63687,16 +65664,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5127", + "$id": "5196", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is being updated.", "type": { - "$id": "5128", + "$id": "5197", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63708,16 +65685,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5129", + "$id": "5198", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5130", + "$id": "5199", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63729,16 +65706,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5131", + "$id": "5200", "kind": "property", "name": "summary_index", - "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { - "$id": "5132", + "$id": "5201", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63750,16 +65727,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.summary_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5133", + "$id": "5202", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The partial update to the reasoning summary content.", "type": { - "$id": "5134", + "$id": "5203", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -63771,12 +65748,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.reasoning_summary.done": { - "$id": "5135", + "$id": "5204", "kind": "model", "name": "ResponseReasoningSummaryDoneEvent", "namespace": "OpenAI", @@ -63786,14 +65764,13 @@ "discriminatorValue": "response.reasoning_summary.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5136", + "$id": "5205", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always 'response.reasoning_summary.done'.", "type": { "$ref": "791" @@ -63804,16 +65781,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5137", + "$id": "5206", "kind": "property", "name": "item_id", - "serializedName": "item_id", "doc": "The unique identifier of the item for which the reasoning summary is finalized.", "type": { - "$id": "5138", + "$id": "5207", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63825,16 +65802,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.item_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5139", + "$id": "5208", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item in the response's output array.", "type": { - "$id": "5140", + "$id": "5209", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63846,16 +65823,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5141", + "$id": "5210", "kind": "property", "name": "summary_index", - "serializedName": "summary_index", "doc": "The index of the summary part within the output item.", "type": { - "$id": "5142", + "$id": "5211", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63867,16 +65844,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.summary_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5143", + "$id": "5212", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The finalized reasoning summary text.", "type": { - "$id": "5144", + "$id": "5213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63888,12 +65865,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseReasoningSummaryDoneEvent.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.code_interpreter_call_code.delta": { - "$id": "5145", + "$id": "5214", "kind": "model", "name": "ResponseCodeInterpreterCallCodeDeltaEvent", "namespace": "OpenAI", @@ -63903,14 +65881,13 @@ "discriminatorValue": "response.code_interpreter_call_code.delta", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5146", + "$id": "5215", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.delta`.", "type": { "$ref": "743" @@ -63921,16 +65898,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5147", + "$id": "5216", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5148", + "$id": "5217", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -63942,16 +65919,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5149", + "$id": "5218", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The partial code snippet added by the code interpreter.", "type": { - "$id": "5150", + "$id": "5219", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -63963,12 +65940,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDeltaEvent.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.code_interpreter_call_code.done": { - "$id": "5151", + "$id": "5220", "kind": "model", "name": "ResponseCodeInterpreterCallCodeDoneEvent", "namespace": "OpenAI", @@ -63978,14 +65956,13 @@ "discriminatorValue": "response.code_interpreter_call_code.done", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5152", + "$id": "5221", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call_code.done`.", "type": { "$ref": "744" @@ -63996,16 +65973,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5153", + "$id": "5222", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5154", + "$id": "5223", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -64017,16 +65994,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5155", + "$id": "5224", "kind": "property", "name": "code", - "serializedName": "code", "doc": "The final code snippet output by the code interpreter.", "type": { - "$id": "5156", + "$id": "5225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64038,12 +66015,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCodeDoneEvent.code", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.code_interpreter_call.completed": { - "$id": "5157", + "$id": "5226", "kind": "model", "name": "ResponseCodeInterpreterCallCompletedEvent", "namespace": "OpenAI", @@ -64053,14 +66031,13 @@ "discriminatorValue": "response.code_interpreter_call.completed", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5158", + "$id": "5227", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.completed`.", "type": { "$ref": "745" @@ -64071,16 +66048,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5159", + "$id": "5228", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5160", + "$id": "5229", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -64092,15 +66069,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5161", + "$id": "5230", "kind": "property", "name": "code_interpreter_call", - "serializedName": "code_interpreter_call", "type": { - "$ref": "4754" + "$ref": "4823" }, "optional": false, "readOnly": false, @@ -64108,12 +66085,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallCompletedEvent.code_interpreter_call", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.code_interpreter_call.in_progress": { - "$id": "5162", + "$id": "5231", "kind": "model", "name": "ResponseCodeInterpreterCallInProgressEvent", "namespace": "OpenAI", @@ -64123,14 +66101,13 @@ "discriminatorValue": "response.code_interpreter_call.in_progress", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5163", + "$id": "5232", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.in_progress`.", "type": { "$ref": "746" @@ -64141,16 +66118,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5164", + "$id": "5233", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5165", + "$id": "5234", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -64162,15 +66139,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5166", + "$id": "5235", "kind": "property", "name": "code_interpreter_call", - "serializedName": "code_interpreter_call", "type": { - "$ref": "4754" + "$ref": "4823" }, "optional": false, "readOnly": false, @@ -64178,12 +66155,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInProgressEvent.code_interpreter_call", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "response.code_interpreter_call.interpreting": { - "$id": "5167", + "$id": "5236", "kind": "model", "name": "ResponseCodeInterpreterCallInterpretingEvent", "namespace": "OpenAI", @@ -64193,14 +66171,13 @@ "discriminatorValue": "response.code_interpreter_call.interpreting", "decorators": [], "baseModel": { - "$ref": "4843" + "$ref": "4912" }, "properties": [ { - "$id": "5168", + "$id": "5237", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of the event. Always `response.code_interpreter_call.interpreting`.", "type": { "$ref": "747" @@ -64211,16 +66188,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5169", + "$id": "5238", "kind": "property", "name": "output_index", - "serializedName": "output_index", "doc": "The index of the output item that the code interpreter call is in progress.", "type": { - "$id": "5170", + "$id": "5239", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -64232,15 +66209,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent.output_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "5171", + "$id": "5240", "kind": "property", "name": "code_interpreter_call", - "serializedName": "code_interpreter_call", "type": { - "$ref": "4754" + "$ref": "4823" }, "optional": false, "readOnly": false, @@ -64248,161 +66225,162 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ResponseCodeInterpreterCallInterpretingEvent.code_interpreter_call", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } } }, { - "$ref": "4847" + "$ref": "4916" }, { - "$ref": "4850" + "$ref": "4919" }, { - "$ref": "4859" + "$ref": "4928" }, { - "$ref": "4868" + "$ref": "4937" }, { - "$ref": "4871" + "$ref": "4940" }, { - "$ref": "4881" + "$ref": "4950" }, { - "$ref": "4887" + "$ref": "4956" }, { - "$ref": "4893" + "$ref": "4962" }, { - "$ref": "4899" + "$ref": "4968" }, { - "$ref": "4907" + "$ref": "4976" }, { - "$ref": "4915" + "$ref": "4984" }, { - "$ref": "4918" + "$ref": "4987" }, { - "$ref": "4921" + "$ref": "4990" }, { - "$ref": "4924" + "$ref": "4993" }, { - "$ref": "4929" + "$ref": "4998" }, { - "$ref": "4934" + "$ref": "5003" }, { - "$ref": "4944" + "$ref": "5013" }, { - "$ref": "4954" + "$ref": "5023" }, { - "$ref": "4964" + "$ref": "5033" }, { - "$ref": "4974" + "$ref": "5043" }, { - "$ref": "4983" + "$ref": "5052" }, { - "$ref": "4992" + "$ref": "5061" }, { - "$ref": "5002" + "$ref": "5071" }, { - "$ref": "5012" + "$ref": "5081" }, { - "$ref": "5018" + "$ref": "5087" }, { - "$ref": "5024" + "$ref": "5093" }, { - "$ref": "5030" + "$ref": "5099" }, { - "$ref": "5036" + "$ref": "5105" }, { - "$ref": "5042" + "$ref": "5111" }, { - "$ref": "5048" + "$ref": "5117" }, { - "$ref": "5058" + "$ref": "5127" }, { - "$ref": "5066" + "$ref": "5135" }, { - "$ref": "5074" + "$ref": "5143" }, { - "$ref": "5076" + "$ref": "5145" }, { - "$ref": "5078" + "$ref": "5147" }, { - "$ref": "5084" + "$ref": "5153" }, { - "$ref": "5086" + "$ref": "5155" }, { - "$ref": "5088" + "$ref": "5157" }, { - "$ref": "5090" + "$ref": "5159" }, { - "$ref": "5102" + "$ref": "5171" }, { - "$ref": "5105" + "$ref": "5174" }, { - "$ref": "5115" + "$ref": "5184" }, { - "$ref": "5125" + "$ref": "5194" }, { - "$ref": "5135" + "$ref": "5204" }, { - "$ref": "5145" + "$ref": "5214" }, { - "$ref": "5151" + "$ref": "5220" }, { - "$ref": "5157" + "$ref": "5226" }, { - "$ref": "5162" + "$ref": "5231" }, { - "$ref": "5167" + "$ref": "5236" }, { - "$id": "5172", + "$id": "5241", "kind": "model", "name": "ResponseErrorResponse", "namespace": "OpenAI", @@ -64411,12 +66389,12 @@ "decorators": [], "properties": [ { - "$id": "5173", + "$id": "5242", "kind": "property", "name": "error", "serializedName": "error", "type": { - "$ref": "4693" + "$ref": "4762" }, "optional": false, "readOnly": false, @@ -64428,12 +66406,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5174", + "$id": "5243", "kind": "model", "name": "DeleteResponseResponse", "namespace": "OpenAI", @@ -64442,12 +66421,12 @@ "decorators": [], "properties": [ { - "$id": "5175", + "$id": "5244", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5176", + "$id": "5245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64463,10 +66442,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5177", + "$id": "5246", "kind": "property", "name": "object", "serializedName": "object", @@ -64483,10 +66463,11 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5178", + "$id": "5247", "kind": "property", "name": "deleted", "serializedName": "deleted", @@ -64503,12 +66484,13 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5179", + "$id": "5248", "kind": "model", "name": "ResponseItemList", "namespace": "OpenAI", @@ -64518,7 +66500,7 @@ "decorators": [], "properties": [ { - "$id": "5180", + "$id": "5249", "kind": "property", "name": "object", "serializedName": "object", @@ -64536,16 +66518,17 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5181", + "$id": "5250", "kind": "property", "name": "data", "serializedName": "data", "doc": "A list of items used to generate this response.", "type": { - "$ref": "4702" + "$ref": "4771" }, "optional": false, "readOnly": false, @@ -64557,16 +66540,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "5182", + "$id": "5251", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Whether there are more items available.", "type": { - "$id": "5183", + "$id": "5252", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -64582,16 +66566,17 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false }, { - "$id": "5184", + "$id": "5253", "kind": "property", "name": "first_id", "serializedName": "first_id", "doc": "The ID of the first item in the list.", "type": { - "$id": "5185", + "$id": "5254", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64607,16 +66592,17 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5186", + "$id": "5255", "kind": "property", "name": "last_id", "serializedName": "last_id", "doc": "The ID of the last item in the list.", "type": { - "$id": "5187", + "$id": "5256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64632,12 +66618,13 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5188", + "$id": "5257", "kind": "model", "name": "CreateImageRequest", "namespace": "OpenAI", @@ -64646,13 +66633,13 @@ "decorators": [], "properties": [ { - "$id": "5189", + "$id": "5258", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "A text description of the desired image(s). The maximum length is 32000 characters for `gpt-image-1`, 1000 characters for `dall-e-2` and 4000 characters for `dall-e-3`.", "type": { - "$id": "5190", + "$id": "5259", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64668,21 +66655,22 @@ "json": { "name": "prompt" } - } + }, + "isHttpMetadata": false }, { - "$id": "5191", + "$id": "5260", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for image generation. One of `dall-e-2`, `dall-e-3`, or `gpt-image-1`. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.", "type": { - "$id": "5192", + "$id": "5261", "kind": "nullable", "type": { "$ref": "792" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64694,25 +66682,26 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "5193", + "$id": "5262", "kind": "property", "name": "n", "serializedName": "n", "doc": "The number of images to generate. Must be between 1 and 10. For `dall-e-3`, only `n=1` is supported.", "type": { - "$id": "5194", + "$id": "5263", "kind": "nullable", "type": { - "$id": "5195", + "$id": "5264", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64724,21 +66713,22 @@ "json": { "name": "n" } - } + }, + "isHttpMetadata": false }, { - "$id": "5196", + "$id": "5265", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the image that will be generated.\n\n- `auto` (default value) will automatically select the best quality for the given model.\n- `high`, `medium` and `low` are supported for `gpt-image-1`.\n- `hd` and `standard` are supported for `dall-e-3`.\n- `standard` is the only option for `dall-e-2`.", "type": { - "$id": "5197", + "$id": "5266", "kind": "nullable", "type": { "$ref": "797" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64750,21 +66740,22 @@ "json": { "name": "quality" } - } + }, + "isHttpMetadata": false }, { - "$id": "5198", + "$id": "5267", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "The format in which generated images with `dall-e-2` and `dall-e-3` are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter isn't supported for `gpt-image-1` which will always return base64-encoded images.", "type": { - "$id": "5199", + "$id": "5268", "kind": "nullable", "type": { "$ref": "805" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64776,21 +66767,22 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "5200", + "$id": "5269", "kind": "property", "name": "output_format", "serializedName": "output_format", "doc": "The format in which the generated images are returned. This parameter is only supported for `gpt-image-1`. Must be one of `png`, `jpeg`, or `webp`.", "type": { - "$id": "5201", + "$id": "5270", "kind": "nullable", "type": { "$ref": "809" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64802,25 +66794,26 @@ "json": { "name": "output_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "5202", + "$id": "5271", "kind": "property", "name": "output_compression", "serializedName": "output_compression", "doc": "The compression level (0-100%) for the generated images. This parameter is only supported for `gpt-image-1` with the `webp` or `jpeg` output formats, and defaults to 100.", "type": { - "$id": "5203", + "$id": "5272", "kind": "nullable", "type": { - "$id": "5204", + "$id": "5273", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64832,21 +66825,22 @@ "json": { "name": "output_compression" } - } + }, + "isHttpMetadata": false }, { - "$id": "5205", + "$id": "5274", "kind": "property", "name": "size", "serializedName": "size", "doc": "The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`, and one of `1024x1024`, `1792x1024`, or `1024x1792` for `dall-e-3`.", "type": { - "$id": "5206", + "$id": "5275", "kind": "nullable", "type": { "$ref": "814" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64858,21 +66852,22 @@ "json": { "name": "size" } - } + }, + "isHttpMetadata": false }, { - "$id": "5207", + "$id": "5276", "kind": "property", "name": "moderation", "serializedName": "moderation", "doc": "Control the content-moderation level for images generated by `gpt-image-1`. Must be either `low` for less restrictive filtering or `auto` (default value).", "type": { - "$id": "5208", + "$id": "5277", "kind": "nullable", "type": { "$ref": "824" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64884,21 +66879,22 @@ "json": { "name": "moderation" } - } + }, + "isHttpMetadata": false }, { - "$id": "5209", + "$id": "5278", "kind": "property", "name": "background", "serializedName": "background", "doc": "Allows to set transparency for the background of the generated image(s).\nThis parameter is only supported for `gpt-image-1`. Must be one of\n`transparent`, `opaque` or `auto` (default value). When `auto` is used, the\nmodel will automatically determine the best background for the image.\n\nIf `transparent`, the output format needs to support transparency, so it\nshould be set to either `png` (default value) or `webp`.", "type": { - "$id": "5210", + "$id": "5279", "kind": "nullable", "type": { "$ref": "828" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64910,21 +66906,22 @@ "json": { "name": "background" } - } + }, + "isHttpMetadata": false }, { - "$id": "5211", + "$id": "5280", "kind": "property", "name": "style", "serializedName": "style", "doc": "The style of the generated images. This parameter is only supported for `dall-e-3`. Must be one of `vivid` or `natural`. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images.", "type": { - "$id": "5212", + "$id": "5281", "kind": "nullable", "type": { "$ref": "833" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -64936,16 +66933,17 @@ "json": { "name": "style" } - } + }, + "isHttpMetadata": false }, { - "$id": "5213", + "$id": "5282", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "5214", + "$id": "5283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -64961,12 +66959,13 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5215", + "$id": "5284", "kind": "model", "name": "ImagesResponse", "namespace": "OpenAI", @@ -64976,18 +66975,18 @@ "decorators": [], "properties": [ { - "$id": "5216", + "$id": "5285", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the image was created.", "type": { - "$id": "5217", + "$id": "5286", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5218", + "$id": "5287", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65006,20 +67005,21 @@ "json": { "name": "created" } - } + }, + "isHttpMetadata": false }, { - "$id": "5219", + "$id": "5288", "kind": "property", "name": "data", "serializedName": "data", "doc": "The list of generated images.", "type": { - "$id": "5220", + "$id": "5289", "kind": "array", "name": "ArrayImage", "valueType": { - "$id": "5221", + "$id": "5290", "kind": "model", "name": "Image", "namespace": "OpenAI", @@ -65029,13 +67029,13 @@ "decorators": [], "properties": [ { - "$id": "5222", + "$id": "5291", "kind": "property", "name": "b64_json", "serializedName": "b64_json", "doc": "The base64-encoded JSON of the generated image. Default value for `gpt-image-1`, and only present if `response_format` is set to `b64_json` for `dall-e-2` and `dall-e-3`.", "type": { - "$id": "5223", + "$id": "5292", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -65052,16 +67052,17 @@ "json": { "name": "b64_json" } - } + }, + "isHttpMetadata": false }, { - "$id": "5224", + "$id": "5293", "kind": "property", "name": "url", "serializedName": "url", "doc": "When using `dall-e-2` or `dall-e-3`, the URL of the generated image if `response_format` is set to `url` (default value). Unsupported for `gpt-image-1`.", "type": { - "$id": "5225", + "$id": "5294", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -65077,16 +67078,17 @@ "json": { "name": "url" } - } + }, + "isHttpMetadata": false }, { - "$id": "5226", + "$id": "5295", "kind": "property", "name": "revised_prompt", "serializedName": "revised_prompt", "doc": "For `dall-e-3` only, the revised prompt that was used to generate the image.", "type": { - "$id": "5227", + "$id": "5296", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65102,7 +67104,8 @@ "json": { "name": "revised_prompt" } - } + }, + "isHttpMetadata": false } ] }, @@ -65119,16 +67122,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "5228", + "$id": "5297", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "For `gpt-image-1` only, the token usage information for the image generation.", "type": { - "$id": "5229", + "$id": "5298", "kind": "model", "name": "ImagesResponseUsage", "namespace": "OpenAI", @@ -65137,13 +67141,13 @@ "decorators": [], "properties": [ { - "$id": "5230", + "$id": "5299", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens (images and text) used for the image generation.", "type": { - "$id": "5231", + "$id": "5300", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65159,16 +67163,17 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5232", + "$id": "5301", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of tokens (images and text) in the input prompt.", "type": { - "$id": "5233", + "$id": "5302", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65184,16 +67189,17 @@ "json": { "name": "input_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5234", + "$id": "5303", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of image tokens in the output image.", "type": { - "$id": "5235", + "$id": "5304", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65209,16 +67215,17 @@ "json": { "name": "output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5236", + "$id": "5305", "kind": "property", "name": "input_tokens_details", "serializedName": "input_tokens_details", "doc": "The input tokens detailed information for the image generation.", "type": { - "$id": "5237", + "$id": "5306", "kind": "model", "name": "ImagesResponseUsageInputTokensDetails", "namespace": "OpenAI", @@ -65227,13 +67234,13 @@ "decorators": [], "properties": [ { - "$id": "5238", + "$id": "5307", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens in the input prompt.", "type": { - "$id": "5239", + "$id": "5308", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65249,16 +67256,17 @@ "json": { "name": "text_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5240", + "$id": "5309", "kind": "property", "name": "image_tokens", "serializedName": "image_tokens", "doc": "The number of image tokens in the input prompt.", "type": { - "$id": "5241", + "$id": "5310", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65274,7 +67282,8 @@ "json": { "name": "image_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -65288,7 +67297,8 @@ "json": { "name": "input_tokens_details" } - } + }, + "isHttpMetadata": false } ] }, @@ -65302,21 +67312,22 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5221" + "$ref": "5290" }, { - "$ref": "5229" + "$ref": "5298" }, { - "$ref": "5237" + "$ref": "5306" }, { - "$id": "5242", + "$id": "5311", "kind": "model", "name": "CreateImageEditRequest", "namespace": "OpenAI", @@ -65325,18 +67336,18 @@ "decorators": [], "properties": [ { - "$id": "5243", + "$id": "5312", "kind": "property", "name": "image", "serializedName": "image", "doc": "The image(s) to edit. Must be a supported image file or an array of images.\n\nFor `gpt-image-1`, each image should be a `png`, `webp`, or `jpg` file less\nthan 50MB. You can provide up to 16 images.\n\nFor `dall-e-2`, you can only provide one image, and it should be a square\n`png` file less than 4MB.", "type": { - "$id": "5244", + "$id": "5313", "kind": "union", "name": "CreateImageEditRequestImage", "variantTypes": [ { - "$id": "5245", + "$id": "5314", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -65344,11 +67355,11 @@ "decorators": [] }, { - "$id": "5246", + "$id": "5315", "kind": "array", "name": "Array26", "valueType": { - "$id": "5247", + "$id": "5316", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -65359,7 +67370,7 @@ "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -65376,18 +67387,20 @@ "application/octet-stream", "application/json" ], - "name": "image" + "name": "image", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5248", + "$id": "5317", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "A text description of the desired image(s). The maximum length is 1000 characters for `dall-e-2`, and 32000 characters for `gpt-image-1`.", "type": { - "$id": "5249", + "$id": "5318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65406,18 +67419,20 @@ "defaultContentTypes": [ "text/plain" ], - "name": "prompt" + "name": "prompt", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5250", + "$id": "5319", "kind": "property", "name": "mask", "serializedName": "mask", "doc": "An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. If there are multiple images provided, the mask will be applied on the first image. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.", "type": { - "$id": "5251", + "$id": "5320", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -65437,23 +67452,25 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "mask" + "name": "mask", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5252", + "$id": "5321", "kind": "property", "name": "background", "serializedName": "background", "doc": "Allows to set transparency for the background of the generated image(s).\nThis parameter is only supported for `gpt-image-1`. Must be one of\n`transparent`, `opaque` or `auto` (default value). When `auto` is used, the\nmodel will automatically determine the best background for the image.\n\nIf `transparent`, the output format needs to support transparency, so it\nshould be set to either `png` (default value) or `webp`.", "type": { - "$id": "5253", + "$id": "5322", "kind": "nullable", "type": { "$ref": "837" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65468,23 +67485,25 @@ "defaultContentTypes": [ "application/json" ], - "name": "background" + "name": "background", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5254", + "$id": "5323", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for image generation. Only `dall-e-2` and `gpt-image-1` are supported. Defaults to `dall-e-2` unless a parameter specific to `gpt-image-1` is used.", "type": { - "$id": "5255", + "$id": "5324", "kind": "nullable", "type": { "$ref": "842" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65499,26 +67518,28 @@ "defaultContentTypes": [ "application/json" ], - "name": "model" + "name": "model", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5256", + "$id": "5325", "kind": "property", "name": "n", "serializedName": "n", "doc": "The number of images to generate. Must be between 1 and 10.", "type": { - "$id": "5257", + "$id": "5326", "kind": "nullable", "type": { - "$id": "5258", + "$id": "5327", "kind": "int32", "name": "OneToTenInt", "crossLanguageDefinitionId": "OpenAI.OneToTenInt", "baseType": { - "$id": "5259", + "$id": "5328", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65526,7 +67547,7 @@ }, "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65541,23 +67562,25 @@ "defaultContentTypes": [ "application/json" ], - "name": "n" + "name": "n", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5260", + "$id": "5329", "kind": "property", "name": "size", "serializedName": "size", "doc": "The size of the generated images. Must be one of `1024x1024`, `1536x1024` (landscape), `1024x1536` (portrait), or `auto` (default value) for `gpt-image-1`, and one of `256x256`, `512x512`, or `1024x1024` for `dall-e-2`.", "type": { - "$id": "5261", + "$id": "5330", "kind": "nullable", "type": { "$ref": "846" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65572,23 +67595,25 @@ "defaultContentTypes": [ "application/json" ], - "name": "size" + "name": "size", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5262", + "$id": "5331", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated. This parameter is only supported for `dall-e-2`, as `gpt-image-1` will always return base64-encoded images.", "type": { - "$id": "5263", + "$id": "5332", "kind": "nullable", "type": { "$ref": "854" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65603,18 +67628,20 @@ "defaultContentTypes": [ "application/json" ], - "name": "response_format" + "name": "response_format", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5264", + "$id": "5333", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "5265", + "$id": "5334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65633,23 +67660,25 @@ "defaultContentTypes": [ "text/plain" ], - "name": "user" + "name": "user", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5266", + "$id": "5335", "kind": "property", "name": "quality", "serializedName": "quality", "doc": "The quality of the image that will be generated. `high`, `medium` and `low` are only supported for `gpt-image-1`. `dall-e-2` only supports `standard` quality. Defaults to `auto`.", "type": { - "$id": "5267", + "$id": "5336", "kind": "nullable", "type": { "$ref": "858" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65664,14 +67693,16 @@ "defaultContentTypes": [ "application/json" ], - "name": "quality" + "name": "quality", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5268", + "$id": "5337", "kind": "model", "name": "CreateImageVariationRequest", "namespace": "OpenAI", @@ -65680,13 +67711,13 @@ "decorators": [], "properties": [ { - "$id": "5269", + "$id": "5338", "kind": "property", "name": "image", "serializedName": "image", "doc": "The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.", "type": { - "$id": "5270", + "$id": "5339", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -65706,23 +67737,25 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "image" + "name": "image", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5271", + "$id": "5340", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for image generation. Only `dall-e-2` is supported at this time.", "type": { - "$id": "5272", + "$id": "5341", "kind": "nullable", "type": { "$ref": "865" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65737,26 +67770,28 @@ "defaultContentTypes": [ "application/json" ], - "name": "model" + "name": "model", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5273", + "$id": "5342", "kind": "property", "name": "n", "serializedName": "n", "doc": "The number of images to generate. Must be between 1 and 10.", "type": { - "$id": "5274", + "$id": "5343", "kind": "nullable", "type": { - "$id": "5275", + "$id": "5344", "kind": "int32", "name": "OneToTenInt", "crossLanguageDefinitionId": "OpenAI.OneToTenInt", "baseType": { - "$id": "5276", + "$id": "5345", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -65764,7 +67799,7 @@ }, "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65779,23 +67814,25 @@ "defaultContentTypes": [ "application/json" ], - "name": "n" + "name": "n", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5277", + "$id": "5346", "kind": "property", "name": "response_format", "serializedName": "response_format", "doc": "The format in which the generated images are returned. Must be one of `url` or `b64_json`. URLs are only valid for 60 minutes after the image has been generated.", "type": { - "$id": "5278", + "$id": "5347", "kind": "nullable", "type": { "$ref": "868" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65810,23 +67847,25 @@ "defaultContentTypes": [ "application/json" ], - "name": "response_format" + "name": "response_format", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5279", + "$id": "5348", "kind": "property", "name": "size", "serializedName": "size", "doc": "The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.", "type": { - "$id": "5280", + "$id": "5349", "kind": "nullable", "type": { "$ref": "872" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -65841,18 +67880,20 @@ "defaultContentTypes": [ "application/json" ], - "name": "size" + "name": "size", + "headers": [] } - } + }, + "isHttpMetadata": false }, { - "$id": "5281", + "$id": "5350", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "5282", + "$id": "5351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -65871,14 +67912,16 @@ "defaultContentTypes": [ "text/plain" ], - "name": "user" + "name": "user", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5283", + "$id": "5352", "kind": "model", "name": "CreateMessageRequest", "namespace": "OpenAI", @@ -65887,7 +67930,7 @@ "decorators": [], "properties": [ { - "$id": "5284", + "$id": "5353", "kind": "property", "name": "role", "serializedName": "role", @@ -65905,19 +67948,20 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "5285", + "$id": "5354", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "5286", + "$id": "5355", "kind": "array", "name": "ArrayMessageContent", "valueType": { - "$id": "5287", + "$id": "5356", "kind": "model", "name": "MessageContent", "namespace": "OpenAI", @@ -65927,7 +67971,7 @@ "doc": "Represents a single piece of content in an Assistants API message.", "decorators": [], "discriminatorProperty": { - "$id": "5288", + "$id": "5357", "kind": "property", "name": "type", "serializedName": "type", @@ -65944,16 +67988,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "5288" + "$ref": "5357" } ], "discriminatedSubtypes": { "image_file": { - "$id": "5289", + "$id": "5358", "kind": "model", "name": "MessageContentImageFileObject", "namespace": "OpenAI", @@ -65964,11 +68009,11 @@ "discriminatorValue": "image_file", "decorators": [], "baseModel": { - "$ref": "5287" + "$ref": "5356" }, "properties": [ { - "$id": "5290", + "$id": "5359", "kind": "property", "name": "type", "serializedName": "type", @@ -65986,15 +68031,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5291", + "$id": "5360", "kind": "property", "name": "image_file", "serializedName": "image_file", "type": { - "$id": "5292", + "$id": "5361", "kind": "model", "name": "MessageContentImageFileObjectImageFile", "namespace": "OpenAI", @@ -66003,13 +68049,13 @@ "decorators": [], "properties": [ { - "$id": "5293", + "$id": "5362", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The [File](/docs/api-reference/files) ID of the image in the message content. Set `purpose=\"vision\"` when uploading the File if you need to later display the file content.", "type": { - "$id": "5294", + "$id": "5363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66025,10 +68071,11 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5295", + "$id": "5364", "kind": "property", "name": "detail", "serializedName": "detail", @@ -66046,7 +68093,8 @@ "json": { "name": "detail" } - } + }, + "isHttpMetadata": false } ] }, @@ -66060,12 +68108,13 @@ "json": { "name": "image_file" } - } + }, + "isHttpMetadata": false } ] }, "text": { - "$id": "5296", + "$id": "5365", "kind": "model", "name": "MessageContentTextObject", "namespace": "OpenAI", @@ -66076,11 +68125,11 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "5287" + "$ref": "5356" }, "properties": [ { - "$id": "5297", + "$id": "5366", "kind": "property", "name": "type", "serializedName": "type", @@ -66098,27 +68147,28 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5298", + "$id": "5367", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "5299", + "$id": "5368", "kind": "union", "name": "MessageContentTextObjectText", "variantTypes": [ { - "$id": "5300", + "$id": "5369", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, { - "$id": "5301", + "$id": "5370", "kind": "model", "name": "MessageContentTextObjectText1", "namespace": "OpenAI", @@ -66127,12 +68177,12 @@ "decorators": [], "properties": [ { - "$id": "5302", + "$id": "5371", "kind": "property", "name": "value", "serializedName": "value", "type": { - "$id": "5303", + "$id": "5372", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66148,19 +68198,20 @@ "json": { "name": "value" } - } + }, + "isHttpMetadata": false }, { - "$id": "5304", + "$id": "5373", "kind": "property", "name": "annotations", "serializedName": "annotations", "type": { - "$id": "5305", + "$id": "5374", "kind": "array", "name": "ArrayMessageContentTextObjectAnnotation", "valueType": { - "$id": "5306", + "$id": "5375", "kind": "model", "name": "MessageContentTextObjectAnnotation", "namespace": "OpenAI", @@ -66169,7 +68220,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "5307", + "$id": "5376", "kind": "property", "name": "type", "serializedName": "type", @@ -66187,16 +68238,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "5307" + "$ref": "5376" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "5308", + "$id": "5377", "kind": "model", "name": "MessageContentTextAnnotationsFileCitationObject", "namespace": "OpenAI", @@ -66207,11 +68259,11 @@ "discriminatorValue": "file_citation", "decorators": [], "baseModel": { - "$ref": "5306" + "$ref": "5375" }, "properties": [ { - "$id": "5309", + "$id": "5378", "kind": "property", "name": "type", "serializedName": "type", @@ -66229,16 +68281,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5310", + "$id": "5379", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "5311", + "$id": "5380", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66254,15 +68307,16 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { - "$id": "5312", + "$id": "5381", "kind": "property", "name": "file_citation", "serializedName": "file_citation", "type": { - "$id": "5313", + "$id": "5382", "kind": "model", "name": "MessageContentTextAnnotationsFileCitationObjectFileCitation", "namespace": "OpenAI", @@ -66271,13 +68325,13 @@ "decorators": [], "properties": [ { - "$id": "5314", + "$id": "5383", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the specific File the citation is from.", "type": { - "$id": "5315", + "$id": "5384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66293,7 +68347,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -66307,15 +68362,16 @@ "json": { "name": "file_citation" } - } + }, + "isHttpMetadata": false }, { - "$id": "5316", + "$id": "5385", "kind": "property", "name": "start_index", "serializedName": "start_index", "type": { - "$id": "5317", + "$id": "5386", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -66331,15 +68387,16 @@ "json": { "name": "start_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "5318", + "$id": "5387", "kind": "property", "name": "end_index", "serializedName": "end_index", "type": { - "$id": "5319", + "$id": "5388", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -66355,12 +68412,13 @@ "json": { "name": "end_index" } - } + }, + "isHttpMetadata": false } ] }, "file_path": { - "$id": "5320", + "$id": "5389", "kind": "model", "name": "MessageContentTextAnnotationsFilePathObject", "namespace": "OpenAI", @@ -66371,11 +68429,11 @@ "discriminatorValue": "file_path", "decorators": [], "baseModel": { - "$ref": "5306" + "$ref": "5375" }, "properties": [ { - "$id": "5321", + "$id": "5390", "kind": "property", "name": "type", "serializedName": "type", @@ -66393,16 +68451,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5322", + "$id": "5391", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "5323", + "$id": "5392", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66418,15 +68477,16 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false }, { - "$id": "5324", + "$id": "5393", "kind": "property", "name": "file_path", "serializedName": "file_path", "type": { - "$id": "5325", + "$id": "5394", "kind": "model", "name": "MessageContentTextAnnotationsFilePathObjectFilePath", "namespace": "OpenAI", @@ -66435,13 +68495,13 @@ "decorators": [], "properties": [ { - "$id": "5326", + "$id": "5395", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file that was generated.", "type": { - "$id": "5327", + "$id": "5396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66457,7 +68517,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -66471,15 +68532,16 @@ "json": { "name": "file_path" } - } + }, + "isHttpMetadata": false }, { - "$id": "5328", + "$id": "5397", "kind": "property", "name": "start_index", "serializedName": "start_index", "type": { - "$id": "5329", + "$id": "5398", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -66495,15 +68557,16 @@ "json": { "name": "start_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "5330", + "$id": "5399", "kind": "property", "name": "end_index", "serializedName": "end_index", "type": { - "$id": "5331", + "$id": "5400", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -66519,7 +68582,8 @@ "json": { "name": "end_index" } - } + }, + "isHttpMetadata": false } ] } @@ -66538,12 +68602,13 @@ "json": { "name": "annotations" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -66556,12 +68621,13 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, "refusal": { - "$id": "5332", + "$id": "5401", "kind": "model", "name": "MessageContentRefusalObject", "namespace": "OpenAI", @@ -66572,11 +68638,11 @@ "discriminatorValue": "refusal", "decorators": [], "baseModel": { - "$ref": "5287" + "$ref": "5356" }, "properties": [ { - "$id": "5333", + "$id": "5402", "kind": "property", "name": "type", "serializedName": "type", @@ -66594,15 +68660,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5334", + "$id": "5403", "kind": "property", "name": "refusal", "serializedName": "refusal", "type": { - "$id": "5335", + "$id": "5404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66618,12 +68685,13 @@ "json": { "name": "refusal" } - } + }, + "isHttpMetadata": false } ] }, "image_url": { - "$id": "5336", + "$id": "5405", "kind": "model", "name": "MessageContentImageUrlObject", "namespace": "OpenAI", @@ -66634,11 +68702,11 @@ "discriminatorValue": "image_url", "decorators": [], "baseModel": { - "$ref": "5287" + "$ref": "5356" }, "properties": [ { - "$id": "5337", + "$id": "5406", "kind": "property", "name": "type", "serializedName": "type", @@ -66656,15 +68724,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5338", + "$id": "5407", "kind": "property", "name": "image_url", "serializedName": "image_url", "type": { - "$id": "5339", + "$id": "5408", "kind": "model", "name": "MessageContentImageUrlObjectImageUrl", "namespace": "OpenAI", @@ -66673,13 +68742,13 @@ "decorators": [], "properties": [ { - "$id": "5340", + "$id": "5409", "kind": "property", "name": "url", "serializedName": "url", "doc": "The external URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.", "type": { - "$id": "5341", + "$id": "5410", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -66695,10 +68764,11 @@ "json": { "name": "url" } - } + }, + "isHttpMetadata": false }, { - "$id": "5342", + "$id": "5411", "kind": "property", "name": "detail", "serializedName": "detail", @@ -66716,7 +68786,8 @@ "json": { "name": "detail" } - } + }, + "isHttpMetadata": false } ] }, @@ -66730,7 +68801,8 @@ "json": { "name": "image_url" } - } + }, + "isHttpMetadata": false } ] } @@ -66749,23 +68821,24 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { - "$id": "5343", + "$id": "5412", "kind": "property", "name": "attachments", "serializedName": "attachments", "doc": "A list of files attached to the message, and the tools they should be added to.", "type": { - "$id": "5344", + "$id": "5413", "kind": "nullable", "type": { - "$id": "5345", + "$id": "5414", "kind": "array", "name": "Array27", "valueType": { - "$id": "5346", + "$id": "5415", "kind": "model", "name": "CreateMessageRequestAttachment", "namespace": "OpenAI", @@ -66774,13 +68847,13 @@ "decorators": [], "properties": [ { - "$id": "5347", + "$id": "5416", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to attach to the message.", "type": { - "$id": "5348", + "$id": "5417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66796,20 +68869,21 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5349", + "$id": "5418", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools to add this file to.", "type": { - "$id": "5350", + "$id": "5419", "kind": "array", "name": "Array28", "valueType": { - "$id": "5351", + "$id": "5420", "kind": "union", "name": "CreateMessageRequestAttachmentTool", "variantTypes": [ @@ -66817,7 +68891,7 @@ "$ref": "2277" }, { - "$id": "5352", + "$id": "5421", "kind": "model", "name": "AssistantToolsFileSearchTypeOnly", "namespace": "OpenAI", @@ -66826,7 +68900,7 @@ "decorators": [], "properties": [ { - "$id": "5353", + "$id": "5422", "kind": "property", "name": "type", "serializedName": "type", @@ -66844,12 +68918,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -66865,14 +68940,15 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false } ] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -66884,10 +68960,11 @@ "json": { "name": "attachments" } - } + }, + "isHttpMetadata": false }, { - "$id": "5354", + "$id": "5423", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -66905,57 +68982,58 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5287" + "$ref": "5356" }, { - "$ref": "5289" + "$ref": "5358" }, { - "$ref": "5292" + "$ref": "5361" }, { - "$ref": "5296" + "$ref": "5365" }, { - "$ref": "5301" + "$ref": "5370" }, { - "$ref": "5306" + "$ref": "5375" }, { - "$ref": "5308" + "$ref": "5377" }, { - "$ref": "5313" + "$ref": "5382" }, { - "$ref": "5320" + "$ref": "5389" }, { - "$ref": "5325" + "$ref": "5394" }, { - "$ref": "5332" + "$ref": "5401" }, { - "$ref": "5336" + "$ref": "5405" }, { - "$ref": "5339" + "$ref": "5408" }, { - "$ref": "5346" + "$ref": "5415" }, { - "$ref": "5352" + "$ref": "5421" }, { - "$id": "5355", + "$id": "5424", "kind": "model", "name": "MessageObject", "namespace": "OpenAI", @@ -66965,13 +69043,13 @@ "decorators": [], "properties": [ { - "$id": "5356", + "$id": "5425", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "5357", + "$id": "5426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -66987,10 +69065,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5358", + "$id": "5427", "kind": "property", "name": "object", "serializedName": "object", @@ -67008,21 +69087,22 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5359", + "$id": "5428", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the message was created.", "type": { - "$id": "5360", + "$id": "5429", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5361", + "$id": "5430", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -67041,16 +69121,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5362", + "$id": "5431", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The [thread](/docs/api-reference/threads) ID that this message belongs to.", "type": { - "$id": "5363", + "$id": "5432", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67066,10 +69147,11 @@ "json": { "name": "thread_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5364", + "$id": "5433", "kind": "property", "name": "status", "serializedName": "status", @@ -67087,19 +69169,20 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "5365", + "$id": "5434", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "On an incomplete message, details about why the message is incomplete.", "type": { - "$id": "5366", + "$id": "5435", "kind": "nullable", "type": { - "$id": "5367", + "$id": "5436", "kind": "model", "name": "MessageObjectIncompleteDetails1", "namespace": "OpenAI", @@ -67108,7 +69191,7 @@ "decorators": [], "properties": [ { - "$id": "5368", + "$id": "5437", "kind": "property", "name": "reason", "serializedName": "reason", @@ -67126,11 +69209,12 @@ "json": { "name": "reason" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -67142,24 +69226,25 @@ "json": { "name": "incomplete_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "5369", + "$id": "5438", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the message was completed.", "type": { - "$id": "5370", + "$id": "5439", "kind": "nullable", "type": { - "$id": "5371", + "$id": "5440", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5372", + "$id": "5441", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -67168,7 +69253,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -67180,24 +69265,25 @@ "json": { "name": "completed_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5373", + "$id": "5442", "kind": "property", "name": "incomplete_at", "serializedName": "incomplete_at", "doc": "The Unix timestamp (in seconds) for when the message was marked as incomplete.", "type": { - "$id": "5374", + "$id": "5443", "kind": "nullable", "type": { - "$id": "5375", + "$id": "5444", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5376", + "$id": "5445", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -67206,7 +69292,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -67218,10 +69304,11 @@ "json": { "name": "incomplete_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5377", + "$id": "5446", "kind": "property", "name": "role", "serializedName": "role", @@ -67239,16 +69326,17 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "5378", + "$id": "5447", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the message in array of text and/or images.", "type": { - "$ref": "5286" + "$ref": "5355" }, "optional": false, "readOnly": true, @@ -67260,25 +69348,26 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { - "$id": "5379", + "$id": "5448", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "If applicable, the ID of the [assistant](/docs/api-reference/assistants) that authored this message.", "type": { - "$id": "5380", + "$id": "5449", "kind": "nullable", "type": { - "$id": "5381", + "$id": "5450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -67290,25 +69379,26 @@ "json": { "name": "assistant_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5382", + "$id": "5451", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the [run](/docs/api-reference/runs) associated with the creation of this message. Value is `null` when messages are created manually using the create message or create thread endpoints.", "type": { - "$id": "5383", + "$id": "5452", "kind": "nullable", "type": { - "$id": "5384", + "$id": "5453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -67320,23 +69410,24 @@ "json": { "name": "run_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5385", + "$id": "5454", "kind": "property", "name": "attachments", "serializedName": "attachments", "doc": "A list of files attached to the message, and the tools they were added to.", "type": { - "$id": "5386", + "$id": "5455", "kind": "nullable", "type": { - "$id": "5387", + "$id": "5456", "kind": "array", "name": "Array29", "valueType": { - "$id": "5388", + "$id": "5457", "kind": "model", "name": "MessageObjectAttachment", "namespace": "OpenAI", @@ -67345,13 +69436,13 @@ "decorators": [], "properties": [ { - "$id": "5389", + "$id": "5458", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file to attach to the message.", "type": { - "$id": "5390", + "$id": "5459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67367,20 +69458,21 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5391", + "$id": "5460", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "The tools to add this file to.", "type": { - "$id": "5392", + "$id": "5461", "kind": "array", "name": "Array30", "valueType": { - "$id": "5393", + "$id": "5462", "kind": "union", "name": "MessageObjectAttachmentTool", "variantTypes": [ @@ -67388,10 +69480,10 @@ "$ref": "2277" }, { - "$ref": "5352" + "$ref": "5421" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -67407,14 +69499,15 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false } ] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -67426,10 +69519,11 @@ "json": { "name": "attachments" } - } + }, + "isHttpMetadata": false }, { - "$id": "5394", + "$id": "5463", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -67447,18 +69541,19 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5367" + "$ref": "5436" }, { - "$ref": "5388" + "$ref": "5457" }, { - "$id": "5395", + "$id": "5464", "kind": "model", "name": "ListMessagesResponse", "namespace": "OpenAI", @@ -67467,7 +69562,7 @@ "decorators": [], "properties": [ { - "$id": "5396", + "$id": "5465", "kind": "property", "name": "object", "serializedName": "object", @@ -67484,19 +69579,20 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5397", + "$id": "5466", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "5398", + "$id": "5467", "kind": "array", "name": "ArrayMessageObject", "valueType": { - "$ref": "5355" + "$ref": "5424" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -67511,15 +69607,16 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "5399", + "$id": "5468", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "5400", + "$id": "5469", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67535,15 +69632,16 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5401", + "$id": "5470", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "5402", + "$id": "5471", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67559,15 +69657,16 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5403", + "$id": "5472", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "5404", + "$id": "5473", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -67583,12 +69682,13 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5405", + "$id": "5474", "kind": "model", "name": "ModifyMessageRequest", "namespace": "OpenAI", @@ -67597,7 +69697,7 @@ "decorators": [], "properties": [ { - "$id": "5406", + "$id": "5475", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -67615,12 +69715,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5407", + "$id": "5476", "kind": "model", "name": "DeleteMessageResponse", "namespace": "OpenAI", @@ -67629,12 +69730,12 @@ "decorators": [], "properties": [ { - "$id": "5408", + "$id": "5477", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5409", + "$id": "5478", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67650,15 +69751,16 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5410", + "$id": "5479", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "5411", + "$id": "5480", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -67674,10 +69776,11 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "5412", + "$id": "5481", "kind": "property", "name": "object", "serializedName": "object", @@ -67694,12 +69797,13 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5413", + "$id": "5482", "kind": "model", "name": "CreateModerationRequest", "namespace": "OpenAI", @@ -67708,18 +69812,18 @@ "decorators": [], "properties": [ { - "$id": "5414", + "$id": "5483", "kind": "property", "name": "input", "serializedName": "input", "doc": "Input (or inputs) to classify. Can be a single string, an array of strings, or\nan array of multi-modal input objects similar to other models.", "type": { - "$id": "5415", + "$id": "5484", "kind": "union", "name": "CreateModerationRequestInput", "variantTypes": [ { - "$id": "5416", + "$id": "5485", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67729,16 +69833,16 @@ "$ref": "2309" }, { - "$id": "5417", + "$id": "5486", "kind": "array", "name": "Array31", "valueType": { - "$id": "5418", + "$id": "5487", "kind": "union", "name": "CreateModerationRequestInput1", "variantTypes": [ { - "$id": "5419", + "$id": "5488", "kind": "model", "name": "CreateModerationRequestInput2", "namespace": "OpenAI", @@ -67747,7 +69851,7 @@ "decorators": [], "properties": [ { - "$id": "5420", + "$id": "5489", "kind": "property", "name": "type", "serializedName": "type", @@ -67765,16 +69869,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5421", + "$id": "5490", "kind": "property", "name": "image_url", "serializedName": "image_url", "doc": "Contains either an image URL or a data URL for a base64 encoded image.", "type": { - "$id": "5422", + "$id": "5491", "kind": "model", "name": "CreateModerationRequestInputImageUrl", "namespace": "OpenAI", @@ -67783,13 +69888,13 @@ "decorators": [], "properties": [ { - "$id": "5423", + "$id": "5492", "kind": "property", "name": "url", "serializedName": "url", "doc": "Either a URL of the image or the base64 encoded image data.", "type": { - "$id": "5424", + "$id": "5493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67805,7 +69910,8 @@ "json": { "name": "url" } - } + }, + "isHttpMetadata": false } ] }, @@ -67819,12 +69925,13 @@ "json": { "name": "image_url" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5425", + "$id": "5494", "kind": "model", "name": "CreateModerationRequestInput3", "namespace": "OpenAI", @@ -67833,7 +69940,7 @@ "decorators": [], "properties": [ { - "$id": "5426", + "$id": "5495", "kind": "property", "name": "type", "serializedName": "type", @@ -67851,16 +69958,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5427", + "$id": "5496", "kind": "property", "name": "text", "serializedName": "text", "doc": "A string of text to classify.", "type": { - "$id": "5428", + "$id": "5497", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67876,19 +69984,20 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -67901,10 +70010,11 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "5429", + "$id": "5498", "kind": "property", "name": "model", "serializedName": "model", @@ -67922,21 +70032,22 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5419" + "$ref": "5488" }, { - "$ref": "5422" + "$ref": "5491" }, { - "$ref": "5425" + "$ref": "5494" }, { - "$id": "5430", + "$id": "5499", "kind": "model", "name": "CreateModerationResponse", "namespace": "OpenAI", @@ -67946,13 +70057,13 @@ "decorators": [], "properties": [ { - "$id": "5431", + "$id": "5500", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique identifier for the moderation request.", "type": { - "$id": "5432", + "$id": "5501", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67968,16 +70079,17 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5433", + "$id": "5502", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used to generate the moderation results.", "type": { - "$id": "5434", + "$id": "5503", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -67993,20 +70105,21 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "5435", + "$id": "5504", "kind": "property", "name": "results", "serializedName": "results", "doc": "A list of moderation objects.", "type": { - "$id": "5436", + "$id": "5505", "kind": "array", "name": "ArrayCreateModerationResponseResult", "valueType": { - "$id": "5437", + "$id": "5506", "kind": "model", "name": "CreateModerationResponseResult", "namespace": "OpenAI", @@ -68015,13 +70128,13 @@ "decorators": [], "properties": [ { - "$id": "5438", + "$id": "5507", "kind": "property", "name": "flagged", "serializedName": "flagged", "doc": "Whether any of the below categories are flagged.", "type": { - "$id": "5439", + "$id": "5508", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68037,16 +70150,17 @@ "json": { "name": "flagged" } - } + }, + "isHttpMetadata": false }, { - "$id": "5440", + "$id": "5509", "kind": "property", "name": "categories", "serializedName": "categories", "doc": "A list of the categories, and whether they are flagged or not.", "type": { - "$id": "5441", + "$id": "5510", "kind": "model", "name": "CreateModerationResponseResultCategories", "namespace": "OpenAI", @@ -68055,13 +70169,13 @@ "decorators": [], "properties": [ { - "$id": "5442", + "$id": "5511", "kind": "property", "name": "hate", "serializedName": "hate", "doc": "Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harassment.", "type": { - "$id": "5443", + "$id": "5512", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68077,16 +70191,17 @@ "json": { "name": "hate" } - } + }, + "isHttpMetadata": false }, { - "$id": "5444", + "$id": "5513", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "doc": "Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.", "type": { - "$id": "5445", + "$id": "5514", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68102,16 +70217,17 @@ "json": { "name": "hate/threatening" } - } + }, + "isHttpMetadata": false }, { - "$id": "5446", + "$id": "5515", "kind": "property", "name": "harassment", "serializedName": "harassment", "doc": "Content that expresses, incites, or promotes harassing language towards any target.", "type": { - "$id": "5447", + "$id": "5516", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68127,16 +70243,17 @@ "json": { "name": "harassment" } - } + }, + "isHttpMetadata": false }, { - "$id": "5448", + "$id": "5517", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "doc": "Harassment content that also includes violence or serious harm towards any target.", "type": { - "$id": "5449", + "$id": "5518", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68152,16 +70269,17 @@ "json": { "name": "harassment/threatening" } - } + }, + "isHttpMetadata": false }, { - "$id": "5450", + "$id": "5519", "kind": "property", "name": "illicit", "serializedName": "illicit", "doc": "Content that includes instructions or advice that facilitate the planning or execution of wrongdoing, or that gives advice or instruction on how to commit illicit acts. For example, \"how to shoplift\" would fit this category.", "type": { - "$id": "5451", + "$id": "5520", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68177,16 +70295,17 @@ "json": { "name": "illicit" } - } + }, + "isHttpMetadata": false }, { - "$id": "5452", + "$id": "5521", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "doc": "Content that includes instructions or advice that facilitate the planning or execution of wrongdoing that also includes violence, or that gives advice or instruction on the procurement of any weapon.", "type": { - "$id": "5453", + "$id": "5522", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68202,16 +70321,17 @@ "json": { "name": "illicit/violent" } - } + }, + "isHttpMetadata": false }, { - "$id": "5454", + "$id": "5523", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "doc": "Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.", "type": { - "$id": "5455", + "$id": "5524", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68227,16 +70347,17 @@ "json": { "name": "self-harm" } - } + }, + "isHttpMetadata": false }, { - "$id": "5456", + "$id": "5525", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "doc": "Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders.", "type": { - "$id": "5457", + "$id": "5526", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68252,16 +70373,17 @@ "json": { "name": "self-harm/intent" } - } + }, + "isHttpMetadata": false }, { - "$id": "5458", + "$id": "5527", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "doc": "Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.", "type": { - "$id": "5459", + "$id": "5528", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68277,16 +70399,17 @@ "json": { "name": "self-harm/instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5460", + "$id": "5529", "kind": "property", "name": "sexual", "serializedName": "sexual", "doc": "Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).", "type": { - "$id": "5461", + "$id": "5530", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68302,16 +70425,17 @@ "json": { "name": "sexual" } - } + }, + "isHttpMetadata": false }, { - "$id": "5462", + "$id": "5531", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "doc": "Sexual content that includes an individual who is under 18 years old.", "type": { - "$id": "5463", + "$id": "5532", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68327,16 +70451,17 @@ "json": { "name": "sexual/minors" } - } + }, + "isHttpMetadata": false }, { - "$id": "5464", + "$id": "5533", "kind": "property", "name": "violence", "serializedName": "violence", "doc": "Content that depicts death, violence, or physical injury.", "type": { - "$id": "5465", + "$id": "5534", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68352,16 +70477,17 @@ "json": { "name": "violence" } - } + }, + "isHttpMetadata": false }, { - "$id": "5466", + "$id": "5535", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "doc": "Content that depicts death, violence, or physical injury in graphic detail.", "type": { - "$id": "5467", + "$id": "5536", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -68377,7 +70503,8 @@ "json": { "name": "violence/graphic" } - } + }, + "isHttpMetadata": false } ] }, @@ -68391,16 +70518,17 @@ "json": { "name": "categories" } - } + }, + "isHttpMetadata": false }, { - "$id": "5468", + "$id": "5537", "kind": "property", "name": "category_scores", "serializedName": "category_scores", "doc": "A list of the categories along with their scores as predicted by model.", "type": { - "$id": "5469", + "$id": "5538", "kind": "model", "name": "CreateModerationResponseResultCategoryScores", "namespace": "OpenAI", @@ -68409,13 +70537,13 @@ "decorators": [], "properties": [ { - "$id": "5470", + "$id": "5539", "kind": "property", "name": "hate", "serializedName": "hate", "doc": "The score for the category 'hate'.", "type": { - "$id": "5471", + "$id": "5540", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68431,16 +70559,17 @@ "json": { "name": "hate" } - } + }, + "isHttpMetadata": false }, { - "$id": "5472", + "$id": "5541", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "doc": "The score for the category 'hate/threatening'.", "type": { - "$id": "5473", + "$id": "5542", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68456,16 +70585,17 @@ "json": { "name": "hate/threatening" } - } + }, + "isHttpMetadata": false }, { - "$id": "5474", + "$id": "5543", "kind": "property", "name": "harassment", "serializedName": "harassment", "doc": "The score for the category 'harassment'.", "type": { - "$id": "5475", + "$id": "5544", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68481,16 +70611,17 @@ "json": { "name": "harassment" } - } + }, + "isHttpMetadata": false }, { - "$id": "5476", + "$id": "5545", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "doc": "The score for the category 'harassment/threatening'.", "type": { - "$id": "5477", + "$id": "5546", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68506,16 +70637,17 @@ "json": { "name": "harassment/threatening" } - } + }, + "isHttpMetadata": false }, { - "$id": "5478", + "$id": "5547", "kind": "property", "name": "illicit", "serializedName": "illicit", "doc": "The score for the category 'illicit'.", "type": { - "$id": "5479", + "$id": "5548", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68531,16 +70663,17 @@ "json": { "name": "illicit" } - } + }, + "isHttpMetadata": false }, { - "$id": "5480", + "$id": "5549", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "doc": "The score for the category 'illicit/violent'.", "type": { - "$id": "5481", + "$id": "5550", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68556,16 +70689,17 @@ "json": { "name": "illicit/violent" } - } + }, + "isHttpMetadata": false }, { - "$id": "5482", + "$id": "5551", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "doc": "The score for the category 'self-harm'.", "type": { - "$id": "5483", + "$id": "5552", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68581,16 +70715,17 @@ "json": { "name": "self-harm" } - } + }, + "isHttpMetadata": false }, { - "$id": "5484", + "$id": "5553", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "doc": "The score for the category 'self-harm/intent'.", "type": { - "$id": "5485", + "$id": "5554", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68606,16 +70741,17 @@ "json": { "name": "self-harm/intent" } - } + }, + "isHttpMetadata": false }, { - "$id": "5486", + "$id": "5555", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "doc": "The score for the category 'self-harm/instructions'.", "type": { - "$id": "5487", + "$id": "5556", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68631,16 +70767,17 @@ "json": { "name": "self-harm/instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5488", + "$id": "5557", "kind": "property", "name": "sexual", "serializedName": "sexual", "doc": "The score for the category 'sexual'.", "type": { - "$id": "5489", + "$id": "5558", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68656,16 +70793,17 @@ "json": { "name": "sexual" } - } + }, + "isHttpMetadata": false }, { - "$id": "5490", + "$id": "5559", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "doc": "The score for the category 'sexual/minors'.", "type": { - "$id": "5491", + "$id": "5560", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68681,16 +70819,17 @@ "json": { "name": "sexual/minors" } - } + }, + "isHttpMetadata": false }, { - "$id": "5492", + "$id": "5561", "kind": "property", "name": "violence", "serializedName": "violence", "doc": "The score for the category 'violence'.", "type": { - "$id": "5493", + "$id": "5562", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68706,16 +70845,17 @@ "json": { "name": "violence" } - } + }, + "isHttpMetadata": false }, { - "$id": "5494", + "$id": "5563", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "doc": "The score for the category 'violence/graphic'.", "type": { - "$id": "5495", + "$id": "5564", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -68731,7 +70871,8 @@ "json": { "name": "violence/graphic" } - } + }, + "isHttpMetadata": false } ] }, @@ -68745,16 +70886,17 @@ "json": { "name": "category_scores" } - } + }, + "isHttpMetadata": false }, { - "$id": "5496", + "$id": "5565", "kind": "property", "name": "category_applied_input_types", "serializedName": "category_applied_input_types", "doc": "A list of the categories along with the input type(s) that the score applies to.", "type": { - "$id": "5497", + "$id": "5566", "kind": "model", "name": "CreateModerationResponseResultCategoryAppliedInputTypes", "namespace": "OpenAI", @@ -68763,17 +70905,17 @@ "decorators": [], "properties": [ { - "$id": "5498", + "$id": "5567", "kind": "property", "name": "hate", "serializedName": "hate", "doc": "The applied input type(s) for the category 'hate'.", "type": { - "$id": "5499", + "$id": "5568", "kind": "array", "name": "Array32", "valueType": { - "$id": "5500", + "$id": "5569", "kind": "enumvalue", "name": "text", "value": "text", @@ -68798,16 +70940,17 @@ "json": { "name": "hate" } - } + }, + "isHttpMetadata": false }, { - "$id": "5501", + "$id": "5570", "kind": "property", "name": "hate/threatening", "serializedName": "hate/threatening", "doc": "The applied input type(s) for the category 'hate/threatening'.", "type": { - "$ref": "5499" + "$ref": "5568" }, "optional": false, "readOnly": false, @@ -68819,16 +70962,17 @@ "json": { "name": "hate/threatening" } - } + }, + "isHttpMetadata": false }, { - "$id": "5502", + "$id": "5571", "kind": "property", "name": "harassment", "serializedName": "harassment", "doc": "The applied input type(s) for the category 'harassment'.", "type": { - "$ref": "5499" + "$ref": "5568" }, "optional": false, "readOnly": false, @@ -68840,16 +70984,17 @@ "json": { "name": "harassment" } - } + }, + "isHttpMetadata": false }, { - "$id": "5503", + "$id": "5572", "kind": "property", "name": "harassment/threatening", "serializedName": "harassment/threatening", "doc": "The applied input type(s) for the category 'harassment/threatening'.", "type": { - "$ref": "5499" + "$ref": "5568" }, "optional": false, "readOnly": false, @@ -68861,16 +71006,17 @@ "json": { "name": "harassment/threatening" } - } + }, + "isHttpMetadata": false }, { - "$id": "5504", + "$id": "5573", "kind": "property", "name": "illicit", "serializedName": "illicit", "doc": "The applied input type(s) for the category 'illicit'.", "type": { - "$ref": "5499" + "$ref": "5568" }, "optional": false, "readOnly": false, @@ -68882,16 +71028,17 @@ "json": { "name": "illicit" } - } + }, + "isHttpMetadata": false }, { - "$id": "5505", + "$id": "5574", "kind": "property", "name": "illicit/violent", "serializedName": "illicit/violent", "doc": "The applied input type(s) for the category 'illicit/violent'.", "type": { - "$ref": "5499" + "$ref": "5568" }, "optional": false, "readOnly": false, @@ -68903,31 +71050,32 @@ "json": { "name": "illicit/violent" } - } + }, + "isHttpMetadata": false }, { - "$id": "5506", + "$id": "5575", "kind": "property", "name": "self-harm", "serializedName": "self-harm", "doc": "The applied input type(s) for the category 'self-harm'.", "type": { - "$id": "5507", + "$id": "5576", "kind": "array", "name": "Array33", "valueType": { - "$id": "5508", + "$id": "5577", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarm", "variantTypes": [ { - "$ref": "5500" + "$ref": "5569" }, { "$ref": "926" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -68943,31 +71091,32 @@ "json": { "name": "self-harm" } - } + }, + "isHttpMetadata": false }, { - "$id": "5509", + "$id": "5578", "kind": "property", "name": "self-harm/intent", "serializedName": "self-harm/intent", "doc": "The applied input type(s) for the category 'self-harm/intent'.", "type": { - "$id": "5510", + "$id": "5579", "kind": "array", "name": "Array34", "valueType": { - "$id": "5511", + "$id": "5580", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmIntent", "variantTypes": [ { - "$ref": "5500" + "$ref": "5569" }, { "$ref": "926" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -68983,31 +71132,32 @@ "json": { "name": "self-harm/intent" } - } + }, + "isHttpMetadata": false }, { - "$id": "5512", + "$id": "5581", "kind": "property", "name": "self-harm/instructions", "serializedName": "self-harm/instructions", "doc": "The applied input type(s) for the category 'self-harm/instructions'.", "type": { - "$id": "5513", + "$id": "5582", "kind": "array", "name": "Array35", "valueType": { - "$id": "5514", + "$id": "5583", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSelfHarmInstruction", "variantTypes": [ { - "$ref": "5500" + "$ref": "5569" }, { "$ref": "926" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -69023,31 +71173,32 @@ "json": { "name": "self-harm/instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5515", + "$id": "5584", "kind": "property", "name": "sexual", "serializedName": "sexual", "doc": "The applied input type(s) for the category 'sexual'.", "type": { - "$id": "5516", + "$id": "5585", "kind": "array", "name": "Array36", "valueType": { - "$id": "5517", + "$id": "5586", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesSexual", "variantTypes": [ { - "$ref": "5500" + "$ref": "5569" }, { "$ref": "926" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -69063,16 +71214,17 @@ "json": { "name": "sexual" } - } + }, + "isHttpMetadata": false }, { - "$id": "5518", + "$id": "5587", "kind": "property", "name": "sexual/minors", "serializedName": "sexual/minors", "doc": "The applied input type(s) for the category 'sexual/minors'.", "type": { - "$ref": "5499" + "$ref": "5568" }, "optional": false, "readOnly": false, @@ -69084,31 +71236,32 @@ "json": { "name": "sexual/minors" } - } + }, + "isHttpMetadata": false }, { - "$id": "5519", + "$id": "5588", "kind": "property", "name": "violence", "serializedName": "violence", "doc": "The applied input type(s) for the category 'violence'.", "type": { - "$id": "5520", + "$id": "5589", "kind": "array", "name": "Array37", "valueType": { - "$id": "5521", + "$id": "5590", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesViolence", "variantTypes": [ { - "$ref": "5500" + "$ref": "5569" }, { "$ref": "926" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -69124,31 +71277,32 @@ "json": { "name": "violence" } - } + }, + "isHttpMetadata": false }, { - "$id": "5522", + "$id": "5591", "kind": "property", "name": "violence/graphic", "serializedName": "violence/graphic", "doc": "The applied input type(s) for the category 'violence/graphic'.", "type": { - "$id": "5523", + "$id": "5592", "kind": "array", "name": "Array38", "valueType": { - "$id": "5524", + "$id": "5593", "kind": "union", "name": "CreateModerationResponseResultCategoryAppliedInputTypesViolenceGraphic", "variantTypes": [ { - "$ref": "5500" + "$ref": "5569" }, { "$ref": "926" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -69164,7 +71318,8 @@ "json": { "name": "violence/graphic" } - } + }, + "isHttpMetadata": false } ] }, @@ -69178,7 +71333,8 @@ "json": { "name": "category_applied_input_types" } - } + }, + "isHttpMetadata": false } ] }, @@ -69195,24 +71351,25 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5437" + "$ref": "5506" }, { - "$ref": "5441" + "$ref": "5510" }, { - "$ref": "5469" + "$ref": "5538" }, { - "$ref": "5497" + "$ref": "5566" }, { - "$id": "5525", + "$id": "5594", "kind": "model", "name": "CreateThreadAndRunRequest", "namespace": "OpenAI", @@ -69221,13 +71378,13 @@ "decorators": [], "properties": [ { - "$id": "5526", + "$id": "5595", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run.", "type": { - "$id": "5527", + "$id": "5596", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69243,15 +71400,16 @@ "json": { "name": "assistant_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5528", + "$id": "5597", "kind": "property", "name": "thread", "serializedName": "thread", "type": { - "$id": "5529", + "$id": "5598", "kind": "model", "name": "CreateThreadRequest", "namespace": "OpenAI", @@ -69261,17 +71419,17 @@ "decorators": [], "properties": [ { - "$id": "5530", + "$id": "5599", "kind": "property", "name": "messages", "serializedName": "messages", "doc": "A list of [messages](/docs/api-reference/messages) to start the thread with.", "type": { - "$id": "5531", + "$id": "5600", "kind": "array", "name": "ArrayCreateMessageRequest", "valueType": { - "$ref": "5283" + "$ref": "5352" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -69286,19 +71444,20 @@ "json": { "name": "messages" } - } + }, + "isHttpMetadata": false }, { - "$id": "5532", + "$id": "5601", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "5533", + "$id": "5602", "kind": "nullable", "type": { - "$id": "5534", + "$id": "5603", "kind": "model", "name": "CreateThreadRequestToolResources1", "namespace": "OpenAI", @@ -69307,12 +71466,12 @@ "decorators": [], "properties": [ { - "$id": "5535", + "$id": "5604", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "5536", + "$id": "5605", "kind": "model", "name": "CreateThreadRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -69321,7 +71480,7 @@ "decorators": [], "properties": [ { - "$id": "5537", + "$id": "5606", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -69339,7 +71498,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -69353,10 +71513,11 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { - "$id": "5538", + "$id": "5607", "kind": "property", "name": "file_search", "serializedName": "file_search", @@ -69373,11 +71534,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69389,10 +71551,11 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { - "$id": "5539", + "$id": "5608", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -69410,7 +71573,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -69424,21 +71588,22 @@ "json": { "name": "thread" } - } + }, + "isHttpMetadata": false }, { - "$id": "5540", + "$id": "5609", "kind": "property", "name": "model", "serializedName": "model", "doc": "The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.", "type": { - "$id": "5541", + "$id": "5610", "kind": "nullable", "type": { "$ref": "927" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69450,25 +71615,26 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "5542", + "$id": "5611", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Override the default system message of the assistant. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "5543", + "$id": "5612", "kind": "nullable", "type": { - "$id": "5544", + "$id": "5613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69480,21 +71646,22 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5545", + "$id": "5614", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "5546", + "$id": "5615", "kind": "nullable", "type": { "$ref": "2274" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69506,19 +71673,20 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "5547", + "$id": "5616", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are used by the assistant's tools. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "5548", + "$id": "5617", "kind": "nullable", "type": { - "$id": "5549", + "$id": "5618", "kind": "model", "name": "CreateThreadAndRunRequestToolResources1", "namespace": "OpenAI", @@ -69527,12 +71695,12 @@ "decorators": [], "properties": [ { - "$id": "5550", + "$id": "5619", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "5551", + "$id": "5620", "kind": "model", "name": "CreateThreadAndRunRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -69541,7 +71709,7 @@ "decorators": [], "properties": [ { - "$id": "5552", + "$id": "5621", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -69559,7 +71727,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -69573,10 +71742,11 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { - "$id": "5553", + "$id": "5622", "kind": "property", "name": "file_search", "serializedName": "file_search", @@ -69593,11 +71763,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69609,10 +71780,11 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { - "$id": "5554", + "$id": "5623", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -69630,25 +71802,26 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "5555", + "$id": "5624", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "5556", + "$id": "5625", "kind": "nullable", "type": { - "$id": "5557", + "$id": "5626", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69660,25 +71833,26 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "5558", + "$id": "5627", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "5559", + "$id": "5628", "kind": "nullable", "type": { - "$id": "5560", + "$id": "5629", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69690,25 +71864,26 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "5561", + "$id": "5630", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.", "type": { - "$id": "5562", + "$id": "5631", "kind": "nullable", "type": { - "$id": "5563", + "$id": "5632", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69720,25 +71895,26 @@ "json": { "name": "stream" } - } + }, + "isHttpMetadata": false }, { - "$id": "5564", + "$id": "5633", "kind": "property", "name": "max_prompt_tokens", "serializedName": "max_prompt_tokens", "doc": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "5565", + "$id": "5634", "kind": "nullable", "type": { - "$id": "5566", + "$id": "5635", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69750,25 +71926,26 @@ "json": { "name": "max_prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5567", + "$id": "5636", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "5568", + "$id": "5637", "kind": "nullable", "type": { - "$id": "5569", + "$id": "5638", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69780,18 +71957,19 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5570", + "$id": "5639", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "5571", + "$id": "5640", "kind": "nullable", "type": { - "$id": "5572", + "$id": "5641", "kind": "model", "name": "TruncationObject", "namespace": "OpenAI", @@ -69801,7 +71979,7 @@ "decorators": [], "properties": [ { - "$id": "5573", + "$id": "5642", "kind": "property", "name": "type", "serializedName": "type", @@ -69819,25 +71997,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5574", + "$id": "5643", "kind": "property", "name": "last_messages", "serializedName": "last_messages", "doc": "The number of most recent messages from the thread when constructing the context for the run.", "type": { - "$id": "5575", + "$id": "5644", "kind": "nullable", "type": { - "$id": "5576", + "$id": "5645", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69849,11 +72028,12 @@ "json": { "name": "last_messages" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69865,18 +72045,19 @@ "json": { "name": "truncation_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "5577", + "$id": "5646", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "5578", + "$id": "5647", "kind": "nullable", "type": { - "$id": "5579", + "$id": "5648", "kind": "union", "name": "AssistantsApiToolChoiceOption", "variantTypes": [ @@ -69884,7 +72065,7 @@ "$ref": "965" }, { - "$id": "5580", + "$id": "5649", "kind": "model", "name": "AssistantsNamedToolChoice", "namespace": "OpenAI", @@ -69894,7 +72075,7 @@ "decorators": [], "properties": [ { - "$id": "5581", + "$id": "5650", "kind": "property", "name": "type", "serializedName": "type", @@ -69912,15 +72093,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5582", + "$id": "5651", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "5583", + "$id": "5652", "kind": "model", "name": "AssistantsNamedToolChoiceFunction", "namespace": "OpenAI", @@ -69929,13 +72111,13 @@ "decorators": [], "properties": [ { - "$id": "5584", + "$id": "5653", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function to call.", "type": { - "$id": "5585", + "$id": "5654", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -69951,7 +72133,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] }, @@ -69965,7 +72148,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] } @@ -69973,7 +72157,7 @@ "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -69985,20 +72169,21 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "5586", + "$id": "5655", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "5587", + "$id": "5656", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "5588", + "$id": "5657", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -70016,20 +72201,21 @@ "json": { "name": "parallel_tool_calls" } - } + }, + "isHttpMetadata": false }, { - "$id": "5589", + "$id": "5658", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "5590", + "$id": "5659", "kind": "nullable", "type": { "$ref": "2327" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -70041,36 +72227,37 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5529" + "$ref": "5598" }, { - "$ref": "5534" + "$ref": "5603" }, { - "$ref": "5536" + "$ref": "5605" }, { - "$ref": "5549" + "$ref": "5618" }, { - "$ref": "5551" + "$ref": "5620" }, { - "$ref": "5572" + "$ref": "5641" }, { - "$ref": "5580" + "$ref": "5649" }, { - "$ref": "5583" + "$ref": "5652" }, { - "$id": "5591", + "$id": "5660", "kind": "model", "name": "RunObject", "namespace": "OpenAI", @@ -70080,13 +72267,13 @@ "decorators": [], "properties": [ { - "$id": "5592", + "$id": "5661", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "5593", + "$id": "5662", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70102,10 +72289,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5594", + "$id": "5663", "kind": "property", "name": "object", "serializedName": "object", @@ -70123,21 +72311,22 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5595", + "$id": "5664", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the run was created.", "type": { - "$id": "5596", + "$id": "5665", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5597", + "$id": "5666", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70156,16 +72345,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5598", + "$id": "5667", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was executed on as a part of this run.", "type": { - "$id": "5599", + "$id": "5668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70181,16 +72371,17 @@ "json": { "name": "thread_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5600", + "$id": "5669", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) used for execution of this run.", "type": { - "$id": "5601", + "$id": "5670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70206,10 +72397,11 @@ "json": { "name": "assistant_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5602", + "$id": "5671", "kind": "property", "name": "status", "serializedName": "status", @@ -70227,19 +72419,20 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "5603", + "$id": "5672", "kind": "property", "name": "required_action", "serializedName": "required_action", "doc": "Details on the action required to continue the run. Will be `null` if no action is required.", "type": { - "$id": "5604", + "$id": "5673", "kind": "nullable", "type": { - "$id": "5605", + "$id": "5674", "kind": "model", "name": "RunObjectRequiredAction1", "namespace": "OpenAI", @@ -70248,7 +72441,7 @@ "decorators": [], "properties": [ { - "$id": "5606", + "$id": "5675", "kind": "property", "name": "type", "serializedName": "type", @@ -70266,16 +72459,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5607", + "$id": "5676", "kind": "property", "name": "submit_tool_outputs", "serializedName": "submit_tool_outputs", "doc": "Details on the tool outputs needed for this run to continue.", "type": { - "$id": "5608", + "$id": "5677", "kind": "model", "name": "RunObjectRequiredActionSubmitToolOutputs", "namespace": "OpenAI", @@ -70284,17 +72478,17 @@ "decorators": [], "properties": [ { - "$id": "5609", + "$id": "5678", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "doc": "A list of the relevant tool calls.", "type": { - "$id": "5610", + "$id": "5679", "kind": "array", "name": "ArrayRunToolCallObject", "valueType": { - "$id": "5611", + "$id": "5680", "kind": "model", "name": "RunToolCallObject", "namespace": "OpenAI", @@ -70304,13 +72498,13 @@ "decorators": [], "properties": [ { - "$id": "5612", + "$id": "5681", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call. This ID must be referenced when you submit the tool outputs in using the [Submit tool outputs to run](/docs/api-reference/runs/submitToolOutputs) endpoint.", "type": { - "$id": "5613", + "$id": "5682", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70326,10 +72520,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5614", + "$id": "5683", "kind": "property", "name": "type", "serializedName": "type", @@ -70347,16 +72542,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5615", + "$id": "5684", "kind": "property", "name": "function", "serializedName": "function", "doc": "The function definition.", "type": { - "$id": "5616", + "$id": "5685", "kind": "model", "name": "RunToolCallObjectFunction", "namespace": "OpenAI", @@ -70365,13 +72561,13 @@ "decorators": [], "properties": [ { - "$id": "5617", + "$id": "5686", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "5618", + "$id": "5687", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70387,16 +72583,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "5619", + "$id": "5688", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments that the model expects you to pass to the function.", "type": { - "$id": "5620", + "$id": "5689", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70412,7 +72609,8 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, @@ -70426,7 +72624,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] }, @@ -70443,7 +72642,8 @@ "json": { "name": "tool_calls" } - } + }, + "isHttpMetadata": false } ] }, @@ -70457,11 +72657,12 @@ "json": { "name": "submit_tool_outputs" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70473,19 +72674,20 @@ "json": { "name": "required_action" } - } + }, + "isHttpMetadata": false }, { - "$id": "5621", + "$id": "5690", "kind": "property", "name": "last_error", "serializedName": "last_error", "doc": "The last error associated with this run. Will be `null` if there are no errors.", "type": { - "$id": "5622", + "$id": "5691", "kind": "nullable", "type": { - "$id": "5623", + "$id": "5692", "kind": "model", "name": "RunObjectLastError1", "namespace": "OpenAI", @@ -70494,7 +72696,7 @@ "decorators": [], "properties": [ { - "$id": "5624", + "$id": "5693", "kind": "property", "name": "code", "serializedName": "code", @@ -70512,16 +72714,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "5625", + "$id": "5694", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "5626", + "$id": "5695", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70537,11 +72740,12 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70553,24 +72757,25 @@ "json": { "name": "last_error" } - } + }, + "isHttpMetadata": false }, { - "$id": "5627", + "$id": "5696", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the run will expire.", "type": { - "$id": "5628", + "$id": "5697", "kind": "nullable", "type": { - "$id": "5629", + "$id": "5698", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5630", + "$id": "5699", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70579,7 +72784,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70591,24 +72796,25 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5631", + "$id": "5700", "kind": "property", "name": "started_at", "serializedName": "started_at", "doc": "The Unix timestamp (in seconds) for when the run was started.", "type": { - "$id": "5632", + "$id": "5701", "kind": "nullable", "type": { - "$id": "5633", + "$id": "5702", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5634", + "$id": "5703", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70617,7 +72823,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70629,24 +72835,25 @@ "json": { "name": "started_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5635", + "$id": "5704", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the run was cancelled.", "type": { - "$id": "5636", + "$id": "5705", "kind": "nullable", "type": { - "$id": "5637", + "$id": "5706", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5638", + "$id": "5707", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70655,7 +72862,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70667,24 +72874,25 @@ "json": { "name": "cancelled_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5639", + "$id": "5708", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the run failed.", "type": { - "$id": "5640", + "$id": "5709", "kind": "nullable", "type": { - "$id": "5641", + "$id": "5710", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5642", + "$id": "5711", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70693,7 +72901,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70705,24 +72913,25 @@ "json": { "name": "failed_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5643", + "$id": "5712", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the run was completed.", "type": { - "$id": "5644", + "$id": "5713", "kind": "nullable", "type": { - "$id": "5645", + "$id": "5714", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5646", + "$id": "5715", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70731,7 +72940,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70743,19 +72952,20 @@ "json": { "name": "completed_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5647", + "$id": "5716", "kind": "property", "name": "incomplete_details", "serializedName": "incomplete_details", "doc": "Details on why the run is incomplete. Will be `null` if the run is not incomplete.", "type": { - "$id": "5648", + "$id": "5717", "kind": "nullable", "type": { - "$id": "5649", + "$id": "5718", "kind": "model", "name": "RunObjectIncompleteDetails1", "namespace": "OpenAI", @@ -70764,7 +72974,7 @@ "decorators": [], "properties": [ { - "$id": "5650", + "$id": "5719", "kind": "property", "name": "reason", "serializedName": "reason", @@ -70782,11 +72992,12 @@ "json": { "name": "reason" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70798,16 +73009,17 @@ "json": { "name": "incomplete_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "5651", + "$id": "5720", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$id": "5652", + "$id": "5721", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70823,16 +73035,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "5653", + "$id": "5722", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The instructions that the [assistant](/docs/api-reference/assistants) used for this run.", "type": { - "$id": "5654", + "$id": "5723", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -70848,10 +73061,11 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5655", + "$id": "5724", "kind": "property", "name": "tools", "serializedName": "tools", @@ -70869,10 +73083,11 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "5656", + "$id": "5725", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -70890,18 +73105,19 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "5657", + "$id": "5726", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "5658", + "$id": "5727", "kind": "nullable", "type": { - "$id": "5659", + "$id": "5728", "kind": "model", "name": "RunCompletionUsage", "namespace": "OpenAI", @@ -70911,13 +73127,13 @@ "decorators": [], "properties": [ { - "$id": "5660", + "$id": "5729", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of completion tokens used over the course of the run.", "type": { - "$id": "5661", + "$id": "5730", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70933,16 +73149,17 @@ "json": { "name": "completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5662", + "$id": "5731", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of prompt tokens used over the course of the run.", "type": { - "$id": "5663", + "$id": "5732", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70958,16 +73175,17 @@ "json": { "name": "prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5664", + "$id": "5733", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (prompt + completion).", "type": { - "$id": "5665", + "$id": "5734", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -70983,11 +73201,12 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -70999,25 +73218,26 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false }, { - "$id": "5666", + "$id": "5735", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "The sampling temperature used for this run. If not set, defaults to 1.", "type": { - "$id": "5667", + "$id": "5736", "kind": "nullable", "type": { - "$id": "5668", + "$id": "5737", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71029,25 +73249,26 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "5669", + "$id": "5738", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "The nucleus sampling value used for this run. If not set, defaults to 1.", "type": { - "$id": "5670", + "$id": "5739", "kind": "nullable", "type": { - "$id": "5671", + "$id": "5740", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71059,25 +73280,26 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "5672", + "$id": "5741", "kind": "property", "name": "max_prompt_tokens", "serializedName": "max_prompt_tokens", "doc": "The maximum number of prompt tokens specified to have been used over the course of the run.", "type": { - "$id": "5673", + "$id": "5742", "kind": "nullable", "type": { - "$id": "5674", + "$id": "5743", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -71089,25 +73311,26 @@ "json": { "name": "max_prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5675", + "$id": "5744", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of completion tokens specified to have been used over the course of the run.", "type": { - "$id": "5676", + "$id": "5745", "kind": "nullable", "type": { - "$id": "5677", + "$id": "5746", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -71119,20 +73342,21 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5678", + "$id": "5747", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "5679", + "$id": "5748", "kind": "nullable", "type": { - "$ref": "5572" + "$ref": "5641" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -71144,20 +73368,21 @@ "json": { "name": "truncation_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "5680", + "$id": "5749", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "5681", + "$id": "5750", "kind": "nullable", "type": { - "$ref": "5579" + "$ref": "5648" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -71169,20 +73394,21 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "5682", + "$id": "5751", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "5683", + "$id": "5752", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "5684", + "$id": "5753", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -71200,20 +73426,21 @@ "json": { "name": "parallel_tool_calls" } - } + }, + "isHttpMetadata": false }, { - "$id": "5685", + "$id": "5754", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "5686", + "$id": "5755", "kind": "nullable", "type": { "$ref": "2327" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -71225,33 +73452,34 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5605" + "$ref": "5674" }, { - "$ref": "5608" + "$ref": "5677" }, { - "$ref": "5611" + "$ref": "5680" }, { - "$ref": "5616" + "$ref": "5685" }, { - "$ref": "5623" + "$ref": "5692" }, { - "$ref": "5649" + "$ref": "5718" }, { - "$ref": "5659" + "$ref": "5728" }, { - "$id": "5687", + "$id": "5756", "kind": "model", "name": "CreateRunRequest", "namespace": "OpenAI", @@ -71260,13 +73488,13 @@ "decorators": [], "properties": [ { - "$id": "5688", + "$id": "5757", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) to use to execute this run.", "type": { - "$id": "5689", + "$id": "5758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71282,21 +73510,22 @@ "json": { "name": "assistant_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5690", + "$id": "5759", "kind": "property", "name": "model", "serializedName": "model", "doc": "The ID of the [Model](/docs/api-reference/models) to be used to execute this run. If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.", "type": { - "$id": "5691", + "$id": "5760", "kind": "nullable", "type": { "$ref": "15" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71308,20 +73537,21 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "5692", + "$id": "5761", "kind": "property", "name": "reasoning_effort", "serializedName": "reasoning_effort", "type": { - "$id": "5693", + "$id": "5762", "kind": "nullable", "type": { "$ref": "53" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71333,25 +73563,26 @@ "json": { "name": "reasoning_effort" } - } + }, + "isHttpMetadata": false }, { - "$id": "5694", + "$id": "5763", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "Overrides the [instructions](/docs/api-reference/assistants/createAssistant) of the assistant. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "5695", + "$id": "5764", "kind": "nullable", "type": { - "$id": "5696", + "$id": "5765", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71363,25 +73594,26 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5697", + "$id": "5766", "kind": "property", "name": "additional_instructions", "serializedName": "additional_instructions", "doc": "Appends additional instructions at the end of the instructions for the run. This is useful for modifying the behavior on a per-run basis without overriding other instructions.", "type": { - "$id": "5698", + "$id": "5767", "kind": "nullable", "type": { - "$id": "5699", + "$id": "5768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71393,21 +73625,22 @@ "json": { "name": "additional_instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "5700", + "$id": "5769", "kind": "property", "name": "additional_messages", "serializedName": "additional_messages", "doc": "Adds additional messages to the thread before creating the run.", "type": { - "$id": "5701", + "$id": "5770", "kind": "nullable", "type": { - "$ref": "5531" + "$ref": "5600" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71419,21 +73652,22 @@ "json": { "name": "additional_messages" } - } + }, + "isHttpMetadata": false }, { - "$id": "5702", + "$id": "5771", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.", "type": { - "$id": "5703", + "$id": "5772", "kind": "nullable", "type": { "$ref": "2274" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71445,10 +73679,11 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "5704", + "$id": "5773", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -71466,25 +73701,26 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "5705", + "$id": "5774", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.", "type": { - "$id": "5706", + "$id": "5775", "kind": "nullable", "type": { - "$id": "5707", + "$id": "5776", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71496,25 +73732,26 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "5708", + "$id": "5777", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or temperature but not both.", "type": { - "$id": "5709", + "$id": "5778", "kind": "nullable", "type": { - "$id": "5710", + "$id": "5779", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71526,25 +73763,26 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "5711", + "$id": "5780", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.", "type": { - "$id": "5712", + "$id": "5781", "kind": "nullable", "type": { - "$id": "5713", + "$id": "5782", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71556,25 +73794,26 @@ "json": { "name": "stream" } - } + }, + "isHttpMetadata": false }, { - "$id": "5714", + "$id": "5783", "kind": "property", "name": "max_prompt_tokens", "serializedName": "max_prompt_tokens", "doc": "The maximum number of prompt tokens that may be used over the course of the run. The run will make a best effort to use only the number of prompt tokens specified, across multiple turns of the run. If the run exceeds the number of prompt tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "5715", + "$id": "5784", "kind": "nullable", "type": { - "$id": "5716", + "$id": "5785", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71586,25 +73825,26 @@ "json": { "name": "max_prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5717", + "$id": "5786", "kind": "property", "name": "max_completion_tokens", "serializedName": "max_completion_tokens", "doc": "The maximum number of completion tokens that may be used over the course of the run. The run will make a best effort to use only the number of completion tokens specified, across multiple turns of the run. If the run exceeds the number of completion tokens specified, the run will end with status `incomplete`. See `incomplete_details` for more info.", "type": { - "$id": "5718", + "$id": "5787", "kind": "nullable", "type": { - "$id": "5719", + "$id": "5788", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71616,20 +73856,21 @@ "json": { "name": "max_completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5720", + "$id": "5789", "kind": "property", "name": "truncation_strategy", "serializedName": "truncation_strategy", "type": { - "$id": "5721", + "$id": "5790", "kind": "nullable", "type": { - "$ref": "5572" + "$ref": "5641" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71641,20 +73882,21 @@ "json": { "name": "truncation_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "5722", + "$id": "5791", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "5723", + "$id": "5792", "kind": "nullable", "type": { - "$ref": "5579" + "$ref": "5648" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71666,20 +73908,21 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "5724", + "$id": "5793", "kind": "property", "name": "parallel_tool_calls", "serializedName": "parallel_tool_calls", "type": { - "$id": "5725", + "$id": "5794", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "5726", + "$id": "5795", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -71697,20 +73940,21 @@ "json": { "name": "parallel_tool_calls" } - } + }, + "isHttpMetadata": false }, { - "$id": "5727", + "$id": "5796", "kind": "property", "name": "response_format", "serializedName": "response_format", "type": { - "$id": "5728", + "$id": "5797", "kind": "nullable", "type": { "$ref": "2327" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -71722,12 +73966,13 @@ "json": { "name": "response_format" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5729", + "$id": "5798", "kind": "model", "name": "ListRunsResponse", "namespace": "OpenAI", @@ -71736,7 +73981,7 @@ "decorators": [], "properties": [ { - "$id": "5730", + "$id": "5799", "kind": "property", "name": "object", "serializedName": "object", @@ -71753,19 +73998,20 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5731", + "$id": "5800", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "5732", + "$id": "5801", "kind": "array", "name": "ArrayRunObject", "valueType": { - "$ref": "5591" + "$ref": "5660" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -71780,15 +74026,16 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "5733", + "$id": "5802", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "5734", + "$id": "5803", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71804,15 +74051,16 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5735", + "$id": "5804", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "5736", + "$id": "5805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71828,15 +74076,16 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5737", + "$id": "5806", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "5738", + "$id": "5807", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -71852,12 +74101,13 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5739", + "$id": "5808", "kind": "model", "name": "ModifyRunRequest", "namespace": "OpenAI", @@ -71866,7 +74116,7 @@ "decorators": [], "properties": [ { - "$id": "5740", + "$id": "5809", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -71884,12 +74134,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5741", + "$id": "5810", "kind": "model", "name": "SubmitToolOutputsRunRequest", "namespace": "OpenAI", @@ -71898,17 +74149,17 @@ "decorators": [], "properties": [ { - "$id": "5742", + "$id": "5811", "kind": "property", "name": "tool_outputs", "serializedName": "tool_outputs", "doc": "A list of tools for which the outputs are being submitted.", "type": { - "$id": "5743", + "$id": "5812", "kind": "array", "name": "Array39", "valueType": { - "$id": "5744", + "$id": "5813", "kind": "model", "name": "SubmitToolOutputsRunRequestToolOutput", "namespace": "OpenAI", @@ -71917,13 +74168,13 @@ "decorators": [], "properties": [ { - "$id": "5745", + "$id": "5814", "kind": "property", "name": "tool_call_id", "serializedName": "tool_call_id", "doc": "The ID of the tool call in the `required_action` object within the run object the output is being submitted for.", "type": { - "$id": "5746", + "$id": "5815", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71939,16 +74190,17 @@ "json": { "name": "tool_call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5747", + "$id": "5816", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output of the tool call to be submitted to continue the run.", "type": { - "$id": "5748", + "$id": "5817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -71964,7 +74216,8 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, @@ -71981,25 +74234,26 @@ "json": { "name": "tool_outputs" } - } + }, + "isHttpMetadata": false }, { - "$id": "5749", + "$id": "5818", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.", "type": { - "$id": "5750", + "$id": "5819", "kind": "nullable", "type": { - "$id": "5751", + "$id": "5820", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -72011,15 +74265,16 @@ "json": { "name": "stream" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5744" + "$ref": "5813" }, { - "$id": "5752", + "$id": "5821", "kind": "model", "name": "ListRunStepsResponse", "namespace": "OpenAI", @@ -72028,7 +74283,7 @@ "decorators": [], "properties": [ { - "$id": "5753", + "$id": "5822", "kind": "property", "name": "object", "serializedName": "object", @@ -72045,19 +74300,20 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5754", + "$id": "5823", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "5755", + "$id": "5824", "kind": "array", "name": "ArrayRunStepObject", "valueType": { - "$id": "5756", + "$id": "5825", "kind": "model", "name": "RunStepObject", "namespace": "OpenAI", @@ -72067,13 +74323,13 @@ "decorators": [], "properties": [ { - "$id": "5757", + "$id": "5826", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier of the run step, which can be referenced in API endpoints.", "type": { - "$id": "5758", + "$id": "5827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72089,10 +74345,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5759", + "$id": "5828", "kind": "property", "name": "object", "serializedName": "object", @@ -72110,21 +74367,22 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5760", + "$id": "5829", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the run step was created.", "type": { - "$id": "5761", + "$id": "5830", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5762", + "$id": "5831", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -72143,16 +74401,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5763", + "$id": "5832", "kind": "property", "name": "assistant_id", "serializedName": "assistant_id", "doc": "The ID of the [assistant](/docs/api-reference/assistants) associated with the run step.", "type": { - "$id": "5764", + "$id": "5833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72168,16 +74427,17 @@ "json": { "name": "assistant_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5765", + "$id": "5834", "kind": "property", "name": "thread_id", "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { - "$id": "5766", + "$id": "5835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72193,16 +74453,17 @@ "json": { "name": "thread_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5767", + "$id": "5836", "kind": "property", "name": "run_id", "serializedName": "run_id", "doc": "The ID of the [run](/docs/api-reference/runs) that this run step is a part of.", "type": { - "$id": "5768", + "$id": "5837", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72218,10 +74479,11 @@ "json": { "name": "run_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5769", + "$id": "5838", "kind": "property", "name": "type", "serializedName": "type", @@ -72239,10 +74501,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5770", + "$id": "5839", "kind": "property", "name": "status", "serializedName": "status", @@ -72260,16 +74523,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "5771", + "$id": "5840", "kind": "property", "name": "step_details", "serializedName": "step_details", "doc": "The details of the run step.", "type": { - "$id": "5772", + "$id": "5841", "kind": "model", "name": "RunStepObjectStepDetails", "namespace": "OpenAI", @@ -72278,7 +74542,7 @@ "doc": "Abstractly represents a run step details object.", "decorators": [], "discriminatorProperty": { - "$id": "5773", + "$id": "5842", "kind": "property", "name": "type", "serializedName": "type", @@ -72296,16 +74560,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "5773" + "$ref": "5842" } ], "discriminatedSubtypes": { "message_creation": { - "$id": "5774", + "$id": "5843", "kind": "model", "name": "RunStepDetailsMessageCreationObject", "namespace": "OpenAI", @@ -72315,11 +74580,11 @@ "discriminatorValue": "message_creation", "decorators": [], "baseModel": { - "$ref": "5772" + "$ref": "5841" }, "properties": [ { - "$id": "5775", + "$id": "5844", "kind": "property", "name": "type", "serializedName": "type", @@ -72337,15 +74602,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5776", + "$id": "5845", "kind": "property", "name": "message_creation", "serializedName": "message_creation", "type": { - "$id": "5777", + "$id": "5846", "kind": "model", "name": "RunStepDetailsMessageCreationObjectMessageCreation", "namespace": "OpenAI", @@ -72354,13 +74620,13 @@ "decorators": [], "properties": [ { - "$id": "5778", + "$id": "5847", "kind": "property", "name": "message_id", "serializedName": "message_id", "doc": "The ID of the message that was created by this run step.", "type": { - "$id": "5779", + "$id": "5848", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72376,7 +74642,8 @@ "json": { "name": "message_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -72390,12 +74657,13 @@ "json": { "name": "message_creation" } - } + }, + "isHttpMetadata": false } ] }, "tool_calls": { - "$id": "5780", + "$id": "5849", "kind": "model", "name": "RunStepDetailsToolCallsObject", "namespace": "OpenAI", @@ -72405,11 +74673,11 @@ "discriminatorValue": "tool_calls", "decorators": [], "baseModel": { - "$ref": "5772" + "$ref": "5841" }, "properties": [ { - "$id": "5781", + "$id": "5850", "kind": "property", "name": "type", "serializedName": "type", @@ -72427,20 +74695,21 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5782", + "$id": "5851", "kind": "property", "name": "tool_calls", "serializedName": "tool_calls", "doc": "An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`.", "type": { - "$id": "5783", + "$id": "5852", "kind": "array", "name": "ArrayRunStepDetailsToolCallsObjectToolCallsObject", "valueType": { - "$id": "5784", + "$id": "5853", "kind": "model", "name": "RunStepDetailsToolCallsObjectToolCallsObject", "namespace": "OpenAI", @@ -72449,7 +74718,7 @@ "doc": "Abstractly represents a run step tool call details inner object.", "decorators": [], "discriminatorProperty": { - "$id": "5785", + "$id": "5854", "kind": "property", "name": "type", "serializedName": "type", @@ -72467,20 +74736,21 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "5785" + "$ref": "5854" }, { - "$id": "5786", + "$id": "5855", "kind": "property", "name": "id", "serializedName": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "5787", + "$id": "5856", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72496,12 +74766,13 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "5788", + "$id": "5857", "kind": "model", "name": "RunStepDetailsToolCallsCodeObject", "namespace": "OpenAI", @@ -72511,11 +74782,11 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "5784" + "$ref": "5853" }, "properties": [ { - "$id": "5789", + "$id": "5858", "kind": "property", "name": "type", "serializedName": "type", @@ -72533,16 +74804,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5790", + "$id": "5859", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "doc": "The Code Interpreter tool call definition.", "type": { - "$id": "5791", + "$id": "5860", "kind": "model", "name": "RunStepDetailsToolCallsCodeObjectCodeInterpreter", "namespace": "OpenAI", @@ -72551,13 +74823,13 @@ "decorators": [], "properties": [ { - "$id": "5792", + "$id": "5861", "kind": "property", "name": "input", "serializedName": "input", "doc": "The input to the Code Interpreter tool call.", "type": { - "$id": "5793", + "$id": "5862", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72573,20 +74845,21 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false }, { - "$id": "5794", + "$id": "5863", "kind": "property", "name": "outputs", "serializedName": "outputs", "doc": "The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (`logs`) or images (`image`). Each of these are represented by a different object type.", "type": { - "$id": "5795", + "$id": "5864", "kind": "array", "name": "ArrayRunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "valueType": { - "$id": "5796", + "$id": "5865", "kind": "model", "name": "RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "namespace": "OpenAI", @@ -72595,7 +74868,7 @@ "doc": "Abstractly represents a run step tool call details code interpreter output.", "decorators": [], "discriminatorProperty": { - "$id": "5797", + "$id": "5866", "kind": "property", "name": "type", "serializedName": "type", @@ -72613,16 +74886,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "5797" + "$ref": "5866" } ], "discriminatedSubtypes": { "logs": { - "$id": "5798", + "$id": "5867", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputLogsObject", "namespace": "OpenAI", @@ -72632,11 +74906,11 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "5796" + "$ref": "5865" }, "properties": [ { - "$id": "5799", + "$id": "5868", "kind": "property", "name": "type", "serializedName": "type", @@ -72654,16 +74928,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5800", + "$id": "5869", "kind": "property", "name": "logs", "serializedName": "logs", "doc": "The text output from the Code Interpreter tool call.", "type": { - "$id": "5801", + "$id": "5870", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72679,12 +74954,13 @@ "json": { "name": "logs" } - } + }, + "isHttpMetadata": false } ] }, "image": { - "$id": "5802", + "$id": "5871", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputImageObject", "namespace": "OpenAI", @@ -72693,11 +74969,11 @@ "discriminatorValue": "image", "decorators": [], "baseModel": { - "$ref": "5796" + "$ref": "5865" }, "properties": [ { - "$id": "5803", + "$id": "5872", "kind": "property", "name": "type", "serializedName": "type", @@ -72715,15 +74991,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5804", + "$id": "5873", "kind": "property", "name": "image", "serializedName": "image", "type": { - "$id": "5805", + "$id": "5874", "kind": "model", "name": "RunStepDetailsToolCallsCodeOutputImageObjectImage", "namespace": "OpenAI", @@ -72732,13 +75009,13 @@ "decorators": [], "properties": [ { - "$id": "5806", + "$id": "5875", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The [file](/docs/api-reference/files) ID of the image.", "type": { - "$id": "5807", + "$id": "5876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72754,7 +75031,8 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -72768,7 +75046,8 @@ "json": { "name": "image" } - } + }, + "isHttpMetadata": false } ] } @@ -72787,7 +75066,8 @@ "json": { "name": "outputs" } - } + }, + "isHttpMetadata": false } ] }, @@ -72801,12 +75081,13 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false } ] }, "file_search": { - "$id": "5808", + "$id": "5877", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchObject", "namespace": "OpenAI", @@ -72815,11 +75096,11 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "5784" + "$ref": "5853" }, "properties": [ { - "$id": "5809", + "$id": "5878", "kind": "property", "name": "type", "serializedName": "type", @@ -72837,16 +75118,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5810", + "$id": "5879", "kind": "property", "name": "file_search", "serializedName": "file_search", "doc": "For now, this is always going to be an empty object.", "type": { - "$id": "5811", + "$id": "5880", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchObjectFileSearch", "namespace": "OpenAI", @@ -72855,12 +75137,12 @@ "decorators": [], "properties": [ { - "$id": "5812", + "$id": "5881", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "type": { - "$id": "5813", + "$id": "5882", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchRankingOptionsObject", "namespace": "OpenAI", @@ -72870,7 +75152,7 @@ "decorators": [], "properties": [ { - "$id": "5814", + "$id": "5883", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -72887,16 +75169,17 @@ "json": { "name": "ranker" } - } + }, + "isHttpMetadata": false }, { - "$id": "5815", + "$id": "5884", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "doc": "The score threshold for the file search. All values must be a floating point number between 0 and 1.", "type": { - "$id": "5816", + "$id": "5885", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -72912,7 +75195,8 @@ "json": { "name": "score_threshold" } - } + }, + "isHttpMetadata": false } ] }, @@ -72926,20 +75210,21 @@ "json": { "name": "ranking_options" } - } + }, + "isHttpMetadata": false }, { - "$id": "5817", + "$id": "5886", "kind": "property", "name": "results", "serializedName": "results", "doc": "The results of the file search.", "type": { - "$id": "5818", + "$id": "5887", "kind": "array", "name": "ArrayRunStepDetailsToolCallsFileSearchResultObject", "valueType": { - "$id": "5819", + "$id": "5888", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchResultObject", "namespace": "OpenAI", @@ -72949,13 +75234,13 @@ "decorators": [], "properties": [ { - "$id": "5820", + "$id": "5889", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the file that result was found in.", "type": { - "$id": "5821", + "$id": "5890", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72971,16 +75256,17 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5822", + "$id": "5891", "kind": "property", "name": "file_name", "serializedName": "file_name", "doc": "The name of the file that result was found in.", "type": { - "$id": "5823", + "$id": "5892", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -72996,16 +75282,17 @@ "json": { "name": "file_name" } - } + }, + "isHttpMetadata": false }, { - "$id": "5824", + "$id": "5893", "kind": "property", "name": "score", "serializedName": "score", "doc": "The score of the result. All values must be a floating point number between 0 and 1.", "type": { - "$id": "5825", + "$id": "5894", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -73021,20 +75308,21 @@ "json": { "name": "score" } - } + }, + "isHttpMetadata": false }, { - "$id": "5826", + "$id": "5895", "kind": "property", "name": "content", "serializedName": "content", "doc": "The content of the result that was found. The content is only included if requested via the include query parameter.", "type": { - "$id": "5827", + "$id": "5896", "kind": "array", "name": "Array40", "valueType": { - "$id": "5828", + "$id": "5897", "kind": "model", "name": "RunStepDetailsToolCallsFileSearchResultObjectContent", "namespace": "OpenAI", @@ -73043,13 +75331,13 @@ "decorators": [], "properties": [ { - "$id": "5829", + "$id": "5898", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the content.", "type": { - "$id": "5830", + "$id": "5899", "kind": "enumvalue", "name": "text", "value": "text", @@ -73071,16 +75359,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5831", + "$id": "5900", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content of the file.", "type": { - "$id": "5832", + "$id": "5901", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73096,7 +75385,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -73113,7 +75403,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, @@ -73130,7 +75421,8 @@ "json": { "name": "results" } - } + }, + "isHttpMetadata": false } ] }, @@ -73144,12 +75436,13 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, "function": { - "$id": "5833", + "$id": "5902", "kind": "model", "name": "RunStepDetailsToolCallsFunctionObject", "namespace": "OpenAI", @@ -73158,11 +75451,11 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "5784" + "$ref": "5853" }, "properties": [ { - "$id": "5834", + "$id": "5903", "kind": "property", "name": "type", "serializedName": "type", @@ -73180,16 +75473,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "5835", + "$id": "5904", "kind": "property", "name": "function", "serializedName": "function", "doc": "The definition of the function that was called.", "type": { - "$id": "5836", + "$id": "5905", "kind": "model", "name": "RunStepDetailsToolCallsFunctionObjectFunction", "namespace": "OpenAI", @@ -73198,13 +75492,13 @@ "decorators": [], "properties": [ { - "$id": "5837", + "$id": "5906", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "5838", + "$id": "5907", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73220,16 +75514,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "5839", + "$id": "5908", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The arguments passed to the function.", "type": { - "$id": "5840", + "$id": "5909", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73245,25 +75540,26 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false }, { - "$id": "5841", + "$id": "5910", "kind": "property", "name": "output", "serializedName": "output", "doc": "The output of the function. This will be `null` if the outputs have not been [submitted](/docs/api-reference/runs/submitToolOutputs) yet.", "type": { - "$id": "5842", + "$id": "5911", "kind": "nullable", "type": { - "$id": "5843", + "$id": "5912", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73275,7 +75571,8 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] }, @@ -73289,7 +75586,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] } @@ -73308,7 +75606,8 @@ "json": { "name": "tool_calls" } - } + }, + "isHttpMetadata": false } ] } @@ -73324,19 +75623,20 @@ "json": { "name": "step_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "5844", + "$id": "5913", "kind": "property", "name": "last_error", "serializedName": "last_error", "doc": "The last error associated with this run step. Will be `null` if there are no errors.", "type": { - "$id": "5845", + "$id": "5914", "kind": "nullable", "type": { - "$id": "5846", + "$id": "5915", "kind": "model", "name": "RunStepObjectLastError1", "namespace": "OpenAI", @@ -73345,7 +75645,7 @@ "decorators": [], "properties": [ { - "$id": "5847", + "$id": "5916", "kind": "property", "name": "code", "serializedName": "code", @@ -73363,16 +75663,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "5848", + "$id": "5917", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "5849", + "$id": "5918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73388,11 +75689,12 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73404,24 +75706,25 @@ "json": { "name": "last_error" } - } + }, + "isHttpMetadata": false }, { - "$id": "5850", + "$id": "5919", "kind": "property", "name": "expired_at", "serializedName": "expired_at", "doc": "The Unix timestamp (in seconds) for when the run step expired. A step is considered expired if the parent run is expired.", "type": { - "$id": "5851", + "$id": "5920", "kind": "nullable", "type": { - "$id": "5852", + "$id": "5921", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5853", + "$id": "5922", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73430,7 +75733,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73442,24 +75745,25 @@ "json": { "name": "expired_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5854", + "$id": "5923", "kind": "property", "name": "cancelled_at", "serializedName": "cancelled_at", "doc": "The Unix timestamp (in seconds) for when the run step was cancelled.", "type": { - "$id": "5855", + "$id": "5924", "kind": "nullable", "type": { - "$id": "5856", + "$id": "5925", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5857", + "$id": "5926", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73468,7 +75772,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73480,24 +75784,25 @@ "json": { "name": "cancelled_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5858", + "$id": "5927", "kind": "property", "name": "failed_at", "serializedName": "failed_at", "doc": "The Unix timestamp (in seconds) for when the run step failed.", "type": { - "$id": "5859", + "$id": "5928", "kind": "nullable", "type": { - "$id": "5860", + "$id": "5929", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5861", + "$id": "5930", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73506,7 +75811,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73518,24 +75823,25 @@ "json": { "name": "failed_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5862", + "$id": "5931", "kind": "property", "name": "completed_at", "serializedName": "completed_at", "doc": "The Unix timestamp (in seconds) for when the run step completed.", "type": { - "$id": "5863", + "$id": "5932", "kind": "nullable", "type": { - "$id": "5864", + "$id": "5933", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5865", + "$id": "5934", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73544,7 +75850,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73556,10 +75862,11 @@ "json": { "name": "completed_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5866", + "$id": "5935", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -73577,18 +75884,19 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "5867", + "$id": "5936", "kind": "property", "name": "usage", "serializedName": "usage", "type": { - "$id": "5868", + "$id": "5937", "kind": "nullable", "type": { - "$id": "5869", + "$id": "5938", "kind": "model", "name": "RunStepCompletionUsage", "namespace": "OpenAI", @@ -73598,13 +75906,13 @@ "decorators": [], "properties": [ { - "$id": "5870", + "$id": "5939", "kind": "property", "name": "completion_tokens", "serializedName": "completion_tokens", "doc": "Number of completion tokens used over the course of the run step.", "type": { - "$id": "5871", + "$id": "5940", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73620,16 +75928,17 @@ "json": { "name": "completion_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5872", + "$id": "5941", "kind": "property", "name": "prompt_tokens", "serializedName": "prompt_tokens", "doc": "Number of prompt tokens used over the course of the run step.", "type": { - "$id": "5873", + "$id": "5942", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73645,16 +75954,17 @@ "json": { "name": "prompt_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "5874", + "$id": "5943", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "Total number of tokens used (prompt + completion).", "type": { - "$id": "5875", + "$id": "5944", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73670,11 +75980,12 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -73686,7 +75997,8 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false } ] }, @@ -73703,15 +76015,16 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "5876", + "$id": "5945", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "5877", + "$id": "5946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73727,15 +76040,16 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5878", + "$id": "5947", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "5879", + "$id": "5948", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73751,15 +76065,16 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5880", + "$id": "5949", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "5881", + "$id": "5950", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -73775,75 +76090,76 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5756" + "$ref": "5825" }, { - "$ref": "5772" + "$ref": "5841" }, { - "$ref": "5774" + "$ref": "5843" }, { - "$ref": "5777" + "$ref": "5846" }, { - "$ref": "5780" + "$ref": "5849" }, { - "$ref": "5784" + "$ref": "5853" }, { - "$ref": "5788" + "$ref": "5857" }, { - "$ref": "5791" + "$ref": "5860" }, { - "$ref": "5796" + "$ref": "5865" }, { - "$ref": "5798" + "$ref": "5867" }, { - "$ref": "5802" + "$ref": "5871" }, { - "$ref": "5805" + "$ref": "5874" }, { - "$ref": "5808" + "$ref": "5877" }, { - "$ref": "5811" + "$ref": "5880" }, { - "$ref": "5813" + "$ref": "5882" }, { - "$ref": "5819" + "$ref": "5888" }, { - "$ref": "5828" + "$ref": "5897" }, { - "$ref": "5833" + "$ref": "5902" }, { - "$ref": "5836" + "$ref": "5905" }, { - "$ref": "5846" + "$ref": "5915" }, { - "$ref": "5869" + "$ref": "5938" }, { - "$id": "5882", + "$id": "5951", "kind": "model", "name": "ThreadObject", "namespace": "OpenAI", @@ -73853,13 +76169,13 @@ "decorators": [], "properties": [ { - "$id": "5883", + "$id": "5952", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "5884", + "$id": "5953", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -73875,10 +76191,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5885", + "$id": "5954", "kind": "property", "name": "object", "serializedName": "object", @@ -73896,21 +76213,22 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5886", + "$id": "5955", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the thread was created.", "type": { - "$id": "5887", + "$id": "5956", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5888", + "$id": "5957", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -73929,19 +76247,20 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5889", + "$id": "5958", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "5890", + "$id": "5959", "kind": "nullable", "type": { - "$id": "5891", + "$id": "5960", "kind": "model", "name": "ThreadObjectToolResources1", "namespace": "OpenAI", @@ -73950,12 +76269,12 @@ "decorators": [], "properties": [ { - "$id": "5892", + "$id": "5961", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "5893", + "$id": "5962", "kind": "model", "name": "ThreadObjectToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -73964,7 +76283,7 @@ "decorators": [], "properties": [ { - "$id": "5894", + "$id": "5963", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -73982,7 +76301,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -73996,15 +76316,16 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { - "$id": "5895", + "$id": "5964", "kind": "property", "name": "file_search", "serializedName": "file_search", "type": { - "$id": "5896", + "$id": "5965", "kind": "model", "name": "ThreadObjectToolResourcesFileSearch", "namespace": "OpenAI", @@ -74013,7 +76334,7 @@ "decorators": [], "properties": [ { - "$id": "5897", + "$id": "5966", "kind": "property", "name": "vector_store_ids", "serializedName": "vector_store_ids", @@ -74031,7 +76352,8 @@ "json": { "name": "vector_store_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -74045,11 +76367,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -74061,10 +76384,11 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { - "$id": "5898", + "$id": "5967", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -74082,21 +76406,22 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5891" + "$ref": "5960" }, { - "$ref": "5893" + "$ref": "5962" }, { - "$ref": "5896" + "$ref": "5965" }, { - "$id": "5899", + "$id": "5968", "kind": "model", "name": "ModifyThreadRequest", "namespace": "OpenAI", @@ -74105,16 +76430,16 @@ "decorators": [], "properties": [ { - "$id": "5900", + "$id": "5969", "kind": "property", "name": "tool_resources", "serializedName": "tool_resources", "doc": "A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the `code_interpreter` tool requires a list of file IDs, while the `file_search` tool requires a list of vector store IDs.", "type": { - "$id": "5901", + "$id": "5970", "kind": "nullable", "type": { - "$id": "5902", + "$id": "5971", "kind": "model", "name": "ModifyThreadRequestToolResources1", "namespace": "OpenAI", @@ -74123,12 +76448,12 @@ "decorators": [], "properties": [ { - "$id": "5903", + "$id": "5972", "kind": "property", "name": "code_interpreter", "serializedName": "code_interpreter", "type": { - "$id": "5904", + "$id": "5973", "kind": "model", "name": "ModifyThreadRequestToolResourcesCodeInterpreter", "namespace": "OpenAI", @@ -74137,7 +76462,7 @@ "decorators": [], "properties": [ { - "$id": "5905", + "$id": "5974", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -74155,7 +76480,8 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false } ] }, @@ -74169,10 +76495,11 @@ "json": { "name": "code_interpreter" } - } + }, + "isHttpMetadata": false }, { - "$id": "5906", + "$id": "5975", "kind": "property", "name": "file_search", "serializedName": "file_search", @@ -74189,11 +76516,12 @@ "json": { "name": "file_search" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -74205,10 +76533,11 @@ "json": { "name": "tool_resources" } - } + }, + "isHttpMetadata": false }, { - "$id": "5907", + "$id": "5976", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -74226,18 +76555,19 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5902" + "$ref": "5971" }, { - "$ref": "5904" + "$ref": "5973" }, { - "$id": "5908", + "$id": "5977", "kind": "model", "name": "DeleteThreadResponse", "namespace": "OpenAI", @@ -74246,12 +76576,12 @@ "decorators": [], "properties": [ { - "$id": "5909", + "$id": "5978", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5910", + "$id": "5979", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74267,15 +76597,16 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5911", + "$id": "5980", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "5912", + "$id": "5981", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -74291,10 +76622,11 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "5913", + "$id": "5982", "kind": "property", "name": "object", "serializedName": "object", @@ -74311,12 +76643,13 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5914", + "$id": "5983", "kind": "model", "name": "ListVectorStoresResponse", "namespace": "OpenAI", @@ -74325,7 +76658,7 @@ "decorators": [], "properties": [ { - "$id": "5915", + "$id": "5984", "kind": "property", "name": "object", "serializedName": "object", @@ -74342,19 +76675,20 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5916", + "$id": "5985", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "5917", + "$id": "5986", "kind": "array", "name": "ArrayVectorStoreObject", "valueType": { - "$id": "5918", + "$id": "5987", "kind": "model", "name": "VectorStoreObject", "namespace": "OpenAI", @@ -74364,13 +76698,13 @@ "decorators": [], "properties": [ { - "$id": "5919", + "$id": "5988", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "5920", + "$id": "5989", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74386,10 +76720,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5921", + "$id": "5990", "kind": "property", "name": "object", "serializedName": "object", @@ -74407,21 +76742,22 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5922", + "$id": "5991", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store was created.", "type": { - "$id": "5923", + "$id": "5992", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5924", + "$id": "5993", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74440,16 +76776,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5925", + "$id": "5994", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "5926", + "$id": "5995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74465,16 +76802,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "5927", + "$id": "5996", "kind": "property", "name": "usage_bytes", "serializedName": "usage_bytes", "doc": "The total number of bytes used by the files in the vector store.", "type": { - "$id": "5928", + "$id": "5997", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74490,15 +76828,16 @@ "json": { "name": "usage_bytes" } - } + }, + "isHttpMetadata": false }, { - "$id": "5929", + "$id": "5998", "kind": "property", "name": "file_counts", "serializedName": "file_counts", "type": { - "$id": "5930", + "$id": "5999", "kind": "model", "name": "VectorStoreObjectFileCounts", "namespace": "OpenAI", @@ -74507,13 +76846,13 @@ "decorators": [], "properties": [ { - "$id": "5931", + "$id": "6000", "kind": "property", "name": "in_progress", "serializedName": "in_progress", "doc": "The number of files that are currently being processed.", "type": { - "$id": "5932", + "$id": "6001", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74529,16 +76868,17 @@ "json": { "name": "in_progress" } - } + }, + "isHttpMetadata": false }, { - "$id": "5933", + "$id": "6002", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "The number of files that have been successfully processed.", "type": { - "$id": "5934", + "$id": "6003", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74554,16 +76894,17 @@ "json": { "name": "completed" } - } + }, + "isHttpMetadata": false }, { - "$id": "5935", + "$id": "6004", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "The number of files that have failed to process.", "type": { - "$id": "5936", + "$id": "6005", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74579,16 +76920,17 @@ "json": { "name": "failed" } - } + }, + "isHttpMetadata": false }, { - "$id": "5937", + "$id": "6006", "kind": "property", "name": "cancelled", "serializedName": "cancelled", "doc": "The number of files that were cancelled.", "type": { - "$id": "5938", + "$id": "6007", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74604,16 +76946,17 @@ "json": { "name": "cancelled" } - } + }, + "isHttpMetadata": false }, { - "$id": "5939", + "$id": "6008", "kind": "property", "name": "total", "serializedName": "total", "doc": "The total number of files.", "type": { - "$id": "5940", + "$id": "6009", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74629,7 +76972,8 @@ "json": { "name": "total" } - } + }, + "isHttpMetadata": false } ] }, @@ -74643,10 +76987,11 @@ "json": { "name": "file_counts" } - } + }, + "isHttpMetadata": false }, { - "$id": "5941", + "$id": "6010", "kind": "property", "name": "status", "serializedName": "status", @@ -74664,15 +77009,16 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "5942", + "$id": "6011", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "5943", + "$id": "6012", "kind": "model", "name": "VectorStoreExpirationAfter", "namespace": "OpenAI", @@ -74682,13 +77028,13 @@ "decorators": [], "properties": [ { - "$id": "5944", + "$id": "6013", "kind": "property", "name": "anchor", "serializedName": "anchor", "doc": "Anchor timestamp after which the expiration policy applies. Supported anchors: `last_active_at`.", "type": { - "$id": "5945", + "$id": "6014", "kind": "enumvalue", "name": "last_active_at", "value": "last_active_at", @@ -74710,16 +77056,17 @@ "json": { "name": "anchor" } - } + }, + "isHttpMetadata": false }, { - "$id": "5946", + "$id": "6015", "kind": "property", "name": "days", "serializedName": "days", "doc": "The number of days after the anchor time that the vector store will expire.", "type": { - "$id": "5947", + "$id": "6016", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74735,7 +77082,8 @@ "json": { "name": "days" } - } + }, + "isHttpMetadata": false } ] }, @@ -74749,24 +77097,25 @@ "json": { "name": "expires_after" } - } + }, + "isHttpMetadata": false }, { - "$id": "5948", + "$id": "6017", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the vector store will expire.", "type": { - "$id": "5949", + "$id": "6018", "kind": "nullable", "type": { - "$id": "5950", + "$id": "6019", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5951", + "$id": "6020", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74775,7 +77124,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -74787,24 +77136,25 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5952", + "$id": "6021", "kind": "property", "name": "last_active_at", "serializedName": "last_active_at", "doc": "The Unix timestamp (in seconds) for when the vector store was last active.", "type": { - "$id": "5953", + "$id": "6022", "kind": "nullable", "type": { - "$id": "5954", + "$id": "6023", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5955", + "$id": "6024", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -74813,7 +77163,7 @@ "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -74825,10 +77175,11 @@ "json": { "name": "last_active_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5956", + "$id": "6025", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -74846,7 +77197,8 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, @@ -74863,15 +77215,16 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "5957", + "$id": "6026", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "5958", + "$id": "6027", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74887,15 +77240,16 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5959", + "$id": "6028", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "5960", + "$id": "6029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -74911,15 +77265,16 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5961", + "$id": "6030", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "5962", + "$id": "6031", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -74935,21 +77290,22 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "5918" + "$ref": "5987" }, { - "$ref": "5930" + "$ref": "5999" }, { - "$ref": "5943" + "$ref": "6012" }, { - "$id": "5963", + "$id": "6032", "kind": "model", "name": "CreateVectorStoreRequest", "namespace": "OpenAI", @@ -74958,7 +77314,7 @@ "decorators": [], "properties": [ { - "$id": "5964", + "$id": "6033", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -74976,16 +77332,17 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false }, { - "$id": "5965", + "$id": "6034", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "5966", + "$id": "6035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75001,15 +77358,16 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "5967", + "$id": "6036", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$ref": "5943" + "$ref": "6012" }, "optional": true, "readOnly": false, @@ -75021,16 +77379,17 @@ "json": { "name": "expires_after" } - } + }, + "isHttpMetadata": false }, { - "$id": "5968", + "$id": "6037", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "The chunking strategy used to chunk the file(s). If not set, will use the `auto` strategy. Only applicable if `file_ids` is non-empty.", "type": { - "$id": "5969", + "$id": "6038", "kind": "union", "name": "CreateVectorStoreRequestChunkingStrategy", "variantTypes": [ @@ -75041,7 +77400,7 @@ "$ref": "2400" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -75054,10 +77413,11 @@ "json": { "name": "chunking_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "5970", + "$id": "6039", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -75075,12 +77435,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5971", + "$id": "6040", "kind": "model", "name": "UpdateVectorStoreRequest", "namespace": "OpenAI", @@ -75089,22 +77450,22 @@ "decorators": [], "properties": [ { - "$id": "5972", + "$id": "6041", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the vector store.", "type": { - "$id": "5973", + "$id": "6042", "kind": "nullable", "type": { - "$id": "5974", + "$id": "6043", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -75116,20 +77477,21 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "5975", + "$id": "6044", "kind": "property", "name": "expires_after", "serializedName": "expires_after", "type": { - "$id": "5976", + "$id": "6045", "kind": "nullable", "type": { - "$ref": "5943" + "$ref": "6012" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -75141,10 +77503,11 @@ "json": { "name": "expires_after" } - } + }, + "isHttpMetadata": false }, { - "$id": "5977", + "$id": "6046", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -75162,12 +77525,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5978", + "$id": "6047", "kind": "model", "name": "DeleteVectorStoreResponse", "namespace": "OpenAI", @@ -75176,12 +77540,12 @@ "decorators": [], "properties": [ { - "$id": "5979", + "$id": "6048", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "5980", + "$id": "6049", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75197,15 +77561,16 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5981", + "$id": "6050", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "5982", + "$id": "6051", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -75221,10 +77586,11 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "5983", + "$id": "6052", "kind": "property", "name": "object", "serializedName": "object", @@ -75241,12 +77607,13 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5984", + "$id": "6053", "kind": "model", "name": "CreateVectorStoreFileBatchRequest", "namespace": "OpenAI", @@ -75255,7 +77622,7 @@ "decorators": [], "properties": [ { - "$id": "5985", + "$id": "6054", "kind": "property", "name": "file_ids", "serializedName": "file_ids", @@ -75273,10 +77640,11 @@ "json": { "name": "file_ids" } - } + }, + "isHttpMetadata": false }, { - "$id": "5986", + "$id": "6055", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", @@ -75293,20 +77661,21 @@ "json": { "name": "chunking_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "5987", + "$id": "6056", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "5988", + "$id": "6057", "kind": "nullable", "type": { - "$ref": "3664" + "$ref": "3733" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -75318,12 +77687,13 @@ "json": { "name": "attributes" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "5989", + "$id": "6058", "kind": "model", "name": "VectorStoreFileBatchObject", "namespace": "OpenAI", @@ -75333,13 +77703,13 @@ "decorators": [], "properties": [ { - "$id": "5990", + "$id": "6059", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "5991", + "$id": "6060", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75355,10 +77725,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5992", + "$id": "6061", "kind": "property", "name": "object", "serializedName": "object", @@ -75376,21 +77747,22 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "5993", + "$id": "6062", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store files batch was created.", "type": { - "$id": "5994", + "$id": "6063", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "5995", + "$id": "6064", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75409,16 +77781,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "5996", + "$id": "6065", "kind": "property", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the [vector store](/docs/api-reference/vector-stores/object) that the [File](/docs/api-reference/files) is attached to.", "type": { - "$id": "5997", + "$id": "6066", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75434,10 +77807,11 @@ "json": { "name": "vector_store_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "5998", + "$id": "6067", "kind": "property", "name": "status", "serializedName": "status", @@ -75455,15 +77829,16 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "5999", + "$id": "6068", "kind": "property", "name": "file_counts", "serializedName": "file_counts", "type": { - "$id": "6000", + "$id": "6069", "kind": "model", "name": "VectorStoreFileBatchObjectFileCounts", "namespace": "OpenAI", @@ -75472,13 +77847,13 @@ "decorators": [], "properties": [ { - "$id": "6001", + "$id": "6070", "kind": "property", "name": "in_progress", "serializedName": "in_progress", "doc": "The number of files that are currently being processed.", "type": { - "$id": "6002", + "$id": "6071", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75494,16 +77869,17 @@ "json": { "name": "in_progress" } - } + }, + "isHttpMetadata": false }, { - "$id": "6003", + "$id": "6072", "kind": "property", "name": "completed", "serializedName": "completed", "doc": "The number of files that have been processed.", "type": { - "$id": "6004", + "$id": "6073", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75519,16 +77895,17 @@ "json": { "name": "completed" } - } + }, + "isHttpMetadata": false }, { - "$id": "6005", + "$id": "6074", "kind": "property", "name": "failed", "serializedName": "failed", "doc": "The number of files that have failed to process.", "type": { - "$id": "6006", + "$id": "6075", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75544,16 +77921,17 @@ "json": { "name": "failed" } - } + }, + "isHttpMetadata": false }, { - "$id": "6007", + "$id": "6076", "kind": "property", "name": "cancelled", "serializedName": "cancelled", "doc": "The number of files that where cancelled.", "type": { - "$id": "6008", + "$id": "6077", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75569,16 +77947,17 @@ "json": { "name": "cancelled" } - } + }, + "isHttpMetadata": false }, { - "$id": "6009", + "$id": "6078", "kind": "property", "name": "total", "serializedName": "total", "doc": "The total number of files.", "type": { - "$id": "6010", + "$id": "6079", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75594,7 +77973,8 @@ "json": { "name": "total" } - } + }, + "isHttpMetadata": false } ] }, @@ -75608,15 +77988,16 @@ "json": { "name": "file_counts" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6000" + "$ref": "6069" }, { - "$id": "6011", + "$id": "6080", "kind": "model", "name": "ListVectorStoreFilesResponse", "namespace": "OpenAI", @@ -75625,7 +78006,7 @@ "decorators": [], "properties": [ { - "$id": "6012", + "$id": "6081", "kind": "property", "name": "object", "serializedName": "object", @@ -75642,19 +78023,20 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6013", + "$id": "6082", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6014", + "$id": "6083", "kind": "array", "name": "ArrayVectorStoreFileObject", "valueType": { - "$id": "6015", + "$id": "6084", "kind": "model", "name": "VectorStoreFileObject", "namespace": "OpenAI", @@ -75664,13 +78046,13 @@ "decorators": [], "properties": [ { - "$id": "6016", + "$id": "6085", "kind": "property", "name": "id", "serializedName": "id", "doc": "The identifier, which can be referenced in API endpoints.", "type": { - "$id": "6017", + "$id": "6086", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75686,10 +78068,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6018", + "$id": "6087", "kind": "property", "name": "object", "serializedName": "object", @@ -75707,16 +78090,17 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6019", + "$id": "6088", "kind": "property", "name": "usage_bytes", "serializedName": "usage_bytes", "doc": "The total vector store usage in bytes. Note that this may be different from the original file size.", "type": { - "$id": "6020", + "$id": "6089", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75732,21 +78116,22 @@ "json": { "name": "usage_bytes" } - } + }, + "isHttpMetadata": false }, { - "$id": "6021", + "$id": "6090", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the vector store file was created.", "type": { - "$id": "6022", + "$id": "6091", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6023", + "$id": "6092", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -75765,16 +78150,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "6024", + "$id": "6093", "kind": "property", "name": "vector_store_id", "serializedName": "vector_store_id", "doc": "The ID of the [vector store](/docs/api-reference/vector-stores/object) that the [File](/docs/api-reference/files) is attached to.", "type": { - "$id": "6025", + "$id": "6094", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75790,10 +78176,11 @@ "json": { "name": "vector_store_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6026", + "$id": "6095", "kind": "property", "name": "status", "serializedName": "status", @@ -75811,19 +78198,20 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "6027", + "$id": "6096", "kind": "property", "name": "last_error", "serializedName": "last_error", "doc": "The last error associated with this vector store file. Will be `null` if there are no errors.", "type": { - "$id": "6028", + "$id": "6097", "kind": "nullable", "type": { - "$id": "6029", + "$id": "6098", "kind": "model", "name": "VectorStoreFileObjectLastError1", "namespace": "OpenAI", @@ -75832,7 +78220,7 @@ "decorators": [], "properties": [ { - "$id": "6030", + "$id": "6099", "kind": "property", "name": "code", "serializedName": "code", @@ -75850,16 +78238,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "6031", + "$id": "6100", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable description of the error.", "type": { - "$id": "6032", + "$id": "6101", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -75875,11 +78264,12 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -75891,16 +78281,17 @@ "json": { "name": "last_error" } - } + }, + "isHttpMetadata": false }, { - "$id": "6033", + "$id": "6102", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", "doc": "The strategy used to chunk the file.", "type": { - "$id": "6034", + "$id": "6103", "kind": "model", "name": "ChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -75908,7 +78299,7 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6035", + "$id": "6104", "kind": "property", "name": "type", "serializedName": "type", @@ -75925,16 +78316,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6035" + "$ref": "6104" } ], "discriminatedSubtypes": { "other": { - "$id": "6036", + "$id": "6105", "kind": "model", "name": "OtherChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -75944,11 +78336,11 @@ "discriminatorValue": "other", "decorators": [], "baseModel": { - "$ref": "6034" + "$ref": "6103" }, "properties": [ { - "$id": "6037", + "$id": "6106", "kind": "property", "name": "type", "serializedName": "type", @@ -75966,12 +78358,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "static": { - "$id": "6038", + "$id": "6107", "kind": "model", "name": "StaticChunkingStrategyResponseParam", "namespace": "OpenAI", @@ -75980,11 +78373,11 @@ "discriminatorValue": "static", "decorators": [], "baseModel": { - "$ref": "6034" + "$ref": "6103" }, "properties": [ { - "$id": "6039", + "$id": "6108", "kind": "property", "name": "type", "serializedName": "type", @@ -76002,10 +78395,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6040", + "$id": "6109", "kind": "property", "name": "static", "serializedName": "static", @@ -76022,7 +78416,8 @@ "json": { "name": "static" } - } + }, + "isHttpMetadata": false } ] } @@ -76038,20 +78433,21 @@ "json": { "name": "chunking_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "6041", + "$id": "6110", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6042", + "$id": "6111", "kind": "nullable", "type": { - "$ref": "3664" + "$ref": "3733" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -76063,7 +78459,8 @@ "json": { "name": "attributes" } - } + }, + "isHttpMetadata": false } ] }, @@ -76080,15 +78477,16 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "6043", + "$id": "6112", "kind": "property", "name": "first_id", "serializedName": "first_id", "type": { - "$id": "6044", + "$id": "6113", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76104,15 +78502,16 @@ "json": { "name": "first_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6045", + "$id": "6114", "kind": "property", "name": "last_id", "serializedName": "last_id", "type": { - "$id": "6046", + "$id": "6115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76128,15 +78527,16 @@ "json": { "name": "last_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6047", + "$id": "6116", "kind": "property", "name": "has_more", "serializedName": "has_more", "type": { - "$id": "6048", + "$id": "6117", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -76152,27 +78552,28 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6015" + "$ref": "6084" }, { - "$ref": "6029" + "$ref": "6098" }, { - "$ref": "6034" + "$ref": "6103" }, { - "$ref": "6036" + "$ref": "6105" }, { - "$ref": "6038" + "$ref": "6107" }, { - "$id": "6049", + "$id": "6118", "kind": "model", "name": "CreateVectorStoreFileRequest", "namespace": "OpenAI", @@ -76181,13 +78582,13 @@ "decorators": [], "properties": [ { - "$id": "6050", + "$id": "6119", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "A [File](/docs/api-reference/files) ID that the vector store should use. Useful for tools like `file_search` that can access files.", "type": { - "$id": "6051", + "$id": "6120", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76203,10 +78604,11 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6052", + "$id": "6121", "kind": "property", "name": "chunking_strategy", "serializedName": "chunking_strategy", @@ -76223,20 +78625,21 @@ "json": { "name": "chunking_strategy" } - } + }, + "isHttpMetadata": false }, { - "$id": "6053", + "$id": "6122", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6054", + "$id": "6123", "kind": "nullable", "type": { - "$ref": "3664" + "$ref": "3733" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -76248,12 +78651,13 @@ "json": { "name": "attributes" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6055", + "$id": "6124", "kind": "model", "name": "DeleteVectorStoreFileResponse", "namespace": "OpenAI", @@ -76262,12 +78666,12 @@ "decorators": [], "properties": [ { - "$id": "6056", + "$id": "6125", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6057", + "$id": "6126", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76283,15 +78687,16 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6058", + "$id": "6127", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6059", + "$id": "6128", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -76307,10 +78712,11 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "6060", + "$id": "6129", "kind": "property", "name": "object", "serializedName": "object", @@ -76327,12 +78733,13 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6061", + "$id": "6130", "kind": "model", "name": "UpdateVectorStoreFileAttributesRequest", "namespace": "OpenAI", @@ -76341,17 +78748,17 @@ "decorators": [], "properties": [ { - "$id": "6062", + "$id": "6131", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6063", + "$id": "6132", "kind": "nullable", "type": { - "$ref": "3664" + "$ref": "3733" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -76363,12 +78770,13 @@ "json": { "name": "attributes" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6064", + "$id": "6133", "kind": "model", "name": "VectorStoreFileContentResponse", "namespace": "OpenAI", @@ -76378,7 +78786,7 @@ "decorators": [], "properties": [ { - "$id": "6065", + "$id": "6134", "kind": "property", "name": "object", "serializedName": "object", @@ -76396,20 +78804,21 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6066", + "$id": "6135", "kind": "property", "name": "data", "serializedName": "data", "doc": "Parsed content of the file.", "type": { - "$id": "6067", + "$id": "6136", "kind": "array", "name": "Array41", "valueType": { - "$id": "6068", + "$id": "6137", "kind": "model", "name": "VectorStoreFileContentResponseDatum", "namespace": "OpenAI", @@ -76418,13 +78827,13 @@ "decorators": [], "properties": [ { - "$id": "6069", + "$id": "6138", "kind": "property", "name": "type", "serializedName": "type", "doc": "The content type (currently only `\"text\"`)", "type": { - "$id": "6070", + "$id": "6139", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76440,16 +78849,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6071", + "$id": "6140", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content", "type": { - "$id": "6072", + "$id": "6141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76465,7 +78875,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -76482,16 +78893,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "6073", + "$id": "6142", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates if there are more content pages to fetch.", "type": { - "$id": "6074", + "$id": "6143", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -76507,25 +78919,26 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false }, { - "$id": "6075", + "$id": "6144", "kind": "property", "name": "next_page", "serializedName": "next_page", "doc": "The token for the next page, if any.", "type": { - "$id": "6076", + "$id": "6145", "kind": "nullable", "type": { - "$id": "6077", + "$id": "6146", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -76537,15 +78950,16 @@ "json": { "name": "next_page" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6068" + "$ref": "6137" }, { - "$id": "6078", + "$id": "6147", "kind": "model", "name": "VectorStoreSearchRequestRankingOptions", "namespace": "OpenAI", @@ -76554,7 +78968,7 @@ "decorators": [], "properties": [ { - "$id": "6079", + "$id": "6148", "kind": "property", "name": "ranker", "serializedName": "ranker", @@ -76571,15 +78985,16 @@ "json": { "name": "ranker" } - } + }, + "isHttpMetadata": false }, { - "$id": "6080", + "$id": "6149", "kind": "property", "name": "score_threshold", "serializedName": "score_threshold", "type": { - "$id": "6081", + "$id": "6150", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -76595,12 +79010,13 @@ "json": { "name": "score_threshold" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6082", + "$id": "6151", "kind": "model", "name": "VectorStoreSearchRequest", "namespace": "OpenAI", @@ -76609,18 +79025,18 @@ "decorators": [], "properties": [ { - "$id": "6083", + "$id": "6152", "kind": "property", "name": "query", "serializedName": "query", "doc": "A query string for a search", "type": { - "$id": "6084", + "$id": "6153", "kind": "union", "name": "VectorStoreSearchRequestQuery", "variantTypes": [ { - "$id": "6085", + "$id": "6154", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76630,7 +79046,7 @@ "$ref": "2309" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": false, @@ -76643,16 +79059,17 @@ "json": { "name": "query" } - } + }, + "isHttpMetadata": false }, { - "$id": "6086", + "$id": "6155", "kind": "property", "name": "rewrite_query", "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { - "$id": "6087", + "$id": "6156", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -76668,16 +79085,17 @@ "json": { "name": "rewrite_query" } - } + }, + "isHttpMetadata": false }, { - "$id": "6088", + "$id": "6157", "kind": "property", "name": "max_num_results", "serializedName": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { - "$id": "6089", + "$id": "6158", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -76693,27 +79111,28 @@ "json": { "name": "max_num_results" } - } + }, + "isHttpMetadata": false }, { - "$id": "6090", + "$id": "6159", "kind": "property", "name": "filters", "serializedName": "filters", "doc": "A filter to apply based on file attributes.", "type": { - "$id": "6091", + "$id": "6160", "kind": "union", "name": "VectorStoreSearchRequestFilters", "variantTypes": [ { - "$ref": "4066" + "$ref": "4135" }, { - "$ref": "4087" + "$ref": "4156" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -76726,16 +79145,17 @@ "json": { "name": "filters" } - } + }, + "isHttpMetadata": false }, { - "$id": "6092", + "$id": "6161", "kind": "property", "name": "ranking_options", "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$ref": "6078" + "$ref": "6147" }, "optional": true, "readOnly": false, @@ -76747,12 +79167,13 @@ "json": { "name": "ranking_options" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6093", + "$id": "6162", "kind": "model", "name": "VectorStoreSearchResultsPage", "namespace": "OpenAI", @@ -76761,7 +79182,7 @@ "decorators": [], "properties": [ { - "$id": "6094", + "$id": "6163", "kind": "property", "name": "object", "serializedName": "object", @@ -76779,10 +79200,11 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6095", + "$id": "6164", "kind": "property", "name": "search_query", "serializedName": "search_query", @@ -76799,20 +79221,21 @@ "json": { "name": "search_query" } - } + }, + "isHttpMetadata": false }, { - "$id": "6096", + "$id": "6165", "kind": "property", "name": "data", "serializedName": "data", "doc": "The list of search result items.", "type": { - "$id": "6097", + "$id": "6166", "kind": "array", "name": "ArrayVectorStoreSearchResultItem", "valueType": { - "$id": "6098", + "$id": "6167", "kind": "model", "name": "VectorStoreSearchResultItem", "namespace": "OpenAI", @@ -76821,13 +79244,13 @@ "decorators": [], "properties": [ { - "$id": "6099", + "$id": "6168", "kind": "property", "name": "file_id", "serializedName": "file_id", "doc": "The ID of the vector store file.", "type": { - "$id": "6100", + "$id": "6169", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76843,16 +79266,17 @@ "json": { "name": "file_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6101", + "$id": "6170", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the vector store file.", "type": { - "$id": "6102", + "$id": "6171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76868,16 +79292,17 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { - "$id": "6103", + "$id": "6172", "kind": "property", "name": "score", "serializedName": "score", "doc": "The similarity score for the result.", "type": { - "$id": "6104", + "$id": "6173", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -76893,20 +79318,21 @@ "json": { "name": "score" } - } + }, + "isHttpMetadata": false }, { - "$id": "6105", + "$id": "6174", "kind": "property", "name": "attributes", "serializedName": "attributes", "type": { - "$id": "6106", + "$id": "6175", "kind": "nullable", "type": { - "$ref": "3664" + "$ref": "3733" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -76918,20 +79344,21 @@ "json": { "name": "attributes" } - } + }, + "isHttpMetadata": false }, { - "$id": "6107", + "$id": "6176", "kind": "property", "name": "content", "serializedName": "content", "doc": "Content chunks from the file.", "type": { - "$id": "6108", + "$id": "6177", "kind": "array", "name": "ArrayVectorStoreSearchResultContentObject", "valueType": { - "$id": "6109", + "$id": "6178", "kind": "model", "name": "VectorStoreSearchResultContentObject", "namespace": "OpenAI", @@ -76940,7 +79367,7 @@ "decorators": [], "properties": [ { - "$id": "6110", + "$id": "6179", "kind": "property", "name": "type", "serializedName": "type", @@ -76958,16 +79385,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6111", + "$id": "6180", "kind": "property", "name": "text", "serializedName": "text", "doc": "The text content returned from search.", "type": { - "$id": "6112", + "$id": "6181", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -76983,7 +79411,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -77000,7 +79429,8 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, @@ -77017,16 +79447,17 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false }, { - "$id": "6113", + "$id": "6182", "kind": "property", "name": "has_more", "serializedName": "has_more", "doc": "Indicates if there are more results to fetch.", "type": { - "$id": "6114", + "$id": "6183", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -77042,25 +79473,26 @@ "json": { "name": "has_more" } - } + }, + "isHttpMetadata": false }, { - "$id": "6115", + "$id": "6184", "kind": "property", "name": "next_page", "serializedName": "next_page", "doc": "The token for the next page, if any.", "type": { - "$id": "6116", + "$id": "6185", "kind": "nullable", "type": { - "$id": "6117", + "$id": "6186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -77072,18 +79504,19 @@ "json": { "name": "next_page" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6098" + "$ref": "6167" }, { - "$ref": "6109" + "$ref": "6178" }, { - "$id": "6118", + "$id": "6187", "kind": "model", "name": "CreateCompletionRequest", "namespace": "OpenAI", @@ -77092,7 +79525,7 @@ "decorators": [], "properties": [ { - "$id": "6119", + "$id": "6188", "kind": "property", "name": "model", "serializedName": "model", @@ -77110,24 +79543,25 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6120", + "$id": "6189", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays.\n\nNote that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.", "type": { - "$id": "6121", + "$id": "6190", "kind": "nullable", "type": { - "$id": "6122", + "$id": "6191", "kind": "union", "name": "CreateCompletionRequestPrompt", "variantTypes": [ { - "$id": "6123", + "$id": "6192", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77143,10 +79577,10 @@ "$ref": "3234" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -77158,25 +79592,26 @@ "json": { "name": "prompt" } - } + }, + "isHttpMetadata": false }, { - "$id": "6124", + "$id": "6193", "kind": "property", "name": "best_of", "serializedName": "best_of", "doc": "Generates `best_of` completions server-side and returns the \"best\" (the one with the highest log probability per token). Results cannot be streamed.\n\nWhen used with `n`, `best_of` controls the number of candidate completions and `n` specifies how many to return – `best_of` must be greater than `n`.\n\n**Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.", "type": { - "$id": "6125", + "$id": "6194", "kind": "nullable", "type": { - "$id": "6126", + "$id": "6195", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77188,25 +79623,26 @@ "json": { "name": "best_of" } - } + }, + "isHttpMetadata": false }, { - "$id": "6127", + "$id": "6196", "kind": "property", "name": "echo", "serializedName": "echo", "doc": "Echo back the prompt in addition to the completion", "type": { - "$id": "6128", + "$id": "6197", "kind": "nullable", "type": { - "$id": "6129", + "$id": "6198", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77218,25 +79654,26 @@ "json": { "name": "echo" } - } + }, + "isHttpMetadata": false }, { - "$id": "6130", + "$id": "6199", "kind": "property", "name": "frequency_penalty", "serializedName": "frequency_penalty", "doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.\n\n[See more information about frequency and presence penalties.](/docs/guides/text-generation)", "type": { - "$id": "6131", + "$id": "6200", "kind": "nullable", "type": { - "$id": "6132", + "$id": "6201", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77248,21 +79685,22 @@ "json": { "name": "frequency_penalty" } - } + }, + "isHttpMetadata": false }, { - "$id": "6133", + "$id": "6202", "kind": "property", "name": "logit_bias", "serializedName": "logit_bias", "doc": "Modify the likelihood of specified tokens appearing in the completion.\n\nAccepts a JSON object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. You can use this [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.\n\nAs an example, you can pass `{\"50256\": -100}` to prevent the <|endoftext|> token from being generated.", "type": { - "$id": "6134", + "$id": "6203", "kind": "nullable", "type": { "$ref": "2996" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77274,25 +79712,26 @@ "json": { "name": "logit_bias" } - } + }, + "isHttpMetadata": false }, { - "$id": "6135", + "$id": "6204", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "Include the log probabilities on the `logprobs` most likely output tokens, as well the chosen tokens. For example, if `logprobs` is 5, the API will return a list of the 5 most likely tokens. The API will always return the `logprob` of the sampled token, so there may be up to `logprobs+1` elements in the response.\n\nThe maximum value for `logprobs` is 5.", "type": { - "$id": "6136", + "$id": "6205", "kind": "nullable", "type": { - "$id": "6137", + "$id": "6206", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77304,25 +79743,26 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false }, { - "$id": "6138", + "$id": "6207", "kind": "property", "name": "max_tokens", "serializedName": "max_tokens", "doc": "The maximum number of [tokens](/tokenizer) that can be generated in the completion.\n\nThe token count of your prompt plus `max_tokens` cannot exceed the model's context length. [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken) for counting tokens.", "type": { - "$id": "6139", + "$id": "6208", "kind": "nullable", "type": { - "$id": "6140", + "$id": "6209", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77334,25 +79774,26 @@ "json": { "name": "max_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6141", + "$id": "6210", "kind": "property", "name": "n", "serializedName": "n", "doc": "How many completions to generate for each prompt.\n\n**Note:** Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for `max_tokens` and `stop`.", "type": { - "$id": "6142", + "$id": "6211", "kind": "nullable", "type": { - "$id": "6143", + "$id": "6212", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77364,25 +79805,26 @@ "json": { "name": "n" } - } + }, + "isHttpMetadata": false }, { - "$id": "6144", + "$id": "6213", "kind": "property", "name": "presence_penalty", "serializedName": "presence_penalty", "doc": "Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.\n\n[See more information about frequency and presence penalties.](/docs/guides/text-generation)", "type": { - "$id": "6145", + "$id": "6214", "kind": "nullable", "type": { - "$id": "6146", + "$id": "6215", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77394,25 +79836,26 @@ "json": { "name": "presence_penalty" } - } + }, + "isHttpMetadata": false }, { - "$id": "6147", + "$id": "6216", "kind": "property", "name": "seed", "serializedName": "seed", "doc": "If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.\n\nDeterminism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.", "type": { - "$id": "6148", + "$id": "6217", "kind": "nullable", "type": { - "$id": "6149", + "$id": "6218", "kind": "int64", "name": "int64", "crossLanguageDefinitionId": "TypeSpec.int64", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77424,20 +79867,21 @@ "json": { "name": "seed" } - } + }, + "isHttpMetadata": false }, { - "$id": "6150", + "$id": "6219", "kind": "property", "name": "stop", "serializedName": "stop", "type": { - "$id": "6151", + "$id": "6220", "kind": "nullable", "type": { "$ref": "2992" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77449,25 +79893,26 @@ "json": { "name": "stop" } - } + }, + "isHttpMetadata": false }, { - "$id": "6152", + "$id": "6221", "kind": "property", "name": "stream", "serializedName": "stream", "doc": "Whether to stream back partial progress. If set, tokens will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available, with the stream terminated by a `data: [DONE]` message. [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).", "type": { - "$id": "6153", + "$id": "6222", "kind": "nullable", "type": { - "$id": "6154", + "$id": "6223", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77479,20 +79924,21 @@ "json": { "name": "stream" } - } + }, + "isHttpMetadata": false }, { - "$id": "6155", + "$id": "6224", "kind": "property", "name": "stream_options", "serializedName": "stream_options", "type": { - "$id": "6156", + "$id": "6225", "kind": "nullable", "type": { "$ref": "3022" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77504,25 +79950,26 @@ "json": { "name": "stream_options" } - } + }, + "isHttpMetadata": false }, { - "$id": "6157", + "$id": "6226", "kind": "property", "name": "suffix", "serializedName": "suffix", "doc": "The suffix that comes after a completion of inserted text.\n\nThis parameter is only supported for `gpt-3.5-turbo-instruct`.", "type": { - "$id": "6158", + "$id": "6227", "kind": "nullable", "type": { - "$id": "6159", + "$id": "6228", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77534,25 +79981,26 @@ "json": { "name": "suffix" } - } + }, + "isHttpMetadata": false }, { - "$id": "6160", + "$id": "6229", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\n\nWe generally recommend altering this or `top_p` but not both.", "type": { - "$id": "6161", + "$id": "6230", "kind": "nullable", "type": { - "$id": "6162", + "$id": "6231", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77564,25 +80012,26 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6163", + "$id": "6232", "kind": "property", "name": "top_p", "serializedName": "top_p", "doc": "An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.\n\nWe generally recommend altering this or `temperature` but not both.", "type": { - "$id": "6164", + "$id": "6233", "kind": "nullable", "type": { - "$id": "6165", + "$id": "6234", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -77594,16 +80043,17 @@ "json": { "name": "top_p" } - } + }, + "isHttpMetadata": false }, { - "$id": "6166", + "$id": "6235", "kind": "property", "name": "user", "serializedName": "user", "doc": "A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices#end-user-ids).", "type": { - "$id": "6167", + "$id": "6236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77619,12 +80069,13 @@ "json": { "name": "user" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6168", + "$id": "6237", "kind": "model", "name": "CreateCompletionResponse", "namespace": "OpenAI", @@ -77634,13 +80085,13 @@ "decorators": [], "properties": [ { - "$id": "6169", + "$id": "6238", "kind": "property", "name": "id", "serializedName": "id", "doc": "A unique identifier for the completion.", "type": { - "$id": "6170", + "$id": "6239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77656,20 +80107,21 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6171", + "$id": "6240", "kind": "property", "name": "choices", "serializedName": "choices", "doc": "The list of completion choices the model generated for the input prompt.", "type": { - "$id": "6172", + "$id": "6241", "kind": "array", "name": "Array42", "valueType": { - "$id": "6173", + "$id": "6242", "kind": "model", "name": "CreateCompletionResponseChoice", "namespace": "OpenAI", @@ -77678,7 +80130,7 @@ "decorators": [], "properties": [ { - "$id": "6174", + "$id": "6243", "kind": "property", "name": "finish_reason", "serializedName": "finish_reason", @@ -77696,15 +80148,16 @@ "json": { "name": "finish_reason" } - } + }, + "isHttpMetadata": false }, { - "$id": "6175", + "$id": "6244", "kind": "property", "name": "index", "serializedName": "index", "type": { - "$id": "6176", + "$id": "6245", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77720,18 +80173,19 @@ "json": { "name": "index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6177", + "$id": "6246", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "type": { - "$id": "6178", + "$id": "6247", "kind": "nullable", "type": { - "$id": "6179", + "$id": "6248", "kind": "model", "name": "CreateCompletionResponseChoiceLogprobs1", "namespace": "OpenAI", @@ -77740,7 +80194,7 @@ "decorators": [], "properties": [ { - "$id": "6180", + "$id": "6249", "kind": "property", "name": "text_offset", "serializedName": "text_offset", @@ -77757,10 +80211,11 @@ "json": { "name": "text_offset" } - } + }, + "isHttpMetadata": false }, { - "$id": "6181", + "$id": "6250", "kind": "property", "name": "token_logprobs", "serializedName": "token_logprobs", @@ -77777,10 +80232,11 @@ "json": { "name": "token_logprobs" } - } + }, + "isHttpMetadata": false }, { - "$id": "6182", + "$id": "6251", "kind": "property", "name": "tokens", "serializedName": "tokens", @@ -77797,29 +80253,30 @@ "json": { "name": "tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6183", + "$id": "6252", "kind": "property", "name": "top_logprobs", "serializedName": "top_logprobs", "type": { - "$id": "6184", + "$id": "6253", "kind": "array", "name": "ArrayRecord1", "valueType": { - "$id": "6185", + "$id": "6254", "kind": "dict", "keyType": { - "$id": "6186", + "$id": "6255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "6187", + "$id": "6256", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -77840,11 +80297,12 @@ "json": { "name": "top_logprobs" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -77856,15 +80314,16 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false }, { - "$id": "6188", + "$id": "6257", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6189", + "$id": "6258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77880,7 +80339,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -77897,21 +80357,22 @@ "json": { "name": "choices" } - } + }, + "isHttpMetadata": false }, { - "$id": "6190", + "$id": "6259", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) of when the completion was created.", "type": { - "$id": "6191", + "$id": "6260", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6192", + "$id": "6261", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -77930,16 +80391,17 @@ "json": { "name": "created" } - } + }, + "isHttpMetadata": false }, { - "$id": "6193", + "$id": "6262", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model used for completion.", "type": { - "$id": "6194", + "$id": "6263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77955,16 +80417,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6195", + "$id": "6264", "kind": "property", "name": "system_fingerprint", "serializedName": "system_fingerprint", "doc": "This fingerprint represents the backend configuration that the model runs with.\n\nCan be used in conjunction with the `seed` request parameter to understand when backend changes have been made that might impact determinism.", "type": { - "$id": "6196", + "$id": "6265", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -77980,10 +80443,11 @@ "json": { "name": "system_fingerprint" } - } + }, + "isHttpMetadata": false }, { - "$id": "6197", + "$id": "6266", "kind": "property", "name": "object", "serializedName": "object", @@ -78001,10 +80465,11 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6198", + "$id": "6267", "kind": "property", "name": "usage", "serializedName": "usage", @@ -78021,18 +80486,19 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6173" + "$ref": "6242" }, { - "$ref": "6179" + "$ref": "6248" }, { - "$id": "6199", + "$id": "6268", "kind": "model", "name": "ListModelsResponse", "namespace": "OpenAI", @@ -78041,7 +80507,7 @@ "decorators": [], "properties": [ { - "$id": "6200", + "$id": "6269", "kind": "property", "name": "object", "serializedName": "object", @@ -78058,19 +80524,20 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6201", + "$id": "6270", "kind": "property", "name": "data", "serializedName": "data", "type": { - "$id": "6202", + "$id": "6271", "kind": "array", "name": "ArrayModel", "valueType": { - "$id": "6203", + "$id": "6272", "kind": "model", "name": "Model", "namespace": "OpenAI", @@ -78080,13 +80547,13 @@ "decorators": [], "properties": [ { - "$id": "6204", + "$id": "6273", "kind": "property", "name": "id", "serializedName": "id", "doc": "The model identifier, which can be referenced in the API endpoints.", "type": { - "$id": "6205", + "$id": "6274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78102,21 +80569,22 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6206", + "$id": "6275", "kind": "property", "name": "created", "serializedName": "created", "doc": "The Unix timestamp (in seconds) when the model was created.", "type": { - "$id": "6207", + "$id": "6276", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6208", + "$id": "6277", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -78135,10 +80603,11 @@ "json": { "name": "created" } - } + }, + "isHttpMetadata": false }, { - "$id": "6209", + "$id": "6278", "kind": "property", "name": "object", "serializedName": "object", @@ -78156,16 +80625,17 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6210", + "$id": "6279", "kind": "property", "name": "owned_by", "serializedName": "owned_by", "doc": "The organization that owns the model.", "type": { - "$id": "6211", + "$id": "6280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78181,7 +80651,8 @@ "json": { "name": "owned_by" } - } + }, + "isHttpMetadata": false } ] }, @@ -78198,15 +80669,16 @@ "json": { "name": "data" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6203" + "$ref": "6272" }, { - "$id": "6212", + "$id": "6281", "kind": "model", "name": "DeleteModelResponse", "namespace": "OpenAI", @@ -78215,12 +80687,12 @@ "decorators": [], "properties": [ { - "$id": "6213", + "$id": "6282", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6214", + "$id": "6283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78236,15 +80708,16 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6215", + "$id": "6284", "kind": "property", "name": "deleted", "serializedName": "deleted", "type": { - "$id": "6216", + "$id": "6285", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -78260,10 +80733,11 @@ "json": { "name": "deleted" } - } + }, + "isHttpMetadata": false }, { - "$id": "6217", + "$id": "6286", "kind": "property", "name": "object", "serializedName": "object", @@ -78280,12 +80754,13 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6218", + "$id": "6287", "kind": "model", "name": "RealtimeClientEvent", "namespace": "OpenAI", @@ -78294,7 +80769,7 @@ "doc": "A realtime client event.", "decorators": [], "discriminatorProperty": { - "$id": "6219", + "$id": "6288", "kind": "property", "name": "type", "serializedName": "type", @@ -78312,19 +80787,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6219" + "$ref": "6288" }, { - "$id": "6220", + "$id": "6289", "kind": "property", "name": "event_id", "serializedName": "event_id", "type": { - "$id": "6221", + "$id": "6290", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78340,12 +80816,13 @@ "json": { "name": "event_id" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "session.update": { - "$id": "6222", + "$id": "6291", "kind": "model", "name": "RealtimeClientEventSessionUpdate", "namespace": "OpenAI", @@ -78355,11 +80832,11 @@ "discriminatorValue": "session.update", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6223", + "$id": "6292", "kind": "property", "name": "type", "serializedName": "type", @@ -78377,15 +80854,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6224", + "$id": "6293", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "6225", + "$id": "6294", "kind": "model", "name": "RealtimeRequestSession", "namespace": "OpenAI", @@ -78394,12 +80872,12 @@ "decorators": [], "properties": [ { - "$id": "6226", + "$id": "6295", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$id": "6227", + "$id": "6296", "kind": "array", "name": "ArrayRealtimeModality", "valueType": { @@ -78418,15 +80896,16 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6228", + "$id": "6297", "kind": "property", "name": "instructions", "serializedName": "instructions", "type": { - "$id": "6229", + "$id": "6298", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78442,10 +80921,11 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "6230", + "$id": "6299", "kind": "property", "name": "model", "serializedName": "model", @@ -78462,10 +80942,11 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6231", + "$id": "6300", "kind": "property", "name": "voice", "serializedName": "voice", @@ -78482,10 +80963,11 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6232", + "$id": "6301", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", @@ -78502,10 +80984,11 @@ "json": { "name": "input_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6233", + "$id": "6302", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", @@ -78522,18 +81005,19 @@ "json": { "name": "output_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6234", + "$id": "6303", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "type": { - "$id": "6235", + "$id": "6304", "kind": "nullable", "type": { - "$id": "6236", + "$id": "6305", "kind": "model", "name": "RealtimeAudioInputTranscriptionSettings", "namespace": "OpenAI", @@ -78542,7 +81026,7 @@ "decorators": [], "properties": [ { - "$id": "6237", + "$id": "6306", "kind": "property", "name": "model", "serializedName": "model", @@ -78559,15 +81043,16 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6238", + "$id": "6307", "kind": "property", "name": "language", "serializedName": "language", "type": { - "$id": "6239", + "$id": "6308", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78583,15 +81068,16 @@ "json": { "name": "language" } - } + }, + "isHttpMetadata": false }, { - "$id": "6240", + "$id": "6309", "kind": "property", "name": "prompt", "serializedName": "prompt", "type": { - "$id": "6241", + "$id": "6310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78607,11 +81093,12 @@ "json": { "name": "prompt" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -78623,18 +81110,19 @@ "json": { "name": "input_audio_transcription" } - } + }, + "isHttpMetadata": false }, { - "$id": "6242", + "$id": "6311", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "type": { - "$id": "6243", + "$id": "6312", "kind": "nullable", "type": { - "$id": "6244", + "$id": "6313", "kind": "model", "name": "RealtimeTurnDetection", "namespace": "OpenAI", @@ -78642,7 +81130,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6245", + "$id": "6314", "kind": "property", "name": "type", "serializedName": "type", @@ -78659,20 +81147,21 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6245" + "$ref": "6314" }, { - "$id": "6246", + "$id": "6315", "kind": "property", "name": "create_response", "serializedName": "create_response", "doc": "Whether or not to automatically generate a response when VAD is enabled. true by default.", "type": { - "$id": "6247", + "$id": "6316", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -78688,16 +81177,17 @@ "json": { "name": "create_response" } - } + }, + "isHttpMetadata": false }, { - "$id": "6248", + "$id": "6317", "kind": "property", "name": "interrupt_response", "serializedName": "interrupt_response", "doc": "Whether or not to automatically interrupt any ongoing response with output to the default conversation (i.e. `conversation` of `auto`) when a VAD start event occurs.", "type": { - "$id": "6249", + "$id": "6318", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -78713,12 +81203,13 @@ "json": { "name": "interrupt_response" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "server_vad": { - "$id": "6250", + "$id": "6319", "kind": "model", "name": "RealtimeServerVadTurnDetection", "namespace": "OpenAI", @@ -78727,11 +81218,11 @@ "discriminatorValue": "server_vad", "decorators": [], "baseModel": { - "$ref": "6244" + "$ref": "6313" }, "properties": [ { - "$id": "6251", + "$id": "6320", "kind": "property", "name": "type", "serializedName": "type", @@ -78748,16 +81239,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6252", + "$id": "6321", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A higher threshold will require louder audio to activate the model, and thus might perform better in noisy environments.", "type": { - "$id": "6253", + "$id": "6322", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -78773,21 +81265,22 @@ "json": { "name": "threshold" } - } + }, + "isHttpMetadata": false }, { - "$id": "6254", + "$id": "6323", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in milliseconds). Defaults to 300ms.", "type": { - "$id": "6255", + "$id": "6324", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "6256", + "$id": "6325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78806,21 +81299,22 @@ "json": { "name": "prefix_padding_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6257", + "$id": "6326", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults to 500ms. With shorter values the model will respond more quickly, but may jump in on short pauses from the user.", "type": { - "$id": "6258", + "$id": "6327", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "6259", + "$id": "6328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -78839,12 +81333,13 @@ "json": { "name": "silence_duration_ms" } - } + }, + "isHttpMetadata": false } ] }, "semantic_vad": { - "$id": "6260", + "$id": "6329", "kind": "model", "name": "RealtimeSemanticVadTurnDetection", "namespace": "OpenAI", @@ -78853,11 +81348,11 @@ "discriminatorValue": "semantic_vad", "decorators": [], "baseModel": { - "$ref": "6244" + "$ref": "6313" }, "properties": [ { - "$id": "6261", + "$id": "6330", "kind": "property", "name": "type", "serializedName": "type", @@ -78874,10 +81369,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6262", + "$id": "6331", "kind": "property", "name": "eagerness", "serializedName": "eagerness", @@ -78895,13 +81391,14 @@ "json": { "name": "eagerness" } - } + }, + "isHttpMetadata": false } ] } } }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -78913,15 +81410,16 @@ "json": { "name": "turn_detection" } - } + }, + "isHttpMetadata": false }, { - "$id": "6263", + "$id": "6332", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "type": { - "$id": "6264", + "$id": "6333", "kind": "model", "name": "RealtimeAudioNoiseReduction", "namespace": "OpenAI", @@ -78929,7 +81427,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6265", + "$id": "6334", "kind": "property", "name": "type", "serializedName": "type", @@ -78946,16 +81444,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6265" + "$ref": "6334" } ], "discriminatedSubtypes": { "near_field": { - "$id": "6266", + "$id": "6335", "kind": "model", "name": "RealtimeAudioNearFieldNoiseReduction", "namespace": "OpenAI", @@ -78964,11 +81463,11 @@ "discriminatorValue": "near_field", "decorators": [], "baseModel": { - "$ref": "6264" + "$ref": "6333" }, "properties": [ { - "$id": "6267", + "$id": "6336", "kind": "property", "name": "type", "serializedName": "type", @@ -78985,12 +81484,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "far_field": { - "$id": "6268", + "$id": "6337", "kind": "model", "name": "RealtimeAudioFarFieldNoiseReduction", "namespace": "OpenAI", @@ -78999,11 +81499,11 @@ "discriminatorValue": "far_field", "decorators": [], "baseModel": { - "$ref": "6264" + "$ref": "6333" }, "properties": [ { - "$id": "6269", + "$id": "6338", "kind": "property", "name": "type", "serializedName": "type", @@ -79020,7 +81520,8 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] } @@ -79036,19 +81537,20 @@ "json": { "name": "input_audio_noise_reduction" } - } + }, + "isHttpMetadata": false }, { - "$id": "6270", + "$id": "6339", "kind": "property", "name": "tools", "serializedName": "tools", "type": { - "$id": "6271", + "$id": "6340", "kind": "array", "name": "ArrayRealtimeTool", "valueType": { - "$id": "6272", + "$id": "6341", "kind": "model", "name": "RealtimeTool", "namespace": "OpenAI", @@ -79057,7 +81559,7 @@ "doc": "The base representation of a realtime tool definition.", "decorators": [], "discriminatorProperty": { - "$id": "6273", + "$id": "6342", "kind": "property", "name": "type", "serializedName": "type", @@ -79074,16 +81576,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6273" + "$ref": "6342" } ], "discriminatedSubtypes": { "function": { - "$id": "6274", + "$id": "6343", "kind": "model", "name": "RealtimeFunctionTool", "namespace": "OpenAI", @@ -79093,11 +81596,11 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "6272" + "$ref": "6341" }, "properties": [ { - "$id": "6275", + "$id": "6344", "kind": "property", "name": "type", "serializedName": "type", @@ -79114,15 +81617,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6276", + "$id": "6345", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6277", + "$id": "6346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79138,15 +81642,16 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "6278", + "$id": "6347", "kind": "property", "name": "description", "serializedName": "description", "type": { - "$id": "6279", + "$id": "6348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79162,15 +81667,16 @@ "json": { "name": "description" } - } + }, + "isHttpMetadata": false }, { - "$id": "6280", + "$id": "6349", "kind": "property", "name": "parameters", "serializedName": "parameters", "type": { - "$id": "6281", + "$id": "6350", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -79186,7 +81692,8 @@ "json": { "name": "parameters" } - } + }, + "isHttpMetadata": false } ] } @@ -79205,15 +81712,16 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "6282", + "$id": "6351", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$id": "6283", + "$id": "6352", "kind": "union", "name": "RealtimeToolChoice", "variantTypes": [ @@ -79221,7 +81729,7 @@ "$ref": "1119" }, { - "$id": "6284", + "$id": "6353", "kind": "model", "name": "RealtimeToolChoiceObject", "namespace": "OpenAI", @@ -79230,7 +81738,7 @@ "doc": "A base representation for a realtime tool_choice selecting a named tool.", "decorators": [], "discriminatorProperty": { - "$id": "6285", + "$id": "6354", "kind": "property", "name": "type", "serializedName": "type", @@ -79247,16 +81755,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6285" + "$ref": "6354" } ], "discriminatedSubtypes": { "function": { - "$id": "6286", + "$id": "6355", "kind": "model", "name": "RealtimeToolChoiceFunctionObject", "namespace": "OpenAI", @@ -79266,11 +81775,11 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "6284" + "$ref": "6353" }, "properties": [ { - "$id": "6287", + "$id": "6356", "kind": "property", "name": "type", "serializedName": "type", @@ -79287,15 +81796,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6288", + "$id": "6357", "kind": "property", "name": "function", "serializedName": "function", "type": { - "$id": "6289", + "$id": "6358", "kind": "model", "name": "RealtimeToolChoiceFunctionObjectFunction", "namespace": "OpenAI", @@ -79304,12 +81814,12 @@ "decorators": [], "properties": [ { - "$id": "6290", + "$id": "6359", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6291", + "$id": "6360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79325,7 +81835,8 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false } ] }, @@ -79339,7 +81850,8 @@ "json": { "name": "function" } - } + }, + "isHttpMetadata": false } ] } @@ -79359,15 +81871,16 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6292", + "$id": "6361", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "6293", + "$id": "6362", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -79383,20 +81896,21 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6294", + "$id": "6363", "kind": "property", "name": "max_response_output_tokens", "serializedName": "max_response_output_tokens", "type": { - "$id": "6295", + "$id": "6364", "kind": "union", "name": "RealtimeRequestSessionMaxResponseOutputTokens", "variantTypes": [ { - "$id": "6296", + "$id": "6365", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -79406,7 +81920,7 @@ "$ref": "1657" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -79419,7 +81933,8 @@ "json": { "name": "max_response_output_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -79433,12 +81948,13 @@ "json": { "name": "session" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.append": { - "$id": "6297", + "$id": "6366", "kind": "model", "name": "RealtimeClientEventInputAudioBufferAppend", "namespace": "OpenAI", @@ -79448,11 +81964,11 @@ "discriminatorValue": "input_audio_buffer.append", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6298", + "$id": "6367", "kind": "property", "name": "type", "serializedName": "type", @@ -79470,16 +81986,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6299", + "$id": "6368", "kind": "property", "name": "audio", "serializedName": "audio", "doc": "Base64-encoded audio bytes. This must be in the format specified by the\n`input_audio_format` field in the session configuration.", "type": { - "$id": "6300", + "$id": "6369", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -79496,12 +82013,13 @@ "json": { "name": "audio" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.commit": { - "$id": "6301", + "$id": "6370", "kind": "model", "name": "RealtimeClientEventInputAudioBufferCommit", "namespace": "OpenAI", @@ -79511,11 +82029,11 @@ "discriminatorValue": "input_audio_buffer.commit", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6302", + "$id": "6371", "kind": "property", "name": "type", "serializedName": "type", @@ -79533,12 +82051,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.clear": { - "$id": "6303", + "$id": "6372", "kind": "model", "name": "RealtimeClientEventInputAudioBufferClear", "namespace": "OpenAI", @@ -79548,11 +82067,11 @@ "discriminatorValue": "input_audio_buffer.clear", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6304", + "$id": "6373", "kind": "property", "name": "type", "serializedName": "type", @@ -79570,12 +82089,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "output_audio_buffer.clear": { - "$id": "6305", + "$id": "6374", "kind": "model", "name": "RealtimeClientEventOutputAudioBufferClear", "namespace": "OpenAI", @@ -79585,11 +82105,11 @@ "discriminatorValue": "output_audio_buffer.clear", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6306", + "$id": "6375", "kind": "property", "name": "type", "serializedName": "type", @@ -79607,12 +82127,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.create": { - "$id": "6307", + "$id": "6376", "kind": "model", "name": "RealtimeClientEventConversationItemCreate", "namespace": "OpenAI", @@ -79622,11 +82143,11 @@ "discriminatorValue": "conversation.item.create", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6308", + "$id": "6377", "kind": "property", "name": "type", "serializedName": "type", @@ -79644,16 +82165,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6309", + "$id": "6378", "kind": "property", "name": "previous_item_id", "serializedName": "previous_item_id", "doc": "The ID of the preceding item after which the new item will be inserted.\nIf not set, the new item will be appended to the end of the conversation.\nIf set to `root`, the new item will be added to the beginning of the conversation.\nIf set to an existing ID, it allows an item to be inserted mid-conversation. If the\nID cannot be found, an error will be returned and the item will not be added.", "type": { - "$id": "6310", + "$id": "6379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79669,15 +82191,16 @@ "json": { "name": "previous_item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6311", + "$id": "6380", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$id": "6312", + "$id": "6381", "kind": "model", "name": "RealtimeConversationRequestItem", "namespace": "OpenAI", @@ -79685,7 +82208,7 @@ "usage": "Input,Json", "decorators": [], "discriminatorProperty": { - "$id": "6313", + "$id": "6382", "kind": "property", "name": "type", "serializedName": "type", @@ -79702,19 +82225,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6313" + "$ref": "6382" }, { - "$id": "6314", + "$id": "6383", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6315", + "$id": "6384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79730,12 +82254,13 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "message": { - "$id": "6316", + "$id": "6385", "kind": "model", "name": "RealtimeRequestMessageItem", "namespace": "OpenAI", @@ -79744,7 +82269,7 @@ "discriminatorValue": "message", "decorators": [], "discriminatorProperty": { - "$id": "6317", + "$id": "6386", "kind": "property", "name": "role", "serializedName": "role", @@ -79761,14 +82286,15 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, "baseModel": { - "$ref": "6312" + "$ref": "6381" }, "properties": [ { - "$id": "6318", + "$id": "6387", "kind": "property", "name": "type", "serializedName": "type", @@ -79785,13 +82311,14 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$ref": "6317" + "$ref": "6386" }, { - "$id": "6319", + "$id": "6388", "kind": "property", "name": "status", "serializedName": "status", @@ -79808,12 +82335,13 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "system": { - "$id": "6320", + "$id": "6389", "kind": "model", "name": "RealtimeRequestSystemMessageItem", "namespace": "OpenAI", @@ -79822,11 +82350,11 @@ "discriminatorValue": "system", "decorators": [], "baseModel": { - "$ref": "6316" + "$ref": "6385" }, "properties": [ { - "$id": "6321", + "$id": "6390", "kind": "property", "name": "role", "serializedName": "role", @@ -79843,19 +82371,20 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "6322", + "$id": "6391", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "6323", + "$id": "6392", "kind": "array", "name": "ArrayRealtimeRequestTextContentPart", "valueType": { - "$id": "6324", + "$id": "6393", "kind": "model", "name": "RealtimeRequestTextContentPart", "namespace": "OpenAI", @@ -79864,7 +82393,7 @@ "discriminatorValue": "input_text", "decorators": [], "baseModel": { - "$id": "6325", + "$id": "6394", "kind": "model", "name": "RealtimeContentPart", "namespace": "OpenAI", @@ -79872,7 +82401,7 @@ "usage": "Input,Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6326", + "$id": "6395", "kind": "property", "name": "type", "serializedName": "type", @@ -79889,19 +82418,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6326" + "$ref": "6395" } ], "discriminatedSubtypes": { "input_text": { - "$ref": "6324" + "$ref": "6393" }, "input_audio": { - "$id": "6327", + "$id": "6396", "kind": "model", "name": "RealtimeRequestAudioContentPart", "namespace": "OpenAI", @@ -79910,11 +82440,11 @@ "discriminatorValue": "input_audio", "decorators": [], "baseModel": { - "$ref": "6325" + "$ref": "6394" }, "properties": [ { - "$id": "6328", + "$id": "6397", "kind": "property", "name": "type", "serializedName": "type", @@ -79931,15 +82461,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6329", + "$id": "6398", "kind": "property", "name": "transcript", "serializedName": "transcript", "type": { - "$id": "6330", + "$id": "6399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -79955,12 +82486,13 @@ "json": { "name": "transcript" } - } + }, + "isHttpMetadata": false } ] }, "text": { - "$id": "6331", + "$id": "6400", "kind": "model", "name": "RealtimeResponseTextContentPart", "namespace": "OpenAI", @@ -79969,11 +82501,11 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "6325" + "$ref": "6394" }, "properties": [ { - "$id": "6332", + "$id": "6401", "kind": "property", "name": "type", "serializedName": "type", @@ -79990,15 +82522,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6333", + "$id": "6402", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6334", + "$id": "6403", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80014,12 +82547,13 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, "audio": { - "$id": "6335", + "$id": "6404", "kind": "model", "name": "RealtimeResponseAudioContentPart", "namespace": "OpenAI", @@ -80028,11 +82562,11 @@ "discriminatorValue": "audio", "decorators": [], "baseModel": { - "$ref": "6325" + "$ref": "6394" }, "properties": [ { - "$id": "6336", + "$id": "6405", "kind": "property", "name": "type", "serializedName": "type", @@ -80049,24 +82583,25 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6337", + "$id": "6406", "kind": "property", "name": "transcript", "serializedName": "transcript", "type": { - "$id": "6338", + "$id": "6407", "kind": "nullable", "type": { - "$id": "6339", + "$id": "6408", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -80078,7 +82613,8 @@ "json": { "name": "transcript" } - } + }, + "isHttpMetadata": false } ] } @@ -80086,12 +82622,12 @@ }, "properties": [ { - "$id": "6340", + "$id": "6409", "kind": "property", "name": "type", "serializedName": "type", "type": { - "$id": "6341", + "$id": "6410", "kind": "enumvalue", "name": "input_text", "value": "input_text", @@ -80113,15 +82649,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6342", + "$id": "6411", "kind": "property", "name": "text", "serializedName": "text", "type": { - "$id": "6343", + "$id": "6412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80137,7 +82674,8 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, @@ -80154,12 +82692,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "user": { - "$id": "6344", + "$id": "6413", "kind": "model", "name": "RealtimeRequestUserMessageItem", "namespace": "OpenAI", @@ -80168,11 +82707,11 @@ "discriminatorValue": "user", "decorators": [], "baseModel": { - "$ref": "6316" + "$ref": "6385" }, "properties": [ { - "$id": "6345", + "$id": "6414", "kind": "property", "name": "role", "serializedName": "role", @@ -80189,30 +82728,31 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "6346", + "$id": "6415", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "6347", + "$id": "6416", "kind": "array", "name": "Array43", "valueType": { - "$id": "6348", + "$id": "6417", "kind": "union", "name": "RealtimeRequestUserMessageItemContent", "variantTypes": [ { - "$ref": "6324" + "$ref": "6393" }, { - "$ref": "6327" + "$ref": "6396" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -80228,12 +82768,13 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] }, "assistant": { - "$id": "6349", + "$id": "6418", "kind": "model", "name": "RealtimeRequestAssistantMessageItem", "namespace": "OpenAI", @@ -80242,11 +82783,11 @@ "discriminatorValue": "assistant", "decorators": [], "baseModel": { - "$ref": "6316" + "$ref": "6385" }, "properties": [ { - "$id": "6350", + "$id": "6419", "kind": "property", "name": "role", "serializedName": "role", @@ -80263,15 +82804,16 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "6351", + "$id": "6420", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$ref": "6323" + "$ref": "6392" }, "optional": false, "readOnly": false, @@ -80283,14 +82825,15 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false } ] } } }, "function_call": { - "$id": "6352", + "$id": "6421", "kind": "model", "name": "RealtimeRequestFunctionCallItem", "namespace": "OpenAI", @@ -80299,11 +82842,11 @@ "discriminatorValue": "function_call", "decorators": [], "baseModel": { - "$ref": "6312" + "$ref": "6381" }, "properties": [ { - "$id": "6353", + "$id": "6422", "kind": "property", "name": "type", "serializedName": "type", @@ -80320,15 +82863,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6354", + "$id": "6423", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6355", + "$id": "6424", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80344,15 +82888,16 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "6356", + "$id": "6425", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "6357", + "$id": "6426", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80368,15 +82913,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6358", + "$id": "6427", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "6359", + "$id": "6428", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80392,10 +82938,11 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false }, { - "$id": "6360", + "$id": "6429", "kind": "property", "name": "status", "serializedName": "status", @@ -80412,12 +82959,13 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false } ] }, "function_call_output": { - "$id": "6361", + "$id": "6430", "kind": "model", "name": "RealtimeRequestFunctionCallOutputItem", "namespace": "OpenAI", @@ -80426,11 +82974,11 @@ "discriminatorValue": "function_call_output", "decorators": [], "baseModel": { - "$ref": "6312" + "$ref": "6381" }, "properties": [ { - "$id": "6362", + "$id": "6431", "kind": "property", "name": "type", "serializedName": "type", @@ -80447,15 +82995,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6363", + "$id": "6432", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "6364", + "$id": "6433", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80471,15 +83020,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6365", + "$id": "6434", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "6366", + "$id": "6435", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80495,7 +83045,8 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] } @@ -80511,12 +83062,13 @@ "json": { "name": "item" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.truncate": { - "$id": "6367", + "$id": "6436", "kind": "model", "name": "RealtimeClientEventConversationItemTruncate", "namespace": "OpenAI", @@ -80526,11 +83078,11 @@ "discriminatorValue": "conversation.item.truncate", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6368", + "$id": "6437", "kind": "property", "name": "type", "serializedName": "type", @@ -80548,16 +83100,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6369", + "$id": "6438", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the assistant message item to truncate. Only assistant message\nitems can be truncated.", "type": { - "$id": "6370", + "$id": "6439", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80573,16 +83126,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6371", + "$id": "6440", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part to truncate. Set this to 0.", "type": { - "$id": "6372", + "$id": "6441", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80598,16 +83152,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6373", + "$id": "6442", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "Inclusive duration up to which audio is truncated, in milliseconds. If\nthe audio_end_ms is greater than the actual audio duration, the server\nwill respond with an error.", "type": { - "$id": "6374", + "$id": "6443", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80623,12 +83178,13 @@ "json": { "name": "audio_end_ms" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.delete": { - "$id": "6375", + "$id": "6444", "kind": "model", "name": "RealtimeClientEventConversationItemDelete", "namespace": "OpenAI", @@ -80638,11 +83194,11 @@ "discriminatorValue": "conversation.item.delete", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6376", + "$id": "6445", "kind": "property", "name": "type", "serializedName": "type", @@ -80660,16 +83216,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6377", + "$id": "6446", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to delete.", "type": { - "$id": "6378", + "$id": "6447", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80685,12 +83242,13 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false } ] }, "response.create": { - "$id": "6379", + "$id": "6448", "kind": "model", "name": "RealtimeClientEventResponseCreate", "namespace": "OpenAI", @@ -80700,11 +83258,11 @@ "discriminatorValue": "response.create", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6380", + "$id": "6449", "kind": "property", "name": "type", "serializedName": "type", @@ -80722,15 +83280,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6381", + "$id": "6450", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$id": "6382", + "$id": "6451", "kind": "model", "name": "RealtimeResponseCreateParams", "namespace": "OpenAI", @@ -80740,13 +83299,13 @@ "decorators": [], "properties": [ { - "$id": "6383", + "$id": "6452", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$ref": "6227" + "$ref": "6296" }, "optional": true, "readOnly": false, @@ -80758,16 +83317,17 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6384", + "$id": "6453", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The default system instructions (i.e. system message) prepended to model\ncalls. This field allows the client to guide the model on desired\nresponses. The model can be instructed on response content and format,\n(e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good\nresponses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion\ninto your voice\", \"laugh frequently\"). The instructions are not guaranteed\nto be followed by the model, but they provide guidance to the model on the\ndesired behavior.\n\nNote that the server sets default instructions which will be used if this\nfield is not set and are visible in the `session.created` event at the\nstart of the session.", "type": { - "$id": "6385", + "$id": "6454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80783,10 +83343,11 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "6386", + "$id": "6455", "kind": "property", "name": "voice", "serializedName": "voice", @@ -80804,10 +83365,11 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6387", + "$id": "6456", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", @@ -80825,16 +83387,17 @@ "json": { "name": "output_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6388", + "$id": "6457", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Tools (functions) available to the model.", "type": { - "$ref": "6271" + "$ref": "6340" }, "optional": true, "readOnly": false, @@ -80846,16 +83409,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "6389", + "$id": "6458", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function, like `{\"type\": \"function\", \"function\": {\"name\": \"my_function\"}}`.", "type": { - "$id": "6390", + "$id": "6459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -80871,16 +83435,17 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6391", + "$id": "6460", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "6392", + "$id": "6461", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -80896,21 +83461,22 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6393", + "$id": "6462", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", "type": { - "$id": "6394", + "$id": "6463", "kind": "union", "name": "RealtimeResponseCreateParamsMaxOutputTokens", "variantTypes": [ { - "$id": "6395", + "$id": "6464", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -80920,7 +83486,7 @@ "$ref": "1659" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -80933,10 +83499,11 @@ "json": { "name": "max_output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6396", + "$id": "6465", "kind": "property", "name": "conversation", "serializedName": "conversation", @@ -80954,10 +83521,11 @@ "json": { "name": "conversation" } - } + }, + "isHttpMetadata": false }, { - "$id": "6397", + "$id": "6466", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -80975,20 +83543,21 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "6398", + "$id": "6467", "kind": "property", "name": "input", "serializedName": "input", "doc": "Input items to include in the prompt for the model. Using this field\ncreates a new context for this Response instead of using the default\nconversation. An empty array `[]` will clear the context for this Response.\nNote that this can include references to items from the default conversation.", "type": { - "$id": "6399", + "$id": "6468", "kind": "array", "name": "ArrayRealtimeConversationRequestItem", "valueType": { - "$ref": "6312" + "$ref": "6381" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -81003,7 +83572,8 @@ "json": { "name": "input" } - } + }, + "isHttpMetadata": false } ] }, @@ -81017,12 +83587,13 @@ "json": { "name": "response" } - } + }, + "isHttpMetadata": false } ] }, "response.cancel": { - "$id": "6400", + "$id": "6469", "kind": "model", "name": "RealtimeClientEventResponseCancel", "namespace": "OpenAI", @@ -81032,11 +83603,11 @@ "discriminatorValue": "response.cancel", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6401", + "$id": "6470", "kind": "property", "name": "type", "serializedName": "type", @@ -81054,16 +83625,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6402", + "$id": "6471", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "A specific response ID to cancel - if not provided, will cancel an\nin-progress response in the default conversation.", "type": { - "$id": "6403", + "$id": "6472", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81079,12 +83651,13 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.retrieve": { - "$id": "6404", + "$id": "6473", "kind": "model", "name": "RealtimeClientEventConversationItemRetrieve", "namespace": "OpenAI", @@ -81094,11 +83667,11 @@ "discriminatorValue": "conversation.item.retrieve", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6405", + "$id": "6474", "kind": "property", "name": "type", "serializedName": "type", @@ -81116,16 +83689,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6406", + "$id": "6475", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to retrieve.", "type": { - "$id": "6407", + "$id": "6476", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81141,12 +83715,13 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false } ] }, "transcription_session.update": { - "$id": "6408", + "$id": "6477", "kind": "model", "name": "RealtimeClientEventTranscriptionSessionUpdate", "namespace": "OpenAI", @@ -81156,11 +83731,11 @@ "discriminatorValue": "transcription_session.update", "decorators": [], "baseModel": { - "$ref": "6218" + "$ref": "6287" }, "properties": [ { - "$id": "6409", + "$id": "6478", "kind": "property", "name": "type", "serializedName": "type", @@ -81178,15 +83753,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6410", + "$id": "6479", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "6411", + "$id": "6480", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequest", "namespace": "OpenAI", @@ -81196,13 +83772,13 @@ "decorators": [], "properties": [ { - "$id": "6412", + "$id": "6481", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$id": "6413", + "$id": "6482", "kind": "array", "name": "Array44", "valueType": { @@ -81221,10 +83797,11 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6414", + "$id": "6483", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", @@ -81242,16 +83819,17 @@ "json": { "name": "input_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6415", + "$id": "6484", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "doc": "Configuration for input audio transcription. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.", "type": { - "$id": "6416", + "$id": "6485", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioTranscription", "namespace": "OpenAI", @@ -81260,7 +83838,7 @@ "decorators": [], "properties": [ { - "$id": "6417", + "$id": "6486", "kind": "property", "name": "model", "serializedName": "model", @@ -81278,16 +83856,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6418", + "$id": "6487", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", "type": { - "$id": "6419", + "$id": "6488", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81303,16 +83882,17 @@ "json": { "name": "language" } - } + }, + "isHttpMetadata": false }, { - "$id": "6420", + "$id": "6489", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio\nsegment.\nFor `whisper-1`, the [prompt is a list of keywords](/docs/guides/speech-to-text#prompting).\nFor `gpt-4o-transcribe` models, the prompt is a free text string, for example \"expect words related to technology\".", "type": { - "$id": "6421", + "$id": "6490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81328,7 +83908,8 @@ "json": { "name": "prompt" } - } + }, + "isHttpMetadata": false } ] }, @@ -81342,16 +83923,17 @@ "json": { "name": "input_audio_transcription" } - } + }, + "isHttpMetadata": false }, { - "$id": "6422", + "$id": "6491", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection, ether Server VAD or Semantic VAD. This can be set to `null` to turn off, in which case the client must manually trigger model response.\nServer VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech.\nSemantic VAD is more advanced and uses a turn detection model (in conjuction with VAD) to semantically estimate whether the user has finished speaking, then dynamically sets a timeout based on this probability. For example, if user audio trails off with \"uhhm\", the model will score a low probability of turn end and wait longer for the user to continue speaking. This can be useful for more natural conversations, but may have a higher latency.", "type": { - "$id": "6423", + "$id": "6492", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestTurnDetection", "namespace": "OpenAI", @@ -81360,7 +83942,7 @@ "decorators": [], "properties": [ { - "$id": "6424", + "$id": "6493", "kind": "property", "name": "type", "serializedName": "type", @@ -81378,10 +83960,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6425", + "$id": "6494", "kind": "property", "name": "eagerness", "serializedName": "eagerness", @@ -81399,16 +83982,17 @@ "json": { "name": "eagerness" } - } + }, + "isHttpMetadata": false }, { - "$id": "6426", + "$id": "6495", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { - "$id": "6427", + "$id": "6496", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -81424,16 +84008,17 @@ "json": { "name": "threshold" } - } + }, + "isHttpMetadata": false }, { - "$id": "6428", + "$id": "6497", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Used only for `server_vad` mode. Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", "type": { - "$id": "6429", + "$id": "6498", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81449,16 +84034,17 @@ "json": { "name": "prefix_padding_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6430", + "$id": "6499", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Used only for `server_vad` mode. Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { - "$id": "6431", + "$id": "6500", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81474,16 +84060,17 @@ "json": { "name": "silence_duration_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6432", + "$id": "6501", "kind": "property", "name": "create_response", "serializedName": "create_response", "doc": "Whether or not to automatically generate a response when a VAD stop event occurs. Not available for transcription sessions.", "type": { - "$id": "6433", + "$id": "6502", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81499,16 +84086,17 @@ "json": { "name": "create_response" } - } + }, + "isHttpMetadata": false }, { - "$id": "6434", + "$id": "6503", "kind": "property", "name": "interrupt_response", "serializedName": "interrupt_response", "doc": "Whether or not to automatically interrupt any ongoing response with output to the default\nconversation (i.e. `conversation` of `auto`) when a VAD start event occurs. Not available for transcription sessions.", "type": { - "$id": "6435", + "$id": "6504", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -81524,7 +84112,8 @@ "json": { "name": "interrupt_response" } - } + }, + "isHttpMetadata": false } ] }, @@ -81538,19 +84127,20 @@ "json": { "name": "turn_detection" } - } + }, + "isHttpMetadata": false }, { - "$id": "6436", + "$id": "6505", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "doc": "Configuration for input audio noise reduction. This can be set to `null` to turn off.\nNoise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.\nFiltering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.", "type": { - "$id": "6437", + "$id": "6506", "kind": "nullable", "type": { - "$id": "6438", + "$id": "6507", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestInputAudioNoiseReduction1", "namespace": "OpenAI", @@ -81559,7 +84149,7 @@ "decorators": [], "properties": [ { - "$id": "6439", + "$id": "6508", "kind": "property", "name": "type", "serializedName": "type", @@ -81577,11 +84167,12 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -81593,10 +84184,11 @@ "json": { "name": "input_audio_noise_reduction" } - } + }, + "isHttpMetadata": false }, { - "$id": "6440", + "$id": "6509", "kind": "property", "name": "include", "serializedName": "include", @@ -81614,16 +84206,17 @@ "json": { "name": "include" } - } + }, + "isHttpMetadata": false }, { - "$id": "6441", + "$id": "6510", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "Configuration options for the generated client secret.", "type": { - "$id": "6442", + "$id": "6511", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestClientSecret", "namespace": "OpenAI", @@ -81632,13 +84225,13 @@ "decorators": [], "properties": [ { - "$id": "6443", + "$id": "6512", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Configuration for the ephemeral token expiration.", "type": { - "$id": "6444", + "$id": "6513", "kind": "model", "name": "RealtimeTranscriptionSessionCreateRequestClientSecretExpiresAt", "namespace": "OpenAI", @@ -81647,7 +84240,7 @@ "decorators": [], "properties": [ { - "$id": "6445", + "$id": "6514", "kind": "property", "name": "anchor", "serializedName": "anchor", @@ -81665,16 +84258,17 @@ "json": { "name": "anchor" } - } + }, + "isHttpMetadata": false }, { - "$id": "6446", + "$id": "6515", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.", "type": { - "$id": "6447", + "$id": "6516", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -81690,7 +84284,8 @@ "json": { "name": "seconds" } - } + }, + "isHttpMetadata": false } ] }, @@ -81704,7 +84299,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false } ] }, @@ -81718,7 +84314,8 @@ "json": { "name": "client_secret" } - } + }, + "isHttpMetadata": false } ] }, @@ -81732,146 +84329,147 @@ "json": { "name": "session" } - } + }, + "isHttpMetadata": false } ] } } }, { - "$ref": "6222" + "$ref": "6291" }, { - "$ref": "6225" + "$ref": "6294" }, { - "$ref": "6236" + "$ref": "6305" }, { - "$ref": "6244" + "$ref": "6313" }, { - "$ref": "6250" + "$ref": "6319" }, { - "$ref": "6260" + "$ref": "6329" }, { - "$ref": "6264" + "$ref": "6333" }, { - "$ref": "6266" + "$ref": "6335" }, { - "$ref": "6268" + "$ref": "6337" }, { - "$ref": "6272" + "$ref": "6341" }, { - "$ref": "6274" + "$ref": "6343" }, { - "$ref": "6284" + "$ref": "6353" }, { - "$ref": "6286" + "$ref": "6355" }, { - "$ref": "6289" + "$ref": "6358" }, { - "$ref": "6297" + "$ref": "6366" }, { - "$ref": "6301" + "$ref": "6370" }, { - "$ref": "6303" + "$ref": "6372" }, { - "$ref": "6305" + "$ref": "6374" }, { - "$ref": "6307" + "$ref": "6376" }, { - "$ref": "6312" + "$ref": "6381" }, { - "$ref": "6316" + "$ref": "6385" }, { - "$ref": "6320" + "$ref": "6389" }, { - "$ref": "6324" + "$ref": "6393" }, { - "$ref": "6325" + "$ref": "6394" }, { - "$ref": "6327" + "$ref": "6396" }, { - "$ref": "6331" + "$ref": "6400" }, { - "$ref": "6335" + "$ref": "6404" }, { - "$ref": "6344" + "$ref": "6413" }, { - "$ref": "6349" + "$ref": "6418" }, { - "$ref": "6352" + "$ref": "6421" }, { - "$ref": "6361" + "$ref": "6430" }, { - "$ref": "6367" + "$ref": "6436" }, { - "$ref": "6375" + "$ref": "6444" }, { - "$ref": "6379" + "$ref": "6448" }, { - "$ref": "6382" + "$ref": "6451" }, { - "$ref": "6400" + "$ref": "6469" }, { - "$ref": "6404" + "$ref": "6473" }, { - "$ref": "6408" + "$ref": "6477" }, { - "$ref": "6411" + "$ref": "6480" }, { - "$ref": "6416" + "$ref": "6485" }, { - "$ref": "6423" + "$ref": "6492" }, { - "$ref": "6438" + "$ref": "6507" }, { - "$ref": "6442" + "$ref": "6511" }, { - "$ref": "6444" + "$ref": "6513" }, { - "$id": "6448", + "$id": "6517", "kind": "model", "name": "RealtimeServerEvent", "namespace": "OpenAI", @@ -81880,7 +84478,7 @@ "doc": "A realtime server event.", "decorators": [], "discriminatorProperty": { - "$id": "6449", + "$id": "6518", "kind": "property", "name": "type", "serializedName": "type", @@ -81898,19 +84496,20 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$ref": "6449" + "$ref": "6518" }, { - "$id": "6450", + "$id": "6519", "kind": "property", "name": "event_id", "serializedName": "event_id", "type": { - "$id": "6451", + "$id": "6520", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -81926,12 +84525,13 @@ "json": { "name": "event_id" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "error": { - "$id": "6452", + "$id": "6521", "kind": "model", "name": "RealtimeServerEventError", "namespace": "OpenAI", @@ -81941,11 +84541,11 @@ "discriminatorValue": "error", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6453", + "$id": "6522", "kind": "property", "name": "type", "serializedName": "type", @@ -81963,16 +84563,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6454", + "$id": "6523", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the error.", "type": { - "$id": "6455", + "$id": "6524", "kind": "model", "name": "RealtimeServerEventErrorError", "namespace": "OpenAI", @@ -81981,13 +84582,13 @@ "decorators": [], "properties": [ { - "$id": "6456", + "$id": "6525", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error (e.g., \"invalid_request_error\", \"server_error\").", "type": { - "$id": "6457", + "$id": "6526", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82003,25 +84604,26 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6458", + "$id": "6527", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "6459", + "$id": "6528", "kind": "nullable", "type": { - "$id": "6460", + "$id": "6529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -82033,16 +84635,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "6461", + "$id": "6530", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "6462", + "$id": "6531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82058,25 +84661,26 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { - "$id": "6463", + "$id": "6532", "kind": "property", "name": "param", "serializedName": "param", "doc": "Parameter related to the error, if any.", "type": { - "$id": "6464", + "$id": "6533", "kind": "nullable", "type": { - "$id": "6465", + "$id": "6534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -82088,25 +84692,26 @@ "json": { "name": "param" } - } + }, + "isHttpMetadata": false }, { - "$id": "6466", + "$id": "6535", "kind": "property", "name": "event_id", "serializedName": "event_id", "doc": "The event_id of the client event that caused the error, if applicable.", "type": { - "$id": "6467", + "$id": "6536", "kind": "nullable", "type": { - "$id": "6468", + "$id": "6537", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -82118,7 +84723,8 @@ "json": { "name": "event_id" } - } + }, + "isHttpMetadata": false } ] }, @@ -82132,12 +84738,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, "session.created": { - "$id": "6469", + "$id": "6538", "kind": "model", "name": "RealtimeServerEventSessionCreated", "namespace": "OpenAI", @@ -82147,11 +84754,11 @@ "discriminatorValue": "session.created", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6470", + "$id": "6539", "kind": "property", "name": "type", "serializedName": "type", @@ -82169,15 +84776,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6471", + "$id": "6540", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "6472", + "$id": "6541", "kind": "model", "name": "RealtimeResponseSession", "namespace": "OpenAI", @@ -82186,7 +84794,7 @@ "decorators": [], "properties": [ { - "$id": "6473", + "$id": "6542", "kind": "property", "name": "object", "serializedName": "object", @@ -82203,15 +84811,16 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6474", + "$id": "6543", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6475", + "$id": "6544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82227,15 +84836,16 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6476", + "$id": "6545", "kind": "property", "name": "model", "serializedName": "model", "type": { - "$id": "6477", + "$id": "6546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82251,15 +84861,16 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6478", + "$id": "6547", "kind": "property", "name": "modalities", "serializedName": "modalities", "type": { - "$ref": "6227" + "$ref": "6296" }, "optional": false, "readOnly": false, @@ -82271,15 +84882,16 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6479", + "$id": "6548", "kind": "property", "name": "instructions", "serializedName": "instructions", "type": { - "$id": "6480", + "$id": "6549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82295,10 +84907,11 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "6481", + "$id": "6550", "kind": "property", "name": "voice", "serializedName": "voice", @@ -82315,10 +84928,11 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6482", + "$id": "6551", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", @@ -82335,10 +84949,11 @@ "json": { "name": "input_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6483", + "$id": "6552", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", @@ -82355,20 +84970,21 @@ "json": { "name": "output_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6484", + "$id": "6553", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "type": { - "$id": "6485", + "$id": "6554", "kind": "nullable", "type": { - "$ref": "6236" + "$ref": "6305" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -82380,15 +84996,16 @@ "json": { "name": "input_audio_transcription" } - } + }, + "isHttpMetadata": false }, { - "$id": "6486", + "$id": "6555", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "type": { - "$ref": "6244" + "$ref": "6313" }, "optional": false, "readOnly": false, @@ -82400,15 +85017,16 @@ "json": { "name": "turn_detection" } - } + }, + "isHttpMetadata": false }, { - "$id": "6487", + "$id": "6556", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "type": { - "$ref": "6264" + "$ref": "6333" }, "optional": false, "readOnly": false, @@ -82420,15 +85038,16 @@ "json": { "name": "input_audio_noise_reduction" } - } + }, + "isHttpMetadata": false }, { - "$id": "6488", + "$id": "6557", "kind": "property", "name": "tools", "serializedName": "tools", "type": { - "$ref": "6271" + "$ref": "6340" }, "optional": false, "readOnly": false, @@ -82440,15 +85059,16 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "6489", + "$id": "6558", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "type": { - "$ref": "6283" + "$ref": "6352" }, "optional": false, "readOnly": false, @@ -82460,15 +85080,16 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6490", + "$id": "6559", "kind": "property", "name": "temperature", "serializedName": "temperature", "type": { - "$id": "6491", + "$id": "6560", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -82484,23 +85105,24 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6492", + "$id": "6561", "kind": "property", "name": "max_response_output_tokens", "serializedName": "max_response_output_tokens", "type": { - "$id": "6493", + "$id": "6562", "kind": "nullable", "type": { - "$id": "6494", + "$id": "6563", "kind": "union", "name": "RealtimeResponseSessionMaxResponseOutputTokens", "variantTypes": [ { - "$id": "6495", + "$id": "6564", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82510,10 +85132,10 @@ "$ref": "1665" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -82525,7 +85147,8 @@ "json": { "name": "max_response_output_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -82539,12 +85162,13 @@ "json": { "name": "session" } - } + }, + "isHttpMetadata": false } ] }, "session.updated": { - "$id": "6496", + "$id": "6565", "kind": "model", "name": "RealtimeServerEventSessionUpdated", "namespace": "OpenAI", @@ -82554,11 +85178,11 @@ "discriminatorValue": "session.updated", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6497", + "$id": "6566", "kind": "property", "name": "type", "serializedName": "type", @@ -82576,15 +85200,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6498", + "$id": "6567", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$ref": "6472" + "$ref": "6541" }, "optional": false, "readOnly": false, @@ -82596,12 +85221,13 @@ "json": { "name": "session" } - } + }, + "isHttpMetadata": false } ] }, "conversation.created": { - "$id": "6499", + "$id": "6568", "kind": "model", "name": "RealtimeServerEventConversationCreated", "namespace": "OpenAI", @@ -82611,11 +85237,11 @@ "discriminatorValue": "conversation.created", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6500", + "$id": "6569", "kind": "property", "name": "type", "serializedName": "type", @@ -82633,16 +85259,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6501", + "$id": "6570", "kind": "property", "name": "conversation", "serializedName": "conversation", "doc": "The conversation resource.", "type": { - "$id": "6502", + "$id": "6571", "kind": "model", "name": "RealtimeServerEventConversationCreatedConversation", "namespace": "OpenAI", @@ -82651,13 +85278,13 @@ "decorators": [], "properties": [ { - "$id": "6503", + "$id": "6572", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the conversation.", "type": { - "$id": "6504", + "$id": "6573", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82673,16 +85300,17 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6505", + "$id": "6574", "kind": "property", "name": "object", "serializedName": "object", "doc": "The object type, must be `realtime.conversation`.", "type": { - "$id": "6506", + "$id": "6575", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82698,7 +85326,8 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, @@ -82712,12 +85341,13 @@ "json": { "name": "conversation" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.committed": { - "$id": "6507", + "$id": "6576", "kind": "model", "name": "RealtimeServerEventInputAudioBufferCommitted", "namespace": "OpenAI", @@ -82727,11 +85357,11 @@ "discriminatorValue": "input_audio_buffer.committed", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6508", + "$id": "6577", "kind": "property", "name": "type", "serializedName": "type", @@ -82749,16 +85379,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6509", + "$id": "6578", "kind": "property", "name": "previous_item_id", "serializedName": "previous_item_id", "doc": "The ID of the preceding item after which the new item will be inserted.", "type": { - "$id": "6510", + "$id": "6579", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82774,16 +85405,17 @@ "json": { "name": "previous_item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6511", + "$id": "6580", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "6512", + "$id": "6581", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82799,12 +85431,13 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.cleared": { - "$id": "6513", + "$id": "6582", "kind": "model", "name": "RealtimeServerEventInputAudioBufferCleared", "namespace": "OpenAI", @@ -82814,11 +85447,11 @@ "discriminatorValue": "input_audio_buffer.cleared", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6514", + "$id": "6583", "kind": "property", "name": "type", "serializedName": "type", @@ -82836,12 +85469,13 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.speech_started": { - "$id": "6515", + "$id": "6584", "kind": "model", "name": "RealtimeServerEventInputAudioBufferSpeechStarted", "namespace": "OpenAI", @@ -82851,11 +85485,11 @@ "discriminatorValue": "input_audio_buffer.speech_started", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6516", + "$id": "6585", "kind": "property", "name": "type", "serializedName": "type", @@ -82873,16 +85507,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6517", + "$id": "6586", "kind": "property", "name": "audio_start_ms", "serializedName": "audio_start_ms", "doc": "Milliseconds from the start of all audio written to the buffer during the\nsession when speech was first detected. This will correspond to the\nbeginning of audio sent to the model, and thus includes the\n`prefix_padding_ms` configured in the Session.", "type": { - "$id": "6518", + "$id": "6587", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82898,16 +85533,17 @@ "json": { "name": "audio_start_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6519", + "$id": "6588", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created when speech stops.", "type": { - "$id": "6520", + "$id": "6589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -82923,12 +85559,13 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false } ] }, "input_audio_buffer.speech_stopped": { - "$id": "6521", + "$id": "6590", "kind": "model", "name": "RealtimeServerEventInputAudioBufferSpeechStopped", "namespace": "OpenAI", @@ -82938,11 +85575,11 @@ "discriminatorValue": "input_audio_buffer.speech_stopped", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6522", + "$id": "6591", "kind": "property", "name": "type", "serializedName": "type", @@ -82960,16 +85597,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6523", + "$id": "6592", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "Milliseconds since the session started when speech stopped. This will\ncorrespond to the end of audio sent to the model, and thus includes the\n`min_silence_duration_ms` configured in the Session.", "type": { - "$id": "6524", + "$id": "6593", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -82985,16 +85623,17 @@ "json": { "name": "audio_end_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6525", + "$id": "6594", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item that will be created.", "type": { - "$id": "6526", + "$id": "6595", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83010,12 +85649,13 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false } ] }, "output_audio_buffer.cleared": { - "$id": "6527", + "$id": "6596", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferCleared", "namespace": "OpenAI", @@ -83025,11 +85665,11 @@ "discriminatorValue": "output_audio_buffer.cleared", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6528", + "$id": "6597", "kind": "property", "name": "type", "serializedName": "type", @@ -83047,16 +85687,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6529", + "$id": "6598", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "6530", + "$id": "6599", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83072,12 +85713,13 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false } ] }, "output_audio_buffer.started": { - "$id": "6531", + "$id": "6600", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferStarted", "namespace": "OpenAI", @@ -83087,11 +85729,11 @@ "discriminatorValue": "output_audio_buffer.started", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6532", + "$id": "6601", "kind": "property", "name": "type", "serializedName": "type", @@ -83109,16 +85751,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6533", + "$id": "6602", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "6534", + "$id": "6603", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83134,12 +85777,13 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false } ] }, "output_audio_buffer.stopped": { - "$id": "6535", + "$id": "6604", "kind": "model", "name": "RealtimeServerEventOutputAudioBufferStopped", "namespace": "OpenAI", @@ -83149,11 +85793,11 @@ "discriminatorValue": "output_audio_buffer.stopped", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6536", + "$id": "6605", "kind": "property", "name": "type", "serializedName": "type", @@ -83171,16 +85815,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6537", + "$id": "6606", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The unique ID of the response that produced the audio.", "type": { - "$id": "6538", + "$id": "6607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83196,12 +85841,13 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.created": { - "$id": "6539", + "$id": "6608", "kind": "model", "name": "RealtimeServerEventConversationItemCreated", "namespace": "OpenAI", @@ -83211,11 +85857,11 @@ "discriminatorValue": "conversation.item.created", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6540", + "$id": "6609", "kind": "property", "name": "type", "serializedName": "type", @@ -83233,16 +85879,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6541", + "$id": "6610", "kind": "property", "name": "previous_item_id", "serializedName": "previous_item_id", "doc": "The ID of the preceding item in the Conversation context, allows the\nclient to understand the order of the conversation.", "type": { - "$id": "6542", + "$id": "6611", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83258,15 +85905,16 @@ "json": { "name": "previous_item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6543", + "$id": "6612", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$id": "6544", + "$id": "6613", "kind": "model", "name": "RealtimeConversationResponseItem", "namespace": "OpenAI", @@ -83274,7 +85922,7 @@ "usage": "Output,Json", "decorators": [], "discriminatorProperty": { - "$id": "6545", + "$id": "6614", "kind": "property", "name": "type", "serializedName": "type", @@ -83291,11 +85939,12 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, "properties": [ { - "$id": "6546", + "$id": "6615", "kind": "property", "name": "object", "serializedName": "object", @@ -83312,27 +85961,28 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$ref": "6545" + "$ref": "6614" }, { - "$id": "6547", + "$id": "6616", "kind": "property", "name": "id", "serializedName": "id", "type": { - "$id": "6548", + "$id": "6617", "kind": "nullable", "type": { - "$id": "6549", + "$id": "6618", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": false, "readOnly": false, @@ -83344,12 +85994,13 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false } ], "discriminatedSubtypes": { "message": { - "$id": "6550", + "$id": "6619", "kind": "model", "name": "RealtimeResponseMessageItem", "namespace": "OpenAI", @@ -83358,11 +86009,11 @@ "discriminatorValue": "message", "decorators": [], "baseModel": { - "$ref": "6544" + "$ref": "6613" }, "properties": [ { - "$id": "6551", + "$id": "6620", "kind": "property", "name": "type", "serializedName": "type", @@ -83379,10 +86030,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6552", + "$id": "6621", "kind": "property", "name": "role", "serializedName": "role", @@ -83399,19 +86051,20 @@ "json": { "name": "role" } - } + }, + "isHttpMetadata": false }, { - "$id": "6553", + "$id": "6622", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "6554", + "$id": "6623", "kind": "array", "name": "ArrayRealtimeContentPart", "valueType": { - "$ref": "6325" + "$ref": "6394" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -83426,10 +86079,11 @@ "json": { "name": "content" } - } + }, + "isHttpMetadata": false }, { - "$id": "6555", + "$id": "6624", "kind": "property", "name": "status", "serializedName": "status", @@ -83446,12 +86100,13 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false } ] }, "function_call": { - "$id": "6556", + "$id": "6625", "kind": "model", "name": "RealtimeResponseFunctionCallItem", "namespace": "OpenAI", @@ -83460,11 +86115,11 @@ "discriminatorValue": "function_call", "decorators": [], "baseModel": { - "$ref": "6544" + "$ref": "6613" }, "properties": [ { - "$id": "6557", + "$id": "6626", "kind": "property", "name": "type", "serializedName": "type", @@ -83481,15 +86136,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6558", + "$id": "6627", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "6559", + "$id": "6628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83505,15 +86161,16 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "6560", + "$id": "6629", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "6561", + "$id": "6630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83529,15 +86186,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6562", + "$id": "6631", "kind": "property", "name": "arguments", "serializedName": "arguments", "type": { - "$id": "6563", + "$id": "6632", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83553,10 +86211,11 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false }, { - "$id": "6564", + "$id": "6633", "kind": "property", "name": "status", "serializedName": "status", @@ -83573,12 +86232,13 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false } ] }, "function_call_output": { - "$id": "6565", + "$id": "6634", "kind": "model", "name": "RealtimeResponseFunctionCallOutputItem", "namespace": "OpenAI", @@ -83587,11 +86247,11 @@ "discriminatorValue": "function_call_output", "decorators": [], "baseModel": { - "$ref": "6544" + "$ref": "6613" }, "properties": [ { - "$id": "6566", + "$id": "6635", "kind": "property", "name": "type", "serializedName": "type", @@ -83608,15 +86268,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6567", + "$id": "6636", "kind": "property", "name": "call_id", "serializedName": "call_id", "type": { - "$id": "6568", + "$id": "6637", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83632,15 +86293,16 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6569", + "$id": "6638", "kind": "property", "name": "output", "serializedName": "output", "type": { - "$id": "6570", + "$id": "6639", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83656,7 +86318,8 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false } ] } @@ -83672,12 +86335,13 @@ "json": { "name": "item" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.input_audio_transcription.completed": { - "$id": "6571", + "$id": "6640", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionCompleted", "namespace": "OpenAI", @@ -83687,11 +86351,11 @@ "discriminatorValue": "conversation.item.input_audio_transcription.completed", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6572", + "$id": "6641", "kind": "property", "name": "type", "serializedName": "type", @@ -83709,16 +86373,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6573", + "$id": "6642", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item containing the audio.", "type": { - "$id": "6574", + "$id": "6643", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83734,16 +86399,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6575", + "$id": "6644", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "6576", + "$id": "6645", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83759,16 +86425,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6577", + "$id": "6646", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The transcribed text.", "type": { - "$id": "6578", + "$id": "6647", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83784,23 +86451,24 @@ "json": { "name": "transcript" } - } + }, + "isHttpMetadata": false }, { - "$id": "6579", + "$id": "6648", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the transcription.", "type": { - "$id": "6580", + "$id": "6649", "kind": "nullable", "type": { - "$id": "6581", + "$id": "6650", "kind": "array", "name": "ArrayLogProbProperties", "valueType": { - "$id": "6582", + "$id": "6651", "kind": "model", "name": "LogProbProperties", "namespace": "OpenAI", @@ -83810,13 +86478,13 @@ "decorators": [], "properties": [ { - "$id": "6583", + "$id": "6652", "kind": "property", "name": "token", "serializedName": "token", "doc": "The token that was used to generate the log probability.", "type": { - "$id": "6584", + "$id": "6653", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83832,16 +86500,17 @@ "json": { "name": "token" } - } + }, + "isHttpMetadata": false }, { - "$id": "6585", + "$id": "6654", "kind": "property", "name": "logprob", "serializedName": "logprob", "doc": "The log probability of the token.", "type": { - "$id": "6586", + "$id": "6655", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -83857,10 +86526,11 @@ "json": { "name": "logprob" } - } + }, + "isHttpMetadata": false }, { - "$id": "6587", + "$id": "6656", "kind": "property", "name": "bytes", "serializedName": "bytes", @@ -83878,14 +86548,15 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false } ] }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -83897,12 +86568,13 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.input_audio_transcription.failed": { - "$id": "6588", + "$id": "6657", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailed", "namespace": "OpenAI", @@ -83912,11 +86584,11 @@ "discriminatorValue": "conversation.item.input_audio_transcription.failed", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6589", + "$id": "6658", "kind": "property", "name": "type", "serializedName": "type", @@ -83934,16 +86606,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6590", + "$id": "6659", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the user message item.", "type": { - "$id": "6591", + "$id": "6660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -83959,16 +86632,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6592", + "$id": "6661", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part containing the audio.", "type": { - "$id": "6593", + "$id": "6662", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -83984,16 +86658,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6594", + "$id": "6663", "kind": "property", "name": "error", "serializedName": "error", "doc": "Details of the transcription error.", "type": { - "$id": "6595", + "$id": "6664", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionFailedError", "namespace": "OpenAI", @@ -84002,13 +86677,13 @@ "decorators": [], "properties": [ { - "$id": "6596", + "$id": "6665", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error.", "type": { - "$id": "6597", + "$id": "6666", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84024,16 +86699,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6598", + "$id": "6667", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "6599", + "$id": "6668", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84049,16 +86725,17 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false }, { - "$id": "6600", + "$id": "6669", "kind": "property", "name": "message", "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "6601", + "$id": "6670", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84074,16 +86751,17 @@ "json": { "name": "message" } - } + }, + "isHttpMetadata": false }, { - "$id": "6602", + "$id": "6671", "kind": "property", "name": "param", "serializedName": "param", "doc": "Parameter related to the error, if any.", "type": { - "$id": "6603", + "$id": "6672", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84099,7 +86777,8 @@ "json": { "name": "param" } - } + }, + "isHttpMetadata": false } ] }, @@ -84113,12 +86792,13 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.truncated": { - "$id": "6604", + "$id": "6673", "kind": "model", "name": "RealtimeServerEventConversationItemTruncated", "namespace": "OpenAI", @@ -84128,11 +86808,11 @@ "discriminatorValue": "conversation.item.truncated", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6605", + "$id": "6674", "kind": "property", "name": "type", "serializedName": "type", @@ -84150,16 +86830,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6606", + "$id": "6675", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the assistant message item that was truncated.", "type": { - "$id": "6607", + "$id": "6676", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84175,16 +86856,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6608", + "$id": "6677", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part that was truncated.", "type": { - "$id": "6609", + "$id": "6678", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84200,16 +86882,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6610", + "$id": "6679", "kind": "property", "name": "audio_end_ms", "serializedName": "audio_end_ms", "doc": "The duration up to which the audio was truncated, in milliseconds.", "type": { - "$id": "6611", + "$id": "6680", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84225,12 +86908,13 @@ "json": { "name": "audio_end_ms" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.deleted": { - "$id": "6612", + "$id": "6681", "kind": "model", "name": "RealtimeServerEventConversationItemDeleted", "namespace": "OpenAI", @@ -84240,11 +86924,11 @@ "discriminatorValue": "conversation.item.deleted", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6613", + "$id": "6682", "kind": "property", "name": "type", "serializedName": "type", @@ -84262,16 +86946,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6614", + "$id": "6683", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item that was deleted.", "type": { - "$id": "6615", + "$id": "6684", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84287,12 +86972,13 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false } ] }, "response.created": { - "$id": "6616", + "$id": "6685", "kind": "model", "name": "RealtimeServerEventResponseCreated", "namespace": "OpenAI", @@ -84302,11 +86988,11 @@ "discriminatorValue": "response.created", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6617", + "$id": "6686", "kind": "property", "name": "type", "serializedName": "type", @@ -84324,15 +87010,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6618", + "$id": "6687", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$id": "6619", + "$id": "6688", "kind": "model", "name": "RealtimeResponse", "namespace": "OpenAI", @@ -84342,13 +87029,13 @@ "decorators": [], "properties": [ { - "$id": "6620", + "$id": "6689", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique ID of the response.", "type": { - "$id": "6621", + "$id": "6690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84364,10 +87051,11 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6622", + "$id": "6691", "kind": "property", "name": "object", "serializedName": "object", @@ -84385,10 +87073,11 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6623", + "$id": "6692", "kind": "property", "name": "status", "serializedName": "status", @@ -84406,16 +87095,17 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "6624", + "$id": "6693", "kind": "property", "name": "status_details", "serializedName": "status_details", "doc": "Additional details about the status.", "type": { - "$id": "6625", + "$id": "6694", "kind": "model", "name": "RealtimeResponseStatusDetails", "namespace": "OpenAI", @@ -84424,7 +87114,7 @@ "decorators": [], "properties": [ { - "$id": "6626", + "$id": "6695", "kind": "property", "name": "type", "serializedName": "type", @@ -84442,10 +87132,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6627", + "$id": "6696", "kind": "property", "name": "reason", "serializedName": "reason", @@ -84463,16 +87154,17 @@ "json": { "name": "reason" } - } + }, + "isHttpMetadata": false }, { - "$id": "6628", + "$id": "6697", "kind": "property", "name": "error", "serializedName": "error", "doc": "A description of the error that caused the response to fail,\npopulated when the `status` is `failed`.", "type": { - "$id": "6629", + "$id": "6698", "kind": "model", "name": "RealtimeResponseStatusDetailsError", "namespace": "OpenAI", @@ -84481,13 +87173,13 @@ "decorators": [], "properties": [ { - "$id": "6630", + "$id": "6699", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of error.", "type": { - "$id": "6631", + "$id": "6700", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84503,16 +87195,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6632", + "$id": "6701", "kind": "property", "name": "code", "serializedName": "code", "doc": "Error code, if any.", "type": { - "$id": "6633", + "$id": "6702", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84528,7 +87221,8 @@ "json": { "name": "code" } - } + }, + "isHttpMetadata": false } ] }, @@ -84542,7 +87236,8 @@ "json": { "name": "error" } - } + }, + "isHttpMetadata": false } ] }, @@ -84556,20 +87251,21 @@ "json": { "name": "status_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "6634", + "$id": "6703", "kind": "property", "name": "output", "serializedName": "output", "doc": "The list of output items generated by the response.", "type": { - "$id": "6635", + "$id": "6704", "kind": "array", "name": "ArrayRealtimeConversationResponseItem", "valueType": { - "$ref": "6544" + "$ref": "6613" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -84584,10 +87280,11 @@ "json": { "name": "output" } - } + }, + "isHttpMetadata": false }, { - "$id": "6636", + "$id": "6705", "kind": "property", "name": "metadata", "serializedName": "metadata", @@ -84605,16 +87302,17 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false }, { - "$id": "6637", + "$id": "6706", "kind": "property", "name": "usage", "serializedName": "usage", "doc": "Usage statistics for the Response, this will correspond to billing. A\nRealtime API session will maintain a conversation context and append new\nItems to the Conversation, thus output from previous turns (text and\naudio tokens) will become the input for later turns.", "type": { - "$id": "6638", + "$id": "6707", "kind": "model", "name": "RealtimeResponseUsage", "namespace": "OpenAI", @@ -84623,13 +87321,13 @@ "decorators": [], "properties": [ { - "$id": "6639", + "$id": "6708", "kind": "property", "name": "total_tokens", "serializedName": "total_tokens", "doc": "The total number of tokens in the Response including input and output\ntext and audio tokens.", "type": { - "$id": "6640", + "$id": "6709", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84645,16 +87343,17 @@ "json": { "name": "total_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6641", + "$id": "6710", "kind": "property", "name": "input_tokens", "serializedName": "input_tokens", "doc": "The number of input tokens used in the Response, including text and\naudio tokens.", "type": { - "$id": "6642", + "$id": "6711", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84670,16 +87369,17 @@ "json": { "name": "input_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6643", + "$id": "6712", "kind": "property", "name": "output_tokens", "serializedName": "output_tokens", "doc": "The number of output tokens sent in the Response, including text and\naudio tokens.", "type": { - "$id": "6644", + "$id": "6713", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84695,16 +87395,17 @@ "json": { "name": "output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6645", + "$id": "6714", "kind": "property", "name": "input_token_details", "serializedName": "input_token_details", "doc": "Details about the input tokens used in the Response.", "type": { - "$id": "6646", + "$id": "6715", "kind": "model", "name": "RealtimeResponseUsageInputTokenDetails", "namespace": "OpenAI", @@ -84713,13 +87414,13 @@ "decorators": [], "properties": [ { - "$id": "6647", + "$id": "6716", "kind": "property", "name": "cached_tokens", "serializedName": "cached_tokens", "doc": "The number of cached tokens used in the Response.", "type": { - "$id": "6648", + "$id": "6717", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84735,16 +87436,17 @@ "json": { "name": "cached_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6649", + "$id": "6718", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens used in the Response.", "type": { - "$id": "6650", + "$id": "6719", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84760,16 +87462,17 @@ "json": { "name": "text_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6651", + "$id": "6720", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "The number of audio tokens used in the Response.", "type": { - "$id": "6652", + "$id": "6721", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84785,7 +87488,8 @@ "json": { "name": "audio_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -84799,16 +87503,17 @@ "json": { "name": "input_token_details" } - } + }, + "isHttpMetadata": false }, { - "$id": "6653", + "$id": "6722", "kind": "property", "name": "output_token_details", "serializedName": "output_token_details", "doc": "Details about the output tokens used in the Response.", "type": { - "$id": "6654", + "$id": "6723", "kind": "model", "name": "RealtimeResponseUsageOutputTokenDetails", "namespace": "OpenAI", @@ -84817,13 +87522,13 @@ "decorators": [], "properties": [ { - "$id": "6655", + "$id": "6724", "kind": "property", "name": "text_tokens", "serializedName": "text_tokens", "doc": "The number of text tokens used in the Response.", "type": { - "$id": "6656", + "$id": "6725", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84839,16 +87544,17 @@ "json": { "name": "text_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6657", + "$id": "6726", "kind": "property", "name": "audio_tokens", "serializedName": "audio_tokens", "doc": "The number of audio tokens used in the Response.", "type": { - "$id": "6658", + "$id": "6727", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -84864,7 +87570,8 @@ "json": { "name": "audio_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -84878,7 +87585,8 @@ "json": { "name": "output_token_details" } - } + }, + "isHttpMetadata": false } ] }, @@ -84892,16 +87600,17 @@ "json": { "name": "usage" } - } + }, + "isHttpMetadata": false }, { - "$id": "6659", + "$id": "6728", "kind": "property", "name": "conversation_id", "serializedName": "conversation_id", "doc": "Which conversation the response is added to, determined by the `conversation`\nfield in the `response.create` event. If `auto`, the response will be added to\nthe default conversation and the value of `conversation_id` will be an id like\n`conv_1234`. If `none`, the response will not be added to any conversation and\nthe value of `conversation_id` will be `null`. If responses are being triggered\nby server VAD, the response will be added to the default conversation, thus\nthe `conversation_id` will be an id like `conv_1234`.", "type": { - "$id": "6660", + "$id": "6729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -84917,10 +87626,11 @@ "json": { "name": "conversation_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6661", + "$id": "6730", "kind": "property", "name": "voice", "serializedName": "voice", @@ -84938,16 +87648,17 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6662", + "$id": "6731", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model used to respond. If there are multiple modalities,\nthe model will pick one, for example if `modalities` is `[\"text\", \"audio\"]`, the model\ncould be responding in either text or audio.", "type": { - "$id": "6663", + "$id": "6732", "kind": "array", "name": "Array45", "valueType": { @@ -84966,10 +87677,11 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6664", + "$id": "6733", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", @@ -84987,16 +87699,17 @@ "json": { "name": "output_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6665", + "$id": "6734", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "6666", + "$id": "6735", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -85012,21 +87725,22 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6667", + "$id": "6736", "kind": "property", "name": "max_output_tokens", "serializedName": "max_output_tokens", "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls, that was used in this response.", "type": { - "$id": "6668", + "$id": "6737", "kind": "union", "name": "RealtimeResponseMaxOutputTokens", "variantTypes": [ { - "$id": "6669", + "$id": "6738", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85036,7 +87750,7 @@ "$ref": "1671" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -85049,7 +87763,8 @@ "json": { "name": "max_output_tokens" } - } + }, + "isHttpMetadata": false } ] }, @@ -85063,12 +87778,13 @@ "json": { "name": "response" } - } + }, + "isHttpMetadata": false } ] }, "response.done": { - "$id": "6670", + "$id": "6739", "kind": "model", "name": "RealtimeServerEventResponseDone", "namespace": "OpenAI", @@ -85078,11 +87794,11 @@ "discriminatorValue": "response.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6671", + "$id": "6740", "kind": "property", "name": "type", "serializedName": "type", @@ -85100,15 +87816,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6672", + "$id": "6741", "kind": "property", "name": "response", "serializedName": "response", "type": { - "$ref": "6619" + "$ref": "6688" }, "optional": false, "readOnly": false, @@ -85120,12 +87837,13 @@ "json": { "name": "response" } - } + }, + "isHttpMetadata": false } ] }, "response.output_item.added": { - "$id": "6673", + "$id": "6742", "kind": "model", "name": "RealtimeServerEventResponseOutputItemAdded", "namespace": "OpenAI", @@ -85135,11 +87853,11 @@ "discriminatorValue": "response.output_item.added", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6674", + "$id": "6743", "kind": "property", "name": "type", "serializedName": "type", @@ -85157,16 +87875,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6675", + "$id": "6744", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the Response to which the item belongs.", "type": { - "$id": "6676", + "$id": "6745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85182,16 +87901,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6677", + "$id": "6746", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the Response.", "type": { - "$id": "6678", + "$id": "6747", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85207,15 +87927,16 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6679", + "$id": "6748", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "6544" + "$ref": "6613" }, "optional": false, "readOnly": false, @@ -85227,12 +87948,13 @@ "json": { "name": "item" } - } + }, + "isHttpMetadata": false } ] }, "response.output_item.done": { - "$id": "6680", + "$id": "6749", "kind": "model", "name": "RealtimeServerEventResponseOutputItemDone", "namespace": "OpenAI", @@ -85242,11 +87964,11 @@ "discriminatorValue": "response.output_item.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6681", + "$id": "6750", "kind": "property", "name": "type", "serializedName": "type", @@ -85264,16 +87986,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6682", + "$id": "6751", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the Response to which the item belongs.", "type": { - "$id": "6683", + "$id": "6752", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85289,16 +88012,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6684", + "$id": "6753", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the Response.", "type": { - "$id": "6685", + "$id": "6754", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85314,15 +88038,16 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6686", + "$id": "6755", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "6544" + "$ref": "6613" }, "optional": false, "readOnly": false, @@ -85334,12 +88059,13 @@ "json": { "name": "item" } - } + }, + "isHttpMetadata": false } ] }, "response.content_part.added": { - "$id": "6687", + "$id": "6756", "kind": "model", "name": "RealtimeServerEventResponseContentPartAdded", "namespace": "OpenAI", @@ -85349,11 +88075,11 @@ "discriminatorValue": "response.content_part.added", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6688", + "$id": "6757", "kind": "property", "name": "type", "serializedName": "type", @@ -85371,16 +88097,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6689", + "$id": "6758", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6690", + "$id": "6759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85396,16 +88123,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6691", + "$id": "6760", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item to which the content part was added.", "type": { - "$id": "6692", + "$id": "6761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85421,16 +88149,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6693", + "$id": "6762", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6694", + "$id": "6763", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85446,16 +88175,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6695", + "$id": "6764", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6696", + "$id": "6765", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85471,16 +88201,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6697", + "$id": "6766", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that was added.", "type": { - "$ref": "6325" + "$ref": "6394" }, "optional": false, "readOnly": false, @@ -85492,12 +88223,13 @@ "json": { "name": "part" } - } + }, + "isHttpMetadata": false } ] }, "response.content_part.done": { - "$id": "6698", + "$id": "6767", "kind": "model", "name": "RealtimeServerEventResponseContentPartDone", "namespace": "OpenAI", @@ -85507,11 +88239,11 @@ "discriminatorValue": "response.content_part.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6699", + "$id": "6768", "kind": "property", "name": "type", "serializedName": "type", @@ -85529,16 +88261,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6700", + "$id": "6769", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6701", + "$id": "6770", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85554,16 +88287,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6702", + "$id": "6771", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6703", + "$id": "6772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85579,16 +88313,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6704", + "$id": "6773", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6705", + "$id": "6774", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85604,16 +88339,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6706", + "$id": "6775", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6707", + "$id": "6776", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85629,16 +88365,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6708", + "$id": "6777", "kind": "property", "name": "part", "serializedName": "part", "doc": "The content part that is done.", "type": { - "$ref": "6325" + "$ref": "6394" }, "optional": false, "readOnly": false, @@ -85650,12 +88387,13 @@ "json": { "name": "part" } - } + }, + "isHttpMetadata": false } ] }, "response.text.delta": { - "$id": "6709", + "$id": "6778", "kind": "model", "name": "RealtimeServerEventResponseTextDelta", "namespace": "OpenAI", @@ -85665,11 +88403,11 @@ "discriminatorValue": "response.text.delta", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6710", + "$id": "6779", "kind": "property", "name": "type", "serializedName": "type", @@ -85687,16 +88425,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6711", + "$id": "6780", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6712", + "$id": "6781", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85712,16 +88451,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6713", + "$id": "6782", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6714", + "$id": "6783", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85737,16 +88477,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6715", + "$id": "6784", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6716", + "$id": "6785", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85762,16 +88503,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6717", + "$id": "6786", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6718", + "$id": "6787", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85787,16 +88529,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6719", + "$id": "6788", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta.", "type": { - "$id": "6720", + "$id": "6789", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85812,12 +88555,13 @@ "json": { "name": "delta" } - } + }, + "isHttpMetadata": false } ] }, "response.text.done": { - "$id": "6721", + "$id": "6790", "kind": "model", "name": "RealtimeServerEventResponseTextDone", "namespace": "OpenAI", @@ -85827,11 +88571,11 @@ "discriminatorValue": "response.text.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6722", + "$id": "6791", "kind": "property", "name": "type", "serializedName": "type", @@ -85849,16 +88593,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6723", + "$id": "6792", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6724", + "$id": "6793", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85874,16 +88619,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6725", + "$id": "6794", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6726", + "$id": "6795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85899,16 +88645,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6727", + "$id": "6796", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6728", + "$id": "6797", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85924,16 +88671,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6729", + "$id": "6798", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6730", + "$id": "6799", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -85949,16 +88697,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6731", + "$id": "6800", "kind": "property", "name": "text", "serializedName": "text", "doc": "The final text content.", "type": { - "$id": "6732", + "$id": "6801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -85974,12 +88723,13 @@ "json": { "name": "text" } - } + }, + "isHttpMetadata": false } ] }, "response.audio_transcript.delta": { - "$id": "6733", + "$id": "6802", "kind": "model", "name": "RealtimeServerEventResponseAudioTranscriptDelta", "namespace": "OpenAI", @@ -85989,11 +88739,11 @@ "discriminatorValue": "response.audio_transcript.delta", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6734", + "$id": "6803", "kind": "property", "name": "type", "serializedName": "type", @@ -86011,16 +88761,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6735", + "$id": "6804", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6736", + "$id": "6805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86036,16 +88787,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6737", + "$id": "6806", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6738", + "$id": "6807", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86061,16 +88813,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6739", + "$id": "6808", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6740", + "$id": "6809", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86086,16 +88839,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6741", + "$id": "6810", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6742", + "$id": "6811", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86111,16 +88865,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6743", + "$id": "6812", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The transcript delta.", "type": { - "$id": "6744", + "$id": "6813", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86136,12 +88891,13 @@ "json": { "name": "delta" } - } + }, + "isHttpMetadata": false } ] }, "response.audio_transcript.done": { - "$id": "6745", + "$id": "6814", "kind": "model", "name": "RealtimeServerEventResponseAudioTranscriptDone", "namespace": "OpenAI", @@ -86151,11 +88907,11 @@ "discriminatorValue": "response.audio_transcript.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6746", + "$id": "6815", "kind": "property", "name": "type", "serializedName": "type", @@ -86173,16 +88929,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6747", + "$id": "6816", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6748", + "$id": "6817", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86198,16 +88955,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6749", + "$id": "6818", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6750", + "$id": "6819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86223,16 +88981,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6751", + "$id": "6820", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6752", + "$id": "6821", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86248,16 +89007,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6753", + "$id": "6822", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6754", + "$id": "6823", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86273,16 +89033,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6755", + "$id": "6824", "kind": "property", "name": "transcript", "serializedName": "transcript", "doc": "The final transcript of the audio.", "type": { - "$id": "6756", + "$id": "6825", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86298,12 +89059,13 @@ "json": { "name": "transcript" } - } + }, + "isHttpMetadata": false } ] }, "response.audio.delta": { - "$id": "6757", + "$id": "6826", "kind": "model", "name": "RealtimeServerEventResponseAudioDelta", "namespace": "OpenAI", @@ -86313,11 +89075,11 @@ "discriminatorValue": "response.audio.delta", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6758", + "$id": "6827", "kind": "property", "name": "type", "serializedName": "type", @@ -86335,16 +89097,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6759", + "$id": "6828", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6760", + "$id": "6829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86360,16 +89123,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6761", + "$id": "6830", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6762", + "$id": "6831", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86385,16 +89149,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6763", + "$id": "6832", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6764", + "$id": "6833", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86410,16 +89175,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6765", + "$id": "6834", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6766", + "$id": "6835", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86435,16 +89201,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6767", + "$id": "6836", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "Base64-encoded audio data delta.", "type": { - "$id": "6768", + "$id": "6837", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -86461,12 +89228,13 @@ "json": { "name": "delta" } - } + }, + "isHttpMetadata": false } ] }, "response.audio.done": { - "$id": "6769", + "$id": "6838", "kind": "model", "name": "RealtimeServerEventResponseAudioDone", "namespace": "OpenAI", @@ -86476,11 +89244,11 @@ "discriminatorValue": "response.audio.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6770", + "$id": "6839", "kind": "property", "name": "type", "serializedName": "type", @@ -86498,16 +89266,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6771", + "$id": "6840", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6772", + "$id": "6841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86523,16 +89292,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6773", + "$id": "6842", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6774", + "$id": "6843", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86548,16 +89318,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6775", + "$id": "6844", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6776", + "$id": "6845", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86573,16 +89344,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6777", + "$id": "6846", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6778", + "$id": "6847", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86598,12 +89370,13 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false } ] }, "response.function_call_arguments.delta": { - "$id": "6779", + "$id": "6848", "kind": "model", "name": "RealtimeServerEventResponseFunctionCallArgumentsDelta", "namespace": "OpenAI", @@ -86613,11 +89386,11 @@ "discriminatorValue": "response.function_call_arguments.delta", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6780", + "$id": "6849", "kind": "property", "name": "type", "serializedName": "type", @@ -86635,16 +89408,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6781", + "$id": "6850", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6782", + "$id": "6851", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86660,16 +89434,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6783", + "$id": "6852", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the function call item.", "type": { - "$id": "6784", + "$id": "6853", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86685,16 +89460,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6785", + "$id": "6854", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6786", + "$id": "6855", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86710,16 +89486,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6787", + "$id": "6856", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the function call.", "type": { - "$id": "6788", + "$id": "6857", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86735,16 +89512,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6789", + "$id": "6858", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The arguments delta as a JSON string.", "type": { - "$id": "6790", + "$id": "6859", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86760,12 +89538,13 @@ "json": { "name": "delta" } - } + }, + "isHttpMetadata": false } ] }, "response.function_call_arguments.done": { - "$id": "6791", + "$id": "6860", "kind": "model", "name": "RealtimeServerEventResponseFunctionCallArgumentsDone", "namespace": "OpenAI", @@ -86775,11 +89554,11 @@ "discriminatorValue": "response.function_call_arguments.done", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6792", + "$id": "6861", "kind": "property", "name": "type", "serializedName": "type", @@ -86797,16 +89576,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6793", + "$id": "6862", "kind": "property", "name": "response_id", "serializedName": "response_id", "doc": "The ID of the response.", "type": { - "$id": "6794", + "$id": "6863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86822,16 +89602,17 @@ "json": { "name": "response_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6795", + "$id": "6864", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the function call item.", "type": { - "$id": "6796", + "$id": "6865", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86847,16 +89628,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6797", + "$id": "6866", "kind": "property", "name": "output_index", "serializedName": "output_index", "doc": "The index of the output item in the response.", "type": { - "$id": "6798", + "$id": "6867", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -86872,16 +89654,17 @@ "json": { "name": "output_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6799", + "$id": "6868", "kind": "property", "name": "call_id", "serializedName": "call_id", "doc": "The ID of the function call.", "type": { - "$id": "6800", + "$id": "6869", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86897,16 +89680,17 @@ "json": { "name": "call_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6801", + "$id": "6870", "kind": "property", "name": "arguments", "serializedName": "arguments", "doc": "The final arguments as a JSON string.", "type": { - "$id": "6802", + "$id": "6871", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -86922,12 +89706,13 @@ "json": { "name": "arguments" } - } + }, + "isHttpMetadata": false } ] }, "rate_limits.updated": { - "$id": "6803", + "$id": "6872", "kind": "model", "name": "RealtimeServerEventRateLimitsUpdated", "namespace": "OpenAI", @@ -86937,11 +89722,11 @@ "discriminatorValue": "rate_limits.updated", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6804", + "$id": "6873", "kind": "property", "name": "type", "serializedName": "type", @@ -86959,20 +89744,21 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6805", + "$id": "6874", "kind": "property", "name": "rate_limits", "serializedName": "rate_limits", "doc": "List of rate limit information.", "type": { - "$id": "6806", + "$id": "6875", "kind": "array", "name": "ArrayRealtimeServerEventRateLimitsUpdatedRateLimitsItem", "valueType": { - "$id": "6807", + "$id": "6876", "kind": "model", "name": "RealtimeServerEventRateLimitsUpdatedRateLimitsItem", "namespace": "OpenAI", @@ -86981,13 +89767,13 @@ "decorators": [], "properties": [ { - "$id": "6808", + "$id": "6877", "kind": "property", "name": "name", "serializedName": "name", "doc": "The rate limit property name that this item includes information about.", "type": { - "$id": "6809", + "$id": "6878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87003,16 +89789,17 @@ "json": { "name": "name" } - } + }, + "isHttpMetadata": false }, { - "$id": "6810", + "$id": "6879", "kind": "property", "name": "limit", "serializedName": "limit", "doc": "The maximum configured limit for this rate limit property.", "type": { - "$id": "6811", + "$id": "6880", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87028,16 +89815,17 @@ "json": { "name": "limit" } - } + }, + "isHttpMetadata": false }, { - "$id": "6812", + "$id": "6881", "kind": "property", "name": "remaining", "serializedName": "remaining", "doc": "The remaining quota available against the configured limit for this rate limit property.", "type": { - "$id": "6813", + "$id": "6882", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87053,21 +89841,22 @@ "json": { "name": "remaining" } - } + }, + "isHttpMetadata": false }, { - "$id": "6814", + "$id": "6883", "kind": "property", "name": "reset_seconds", "serializedName": "reset_seconds", "doc": "The remaining time, in seconds, until this rate limit property is reset.", "type": { - "$id": "6815", + "$id": "6884", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "6816", + "$id": "6885", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87086,7 +89875,8 @@ "json": { "name": "reset_seconds" } - } + }, + "isHttpMetadata": false } ] }, @@ -87103,12 +89893,13 @@ "json": { "name": "rate_limits" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.input_audio_transcription.delta": { - "$id": "6817", + "$id": "6886", "kind": "model", "name": "RealtimeServerEventConversationItemInputAudioTranscriptionDelta", "namespace": "OpenAI", @@ -87118,11 +89909,11 @@ "discriminatorValue": "conversation.item.input_audio_transcription.delta", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6818", + "$id": "6887", "kind": "property", "name": "type", "serializedName": "type", @@ -87140,16 +89931,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6819", + "$id": "6888", "kind": "property", "name": "item_id", "serializedName": "item_id", "doc": "The ID of the item.", "type": { - "$id": "6820", + "$id": "6889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87165,16 +89957,17 @@ "json": { "name": "item_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6821", + "$id": "6890", "kind": "property", "name": "content_index", "serializedName": "content_index", "doc": "The index of the content part in the item's content array.", "type": { - "$id": "6822", + "$id": "6891", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87190,16 +89983,17 @@ "json": { "name": "content_index" } - } + }, + "isHttpMetadata": false }, { - "$id": "6823", + "$id": "6892", "kind": "property", "name": "delta", "serializedName": "delta", "doc": "The text delta.", "type": { - "$id": "6824", + "$id": "6893", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87215,21 +90009,22 @@ "json": { "name": "delta" } - } + }, + "isHttpMetadata": false }, { - "$id": "6825", + "$id": "6894", "kind": "property", "name": "logprobs", "serializedName": "logprobs", "doc": "The log probabilities of the transcription.", "type": { - "$id": "6826", + "$id": "6895", "kind": "nullable", "type": { - "$ref": "6581" + "$ref": "6650" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -87241,12 +90036,13 @@ "json": { "name": "logprobs" } - } + }, + "isHttpMetadata": false } ] }, "conversation.item.retrieved": { - "$id": "6827", + "$id": "6896", "kind": "model", "name": "RealtimeServerEventConversationItemRetrieved", "namespace": "OpenAI", @@ -87256,11 +90052,11 @@ "discriminatorValue": "conversation.item.retrieved", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6828", + "$id": "6897", "kind": "property", "name": "type", "serializedName": "type", @@ -87278,15 +90074,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6829", + "$id": "6898", "kind": "property", "name": "item", "serializedName": "item", "type": { - "$ref": "6544" + "$ref": "6613" }, "optional": false, "readOnly": false, @@ -87298,12 +90095,13 @@ "json": { "name": "item" } - } + }, + "isHttpMetadata": false } ] }, "transcription_session.updated": { - "$id": "6830", + "$id": "6899", "kind": "model", "name": "RealtimeServerEventTranscriptionSessionUpdated", "namespace": "OpenAI", @@ -87313,11 +90111,11 @@ "discriminatorValue": "transcription_session.updated", "decorators": [], "baseModel": { - "$ref": "6448" + "$ref": "6517" }, "properties": [ { - "$id": "6831", + "$id": "6900", "kind": "property", "name": "type", "serializedName": "type", @@ -87335,15 +90133,16 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6832", + "$id": "6901", "kind": "property", "name": "session", "serializedName": "session", "type": { - "$id": "6833", + "$id": "6902", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponse", "namespace": "OpenAI", @@ -87353,13 +90152,13 @@ "decorators": [], "properties": [ { - "$id": "6834", + "$id": "6903", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "Ephemeral key returned by the API. Only present when the session is\ncreated on the server via REST API.", "type": { - "$id": "6835", + "$id": "6904", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponseClientSecret", "namespace": "OpenAI", @@ -87368,13 +90167,13 @@ "decorators": [], "properties": [ { - "$id": "6836", + "$id": "6905", "kind": "property", "name": "value", "serializedName": "value", "doc": "Ephemeral key usable in client environments to authenticate connections\nto the Realtime API. Use this in client-side environments rather than\na standard API token, which should only be used server-side.", "type": { - "$id": "6837", + "$id": "6906", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87390,21 +90189,22 @@ "json": { "name": "value" } - } + }, + "isHttpMetadata": false }, { - "$id": "6838", + "$id": "6907", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.", "type": { - "$id": "6839", + "$id": "6908", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6840", + "$id": "6909", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87423,7 +90223,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false } ] }, @@ -87437,16 +90238,17 @@ "json": { "name": "client_secret" } - } + }, + "isHttpMetadata": false }, { - "$id": "6841", + "$id": "6910", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$id": "6842", + "$id": "6911", "kind": "array", "name": "Array46", "valueType": { @@ -87465,16 +90267,17 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6843", + "$id": "6912", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", "doc": "The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.", "type": { - "$id": "6844", + "$id": "6913", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87490,16 +90293,17 @@ "json": { "name": "input_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6845", + "$id": "6914", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "doc": "Configuration of the transcription model.", "type": { - "$id": "6846", + "$id": "6915", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponseInputAudioTranscription", "namespace": "OpenAI", @@ -87508,7 +90312,7 @@ "decorators": [], "properties": [ { - "$id": "6847", + "$id": "6916", "kind": "property", "name": "model", "serializedName": "model", @@ -87526,16 +90330,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6848", + "$id": "6917", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", "type": { - "$id": "6849", + "$id": "6918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87551,16 +90356,17 @@ "json": { "name": "language" } - } + }, + "isHttpMetadata": false }, { - "$id": "6850", + "$id": "6919", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio\nsegment. The [prompt](/docs/guides/speech-to-text#prompting) should match\nthe audio language.", "type": { - "$id": "6851", + "$id": "6920", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87576,7 +90382,8 @@ "json": { "name": "prompt" } - } + }, + "isHttpMetadata": false } ] }, @@ -87590,16 +90397,17 @@ "json": { "name": "input_audio_transcription" } - } + }, + "isHttpMetadata": false }, { - "$id": "6852", + "$id": "6921", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection. Can be set to `null` to turn off. Server\nVAD means that the model will detect the start and end of speech based on\naudio volume and respond at the end of user speech.", "type": { - "$id": "6853", + "$id": "6922", "kind": "model", "name": "RealtimeTranscriptionSessionCreateResponseTurnDetection", "namespace": "OpenAI", @@ -87608,13 +90416,13 @@ "decorators": [], "properties": [ { - "$id": "6854", + "$id": "6923", "kind": "property", "name": "type", "serializedName": "type", "doc": "Type of turn detection, only `server_vad` is currently supported.", "type": { - "$id": "6855", + "$id": "6924", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87630,16 +90438,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6856", + "$id": "6925", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { - "$id": "6857", + "$id": "6926", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -87655,16 +90464,17 @@ "json": { "name": "threshold" } - } + }, + "isHttpMetadata": false }, { - "$id": "6858", + "$id": "6927", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", "type": { - "$id": "6859", + "$id": "6928", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87680,16 +90490,17 @@ "json": { "name": "prefix_padding_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6860", + "$id": "6929", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { - "$id": "6861", + "$id": "6930", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -87705,7 +90516,8 @@ "json": { "name": "silence_duration_ms" } - } + }, + "isHttpMetadata": false } ] }, @@ -87719,7 +90531,8 @@ "json": { "name": "turn_detection" } - } + }, + "isHttpMetadata": false } ] }, @@ -87733,176 +90546,177 @@ "json": { "name": "session" } - } + }, + "isHttpMetadata": false } ] } } }, { - "$ref": "6452" + "$ref": "6521" }, { - "$ref": "6455" + "$ref": "6524" }, { - "$ref": "6469" + "$ref": "6538" }, { - "$ref": "6472" + "$ref": "6541" }, { - "$ref": "6496" + "$ref": "6565" }, { - "$ref": "6499" + "$ref": "6568" }, { - "$ref": "6502" + "$ref": "6571" }, { - "$ref": "6507" + "$ref": "6576" }, { - "$ref": "6513" + "$ref": "6582" }, { - "$ref": "6515" + "$ref": "6584" }, { - "$ref": "6521" + "$ref": "6590" }, { - "$ref": "6527" + "$ref": "6596" }, { - "$ref": "6531" + "$ref": "6600" }, { - "$ref": "6535" + "$ref": "6604" }, { - "$ref": "6539" + "$ref": "6608" }, { - "$ref": "6544" + "$ref": "6613" }, { - "$ref": "6550" + "$ref": "6619" }, { - "$ref": "6556" + "$ref": "6625" }, { - "$ref": "6565" + "$ref": "6634" }, { - "$ref": "6571" + "$ref": "6640" }, { - "$ref": "6582" + "$ref": "6651" }, { - "$ref": "6588" + "$ref": "6657" }, { - "$ref": "6595" + "$ref": "6664" }, { - "$ref": "6604" + "$ref": "6673" }, { - "$ref": "6612" + "$ref": "6681" }, { - "$ref": "6616" + "$ref": "6685" }, { - "$ref": "6619" + "$ref": "6688" }, { - "$ref": "6625" + "$ref": "6694" }, { - "$ref": "6629" + "$ref": "6698" }, { - "$ref": "6638" + "$ref": "6707" }, { - "$ref": "6646" + "$ref": "6715" }, { - "$ref": "6654" + "$ref": "6723" }, { - "$ref": "6670" + "$ref": "6739" }, { - "$ref": "6673" + "$ref": "6742" }, { - "$ref": "6680" + "$ref": "6749" }, { - "$ref": "6687" + "$ref": "6756" }, { - "$ref": "6698" + "$ref": "6767" }, { - "$ref": "6709" + "$ref": "6778" }, { - "$ref": "6721" + "$ref": "6790" }, { - "$ref": "6733" + "$ref": "6802" }, { - "$ref": "6745" + "$ref": "6814" }, { - "$ref": "6757" + "$ref": "6826" }, { - "$ref": "6769" + "$ref": "6838" }, { - "$ref": "6779" + "$ref": "6848" }, { - "$ref": "6791" + "$ref": "6860" }, { - "$ref": "6803" + "$ref": "6872" }, { - "$ref": "6807" + "$ref": "6876" }, { - "$ref": "6817" + "$ref": "6886" }, { - "$ref": "6827" + "$ref": "6896" }, { - "$ref": "6830" + "$ref": "6899" }, { - "$ref": "6833" + "$ref": "6902" }, { - "$ref": "6835" + "$ref": "6904" }, { - "$ref": "6846" + "$ref": "6915" }, { - "$ref": "6853" + "$ref": "6922" }, { - "$id": "6862", + "$id": "6931", "kind": "model", "name": "RealtimeSessionCreateRequest", "namespace": "OpenAI", @@ -87912,13 +90726,13 @@ "decorators": [], "properties": [ { - "$id": "6863", + "$id": "6932", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$ref": "6227" + "$ref": "6296" }, "optional": true, "readOnly": false, @@ -87930,10 +90744,11 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6864", + "$id": "6933", "kind": "property", "name": "model", "serializedName": "model", @@ -87951,16 +90766,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6865", + "$id": "6934", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The default system instructions (i.e. system message) prepended to model calls. This field allows the client to guide the model on desired responses. The model can be instructed on response content and format, (e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good responses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion into your voice\", \"laugh frequently\"). The instructions are not guaranteed to be followed by the model, but they provide guidance to the model on the desired behavior.\n\nNote that the server sets default instructions which will be used if this field is not set and are visible in the `session.created` event at the start of the session.", "type": { - "$id": "6866", + "$id": "6935", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -87976,10 +90792,11 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "6867", + "$id": "6936", "kind": "property", "name": "voice", "serializedName": "voice", @@ -87997,10 +90814,11 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6868", + "$id": "6937", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", @@ -88018,10 +90836,11 @@ "json": { "name": "input_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6869", + "$id": "6938", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", @@ -88039,16 +90858,17 @@ "json": { "name": "output_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6870", + "$id": "6939", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "doc": "Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://platform.openai.com/docs/api-reference/audio/createTranscription) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.", "type": { - "$id": "6871", + "$id": "6940", "kind": "model", "name": "RealtimeSessionCreateRequestInputAudioTranscription", "namespace": "OpenAI", @@ -88057,13 +90877,13 @@ "decorators": [], "properties": [ { - "$id": "6872", + "$id": "6941", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for transcription, current options are `gpt-4o-transcribe`, `gpt-4o-mini-transcribe`, and `whisper-1`.", "type": { - "$id": "6873", + "$id": "6942", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88079,16 +90899,17 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false }, { - "$id": "6874", + "$id": "6943", "kind": "property", "name": "language", "serializedName": "language", "doc": "The language of the input audio. Supplying the input language in\n[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`) format\nwill improve accuracy and latency.", "type": { - "$id": "6875", + "$id": "6944", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88104,16 +90925,17 @@ "json": { "name": "language" } - } + }, + "isHttpMetadata": false }, { - "$id": "6876", + "$id": "6945", "kind": "property", "name": "prompt", "serializedName": "prompt", "doc": "An optional text to guide the model's style or continue a previous audio\nsegment.\nFor `whisper-1`, the [prompt is a list of keywords](/docs/guides/speech-to-text#prompting).\nFor `gpt-4o-transcribe` models, the prompt is a free text string, for example \"expect words related to technology\".", "type": { - "$id": "6877", + "$id": "6946", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88129,7 +90951,8 @@ "json": { "name": "prompt" } - } + }, + "isHttpMetadata": false } ] }, @@ -88143,16 +90966,17 @@ "json": { "name": "input_audio_transcription" } - } + }, + "isHttpMetadata": false }, { - "$id": "6878", + "$id": "6947", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection, ether Server VAD or Semantic VAD. This can be set to `null` to turn off, in which case the client must manually trigger model response.\nServer VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech.\nSemantic VAD is more advanced and uses a turn detection model (in conjuction with VAD) to semantically estimate whether the user has finished speaking, then dynamically sets a timeout based on this probability. For example, if user audio trails off with \"uhhm\", the model will score a low probability of turn end and wait longer for the user to continue speaking. This can be useful for more natural conversations, but may have a higher latency.", "type": { - "$id": "6879", + "$id": "6948", "kind": "model", "name": "RealtimeSessionCreateRequestTurnDetection", "namespace": "OpenAI", @@ -88161,7 +90985,7 @@ "decorators": [], "properties": [ { - "$id": "6880", + "$id": "6949", "kind": "property", "name": "type", "serializedName": "type", @@ -88179,10 +91003,11 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6881", + "$id": "6950", "kind": "property", "name": "eagerness", "serializedName": "eagerness", @@ -88200,16 +91025,17 @@ "json": { "name": "eagerness" } - } + }, + "isHttpMetadata": false }, { - "$id": "6882", + "$id": "6951", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Used only for `server_vad` mode. Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { - "$id": "6883", + "$id": "6952", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -88225,16 +91051,17 @@ "json": { "name": "threshold" } - } + }, + "isHttpMetadata": false }, { - "$id": "6884", + "$id": "6953", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Used only for `server_vad` mode. Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", "type": { - "$id": "6885", + "$id": "6954", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88250,16 +91077,17 @@ "json": { "name": "prefix_padding_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6886", + "$id": "6955", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Used only for `server_vad` mode. Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { - "$id": "6887", + "$id": "6956", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88275,16 +91103,17 @@ "json": { "name": "silence_duration_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6888", + "$id": "6957", "kind": "property", "name": "create_response", "serializedName": "create_response", "doc": "Whether or not to automatically generate a response when a VAD stop event occurs.", "type": { - "$id": "6889", + "$id": "6958", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -88300,16 +91129,17 @@ "json": { "name": "create_response" } - } + }, + "isHttpMetadata": false }, { - "$id": "6890", + "$id": "6959", "kind": "property", "name": "interrupt_response", "serializedName": "interrupt_response", "doc": "Whether or not to automatically interrupt any ongoing response with output to the default\nconversation (i.e. `conversation` of `auto`) when a VAD start event occurs.", "type": { - "$id": "6891", + "$id": "6960", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -88325,7 +91155,8 @@ "json": { "name": "interrupt_response" } - } + }, + "isHttpMetadata": false } ] }, @@ -88339,19 +91170,20 @@ "json": { "name": "turn_detection" } - } + }, + "isHttpMetadata": false }, { - "$id": "6892", + "$id": "6961", "kind": "property", "name": "input_audio_noise_reduction", "serializedName": "input_audio_noise_reduction", "doc": "Configuration for input audio noise reduction. This can be set to `null` to turn off.\nNoise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.\nFiltering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.", "type": { - "$id": "6893", + "$id": "6962", "kind": "nullable", "type": { - "$id": "6894", + "$id": "6963", "kind": "model", "name": "RealtimeSessionCreateRequestInputAudioNoiseReduction1", "namespace": "OpenAI", @@ -88360,7 +91192,7 @@ "decorators": [], "properties": [ { - "$id": "6895", + "$id": "6964", "kind": "property", "name": "type", "serializedName": "type", @@ -88378,11 +91210,12 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -88394,16 +91227,17 @@ "json": { "name": "input_audio_noise_reduction" } - } + }, + "isHttpMetadata": false }, { - "$id": "6896", + "$id": "6965", "kind": "property", "name": "speed", "serializedName": "speed", "doc": "The speed of the model's spoken response. 1.0 is the default speed. 0.25 is\nthe minimum speed. 1.5 is the maximum speed. This value can only be changed\nin between model turns, not while a response is in progress.", "type": { - "$id": "6897", + "$id": "6966", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -88419,16 +91253,17 @@ "json": { "name": "speed" } - } + }, + "isHttpMetadata": false }, { - "$id": "6898", + "$id": "6967", "kind": "property", "name": "tracing", "serializedName": "tracing", "doc": "Configuration options for tracing. Set to null to disable tracing. Once\ntracing is enabled for a session, the configuration cannot be modified.\n\n`auto` will create a trace for the session with default values for the\nworkflow name, group id, and metadata.", "type": { - "$id": "6899", + "$id": "6968", "kind": "union", "name": "RealtimeSessionCreateRequestTracing", "variantTypes": [ @@ -88436,7 +91271,7 @@ "$ref": "1673" }, { - "$id": "6900", + "$id": "6969", "kind": "model", "name": "RealtimeSessionCreateRequestTracing1", "namespace": "OpenAI", @@ -88445,13 +91280,13 @@ "decorators": [], "properties": [ { - "$id": "6901", + "$id": "6970", "kind": "property", "name": "workflow_name", "serializedName": "workflow_name", "doc": "The name of the workflow to attach to this trace. This is used to\nname the trace in the traces dashboard.", "type": { - "$id": "6902", + "$id": "6971", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88467,16 +91302,17 @@ "json": { "name": "workflow_name" } - } + }, + "isHttpMetadata": false }, { - "$id": "6903", + "$id": "6972", "kind": "property", "name": "group_id", "serializedName": "group_id", "doc": "The group id to attach to this trace to enable filtering and\ngrouping in the traces dashboard.", "type": { - "$id": "6904", + "$id": "6973", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88492,16 +91328,17 @@ "json": { "name": "group_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6905", + "$id": "6974", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.", "type": { - "$id": "6906", + "$id": "6975", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -88517,12 +91354,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -88535,16 +91373,17 @@ "json": { "name": "tracing" } - } + }, + "isHttpMetadata": false }, { - "$id": "6907", + "$id": "6976", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Tools (functions) available to the model.", "type": { - "$ref": "6271" + "$ref": "6340" }, "optional": true, "readOnly": false, @@ -88556,16 +91395,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "6908", + "$id": "6977", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function.", "type": { - "$id": "6909", + "$id": "6978", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88581,16 +91421,17 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6910", + "$id": "6979", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a temperature of 0.8 is highly recommended for best performance.", "type": { - "$id": "6911", + "$id": "6980", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -88606,21 +91447,22 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6912", + "$id": "6981", "kind": "property", "name": "max_response_output_tokens", "serializedName": "max_response_output_tokens", "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", "type": { - "$id": "6913", + "$id": "6982", "kind": "union", "name": "RealtimeSessionCreateRequestMaxResponseOutputTokens", "variantTypes": [ { - "$id": "6914", + "$id": "6983", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88630,7 +91472,7 @@ "$ref": "1675" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -88643,16 +91485,17 @@ "json": { "name": "max_response_output_tokens" } - } + }, + "isHttpMetadata": false }, { - "$id": "6915", + "$id": "6984", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "Configuration options for the generated client secret.", "type": { - "$id": "6916", + "$id": "6985", "kind": "model", "name": "RealtimeSessionCreateRequestClientSecret", "namespace": "OpenAI", @@ -88661,13 +91504,13 @@ "decorators": [], "properties": [ { - "$id": "6917", + "$id": "6986", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Configuration for the ephemeral token expiration.", "type": { - "$id": "6918", + "$id": "6987", "kind": "model", "name": "RealtimeSessionCreateRequestClientSecretExpiresAt", "namespace": "OpenAI", @@ -88676,7 +91519,7 @@ "decorators": [], "properties": [ { - "$id": "6919", + "$id": "6988", "kind": "property", "name": "anchor", "serializedName": "anchor", @@ -88694,16 +91537,17 @@ "json": { "name": "anchor" } - } + }, + "isHttpMetadata": false }, { - "$id": "6920", + "$id": "6989", "kind": "property", "name": "seconds", "serializedName": "seconds", "doc": "The number of seconds from the anchor point to the expiration. Select a value between `10` and `7200`.", "type": { - "$id": "6921", + "$id": "6990", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88719,7 +91563,8 @@ "json": { "name": "seconds" } - } + }, + "isHttpMetadata": false } ] }, @@ -88733,7 +91578,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false } ] }, @@ -88747,30 +91593,31 @@ "json": { "name": "client_secret" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6871" + "$ref": "6940" }, { - "$ref": "6879" + "$ref": "6948" }, { - "$ref": "6894" + "$ref": "6963" }, { - "$ref": "6900" + "$ref": "6969" }, { - "$ref": "6916" + "$ref": "6985" }, { - "$ref": "6918" + "$ref": "6987" }, { - "$id": "6922", + "$id": "6991", "kind": "model", "name": "RealtimeSessionCreateResponse", "namespace": "OpenAI", @@ -88780,13 +91627,13 @@ "decorators": [], "properties": [ { - "$id": "6923", + "$id": "6992", "kind": "property", "name": "client_secret", "serializedName": "client_secret", "doc": "Ephemeral key returned by the API.", "type": { - "$id": "6924", + "$id": "6993", "kind": "model", "name": "RealtimeSessionCreateResponseClientSecret", "namespace": "OpenAI", @@ -88795,13 +91642,13 @@ "decorators": [], "properties": [ { - "$id": "6925", + "$id": "6994", "kind": "property", "name": "value", "serializedName": "value", "doc": "Ephemeral key usable in client environments to authenticate connections\nto the Realtime API. Use this in client-side environments rather than\na standard API token, which should only be used server-side.", "type": { - "$id": "6926", + "$id": "6995", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88817,21 +91664,22 @@ "json": { "name": "value" } - } + }, + "isHttpMetadata": false }, { - "$id": "6927", + "$id": "6996", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "Timestamp for when the token expires. Currently, all tokens expire\nafter one minute.", "type": { - "$id": "6928", + "$id": "6997", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6929", + "$id": "6998", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -88850,7 +91698,8 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false } ] }, @@ -88864,16 +91713,17 @@ "json": { "name": "client_secret" } - } + }, + "isHttpMetadata": false }, { - "$id": "6930", + "$id": "6999", "kind": "property", "name": "modalities", "serializedName": "modalities", "doc": "The set of modalities the model can respond with. To disable audio,\nset this to [\"text\"].", "type": { - "$ref": "6227" + "$ref": "6296" }, "optional": true, "readOnly": false, @@ -88885,16 +91735,17 @@ "json": { "name": "modalities" } - } + }, + "isHttpMetadata": false }, { - "$id": "6931", + "$id": "7000", "kind": "property", "name": "instructions", "serializedName": "instructions", "doc": "The default system instructions (i.e. system message) prepended to model\ncalls. This field allows the client to guide the model on desired\nresponses. The model can be instructed on response content and format,\n(e.g. \"be extremely succinct\", \"act friendly\", \"here are examples of good\nresponses\") and on audio behavior (e.g. \"talk quickly\", \"inject emotion\ninto your voice\", \"laugh frequently\"). The instructions are not guaranteed\nto be followed by the model, but they provide guidance to the model on the\ndesired behavior.\n\nNote that the server sets default instructions which will be used if this\nfield is not set and are visible in the `session.created` event at the\nstart of the session.", "type": { - "$id": "6932", + "$id": "7001", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -88910,10 +91761,11 @@ "json": { "name": "instructions" } - } + }, + "isHttpMetadata": false }, { - "$id": "6933", + "$id": "7002", "kind": "property", "name": "voice", "serializedName": "voice", @@ -88931,10 +91783,11 @@ "json": { "name": "voice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6934", + "$id": "7003", "kind": "property", "name": "input_audio_format", "serializedName": "input_audio_format", @@ -88952,10 +91805,11 @@ "json": { "name": "input_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6935", + "$id": "7004", "kind": "property", "name": "output_audio_format", "serializedName": "output_audio_format", @@ -88973,16 +91827,17 @@ "json": { "name": "output_audio_format" } - } + }, + "isHttpMetadata": false }, { - "$id": "6936", + "$id": "7005", "kind": "property", "name": "input_audio_transcription", "serializedName": "input_audio_transcription", "doc": "Configuration for input audio transcription, defaults to off and can be\nset to `null` to turn off once on. Input audio transcription is not native\nto the model, since the model consumes audio directly. Transcription runs\nasynchronously through Whisper and should be treated as rough guidance\nrather than the representation understood by the model.", "type": { - "$id": "6937", + "$id": "7006", "kind": "model", "name": "RealtimeSessionCreateResponseInputAudioTranscription", "namespace": "OpenAI", @@ -88991,13 +91846,13 @@ "decorators": [], "properties": [ { - "$id": "6938", + "$id": "7007", "kind": "property", "name": "model", "serializedName": "model", "doc": "The model to use for transcription, `whisper-1` is the only currently\nsupported model.", "type": { - "$id": "6939", + "$id": "7008", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89013,7 +91868,8 @@ "json": { "name": "model" } - } + }, + "isHttpMetadata": false } ] }, @@ -89027,16 +91883,17 @@ "json": { "name": "input_audio_transcription" } - } + }, + "isHttpMetadata": false }, { - "$id": "6940", + "$id": "7009", "kind": "property", "name": "speed", "serializedName": "speed", "doc": "The speed of the model's spoken response. 1.0 is the default speed. 0.25 is\nthe minimum speed. 1.5 is the maximum speed. This value can only be changed\nin between model turns, not while a response is in progress.", "type": { - "$id": "6941", + "$id": "7010", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89052,16 +91909,17 @@ "json": { "name": "speed" } - } + }, + "isHttpMetadata": false }, { - "$id": "6942", + "$id": "7011", "kind": "property", "name": "tracing", "serializedName": "tracing", "doc": "Configuration options for tracing. Set to null to disable tracing. Once\ntracing is enabled for a session, the configuration cannot be modified.\n\n`auto` will create a trace for the session with default values for the\nworkflow name, group id, and metadata.", "type": { - "$id": "6943", + "$id": "7012", "kind": "union", "name": "RealtimeSessionCreateResponseTracing", "variantTypes": [ @@ -89069,7 +91927,7 @@ "$ref": "1679" }, { - "$id": "6944", + "$id": "7013", "kind": "model", "name": "RealtimeSessionCreateResponseTracing1", "namespace": "OpenAI", @@ -89078,13 +91936,13 @@ "decorators": [], "properties": [ { - "$id": "6945", + "$id": "7014", "kind": "property", "name": "workflow_name", "serializedName": "workflow_name", "doc": "The name of the workflow to attach to this trace. This is used to\nname the trace in the traces dashboard.", "type": { - "$id": "6946", + "$id": "7015", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89100,16 +91958,17 @@ "json": { "name": "workflow_name" } - } + }, + "isHttpMetadata": false }, { - "$id": "6947", + "$id": "7016", "kind": "property", "name": "group_id", "serializedName": "group_id", "doc": "The group id to attach to this trace to enable filtering and\ngrouping in the traces dashboard.", "type": { - "$id": "6948", + "$id": "7017", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89125,16 +91984,17 @@ "json": { "name": "group_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6949", + "$id": "7018", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "The arbitrary metadata to attach to this trace to enable\nfiltering in the traces dashboard.", "type": { - "$id": "6950", + "$id": "7019", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -89150,12 +92010,13 @@ "json": { "name": "metadata" } - } + }, + "isHttpMetadata": false } ] } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -89168,16 +92029,17 @@ "json": { "name": "tracing" } - } + }, + "isHttpMetadata": false }, { - "$id": "6951", + "$id": "7020", "kind": "property", "name": "turn_detection", "serializedName": "turn_detection", "doc": "Configuration for turn detection. Can be set to `null` to turn off. Server\nVAD means that the model will detect the start and end of speech based on\naudio volume and respond at the end of user speech.", "type": { - "$id": "6952", + "$id": "7021", "kind": "model", "name": "RealtimeSessionCreateResponseTurnDetection", "namespace": "OpenAI", @@ -89186,13 +92048,13 @@ "decorators": [], "properties": [ { - "$id": "6953", + "$id": "7022", "kind": "property", "name": "type", "serializedName": "type", "doc": "Type of turn detection, only `server_vad` is currently supported.", "type": { - "$id": "6954", + "$id": "7023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89208,16 +92070,17 @@ "json": { "name": "type" } - } + }, + "isHttpMetadata": false }, { - "$id": "6955", + "$id": "7024", "kind": "property", "name": "threshold", "serializedName": "threshold", "doc": "Activation threshold for VAD (0.0 to 1.0), this defaults to 0.5. A\nhigher threshold will require louder audio to activate the model, and\nthus might perform better in noisy environments.", "type": { - "$id": "6956", + "$id": "7025", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89233,16 +92096,17 @@ "json": { "name": "threshold" } - } + }, + "isHttpMetadata": false }, { - "$id": "6957", + "$id": "7026", "kind": "property", "name": "prefix_padding_ms", "serializedName": "prefix_padding_ms", "doc": "Amount of audio to include before the VAD detected speech (in\nmilliseconds). Defaults to 300ms.", "type": { - "$id": "6958", + "$id": "7027", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89258,16 +92122,17 @@ "json": { "name": "prefix_padding_ms" } - } + }, + "isHttpMetadata": false }, { - "$id": "6959", + "$id": "7028", "kind": "property", "name": "silence_duration_ms", "serializedName": "silence_duration_ms", "doc": "Duration of silence to detect speech stop (in milliseconds). Defaults\nto 500ms. With shorter values the model will respond more quickly,\nbut may jump in on short pauses from the user.", "type": { - "$id": "6960", + "$id": "7029", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89283,7 +92148,8 @@ "json": { "name": "silence_duration_ms" } - } + }, + "isHttpMetadata": false } ] }, @@ -89297,16 +92163,17 @@ "json": { "name": "turn_detection" } - } + }, + "isHttpMetadata": false }, { - "$id": "6961", + "$id": "7030", "kind": "property", "name": "tools", "serializedName": "tools", "doc": "Tools (functions) available to the model.", "type": { - "$ref": "6271" + "$ref": "6340" }, "optional": true, "readOnly": false, @@ -89318,16 +92185,17 @@ "json": { "name": "tools" } - } + }, + "isHttpMetadata": false }, { - "$id": "6962", + "$id": "7031", "kind": "property", "name": "tool_choice", "serializedName": "tool_choice", "doc": "How the model chooses tools. Options are `auto`, `none`, `required`, or\nspecify a function.", "type": { - "$id": "6963", + "$id": "7032", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89343,16 +92211,17 @@ "json": { "name": "tool_choice" } - } + }, + "isHttpMetadata": false }, { - "$id": "6964", + "$id": "7033", "kind": "property", "name": "temperature", "serializedName": "temperature", "doc": "Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8.", "type": { - "$id": "6965", + "$id": "7034", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -89368,21 +92237,22 @@ "json": { "name": "temperature" } - } + }, + "isHttpMetadata": false }, { - "$id": "6966", + "$id": "7035", "kind": "property", "name": "max_response_output_tokens", "serializedName": "max_response_output_tokens", "doc": "Maximum number of output tokens for a single assistant response,\ninclusive of tool calls. Provide an integer between 1 and 4096 to\nlimit output tokens, or `inf` for the maximum available tokens for a\ngiven model. Defaults to `inf`.", "type": { - "$id": "6967", + "$id": "7036", "kind": "union", "name": "RealtimeSessionCreateResponseMaxResponseOutputTokens", "variantTypes": [ { - "$id": "6968", + "$id": "7037", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89392,7 +92262,7 @@ "$ref": "1681" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "optional": true, @@ -89405,24 +92275,25 @@ "json": { "name": "max_response_output_tokens" } - } + }, + "isHttpMetadata": false } ] }, { - "$ref": "6924" + "$ref": "6993" }, { - "$ref": "6937" + "$ref": "7006" }, { - "$ref": "6944" + "$ref": "7013" }, { - "$ref": "6952" + "$ref": "7021" }, { - "$id": "6969", + "$id": "7038", "kind": "model", "name": "CreateUploadRequest", "namespace": "OpenAI", @@ -89431,13 +92302,13 @@ "decorators": [], "properties": [ { - "$id": "6970", + "$id": "7039", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file to upload.", "type": { - "$id": "6971", + "$id": "7040", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89453,10 +92324,11 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { - "$id": "6972", + "$id": "7041", "kind": "property", "name": "purpose", "serializedName": "purpose", @@ -89474,16 +92346,17 @@ "json": { "name": "purpose" } - } + }, + "isHttpMetadata": false }, { - "$id": "6973", + "$id": "7042", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The number of bytes in the file you are uploading.", "type": { - "$id": "6974", + "$id": "7043", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89499,16 +92372,17 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false }, { - "$id": "6975", + "$id": "7044", "kind": "property", "name": "mime_type", "serializedName": "mime_type", "doc": "The MIME type of the file.\n\nThis must fall within the supported MIME types for your file purpose. See the supported MIME types for assistants and vision.", "type": { - "$id": "6976", + "$id": "7045", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89524,12 +92398,13 @@ "json": { "name": "mime_type" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6977", + "$id": "7046", "kind": "model", "name": "Upload", "namespace": "OpenAI", @@ -89539,13 +92414,13 @@ "decorators": [], "properties": [ { - "$id": "6978", + "$id": "7047", "kind": "property", "name": "id", "serializedName": "id", "doc": "The Upload unique identifier, which can be referenced in API endpoints.", "type": { - "$id": "6979", + "$id": "7048", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89561,21 +92436,22 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "6980", + "$id": "7049", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the Upload was created.", "type": { - "$id": "6981", + "$id": "7050", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6982", + "$id": "7051", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89594,16 +92470,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "6983", + "$id": "7052", "kind": "property", "name": "filename", "serializedName": "filename", "doc": "The name of the file to be uploaded.", "type": { - "$id": "6984", + "$id": "7053", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89619,16 +92496,17 @@ "json": { "name": "filename" } - } + }, + "isHttpMetadata": false }, { - "$id": "6985", + "$id": "7054", "kind": "property", "name": "bytes", "serializedName": "bytes", "doc": "The intended number of bytes to be uploaded.", "type": { - "$id": "6986", + "$id": "7055", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89644,16 +92522,17 @@ "json": { "name": "bytes" } - } + }, + "isHttpMetadata": false }, { - "$id": "6987", + "$id": "7056", "kind": "property", "name": "purpose", "serializedName": "purpose", "doc": "The intended purpose of the file. [Please refer here](/docs/api-reference/files/object#files/object-purpose) for acceptable values.", "type": { - "$id": "6988", + "$id": "7057", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89669,10 +92548,11 @@ "json": { "name": "purpose" } - } + }, + "isHttpMetadata": false }, { - "$id": "6989", + "$id": "7058", "kind": "property", "name": "status", "serializedName": "status", @@ -89690,21 +92570,22 @@ "json": { "name": "status" } - } + }, + "isHttpMetadata": false }, { - "$id": "6990", + "$id": "7059", "kind": "property", "name": "expires_at", "serializedName": "expires_at", "doc": "The Unix timestamp (in seconds) for when the Upload will expire.", "type": { - "$id": "6991", + "$id": "7060", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "6992", + "$id": "7061", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89723,10 +92604,11 @@ "json": { "name": "expires_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "6993", + "$id": "7062", "kind": "property", "name": "object", "serializedName": "object", @@ -89744,20 +92626,21 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false }, { - "$id": "6994", + "$id": "7063", "kind": "property", "name": "file", "serializedName": "file", "type": { - "$id": "6995", + "$id": "7064", "kind": "nullable", "type": { "$ref": "3266" }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -89769,12 +92652,13 @@ "json": { "name": "file" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6996", + "$id": "7065", "kind": "model", "name": "AddUploadPartRequest", "namespace": "OpenAI", @@ -89783,13 +92667,13 @@ "decorators": [], "properties": [ { - "$id": "6997", + "$id": "7066", "kind": "property", "name": "data", "serializedName": "data", "doc": "The chunk of bytes for this Part.", "type": { - "$id": "6998", + "$id": "7067", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -89809,14 +92693,16 @@ "defaultContentTypes": [ "application/octet-stream" ], - "name": "data" + "name": "data", + "headers": [] } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "6999", + "$id": "7068", "kind": "model", "name": "UploadPart", "namespace": "OpenAI", @@ -89826,13 +92712,13 @@ "decorators": [], "properties": [ { - "$id": "7000", + "$id": "7069", "kind": "property", "name": "id", "serializedName": "id", "doc": "The upload Part unique identifier, which can be referenced in API endpoints.", "type": { - "$id": "7001", + "$id": "7070", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89848,21 +92734,22 @@ "json": { "name": "id" } - } + }, + "isHttpMetadata": false }, { - "$id": "7002", + "$id": "7071", "kind": "property", "name": "created_at", "serializedName": "created_at", "doc": "The Unix timestamp (in seconds) for when the Part was created.", "type": { - "$id": "7003", + "$id": "7072", "kind": "utcDateTime", "name": "utcDateTime", "encode": "unixTimestamp", "wireType": { - "$id": "7004", + "$id": "7073", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -89881,16 +92768,17 @@ "json": { "name": "created_at" } - } + }, + "isHttpMetadata": false }, { - "$id": "7005", + "$id": "7074", "kind": "property", "name": "upload_id", "serializedName": "upload_id", "doc": "The ID of the Upload object that this Part was added to.", "type": { - "$id": "7006", + "$id": "7075", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89906,10 +92794,11 @@ "json": { "name": "upload_id" } - } + }, + "isHttpMetadata": false }, { - "$id": "7007", + "$id": "7076", "kind": "property", "name": "object", "serializedName": "object", @@ -89927,12 +92816,13 @@ "json": { "name": "object" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "7008", + "$id": "7077", "kind": "model", "name": "CompleteUploadRequest", "namespace": "OpenAI", @@ -89941,7 +92831,7 @@ "decorators": [], "properties": [ { - "$id": "7009", + "$id": "7078", "kind": "property", "name": "part_ids", "serializedName": "part_ids", @@ -89959,16 +92849,17 @@ "json": { "name": "part_ids" } - } + }, + "isHttpMetadata": false }, { - "$id": "7010", + "$id": "7079", "kind": "property", "name": "md5", "serializedName": "md5", "doc": "The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.", "type": { - "$id": "7011", + "$id": "7080", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -89984,12 +92875,13 @@ "json": { "name": "md5" } - } + }, + "isHttpMetadata": false } ] }, { - "$id": "7012", + "$id": "7081", "kind": "model", "name": "BatchRequestInput", "namespace": "OpenAI", @@ -90000,13 +92892,12 @@ "decorators": [], "properties": [ { - "$id": "7013", + "$id": "7082", "kind": "property", "name": "custom_id", - "serializedName": "custom_id", "doc": "A developer-provided per-request id that will be used to match outputs to inputs. Must be unique for each request in a batch.", "type": { - "$id": "7014", + "$id": "7083", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90018,13 +92909,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestInput.custom_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7015", + "$id": "7084", "kind": "property", "name": "method", - "serializedName": "method", "doc": "The HTTP method to be used for the request. Currently only `POST` is supported.", "type": { "$ref": "1687" @@ -90035,16 +92926,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestInput.method", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7016", + "$id": "7085", "kind": "property", "name": "url", - "serializedName": "url", "doc": "The OpenAI API relative URL to be used for the request. Currently `/v1/chat/completions`, `/v1/embeddings`, and `/v1/completions` are supported.", "type": { - "$id": "7017", + "$id": "7086", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -90056,12 +92947,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestInput.url", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$id": "7018", + "$id": "7087", "kind": "model", "name": "BatchRequestOutput", "namespace": "OpenAI", @@ -90072,12 +92964,11 @@ "decorators": [], "properties": [ { - "$id": "7019", + "$id": "7088", "kind": "property", "name": "id", - "serializedName": "id", "type": { - "$id": "7020", + "$id": "7089", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90089,16 +92980,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7021", + "$id": "7090", "kind": "property", "name": "custom_id", - "serializedName": "custom_id", "doc": "A developer-provided per-request id that will be used to match outputs to inputs.", "type": { - "$id": "7022", + "$id": "7091", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90110,18 +93001,18 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.custom_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7023", + "$id": "7092", "kind": "property", "name": "response", - "serializedName": "response", "type": { - "$id": "7024", + "$id": "7093", "kind": "nullable", "type": { - "$id": "7025", + "$id": "7094", "kind": "model", "name": "BatchRequestOutputResponse1", "namespace": "OpenAI", @@ -90130,13 +93021,12 @@ "decorators": [], "properties": [ { - "$id": "7026", + "$id": "7095", "kind": "property", "name": "status_code", - "serializedName": "status_code", "doc": "The HTTP status code of the response", "type": { - "$id": "7027", + "$id": "7096", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -90148,16 +93038,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.response.anonymous.status_code", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7028", + "$id": "7097", "kind": "property", "name": "request_id", - "serializedName": "request_id", "doc": "An unique identifier for the OpenAI API request. Please include this request ID when contacting support.", "type": { - "$id": "7029", + "$id": "7098", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90169,16 +93059,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.response.anonymous.request_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7030", + "$id": "7099", "kind": "property", "name": "body", - "serializedName": "body", "doc": "The JSON body of the response", "type": { - "$ref": "3664" + "$ref": "3733" }, "optional": true, "readOnly": false, @@ -90186,11 +93076,12 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.response.anonymous.body", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -90198,19 +93089,19 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.response", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7031", + "$id": "7100", "kind": "property", "name": "error", - "serializedName": "error", "doc": "For requests that failed with a non-HTTP error, this will contain more information on the cause of the failure.", "type": { - "$id": "7032", + "$id": "7101", "kind": "nullable", "type": { - "$id": "7033", + "$id": "7102", "kind": "model", "name": "BatchRequestOutputError1", "namespace": "OpenAI", @@ -90219,13 +93110,12 @@ "decorators": [], "properties": [ { - "$id": "7034", + "$id": "7103", "kind": "property", "name": "code", - "serializedName": "code", "doc": "A machine-readable error code.", "type": { - "$id": "7035", + "$id": "7104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90237,16 +93127,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.error.anonymous.code", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7036", + "$id": "7105", "kind": "property", "name": "message", - "serializedName": "message", "doc": "A human-readable error message.", "type": { - "$id": "7037", + "$id": "7106", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90258,11 +93148,12 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.error.anonymous.message", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -90270,18 +93161,19 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.BatchRequestOutput.error", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$ref": "7025" + "$ref": "7094" }, { - "$ref": "7033" + "$ref": "7102" }, { - "$id": "7038", + "$id": "7107", "kind": "model", "name": "ChatCompletionFunctionChoice", "namespace": "OpenAI", @@ -90292,7 +93184,7 @@ "properties": [] }, { - "$id": "7039", + "$id": "7108", "kind": "model", "name": "ChatCompletionToolChoice", "namespace": "OpenAI", @@ -90303,7 +93195,7 @@ "properties": [] }, { - "$id": "7040", + "$id": "7109", "kind": "model", "name": "FineTuneChatCompletionRequestAssistantMessage", "namespace": "OpenAI", @@ -90312,10 +93204,9 @@ "decorators": [], "properties": [ { - "$id": "7041", + "$id": "7110", "kind": "property", "name": "weight", - "serializedName": "weight", "doc": "Controls whether the assistant message is trained against (0 or 1)", "type": { "$ref": "1283" @@ -90326,13 +93217,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.weight", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7042", + "$id": "7111", "kind": "property", "name": "content", - "serializedName": "content", "doc": "The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.", "type": { "$ref": "2900" @@ -90343,13 +93234,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.content", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7043", + "$id": "7112", "kind": "property", "name": "refusal", - "serializedName": "refusal", "doc": "The refusal message by the assistant.", "type": { "$ref": "2906" @@ -90360,16 +93251,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.refusal", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7044", + "$id": "7113", "kind": "property", "name": "role", - "serializedName": "role", "doc": "The role of the messages author, in this case `assistant`.", "type": { - "$id": "7045", + "$id": "7114", "kind": "enumvalue", "name": "assistant", "value": "assistant", @@ -90387,16 +93278,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.role", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7046", + "$id": "7115", "kind": "property", "name": "name", - "serializedName": "name", "doc": "An optional name for the participant. Provides the model information to differentiate between participants of the same role.", "type": { - "$id": "7047", + "$id": "7116", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90408,13 +93299,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.name", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7048", + "$id": "7117", "kind": "property", "name": "audio", - "serializedName": "audio", "doc": "Data about a previous audio response from the model.\n[Learn more](/docs/guides/audio).", "type": { "$ref": "2913" @@ -90425,13 +93316,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.audio", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7049", + "$id": "7118", "kind": "property", "name": "tool_calls", - "serializedName": "tool_calls", "type": { "$ref": "2706" }, @@ -90441,13 +93332,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.tool_calls", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7050", + "$id": "7119", "kind": "property", "name": "function_call", - "serializedName": "function_call", "doc": "Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model.", "type": { "$ref": "2919" @@ -90458,12 +93349,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatCompletionRequestAssistantMessage.function_call", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$id": "7051", + "$id": "7120", "kind": "model", "name": "FineTuneChatRequestInput", "namespace": "OpenAI", @@ -90474,16 +93366,15 @@ "decorators": [], "properties": [ { - "$id": "7052", + "$id": "7121", "kind": "property", "name": "messages", - "serializedName": "messages", "type": { - "$id": "7053", + "$id": "7122", "kind": "array", "name": "Array47", "valueType": { - "$id": "7054", + "$id": "7123", "kind": "union", "name": "FineTuneChatRequestInputMessage", "variantTypes": [ @@ -90494,7 +93385,7 @@ "$ref": "2888" }, { - "$ref": "7040" + "$ref": "7109" }, { "$ref": "2925" @@ -90503,7 +93394,7 @@ "$ref": "2935" } ], - "namespace": "", + "namespace": "OpenAI", "decorators": [] }, "crossLanguageDefinitionId": "TypeSpec.Array", @@ -90515,13 +93406,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatRequestInput.messages", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7055", + "$id": "7124", "kind": "property", "name": "tools", - "serializedName": "tools", "doc": "A list of tools the model may generate JSON inputs for.", "type": { "$ref": "3026" @@ -90532,20 +93423,20 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatRequestInput.tools", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7056", + "$id": "7125", "kind": "property", "name": "parallel_tool_calls", - "serializedName": "parallel_tool_calls", "type": { - "$id": "7057", + "$id": "7126", "kind": "boolean", "name": "ParallelToolCalls", "crossLanguageDefinitionId": "OpenAI.ParallelToolCalls", "baseType": { - "$id": "7058", + "$id": "7127", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -90559,13 +93450,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatRequestInput.parallel_tool_calls", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7059", + "$id": "7128", "kind": "property", "name": "functions", - "serializedName": "functions", "doc": "A list of functions the model may generate JSON inputs for.", "type": { "$ref": "3048" @@ -90576,12 +93467,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuneChatRequestInput.functions", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$id": "7060", + "$id": "7129", "kind": "model", "name": "FineTuningJobsPageToken", "namespace": "OpenAI", @@ -90591,12 +93483,11 @@ "decorators": [], "properties": [ { - "$id": "7061", + "$id": "7130", "kind": "property", "name": "limit", - "serializedName": "limit", "type": { - "$id": "7062", + "$id": "7131", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -90608,15 +93499,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuningJobsPageToken.limit", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7063", + "$id": "7132", "kind": "property", "name": "after", - "serializedName": "after", "type": { - "$id": "7064", + "$id": "7133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90628,12 +93519,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.FineTuningJobsPageToken.after", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$id": "7065", + "$id": "7134", "kind": "model", "name": "MessageDeltaContent", "namespace": "OpenAI", @@ -90643,10 +93535,9 @@ "doc": "Represents a single piece of incremental content in an Assistants API streaming response.", "decorators": [], "discriminatorProperty": { - "$id": "7066", + "$id": "7135", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The discriminated type identifier for the content item.", "type": { "$ref": "881" @@ -90657,16 +93548,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContent.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7066" + "$ref": "7135" } ], "discriminatedSubtypes": { "image_file": { - "$id": "7067", + "$id": "7136", "kind": "model", "name": "MessageDeltaContentImageFileObject", "namespace": "OpenAI", @@ -90677,17 +93569,16 @@ "discriminatorValue": "image_file", "decorators": [], "baseModel": { - "$ref": "7065" + "$ref": "7134" }, "properties": [ { - "$id": "7068", + "$id": "7137", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "7069", + "$id": "7138", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -90699,13 +93590,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7070", + "$id": "7139", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `image_file`.", "type": { "$ref": "884" @@ -90716,15 +93607,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7071", + "$id": "7140", "kind": "property", "name": "image_file", - "serializedName": "image_file", "type": { - "$id": "7072", + "$id": "7141", "kind": "model", "name": "MessageDeltaContentImageFileObjectImageFile", "namespace": "OpenAI", @@ -90733,13 +93624,12 @@ "decorators": [], "properties": [ { - "$id": "7073", + "$id": "7142", "kind": "property", "name": "file_id", - "serializedName": "file_id", "doc": "The [File](/docs/api-reference/files) ID of the image in the message content. Set `purpose=\"vision\"` when uploading the File if you need to later display the file content.", "type": { - "$id": "7074", + "$id": "7143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90751,13 +93641,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file.anonymous.file_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7075", + "$id": "7144", "kind": "property", "name": "detail", - "serializedName": "detail", "doc": "Specifies the detail level of the image if specified by the user. `low` uses fewer tokens, you can opt in to high resolution using `high`.", "type": { "$ref": "1287" @@ -90768,7 +93658,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file.anonymous.detail", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -90778,12 +93669,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageFileObject.image_file", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "image_url": { - "$id": "7076", + "$id": "7145", "kind": "model", "name": "MessageDeltaContentImageUrlObject", "namespace": "OpenAI", @@ -90794,17 +93686,16 @@ "discriminatorValue": "image_url", "decorators": [], "baseModel": { - "$ref": "7065" + "$ref": "7134" }, "properties": [ { - "$id": "7077", + "$id": "7146", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "7078", + "$id": "7147", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -90816,13 +93707,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7079", + "$id": "7148", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `image_url`.", "type": { "$ref": "885" @@ -90833,15 +93724,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7080", + "$id": "7149", "kind": "property", "name": "image_url", - "serializedName": "image_url", "type": { - "$id": "7081", + "$id": "7150", "kind": "model", "name": "MessageDeltaContentImageUrlObjectImageUrl", "namespace": "OpenAI", @@ -90850,13 +93741,12 @@ "decorators": [], "properties": [ { - "$id": "7082", + "$id": "7151", "kind": "property", "name": "url", - "serializedName": "url", "doc": "The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.", "type": { - "$id": "7083", + "$id": "7152", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -90868,13 +93758,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url.anonymous.url", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7084", + "$id": "7153", "kind": "property", "name": "detail", - "serializedName": "detail", "doc": "Specifies the detail level of the image. `low` uses fewer tokens, you can opt in to high resolution using `high`.", "type": { "$ref": "1292" @@ -90885,7 +93775,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url.anonymous.detail", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -90895,12 +93786,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentImageUrlObject.image_url", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "text": { - "$id": "7085", + "$id": "7154", "kind": "model", "name": "MessageDeltaContentTextObject", "namespace": "OpenAI", @@ -90911,17 +93803,16 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7065" + "$ref": "7134" }, "properties": [ { - "$id": "7086", + "$id": "7155", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the content part in the message.", "type": { - "$id": "7087", + "$id": "7156", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -90933,13 +93824,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7088", + "$id": "7157", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `text`.", "type": { "$ref": "883" @@ -90950,15 +93841,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7089", + "$id": "7158", "kind": "property", "name": "text", - "serializedName": "text", "type": { - "$id": "7090", + "$id": "7159", "kind": "model", "name": "MessageDeltaContentTextObjectText", "namespace": "OpenAI", @@ -90967,13 +93858,12 @@ "decorators": [], "properties": [ { - "$id": "7091", + "$id": "7160", "kind": "property", "name": "value", - "serializedName": "value", "doc": "The data that makes up the text.", "type": { - "$id": "7092", + "$id": "7161", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -90985,19 +93875,19 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextObject.text.anonymous.value", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7093", + "$id": "7162", "kind": "property", "name": "annotations", - "serializedName": "annotations", "type": { - "$id": "7094", + "$id": "7163", "kind": "array", "name": "ArrayMessageDeltaTextContentAnnotation", "valueType": { - "$id": "7095", + "$id": "7164", "kind": "model", "name": "MessageDeltaTextContentAnnotation", "namespace": "OpenAI", @@ -91006,10 +93896,9 @@ "usage": "Output", "decorators": [], "discriminatorProperty": { - "$id": "7096", + "$id": "7165", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The discriminated type identifier for the content item.", "type": { "$ref": "892" @@ -91020,16 +93909,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaTextContentAnnotation.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7096" + "$ref": "7165" } ], "discriminatedSubtypes": { "file_citation": { - "$id": "7097", + "$id": "7166", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFileCitationObject", "namespace": "OpenAI", @@ -91040,17 +93930,16 @@ "discriminatorValue": "file_citation", "decorators": [], "baseModel": { - "$ref": "7095" + "$ref": "7164" }, "properties": [ { - "$id": "7098", + "$id": "7167", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the annotation in the text content part.", "type": { - "$id": "7099", + "$id": "7168", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91062,13 +93951,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7100", + "$id": "7169", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `file_citation`.", "type": { "$ref": "894" @@ -91079,16 +93968,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7101", + "$id": "7170", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "7102", + "$id": "7171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91100,15 +93989,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7103", + "$id": "7172", "kind": "property", "name": "file_citation", - "serializedName": "file_citation", "type": { - "$id": "7104", + "$id": "7173", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation", "namespace": "OpenAI", @@ -91117,13 +94006,12 @@ "decorators": [], "properties": [ { - "$id": "7105", + "$id": "7174", "kind": "property", "name": "file_id", - "serializedName": "file_id", "doc": "The ID of the specific File the citation is from.", "type": { - "$id": "7106", + "$id": "7175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91135,16 +94023,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.file_citation.anonymous.file_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7107", + "$id": "7176", "kind": "property", "name": "quote", - "serializedName": "quote", "doc": "The specific quote in the file.", "type": { - "$id": "7108", + "$id": "7177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91156,7 +94044,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.file_citation.anonymous.quote", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -91166,15 +94055,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.file_citation", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7109", + "$id": "7178", "kind": "property", "name": "start_index", - "serializedName": "start_index", "type": { - "$id": "7110", + "$id": "7179", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91186,15 +94075,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.start_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7111", + "$id": "7180", "kind": "property", "name": "end_index", - "serializedName": "end_index", "type": { - "$id": "7112", + "$id": "7181", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91206,12 +94095,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFileCitationObject.end_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "file_path": { - "$id": "7113", + "$id": "7182", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFilePathObject", "namespace": "OpenAI", @@ -91222,17 +94112,16 @@ "discriminatorValue": "file_path", "decorators": [], "baseModel": { - "$ref": "7095" + "$ref": "7164" }, "properties": [ { - "$id": "7114", + "$id": "7183", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the annotation in the text content part.", "type": { - "$id": "7115", + "$id": "7184", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91244,13 +94133,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7116", + "$id": "7185", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `file_path`.", "type": { "$ref": "895" @@ -91261,16 +94150,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7117", + "$id": "7186", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The text in the message content that needs to be replaced.", "type": { - "$id": "7118", + "$id": "7187", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91282,15 +94171,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7119", + "$id": "7188", "kind": "property", "name": "file_path", - "serializedName": "file_path", "type": { - "$id": "7120", + "$id": "7189", "kind": "model", "name": "MessageDeltaContentTextAnnotationsFilePathObjectFilePath", "namespace": "OpenAI", @@ -91299,13 +94188,12 @@ "decorators": [], "properties": [ { - "$id": "7121", + "$id": "7190", "kind": "property", "name": "file_id", - "serializedName": "file_id", "doc": "The ID of the file that was generated.", "type": { - "$id": "7122", + "$id": "7191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91317,7 +94205,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.file_path.anonymous.file_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -91327,15 +94216,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.file_path", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7123", + "$id": "7192", "kind": "property", "name": "start_index", - "serializedName": "start_index", "type": { - "$id": "7124", + "$id": "7193", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91347,15 +94236,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.start_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7125", + "$id": "7194", "kind": "property", "name": "end_index", - "serializedName": "end_index", "type": { - "$id": "7126", + "$id": "7195", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91367,7 +94256,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextAnnotationsFilePathObject.end_index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } @@ -91382,7 +94272,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextObject.text.anonymous.annotations", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -91392,12 +94283,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentTextObject.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "refusal": { - "$id": "7127", + "$id": "7196", "kind": "model", "name": "MessageDeltaContentRefusalObject", "namespace": "OpenAI", @@ -91407,17 +94299,16 @@ "discriminatorValue": "refusal", "decorators": [], "baseModel": { - "$ref": "7065" + "$ref": "7134" }, "properties": [ { - "$id": "7128", + "$id": "7197", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the refusal part in the message.", "type": { - "$id": "7129", + "$id": "7198", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91429,13 +94320,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentRefusalObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7130", + "$id": "7199", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `refusal`.", "type": { "$ref": "886" @@ -91446,15 +94337,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentRefusalObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7131", + "$id": "7200", "kind": "property", "name": "refusal", - "serializedName": "refusal", "type": { - "$id": "7132", + "$id": "7201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91466,50 +94357,51 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaContentRefusalObject.refusal", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } } }, { - "$ref": "7067" + "$ref": "7136" }, { - "$ref": "7072" + "$ref": "7141" }, { - "$ref": "7076" + "$ref": "7145" }, { - "$ref": "7081" + "$ref": "7150" }, { - "$ref": "7085" + "$ref": "7154" }, { - "$ref": "7090" + "$ref": "7159" }, { - "$ref": "7095" + "$ref": "7164" }, { - "$ref": "7097" + "$ref": "7166" }, { - "$ref": "7104" + "$ref": "7173" }, { - "$ref": "7113" + "$ref": "7182" }, { - "$ref": "7120" + "$ref": "7189" }, { - "$ref": "7127" + "$ref": "7196" }, { - "$id": "7133", + "$id": "7202", "kind": "model", "name": "MessageDeltaObject", "namespace": "OpenAI", @@ -91520,13 +94412,12 @@ "decorators": [], "properties": [ { - "$id": "7134", + "$id": "7203", "kind": "property", "name": "id", - "serializedName": "id", "doc": "The identifier of the message, which can be referenced in API endpoints.", "type": { - "$id": "7135", + "$id": "7204", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91538,13 +94429,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7136", + "$id": "7205", "kind": "property", "name": "object", - "serializedName": "object", "doc": "The object type, which is always `thread.message.delta`.", "type": { "$ref": "1689" @@ -91555,16 +94446,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.object", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7137", + "$id": "7206", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The delta containing the fields that have changed on the Message.", "type": { - "$id": "7138", + "$id": "7207", "kind": "model", "name": "MessageDeltaObjectDelta", "namespace": "OpenAI", @@ -91573,10 +94464,9 @@ "decorators": [], "properties": [ { - "$id": "7139", + "$id": "7208", "kind": "property", "name": "role", - "serializedName": "role", "doc": "The entity that produced the message. One of `user` or `assistant`.", "type": { "$ref": "1297" @@ -91587,20 +94477,20 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta.anonymous.role", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7140", + "$id": "7209", "kind": "property", "name": "content", - "serializedName": "content", "doc": "The content of the message in array of text and/or images.", "type": { - "$id": "7141", + "$id": "7210", "kind": "array", "name": "ArrayMessageDeltaContent", "valueType": { - "$ref": "7065" + "$ref": "7134" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -91611,7 +94501,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta.anonymous.content", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -91621,15 +94512,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.MessageDeltaObject.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$ref": "7138" + "$ref": "7207" }, { - "$id": "7142", + "$id": "7211", "kind": "model", "name": "RunStepDeltaObject", "namespace": "OpenAI", @@ -91640,13 +94532,12 @@ "decorators": [], "properties": [ { - "$id": "7143", + "$id": "7212", "kind": "property", "name": "id", - "serializedName": "id", "doc": "The identifier of the run step, which can be referenced in API endpoints.", "type": { - "$id": "7144", + "$id": "7213", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91658,13 +94549,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaObject.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7145", + "$id": "7214", "kind": "property", "name": "object", - "serializedName": "object", "doc": "The object type, which is always `thread.run.step.delta`.", "type": { "$ref": "1691" @@ -91675,16 +94566,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaObject.object", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7146", + "$id": "7215", "kind": "property", "name": "delta", - "serializedName": "delta", "doc": "The delta containing the fields that have changed on the run step.", "type": { - "$id": "7147", + "$id": "7216", "kind": "model", "name": "RunStepDeltaObjectDelta", "namespace": "OpenAI", @@ -91693,13 +94584,12 @@ "decorators": [], "properties": [ { - "$id": "7148", + "$id": "7217", "kind": "property", "name": "step_details", - "serializedName": "step_details", "doc": "The details of the run step.", "type": { - "$id": "7149", + "$id": "7218", "kind": "model", "name": "RunStepDeltaStepDetails", "namespace": "OpenAI", @@ -91707,10 +94597,9 @@ "usage": "Output", "decorators": [], "discriminatorProperty": { - "$id": "7150", + "$id": "7219", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { "$ref": "1006" @@ -91721,16 +94610,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetails.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7150" + "$ref": "7219" } ], "discriminatedSubtypes": { "message_creation": { - "$id": "7151", + "$id": "7220", "kind": "model", "name": "RunStepDeltaStepDetailsMessageCreationObject", "namespace": "OpenAI", @@ -91741,14 +94631,13 @@ "discriminatorValue": "message_creation", "decorators": [], "baseModel": { - "$ref": "7149" + "$ref": "7218" }, "properties": [ { - "$id": "7152", + "$id": "7221", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `message_creation`.", "type": { "$ref": "1008" @@ -91759,15 +94648,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsMessageCreationObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7153", + "$id": "7222", "kind": "property", "name": "message_creation", - "serializedName": "message_creation", "type": { - "$id": "7154", + "$id": "7223", "kind": "model", "name": "RunStepDeltaStepDetailsMessageCreationObjectMessageCreation", "namespace": "OpenAI", @@ -91776,13 +94665,12 @@ "decorators": [], "properties": [ { - "$id": "7155", + "$id": "7224", "kind": "property", "name": "message_id", - "serializedName": "message_id", "doc": "The ID of the message that was created by this run step.", "type": { - "$id": "7156", + "$id": "7225", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91794,7 +94682,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsMessageCreationObject.message_creation.anonymous.message_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -91804,12 +94693,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsMessageCreationObject.message_creation", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "tool_calls": { - "$id": "7157", + "$id": "7226", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsObject", "namespace": "OpenAI", @@ -91820,14 +94710,13 @@ "discriminatorValue": "tool_calls", "decorators": [], "baseModel": { - "$ref": "7149" + "$ref": "7218" }, "properties": [ { - "$id": "7158", + "$id": "7227", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `tool_calls`.", "type": { "$ref": "1009" @@ -91838,20 +94727,20 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7159", + "$id": "7228", "kind": "property", "name": "tool_calls", - "serializedName": "tool_calls", "doc": "An array of tool calls the run step was involved in. These can be associated with one of three types of tools: `code_interpreter`, `file_search`, or `function`.", "type": { - "$id": "7160", + "$id": "7229", "kind": "array", "name": "ArrayRunStepDeltaStepDetailsToolCallsObjectToolCallsObject", "valueType": { - "$id": "7161", + "$id": "7230", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsObjectToolCallsObject", "namespace": "OpenAI", @@ -91860,10 +94749,9 @@ "doc": "Abstractly represents a run step tool call details inner object.", "decorators": [], "discriminatorProperty": { - "$id": "7162", + "$id": "7231", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { "$ref": "1010" @@ -91874,16 +94762,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsObjectToolCallsObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7162" + "$ref": "7231" } ], "discriminatedSubtypes": { "code_interpreter": { - "$id": "7163", + "$id": "7232", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObject", "namespace": "OpenAI", @@ -91894,17 +94783,16 @@ "discriminatorValue": "code_interpreter", "decorators": [], "baseModel": { - "$ref": "7161" + "$ref": "7230" }, "properties": [ { - "$id": "7164", + "$id": "7233", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "7165", + "$id": "7234", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -91916,16 +94804,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7166", + "$id": "7235", "kind": "property", "name": "id", - "serializedName": "id", "doc": "The ID of the tool call.", "type": { - "$id": "7167", + "$id": "7236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91937,13 +94825,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7168", + "$id": "7237", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of tool call. This is always going to be `code_interpreter` for this type of tool call.", "type": { "$ref": "1012" @@ -91954,16 +94842,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7169", + "$id": "7238", "kind": "property", "name": "code_interpreter", - "serializedName": "code_interpreter", "doc": "The Code Interpreter tool call definition.", "type": { - "$id": "7170", + "$id": "7239", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter", "namespace": "OpenAI", @@ -91972,13 +94860,12 @@ "decorators": [], "properties": [ { - "$id": "7171", + "$id": "7240", "kind": "property", "name": "input", - "serializedName": "input", "doc": "The input to the Code Interpreter tool call.", "type": { - "$id": "7172", + "$id": "7241", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -91990,20 +94877,20 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject.code_interpreter.anonymous.input", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7173", + "$id": "7242", "kind": "property", "name": "outputs", - "serializedName": "outputs", "doc": "The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (`logs`) or images (`image`). Each of these are represented by a different object type.", "type": { - "$id": "7174", + "$id": "7243", "kind": "array", "name": "ArrayRunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "valueType": { - "$id": "7175", + "$id": "7244", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject", "namespace": "OpenAI", @@ -92012,10 +94899,9 @@ "doc": "Abstractly represents a run step tool call details code interpreter output.", "decorators": [], "discriminatorProperty": { - "$id": "7176", + "$id": "7245", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The discriminated type identifier for the details object.", "type": { "$ref": "1015" @@ -92026,16 +94912,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7176" + "$ref": "7245" } ], "discriminatedSubtypes": { "logs": { - "$id": "7177", + "$id": "7246", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject", "namespace": "OpenAI", @@ -92046,17 +94933,16 @@ "discriminatorValue": "logs", "decorators": [], "baseModel": { - "$ref": "7175" + "$ref": "7244" }, "properties": [ { - "$id": "7178", + "$id": "7247", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the output in the outputs array.", "type": { - "$id": "7179", + "$id": "7248", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92068,13 +94954,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7180", + "$id": "7249", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `logs`.", "type": { "$ref": "1017" @@ -92085,16 +94971,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7181", + "$id": "7250", "kind": "property", "name": "logs", - "serializedName": "logs", "doc": "The text output from the Code Interpreter tool call.", "type": { - "$id": "7182", + "$id": "7251", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92106,12 +94992,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.logs", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "image": { - "$id": "7183", + "$id": "7252", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObject", "namespace": "OpenAI", @@ -92121,17 +95008,16 @@ "discriminatorValue": "image", "decorators": [], "baseModel": { - "$ref": "7175" + "$ref": "7244" }, "properties": [ { - "$id": "7184", + "$id": "7253", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the output in the outputs array.", "type": { - "$id": "7185", + "$id": "7254", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92143,13 +95029,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7186", + "$id": "7255", "kind": "property", "name": "type", - "serializedName": "type", "doc": "Always `image`.", "type": { "$ref": "1018" @@ -92160,15 +95046,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7187", + "$id": "7256", "kind": "property", "name": "image", - "serializedName": "image", "type": { - "$id": "7188", + "$id": "7257", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage", "namespace": "OpenAI", @@ -92177,13 +95063,12 @@ "decorators": [], "properties": [ { - "$id": "7189", + "$id": "7258", "kind": "property", "name": "file_id", - "serializedName": "file_id", "doc": "The [file](/docs/api-reference/files) ID of the image.", "type": { - "$id": "7190", + "$id": "7259", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92195,7 +95080,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject.image.anonymous.file_id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -92205,7 +95091,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeOutputImageObject.image", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } @@ -92220,7 +95107,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject.code_interpreter.anonymous.outputs", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -92230,12 +95118,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsCodeObject.code_interpreter", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "file_search": { - "$id": "7191", + "$id": "7260", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFileSearchObject", "namespace": "OpenAI", @@ -92245,17 +95134,16 @@ "discriminatorValue": "file_search", "decorators": [], "baseModel": { - "$ref": "7161" + "$ref": "7230" }, "properties": [ { - "$id": "7192", + "$id": "7261", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "7193", + "$id": "7262", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92267,16 +95155,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7194", + "$id": "7263", "kind": "property", "name": "id", - "serializedName": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "7195", + "$id": "7264", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92288,13 +95176,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7196", + "$id": "7265", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of tool call. This is always going to be `file_search` for this type of tool call.", "type": { "$ref": "1013" @@ -92305,16 +95193,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7197", + "$id": "7266", "kind": "property", "name": "file_search", - "serializedName": "file_search", "doc": "For now, this is always going to be an empty object.", "type": { - "$id": "7198", + "$id": "7267", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFileSearchObjectFileSearch", "namespace": "OpenAI", @@ -92323,12 +95211,11 @@ "decorators": [], "properties": [ { - "$id": "7199", + "$id": "7268", "kind": "property", "name": "ranking_options", - "serializedName": "ranking_options", "type": { - "$ref": "5813" + "$ref": "5882" }, "optional": true, "readOnly": false, @@ -92336,16 +95223,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject.file_search.anonymous.ranking_options", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7200", + "$id": "7269", "kind": "property", "name": "results", - "serializedName": "results", "doc": "The results of the file search.", "type": { - "$ref": "5818" + "$ref": "5887" }, "optional": true, "readOnly": true, @@ -92353,7 +95240,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject.file_search.anonymous.results", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -92363,12 +95251,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFileSearchObject.file_search", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "function": { - "$id": "7201", + "$id": "7270", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFunctionObject", "namespace": "OpenAI", @@ -92378,17 +95267,16 @@ "discriminatorValue": "function", "decorators": [], "baseModel": { - "$ref": "7161" + "$ref": "7230" }, "properties": [ { - "$id": "7202", + "$id": "7271", "kind": "property", "name": "index", - "serializedName": "index", "doc": "The index of the tool call in the tool calls array.", "type": { - "$id": "7203", + "$id": "7272", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92400,16 +95288,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.index", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7204", + "$id": "7273", "kind": "property", "name": "id", - "serializedName": "id", "doc": "The ID of the tool call object.", "type": { - "$id": "7205", + "$id": "7274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92421,13 +95309,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.id", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7206", + "$id": "7275", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of tool call. This is always going to be `function` for this type of tool call.", "type": { "$ref": "1014" @@ -92438,16 +95326,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7207", + "$id": "7276", "kind": "property", "name": "function", - "serializedName": "function", "doc": "The definition of the function that was called.", "type": { - "$id": "7208", + "$id": "7277", "kind": "model", "name": "RunStepDeltaStepDetailsToolCallsFunctionObjectFunction", "namespace": "OpenAI", @@ -92456,13 +95344,12 @@ "decorators": [], "properties": [ { - "$id": "7209", + "$id": "7278", "kind": "property", "name": "name", - "serializedName": "name", "doc": "The name of the function.", "type": { - "$id": "7210", + "$id": "7279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92474,16 +95361,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.function.anonymous.name", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7211", + "$id": "7280", "kind": "property", "name": "arguments", - "serializedName": "arguments", "doc": "The arguments passed to the function.", "type": { - "$id": "7212", + "$id": "7281", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92495,25 +95382,25 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.function.anonymous.arguments", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7213", + "$id": "7282", "kind": "property", "name": "output", - "serializedName": "output", "doc": "The output of the function. This will be `null` if the outputs have not been [submitted](/docs/api-reference/runs/submitToolOutputs) yet.", "type": { - "$id": "7214", + "$id": "7283", "kind": "nullable", "type": { - "$id": "7215", + "$id": "7284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -92521,7 +95408,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.function.anonymous.output", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -92531,7 +95419,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsFunctionObject.function", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } @@ -92546,7 +95435,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaStepDetailsToolCallsObject.tool_calls", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } @@ -92558,7 +95448,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaObject.delta.anonymous.step_details", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -92568,60 +95459,61 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.RunStepDeltaObject.delta", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$ref": "7147" + "$ref": "7216" }, { - "$ref": "7149" + "$ref": "7218" }, { - "$ref": "7151" + "$ref": "7220" }, { - "$ref": "7154" + "$ref": "7223" }, { - "$ref": "7157" + "$ref": "7226" }, { - "$ref": "7161" + "$ref": "7230" }, { - "$ref": "7163" + "$ref": "7232" }, { - "$ref": "7170" + "$ref": "7239" }, { - "$ref": "7175" + "$ref": "7244" }, { - "$ref": "7177" + "$ref": "7246" }, { - "$ref": "7183" + "$ref": "7252" }, { - "$ref": "7188" + "$ref": "7257" }, { - "$ref": "7191" + "$ref": "7260" }, { - "$ref": "7198" + "$ref": "7267" }, { - "$ref": "7201" + "$ref": "7270" }, { - "$ref": "7208" + "$ref": "7277" }, { - "$id": "7216", + "$id": "7285", "kind": "model", "name": "CreateThreadRequestToolResourcesFileSearchBase", "namespace": "OpenAI", @@ -92632,7 +95524,7 @@ "properties": [] }, { - "$id": "7217", + "$id": "7286", "kind": "model", "name": "DotNetCombinedJsonTranscriptionResponse", "namespace": "OpenAI", @@ -92642,10 +95534,9 @@ "decorators": [], "properties": [ { - "$id": "7218", + "$id": "7287", "kind": "property", "name": "task", - "serializedName": "task", "doc": "The task label.", "type": { "$ref": "1693" @@ -92656,16 +95547,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.task", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7219", + "$id": "7288", "kind": "property", "name": "language", - "serializedName": "language", "doc": "The language of the input audio.", "type": { - "$id": "7220", + "$id": "7289", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92677,21 +95568,21 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.language", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7221", + "$id": "7290", "kind": "property", "name": "duration", - "serializedName": "duration", "doc": "The duration of the input audio.", "type": { - "$id": "7222", + "$id": "7291", "kind": "duration", "name": "duration", "encode": "seconds", "wireType": { - "$id": "7223", + "$id": "7292", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -92706,16 +95597,16 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.duration", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7224", + "$id": "7293", "kind": "property", "name": "text", - "serializedName": "text", "doc": "The transcribed text.", "type": { - "$id": "7225", + "$id": "7294", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92727,13 +95618,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.text", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7226", + "$id": "7295", "kind": "property", "name": "words", - "serializedName": "words", "doc": "Extracted words and their corresponding timestamps.", "type": { "$ref": "2503" @@ -92744,13 +95635,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.words", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7227", + "$id": "7296", "kind": "property", "name": "segments", - "serializedName": "segments", "doc": "Segments of the transcribed text and their corresponding details.", "type": { "$ref": "2514" @@ -92761,15 +95652,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.segments", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7228", + "$id": "7297", "kind": "property", "name": "logprobs", - "serializedName": "logprobs", "type": { - "$ref": "6581" + "$ref": "6650" }, "optional": true, "readOnly": false, @@ -92777,12 +95668,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetCombinedJsonTranscriptionResponse.logprobs", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$id": "7229", + "$id": "7298", "kind": "model", "name": "ChatCompletionCollectionOptions", "namespace": "OpenAI", @@ -92792,13 +95684,12 @@ "decorators": [], "properties": [ { - "$id": "7230", - "kind": "query", + "$id": "7299", + "kind": "property", "name": "afterId", - "serializedName": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "7231", + "$id": "7300", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92806,18 +95697,20 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.afterId", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7232", - "kind": "query", + "$id": "7301", + "kind": "property", "name": "pageSizeLimit", - "serializedName": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "7233", + "$id": "7302", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92825,46 +95718,52 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.pageSizeLimit", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7234", - "kind": "query", + "$id": "7303", + "kind": "property", "name": "order", - "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1301" }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.order", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7235", - "kind": "query", + "$id": "7304", + "kind": "property", "name": "metadata", - "serializedName": "metadata", "type": { "$ref": "2316" }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.metadata", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7236", - "kind": "query", + "$id": "7305", + "kind": "property", "name": "model", - "serializedName": "model", "type": { - "$id": "7237", + "$id": "7306", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92872,14 +95771,17 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionCollectionOptions.model", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true } ] }, { - "$id": "7238", + "$id": "7307", "kind": "model", "name": "ChatCompletionMessageCollectionOptions", "namespace": "OpenAI", @@ -92889,13 +95791,12 @@ "decorators": [], "properties": [ { - "$id": "7239", - "kind": "query", + "$id": "7308", + "kind": "property", "name": "afterId", - "serializedName": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "7240", + "$id": "7309", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92903,18 +95804,20 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOptions.afterId", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7241", - "kind": "query", + "$id": "7310", + "kind": "property", "name": "pageSizeLimit", - "serializedName": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "7242", + "$id": "7311", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92922,29 +95825,34 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOptions.pageSizeLimit", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7243", - "kind": "query", + "$id": "7312", + "kind": "property", "name": "order", - "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1305" }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ChatCompletionMessageCollectionOptions.order", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true } ] }, { - "$id": "7244", + "$id": "7313", "kind": "model", "name": "ContainerCollectionOptions", "namespace": "OpenAI", @@ -92954,13 +95862,12 @@ "decorators": [], "properties": [ { - "$id": "7245", - "kind": "query", + "$id": "7314", + "kind": "property", "name": "afterId", - "serializedName": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "7246", + "$id": "7315", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -92968,18 +95875,20 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ContainerCollectionOptions.afterId", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7247", - "kind": "query", + "$id": "7316", + "kind": "property", "name": "pageSizeLimit", - "serializedName": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "7248", + "$id": "7317", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -92987,29 +95896,34 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ContainerCollectionOptions.pageSizeLimit", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7249", - "kind": "query", + "$id": "7318", + "kind": "property", "name": "order", - "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1309" }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ContainerCollectionOptions.order", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true } ] }, { - "$id": "7250", + "$id": "7319", "kind": "model", "name": "ContainerFileCollectionOptions", "namespace": "OpenAI", @@ -93019,13 +95933,12 @@ "decorators": [], "properties": [ { - "$id": "7251", - "kind": "query", + "$id": "7320", + "kind": "property", "name": "afterId", - "serializedName": "afterId", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "7252", + "$id": "7321", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93033,18 +95946,20 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ContainerFileCollectionOptions.afterId", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7253", - "kind": "query", + "$id": "7322", + "kind": "property", "name": "pageSizeLimit", - "serializedName": "pageSizeLimit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { - "$id": "7254", + "$id": "7323", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -93052,29 +95967,34 @@ }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ContainerFileCollectionOptions.pageSizeLimit", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true }, { - "$id": "7255", - "kind": "query", + "$id": "7324", + "kind": "property", "name": "order", - "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1309" }, "optional": true, "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.ContainerFileCollectionOptions.order", - "correspondingMethodParams": [] + "serializationOptions": {}, + "isHttpMetadata": true } ] }, { - "$id": "7256", + "$id": "7325", "kind": "model", "name": "DotNetChatResponseFormat", "namespace": "OpenAI", @@ -93083,10 +96003,9 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "7257", + "$id": "7326", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "10" }, @@ -93096,16 +96015,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormat.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7257" + "$ref": "7326" } ], "discriminatedSubtypes": { "text": { - "$id": "7258", + "$id": "7327", "kind": "model", "name": "DotNetChatResponseFormatText", "namespace": "OpenAI", @@ -93115,14 +96035,13 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7256" + "$ref": "7325" }, "properties": [ { - "$id": "7259", + "$id": "7328", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of response format being defined. Always `text`.", "type": { "$ref": "2348" @@ -93133,12 +96052,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatText.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "json_object": { - "$id": "7260", + "$id": "7329", "kind": "model", "name": "DotNetChatResponseFormatJsonObject", "namespace": "OpenAI", @@ -93148,14 +96068,13 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "7256" + "$ref": "7325" }, "properties": [ { - "$id": "7261", + "$id": "7330", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { "$ref": "13" @@ -93166,12 +96085,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "json_schema": { - "$id": "7262", + "$id": "7331", "kind": "model", "name": "DotNetChatResponseFormatJsonSchema", "namespace": "OpenAI", @@ -93181,14 +96101,13 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "7256" + "$ref": "7325" }, "properties": [ { - "$id": "7263", + "$id": "7332", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "14" }, @@ -93198,15 +96117,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonSchema.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7264", + "$id": "7333", "kind": "property", "name": "json_schema", - "serializedName": "json_schema", "type": { - "$id": "7265", + "$id": "7334", "kind": "model", "name": "DotNetChatResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -93215,12 +96134,11 @@ "decorators": [], "properties": [ { - "$id": "7266", + "$id": "7335", "kind": "property", "name": "description", - "serializedName": "description", "type": { - "$id": "7267", + "$id": "7336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93232,15 +96150,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonSchema.json_schema.anonymous.description", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7268", + "$id": "7337", "kind": "property", "name": "name", - "serializedName": "name", "type": { - "$id": "7269", + "$id": "7338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93252,15 +96170,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonSchema.json_schema.anonymous.name", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7270", + "$id": "7339", "kind": "property", "name": "schema", - "serializedName": "schema", "type": { - "$id": "7271", + "$id": "7340", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -93272,24 +96190,24 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonSchema.json_schema.anonymous.schema", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7272", + "$id": "7341", "kind": "property", "name": "strict", - "serializedName": "strict", "type": { - "$id": "7273", + "$id": "7342", "kind": "nullable", "type": { - "$id": "7274", + "$id": "7343", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, @@ -93297,7 +96215,8 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonSchema.json_schema.anonymous.strict", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, @@ -93307,26 +96226,27 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetChatResponseFormatJsonSchema.json_schema", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] } } }, { - "$ref": "7258" + "$ref": "7327" }, { - "$ref": "7260" + "$ref": "7329" }, { - "$ref": "7262" + "$ref": "7331" }, { - "$ref": "7265" + "$ref": "7334" }, { - "$id": "7275", + "$id": "7344", "kind": "model", "name": "DotNetAssistantResponseFormat", "namespace": "OpenAI", @@ -93335,10 +96255,9 @@ "usage": "Input,Output", "decorators": [], "discriminatorProperty": { - "$id": "7276", + "$id": "7345", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "10" }, @@ -93348,16 +96267,17 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormat.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, "properties": [ { - "$ref": "7276" + "$ref": "7345" } ], "discriminatedSubtypes": { "text": { - "$id": "7277", + "$id": "7346", "kind": "model", "name": "DotNetAssistantResponseFormatText", "namespace": "OpenAI", @@ -93367,14 +96287,13 @@ "discriminatorValue": "text", "decorators": [], "baseModel": { - "$ref": "7275" + "$ref": "7344" }, "properties": [ { - "$id": "7278", + "$id": "7347", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of response format being defined. Always `text`.", "type": { "$ref": "2348" @@ -93385,12 +96304,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatText.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "json_object": { - "$id": "7279", + "$id": "7348", "kind": "model", "name": "DotNetAssistantResponseFormatJsonObject", "namespace": "OpenAI", @@ -93400,14 +96320,13 @@ "discriminatorValue": "json_object", "decorators": [], "baseModel": { - "$ref": "7275" + "$ref": "7344" }, "properties": [ { - "$id": "7280", + "$id": "7349", "kind": "property", "name": "type", - "serializedName": "type", "doc": "The type of response format being defined. Always `json_object`.", "type": { "$ref": "13" @@ -93418,12 +96337,13 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonObject.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false } ] }, "json_schema": { - "$id": "7281", + "$id": "7350", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchema", "namespace": "OpenAI", @@ -93433,14 +96353,13 @@ "discriminatorValue": "json_schema", "decorators": [], "baseModel": { - "$ref": "7275" + "$ref": "7344" }, "properties": [ { - "$id": "7282", + "$id": "7351", "kind": "property", "name": "type", - "serializedName": "type", "type": { "$ref": "14" }, @@ -93450,15 +96369,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.type", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7283", + "$id": "7352", "kind": "property", "name": "json_schema", - "serializedName": "json_schema", "type": { - "$id": "7284", + "$id": "7353", "kind": "model", "name": "DotNetAssistantResponseFormatJsonSchemaJsonSchema", "namespace": "OpenAI", @@ -93467,12 +96386,11 @@ "decorators": [], "properties": [ { - "$id": "7285", + "$id": "7354", "kind": "property", "name": "description", - "serializedName": "description", "type": { - "$id": "7286", + "$id": "7355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93484,15 +96402,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema.anonymous.description", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7287", + "$id": "7356", "kind": "property", "name": "name", - "serializedName": "name", "type": { - "$id": "7288", + "$id": "7357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -93504,15 +96422,15 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema.anonymous.name", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7289", + "$id": "7358", "kind": "property", "name": "schema", - "serializedName": "schema", "type": { - "$id": "7290", + "$id": "7359", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -93524,610 +96442,81 @@ "flatten": false, "decorators": [], "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema.anonymous.schema", - "serializationOptions": {} + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7291", + "$id": "7360", "kind": "property", "name": "strict", - "serializedName": "strict", "type": { - "$id": "7292", + "$id": "7361", "kind": "nullable", "type": { - "$id": "7293", + "$id": "7362", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "namespace": "" + "namespace": "OpenAI" }, "optional": true, "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema.anonymous.strict", - "serializationOptions": {} - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema", - "serializationOptions": {} - } - ] - } - } - }, - { - "$ref": "7277" - }, - { - "$ref": "7279" - }, - { - "$ref": "7281" - }, - { - "$ref": "7284" - }, - { - "$id": "7294", - "kind": "model", - "name": "DotNetAudioLogProbsProperties", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties", - "access": "public", - "usage": "Output", - "decorators": [], - "properties": [ - { - "$id": "7295", - "kind": "property", - "name": "token", - "serializedName": "token", - "doc": "The token that was used to generate the log probability.", - "type": { - "$id": "7296", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties.token", - "serializationOptions": {} - }, - { - "$id": "7297", - "kind": "property", - "name": "logprob", - "serializedName": "logprob", - "doc": "The log probability of the token.", - "type": { - "$id": "7298", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties.logprob", - "serializationOptions": {} - }, - { - "$id": "7299", - "kind": "property", - "name": "bytes", - "serializedName": "bytes", - "doc": "The bytes that were used to generate the log probability.", - "type": { - "$ref": "2529" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties.bytes", - "serializationOptions": {} - } - ] - }, - { - "$id": "7300", - "kind": "model", - "name": "DotNetRealtimeLogProbsProperties", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties", - "access": "public", - "usage": "Output", - "decorators": [], - "properties": [ - { - "$id": "7301", - "kind": "property", - "name": "token", - "serializedName": "token", - "doc": "The token that was used to generate the log probability.", - "type": { - "$id": "7302", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties.token", - "serializationOptions": {} - }, - { - "$id": "7303", - "kind": "property", - "name": "logprob", - "serializedName": "logprob", - "doc": "The log probability of the token.", - "type": { - "$id": "7304", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties.logprob", - "serializationOptions": {} - }, - { - "$id": "7305", - "kind": "property", - "name": "bytes", - "serializedName": "bytes", - "doc": "The bytes that were used to generate the log probability.", - "type": { - "$ref": "2529" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties.bytes", - "serializationOptions": {} - } - ] - }, - { - "$id": "7306", - "kind": "model", - "name": "DotnetResponseWebSearchLocation", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchLocation", - "access": "public", - "usage": "Input,Output", - "decorators": [], - "discriminatorProperty": { - "$id": "7307", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$ref": "430" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchLocation.type", - "serializationOptions": {} - }, - "properties": [ - { - "$ref": "7307" - } - ], - "discriminatedSubtypes": { - "approximate": { - "$id": "7308", - "kind": "model", - "name": "DotnetResponseWebSearchApproximateLocation", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation", - "access": "public", - "usage": "Input,Output", - "discriminatorValue": "approximate", - "decorators": [], - "baseModel": { - "$ref": "7306" - }, - "properties": [ - { - "$id": "7309", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$ref": "432" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.type", - "serializationOptions": {} - }, - { - "$id": "7310", - "kind": "property", - "name": "country", - "serializedName": "country", - "type": { - "$ref": "4112" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.country", - "serializationOptions": {} - }, - { - "$id": "7311", - "kind": "property", - "name": "region", - "serializedName": "region", - "type": { - "$ref": "4115" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.region", - "serializationOptions": {} - }, - { - "$id": "7312", - "kind": "property", - "name": "city", - "serializedName": "city", - "type": { - "$ref": "4118" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.city", - "serializationOptions": {} - }, - { - "$id": "7313", - "kind": "property", - "name": "timezone", - "serializedName": "timezone", - "type": { - "$ref": "4121" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.timezone", - "serializationOptions": {} - } - ] - } - } - }, - { - "$ref": "7308" - }, - { - "$id": "7314", - "kind": "model", - "name": "ResponseItemCollectionOptions", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions", - "access": "public", - "usage": "Input", - "decorators": [], - "properties": [ - { - "$id": "7315", - "kind": "query", - "name": "afterId", - "serializedName": "afterId", - "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", - "type": { - "$id": "7316", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.afterId", - "correspondingMethodParams": [] - }, - { - "$id": "7317", - "kind": "query", - "name": "beforeId", - "serializedName": "beforeId", - "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", - "type": { - "$id": "7318", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.beforeId", - "correspondingMethodParams": [] - }, - { - "$id": "7319", - "kind": "query", - "name": "pageSizeLimit", - "serializedName": "pageSizeLimit", - "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", - "type": { - "$id": "7320", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.pageSizeLimit", - "correspondingMethodParams": [] - }, - { - "$id": "7321", - "kind": "query", - "name": "order", - "serializedName": "order", - "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", - "type": { - "$ref": "1313" - }, - "optional": true, - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.order", - "correspondingMethodParams": [] - } - ] - }, - { - "$id": "7322", - "kind": "model", - "name": "DotNetCombinedChunkingStrategyParam", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam", - "usage": "Input,Output", - "decorators": [], - "discriminatorProperty": { - "$id": "7323", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$ref": "1317" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type", - "serializationOptions": {} - }, - "properties": [ - { - "$ref": "7323" - } - ], - "discriminatedSubtypes": { - "auto": { - "$id": "7324", - "kind": "model", - "name": "DotNetCombinedAutoChunkingStrategyParam", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedAutoChunkingStrategyParam", - "access": "public", - "usage": "Input,Output", - "discriminatorValue": "auto", - "decorators": [], - "baseModel": { - "$ref": "7322" - }, - "properties": [ - { - "$id": "7325", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Always `auto`.", - "type": { - "$ref": "1319" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedAutoChunkingStrategyParam.type", - "serializationOptions": {} - } - ] - }, - "static": { - "$id": "7326", - "kind": "model", - "name": "DotNetCombinedStaticChunkingStrategyParam", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedStaticChunkingStrategyParam", - "access": "public", - "usage": "Input,Output", - "discriminatorValue": "static", - "decorators": [], - "baseModel": { - "$ref": "7322" - }, - "properties": [ - { - "$id": "7327", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Always `static`.", - "type": { - "$ref": "1320" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedStaticChunkingStrategyParam.type", - "serializationOptions": {} - }, - { - "$id": "7328", - "kind": "property", - "name": "static", - "serializedName": "static", - "type": { - "$ref": "2403" + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema.anonymous.strict", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedStaticChunkingStrategyParam.static", - "serializationOptions": {} - } - ] - }, - "other": { - "$id": "7329", - "kind": "model", - "name": "DotNetCombinedOtherChunkingStrategyParam", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedOtherChunkingStrategyParam", - "access": "public", - "usage": "Input,Output", - "discriminatorValue": "other", - "decorators": [], - "baseModel": { - "$ref": "7322" - }, - "properties": [ - { - "$id": "7330", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "Always `other`.", - "type": { - "$ref": "1321" - }, - "optional": false, - "readOnly": false, - "discriminator": true, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.DotNetCombinedOtherChunkingStrategyParam.type", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetAssistantResponseFormatJsonSchema.json_schema", + "serializationOptions": {}, + "isHttpMetadata": false } ] } } }, { - "$ref": "7324" + "$ref": "7346" + }, + { + "$ref": "7348" }, { - "$ref": "7326" + "$ref": "7350" }, { - "$ref": "7329" + "$ref": "7353" }, { - "$id": "7331", + "$id": "7363", "kind": "model", - "name": "RunGraderRequest", + "name": "DotNetAudioLogProbsProperties", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RunGraderRequest", - "usage": "None", + "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties", + "access": "public", + "usage": "Output", "decorators": [], "properties": [ { - "$id": "7332", + "$id": "7364", "kind": "property", - "name": "grader", - "serializedName": "grader", - "doc": "The grader used for the fine-tuning job.", + "name": "token", + "doc": "The token that was used to generate the log probability.", "type": { - "$id": "7333", - "kind": "union", - "name": "RunGraderRequestGrader", - "variantTypes": [ - { - "$ref": "3408" - }, - { - "$ref": "3411" - }, - { - "$ref": "3420" - }, - { - "$ref": "3428" - }, - { - "$ref": "3455" - } - ], - "namespace": "", + "$id": "7365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": false, @@ -94135,72 +96524,70 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderRequest.grader", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties.token", + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7334", + "$id": "7366", "kind": "property", - "name": "item", - "serializedName": "item", - "doc": "The dataset item provided to the grader. This will be used to populate\nthe `item` namespace. See [the guide](/docs/guides/graders) for more details.", + "name": "logprob", + "doc": "The log probability of the token.", "type": { - "$id": "7335", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", + "$id": "7367", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, - "optional": true, + "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderRequest.item", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties.logprob", + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7336", + "$id": "7368", "kind": "property", - "name": "model_sample", - "serializedName": "model_sample", - "doc": "The model sample to be evaluated. This value will be used to populate\nthe `sample` namespace. See [the guide](/docs/guides/graders) for more details.\nThe `output_json` variable will be populated if the model sample is a\nvalid JSON string.", + "name": "bytes", + "doc": "The bytes that were used to generate the log probability.", "type": { - "$id": "7337", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "2529" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderRequest.model_sample", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetAudioLogProbsProperties.bytes", + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$id": "7338", + "$id": "7369", "kind": "model", - "name": "RunGraderResponse", + "name": "DotNetRealtimeLogProbsProperties", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse", - "usage": "None", + "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties", + "access": "public", + "usage": "Output", "decorators": [], "properties": [ { - "$id": "7339", + "$id": "7370", "kind": "property", - "name": "reward", - "serializedName": "reward", + "name": "token", + "doc": "The token that was used to generate the log probability.", "type": { - "$id": "7340", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", + "$id": "7371", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "optional": false, @@ -94208,492 +96595,20 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.reward", - "serializationOptions": {} - }, - { - "$id": "7341", - "kind": "property", - "name": "metadata", - "serializedName": "metadata", - "type": { - "$id": "7342", - "kind": "model", - "name": "RunGraderResponseMetadata", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "7343", - "kind": "property", - "name": "name", - "serializedName": "name", - "type": { - "$id": "7344", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.name", - "serializationOptions": {} - }, - { - "$id": "7345", - "kind": "property", - "name": "type", - "serializedName": "type", - "type": { - "$id": "7346", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.type", - "serializationOptions": {} - }, - { - "$id": "7347", - "kind": "property", - "name": "errors", - "serializedName": "errors", - "type": { - "$id": "7348", - "kind": "model", - "name": "RunGraderResponseMetadataErrors", - "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous", - "usage": "None", - "decorators": [], - "properties": [ - { - "$id": "7349", - "kind": "property", - "name": "formula_parse_error", - "serializedName": "formula_parse_error", - "type": { - "$id": "7350", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.formula_parse_error", - "serializationOptions": {} - }, - { - "$id": "7351", - "kind": "property", - "name": "sample_parse_error", - "serializedName": "sample_parse_error", - "type": { - "$id": "7352", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.sample_parse_error", - "serializationOptions": {} - }, - { - "$id": "7353", - "kind": "property", - "name": "truncated_observation_error", - "serializedName": "truncated_observation_error", - "type": { - "$id": "7354", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.truncated_observation_error", - "serializationOptions": {} - }, - { - "$id": "7355", - "kind": "property", - "name": "unresponsive_reward_error", - "serializedName": "unresponsive_reward_error", - "type": { - "$id": "7356", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.unresponsive_reward_error", - "serializationOptions": {} - }, - { - "$id": "7357", - "kind": "property", - "name": "invalid_variable_error", - "serializedName": "invalid_variable_error", - "type": { - "$id": "7358", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.invalid_variable_error", - "serializationOptions": {} - }, - { - "$id": "7359", - "kind": "property", - "name": "other_error", - "serializedName": "other_error", - "type": { - "$id": "7360", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.other_error", - "serializationOptions": {} - }, - { - "$id": "7361", - "kind": "property", - "name": "python_grader_server_error", - "serializedName": "python_grader_server_error", - "type": { - "$id": "7362", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_server_error", - "serializationOptions": {} - }, - { - "$id": "7363", - "kind": "property", - "name": "python_grader_server_error_type", - "serializedName": "python_grader_server_error_type", - "type": { - "$id": "7364", - "kind": "nullable", - "type": { - "$id": "7365", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "namespace": "" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_server_error_type", - "serializationOptions": {} - }, - { - "$id": "7366", - "kind": "property", - "name": "python_grader_runtime_error", - "serializedName": "python_grader_runtime_error", - "type": { - "$id": "7367", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_runtime_error", - "serializationOptions": {} - }, - { - "$id": "7368", - "kind": "property", - "name": "python_grader_runtime_error_details", - "serializedName": "python_grader_runtime_error_details", - "type": { - "$id": "7369", - "kind": "nullable", - "type": { - "$id": "7370", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "namespace": "" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.python_grader_runtime_error_details", - "serializationOptions": {} - }, - { - "$id": "7371", - "kind": "property", - "name": "model_grader_server_error", - "serializedName": "model_grader_server_error", - "type": { - "$id": "7372", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_server_error", - "serializationOptions": {} - }, - { - "$id": "7373", - "kind": "property", - "name": "model_grader_refusal_error", - "serializedName": "model_grader_refusal_error", - "type": { - "$id": "7374", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_refusal_error", - "serializationOptions": {} - }, - { - "$id": "7375", - "kind": "property", - "name": "model_grader_parse_error", - "serializedName": "model_grader_parse_error", - "type": { - "$id": "7376", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_parse_error", - "serializationOptions": {} - }, - { - "$id": "7377", - "kind": "property", - "name": "model_grader_server_error_details", - "serializedName": "model_grader_server_error_details", - "type": { - "$id": "7378", - "kind": "nullable", - "type": { - "$id": "7379", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "namespace": "" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.errors.anonymous.model_grader_server_error_details", - "serializationOptions": {} - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.errors", - "serializationOptions": {} - }, - { - "$id": "7380", - "kind": "property", - "name": "execution_time", - "serializedName": "execution_time", - "type": { - "$id": "7381", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.execution_time", - "serializationOptions": {} - }, - { - "$id": "7382", - "kind": "property", - "name": "scores", - "serializedName": "scores", - "type": { - "$id": "7383", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.scores", - "serializationOptions": {} - }, - { - "$id": "7384", - "kind": "property", - "name": "token_usage", - "serializedName": "token_usage", - "type": { - "$id": "7385", - "kind": "nullable", - "type": { - "$id": "7386", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - }, - "namespace": "" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.token_usage", - "serializationOptions": {} - }, - { - "$id": "7387", - "kind": "property", - "name": "sampled_model_name", - "serializedName": "sampled_model_name", - "type": { - "$id": "7388", - "kind": "nullable", - "type": { - "$id": "7389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "namespace": "" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata.anonymous.sampled_model_name", - "serializationOptions": {} - } - ] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.metadata", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties.token", + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7390", + "$id": "7372", "kind": "property", - "name": "sub_rewards", - "serializedName": "sub_rewards", + "name": "logprob", + "doc": "The log probability of the token.", "type": { - "$id": "7391", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", + "$id": "7373", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] }, "optional": false, @@ -94701,134 +96616,408 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.sub_rewards", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties.logprob", + "serializationOptions": {}, + "isHttpMetadata": false }, { - "$id": "7392", + "$id": "7374", "kind": "property", - "name": "model_grader_token_usage_per_model", - "serializedName": "model_grader_token_usage_per_model", + "name": "bytes", + "doc": "The bytes that were used to generate the log probability.", "type": { - "$id": "7393", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] + "$ref": "2529" }, "optional": false, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.RunGraderResponse.model_grader_token_usage_per_model", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.DotNetRealtimeLogProbsProperties.bytes", + "serializationOptions": {}, + "isHttpMetadata": false } ] }, { - "$ref": "7342" + "$id": "7375", + "kind": "model", + "name": "DotnetResponseWebSearchLocation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchLocation", + "access": "public", + "usage": "Input,Output", + "decorators": [], + "discriminatorProperty": { + "$id": "7376", + "kind": "property", + "name": "type", + "type": { + "$ref": "430" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchLocation.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + "properties": [ + { + "$ref": "7376" + } + ], + "discriminatedSubtypes": { + "approximate": { + "$id": "7377", + "kind": "model", + "name": "DotnetResponseWebSearchApproximateLocation", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation", + "access": "public", + "usage": "Input,Output", + "discriminatorValue": "approximate", + "decorators": [], + "baseModel": { + "$ref": "7375" + }, + "properties": [ + { + "$id": "7378", + "kind": "property", + "name": "type", + "type": { + "$ref": "432" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7379", + "kind": "property", + "name": "country", + "type": { + "$ref": "4181" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.country", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7380", + "kind": "property", + "name": "region", + "type": { + "$ref": "4184" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.region", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7381", + "kind": "property", + "name": "city", + "type": { + "$ref": "4187" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.city", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7382", + "kind": "property", + "name": "timezone", + "type": { + "$ref": "4190" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotnetResponseWebSearchApproximateLocation.timezone", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + } + } }, { - "$ref": "7348" + "$ref": "7377" }, { - "$id": "7394", + "$id": "7383", "kind": "model", - "name": "ValidateGraderRequest", + "name": "ResponseItemCollectionOptions", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ValidateGraderRequest", - "usage": "None", + "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions", + "access": "public", + "usage": "Input", "decorators": [], "properties": [ { - "$id": "7395", + "$id": "7384", "kind": "property", - "name": "grader", - "serializedName": "grader", - "doc": "The grader used for the fine-tuning job.", + "name": "afterId", + "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { - "$id": "7396", - "kind": "union", - "name": "ValidateGraderRequestGrader", - "variantTypes": [ - { - "$ref": "3408" - }, - { - "$ref": "3411" - }, - { - "$ref": "3420" - }, - { - "$ref": "3428" - }, - { - "$ref": "3455" - } - ], - "namespace": "", + "$id": "7385", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "optional": false, + "optional": true, "readOnly": false, "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ValidateGraderRequest.grader", - "serializationOptions": {} + "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.afterId", + "serializationOptions": {}, + "isHttpMetadata": true + }, + { + "$id": "7386", + "kind": "property", + "name": "beforeId", + "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, starting with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", + "type": { + "$id": "7387", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.beforeId", + "serializationOptions": {}, + "isHttpMetadata": true + }, + { + "$id": "7388", + "kind": "property", + "name": "pageSizeLimit", + "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", + "type": { + "$id": "7389", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.pageSizeLimit", + "serializationOptions": {}, + "isHttpMetadata": true + }, + { + "$id": "7390", + "kind": "property", + "name": "order", + "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", + "type": { + "$ref": "1313" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.ResponseItemCollectionOptions.order", + "serializationOptions": {}, + "isHttpMetadata": true } ] }, { - "$id": "7397", + "$id": "7391", "kind": "model", - "name": "ValidateGraderResponse", + "name": "DotNetCombinedChunkingStrategyParam", "namespace": "OpenAI", - "crossLanguageDefinitionId": "OpenAI.ValidateGraderResponse", - "usage": "None", + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam", + "usage": "Input,Output", "decorators": [], + "discriminatorProperty": { + "$id": "7392", + "kind": "property", + "name": "type", + "type": { + "$ref": "1317" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedChunkingStrategyParam.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, "properties": [ { - "$id": "7398", - "kind": "property", - "name": "grader", - "serializedName": "grader", - "doc": "The grader used for the fine-tuning job.", - "type": { - "$id": "7399", - "kind": "union", - "name": "ValidateGraderResponseGrader", - "variantTypes": [ - { - "$ref": "3408" - }, - { - "$ref": "3411" + "$ref": "7392" + } + ], + "discriminatedSubtypes": { + "auto": { + "$id": "7393", + "kind": "model", + "name": "DotNetCombinedAutoChunkingStrategyParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedAutoChunkingStrategyParam", + "access": "public", + "usage": "Input,Output", + "discriminatorValue": "auto", + "decorators": [], + "baseModel": { + "$ref": "7391" + }, + "properties": [ + { + "$id": "7394", + "kind": "property", + "name": "type", + "doc": "Always `auto`.", + "type": { + "$ref": "1319" }, - { - "$ref": "3420" + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedAutoChunkingStrategyParam.type", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "static": { + "$id": "7395", + "kind": "model", + "name": "DotNetCombinedStaticChunkingStrategyParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedStaticChunkingStrategyParam", + "access": "public", + "usage": "Input,Output", + "discriminatorValue": "static", + "decorators": [], + "baseModel": { + "$ref": "7391" + }, + "properties": [ + { + "$id": "7396", + "kind": "property", + "name": "type", + "doc": "Always `static`.", + "type": { + "$ref": "1320" }, - { - "$ref": "3428" + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedStaticChunkingStrategyParam.type", + "serializationOptions": {}, + "isHttpMetadata": false + }, + { + "$id": "7397", + "kind": "property", + "name": "static", + "type": { + "$ref": "2403" }, - { - "$ref": "3455" - } - ], - "namespace": "", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedStaticChunkingStrategyParam.static", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + "other": { + "$id": "7398", + "kind": "model", + "name": "DotNetCombinedOtherChunkingStrategyParam", + "namespace": "OpenAI", + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedOtherChunkingStrategyParam", + "access": "public", + "usage": "Input,Output", + "discriminatorValue": "other", "decorators": [], - "crossLanguageDefinitionId": "OpenAI.ValidateGraderResponse.grader", - "serializationOptions": {} + "baseModel": { + "$ref": "7391" + }, + "properties": [ + { + "$id": "7399", + "kind": "property", + "name": "type", + "doc": "Always `other`.", + "type": { + "$ref": "1321" + }, + "optional": false, + "readOnly": false, + "discriminator": true, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "OpenAI.DotNetCombinedOtherChunkingStrategyParam.type", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] } - ] + } + }, + { + "$ref": "7393" + }, + { + "$ref": "7395" + }, + { + "$ref": "7398" } ], "clients": [ @@ -94841,8 +97030,9 @@ "parameters": [ { "$id": "7401", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7402", @@ -94850,14 +97040,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7403", @@ -94867,7 +97053,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -94896,42 +97085,41 @@ "parameters": [ { "$id": "7407", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1695" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.accept" }, { "$id": "7408", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1697" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.openAIBeta" }, { "$id": "7409", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7410", @@ -94940,38 +97128,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.limit", + "readOnly": false }, { "$id": "7411", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.order", + "readOnly": false }, { "$id": "7412", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7413", @@ -94980,20 +97166,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.after", + "readOnly": false }, { "$id": "7414", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "7415", @@ -95002,15 +97187,13 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.before", + "readOnly": false } ], "responses": [ @@ -95040,42 +97223,43 @@ "parameters": [ { "$id": "7416", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1699" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7417", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1701" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7418", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7419", @@ -95086,36 +97270,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7420", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7421", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7422", @@ -95126,18 +97310,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7423", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "7424", @@ -95148,13 +97332,12 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.listAssistants.before", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -95183,72 +97366,71 @@ "parameters": [ { "$id": "7427", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1703" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.accept" }, { "$id": "7428", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1705" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.openAIBeta" }, { "$id": "7429", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1707" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.contentType" }, { "$id": "7430", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2368" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.requestBody" } ], "responses": [ @@ -95281,72 +97463,72 @@ "parameters": [ { "$id": "7431", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1709" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7432", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1711" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7433", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2368" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7434", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1707" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.createAssistant.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -95375,42 +97557,41 @@ "parameters": [ { "$id": "7437", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1713" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.accept" }, { "$id": "7438", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1715" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.openAIBeta" }, { "$id": "7439", + "kind": "path", "name": "assistant_id", - "nameInRequest": "assistant_id", + "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { "$id": "7440", @@ -95419,15 +97600,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.assistant_id" } ], "responses": [ @@ -95457,42 +97639,43 @@ "parameters": [ { "$id": "7441", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1717" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7442", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1719" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7443", + "kind": "method", "name": "assistant_id", - "nameInRequest": "assistant_id", + "serializedName": "assistant_id", "doc": "The ID of the assistant to retrieve.", "type": { "$id": "7444", @@ -95503,13 +97686,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.getAssistant.assistant_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -95538,42 +97720,41 @@ "parameters": [ { "$id": "7447", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1721" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.accept" }, { "$id": "7448", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1723" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.openAIBeta" }, { "$id": "7449", + "kind": "path", "name": "assistant_id", - "nameInRequest": "assistant_id", + "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { "$id": "7450", @@ -95582,50 +97763,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.assistant_id" }, { "$id": "7451", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1725" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.contentType" }, { "$id": "7452", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2418" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.requestBody" } ], "responses": [ @@ -95658,42 +97841,43 @@ "parameters": [ { "$id": "7453", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1727" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7454", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1729" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7455", + "kind": "method", "name": "assistant_id", - "nameInRequest": "assistant_id", + "serializedName": "assistant_id", "doc": "The ID of the assistant to modify.", "type": { "$id": "7456", @@ -95704,48 +97888,47 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.assistant_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7457", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2418" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7458", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1725" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.modifyAssistant.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -95774,42 +97957,41 @@ "parameters": [ { "$id": "7461", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1731" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.accept" }, { "$id": "7462", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1733" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.openAIBeta" }, { "$id": "7463", + "kind": "path", "name": "assistant_id", - "nameInRequest": "assistant_id", + "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { "$id": "7464", @@ -95818,15 +98000,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.assistant_id" } ], "responses": [ @@ -95856,42 +98039,43 @@ "parameters": [ { "$id": "7465", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1735" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7466", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1737" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7467", + "kind": "method", "name": "assistant_id", - "nameInRequest": "assistant_id", + "serializedName": "assistant_id", "doc": "The ID of the assistant to delete.", "type": { "$id": "7468", @@ -95902,13 +98086,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Assistants.deleteAssistant.assistant_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -95925,8 +98108,9 @@ "parameters": [ { "$id": "7469", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7470", @@ -95934,14 +98118,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7471", @@ -95951,7 +98131,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -95983,55 +98166,55 @@ "parameters": [ { "$id": "7475", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1739" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.accept" }, { "$id": "7476", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1741" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.contentType" }, { "$id": "7477", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2454" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.requestBody" } ], "responses": [ @@ -96088,55 +98271,55 @@ "parameters": [ { "$id": "7480", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1745" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7481", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2454" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7482", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1741" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Audio.createSpeech.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -96165,54 +98348,54 @@ "parameters": [ { "$id": "7485", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "scope": "Method", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.accept" }, { "$id": "7486", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "1747" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.contentType" }, { "$id": "7487", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2464" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.requestBody" } ], "responses": [ @@ -96267,54 +98450,54 @@ "parameters": [ { "$id": "7489", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7490", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "1753" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7491", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2464" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Audio.createTranscription.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -96343,54 +98526,54 @@ "parameters": [ { "$id": "7494", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1755" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.accept" }, { "$id": "7495", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "1757" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.contentType" }, { "$id": "7496", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2578" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.requestBody" } ], "responses": [ @@ -96437,54 +98620,54 @@ "parameters": [ { "$id": "7498", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1761" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7499", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "1763" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7500", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2578" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Audio.createTranslation.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -96501,8 +98684,9 @@ "parameters": [ { "$id": "7501", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7502", @@ -96510,14 +98694,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7503", @@ -96527,7 +98707,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -96559,55 +98742,55 @@ "parameters": [ { "$id": "7507", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1765" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.accept" }, { "$id": "7508", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1767" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.contentType" }, { "$id": "7509", + "kind": "body", "name": "createBatchRequest", - "nameInRequest": "createBatchRequest", + "serializedName": "createBatchRequest", "type": { "$ref": "2601" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Spread", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.body" } ], "responses": [ @@ -96640,25 +98823,26 @@ "parameters": [ { "$id": "7510", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1769" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7511", + "kind": "method", "name": "input_file_id", - "nameInRequest": "input_file_id", + "serializedName": "input_file_id", "doc": "The ID of an uploaded file that contains requests for the new batch.\n\nSee [upload file](/docs/api-reference/files/create) for how to upload a file.\n\nYour input file must be formatted as a [JSONL file](/docs/api-reference/batch/requestInput),\nand must be uploaded with the purpose `batch`.", "type": { "$id": "7512", @@ -96669,85 +98853,84 @@ }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.input_file_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7513", + "kind": "method", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "The endpoint to be used for all requests in the batch. Currently `/v1/chat/completions` and\n`/v1/embeddings` are supported.", "type": { "$ref": "121" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.endpoint", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7514", + "kind": "method", "name": "completion_window", - "nameInRequest": "completion_window", + "serializedName": "completion_window", "doc": "The time frame within which the batch should be processed. Currently only `24h` is supported.", "type": { "$ref": "1441" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.completion_window", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7515", + "kind": "method", "name": "metadata", - "nameInRequest": "metadata", + "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { "$ref": "2316" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.metadata", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7516", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1767" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Batches.createBatch.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -96776,25 +98959,25 @@ "parameters": [ { "$id": "7519", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1773" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.accept" }, { "$id": "7520", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7521", @@ -96803,20 +98986,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.after", + "readOnly": false }, { "$id": "7522", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7523", @@ -96825,15 +99007,13 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.limit", + "readOnly": false } ], "responses": [ @@ -96863,25 +99043,26 @@ "parameters": [ { "$id": "7524", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1775" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7525", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7526", @@ -96892,18 +99073,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7527", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7528", @@ -96914,13 +99095,12 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.listBatches.limit", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -96949,25 +99129,25 @@ "parameters": [ { "$id": "7531", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1777" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.accept" }, { "$id": "7532", + "kind": "path", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { "$id": "7533", @@ -96976,15 +99156,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.batch_id" } ], "responses": [ @@ -97014,25 +99195,26 @@ "parameters": [ { "$id": "7534", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1779" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7535", + "kind": "method", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the batch to retrieve.", "type": { "$id": "7536", @@ -97043,13 +99225,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.retrieveBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -97078,25 +99259,25 @@ "parameters": [ { "$id": "7539", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1781" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.accept" }, { "$id": "7540", + "kind": "path", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { "$id": "7541", @@ -97105,15 +99286,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.batch_id" } ], "responses": [ @@ -97143,25 +99325,26 @@ "parameters": [ { "$id": "7542", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1783" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7543", + "kind": "method", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the batch to cancel.", "type": { "$id": "7544", @@ -97172,13 +99355,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Batches.cancelBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -97195,8 +99377,9 @@ "parameters": [ { "$id": "7545", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7546", @@ -97204,14 +99387,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7547", @@ -97221,7 +99400,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -97253,8 +99435,9 @@ "parameters": [ { "$id": "7551", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7552", @@ -97263,20 +99446,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.after", + "readOnly": false }, { "$id": "7553", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7554", @@ -97285,55 +99467,52 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.limit", + "readOnly": false }, { "$id": "7555", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.order", + "readOnly": false }, { "$id": "7556", + "kind": "query", "name": "metadata", - "nameInRequest": "metadata", + "serializedName": "metadata", "type": { "$ref": "2316" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.metadata", + "readOnly": false }, { "$id": "7557", + "kind": "query", "name": "model", - "nameInRequest": "model", + "serializedName": "model", "type": { "$id": "7558", "kind": "string", @@ -97341,32 +99520,29 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.model", + "readOnly": false }, { "$id": "7559", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1785" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.accept" } ], "responses": [ @@ -97396,8 +99572,9 @@ "parameters": [ { "$id": "7560", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7561", @@ -97408,18 +99585,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7562", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7563", @@ -97430,53 +99607,53 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7564", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7565", + "kind": "method", "name": "metadata", - "nameInRequest": "metadata", + "serializedName": "metadata", "type": { "$ref": "2316" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.metadata", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7566", + "kind": "method", "name": "model", - "nameInRequest": "model", + "serializedName": "model", "type": { "$id": "7567", "kind": "string", @@ -97486,30 +99663,29 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.model", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7568", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1785" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.listChatCompletions.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -97555,55 +99731,55 @@ "parameters": [ { "$id": "7571", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1787" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.accept" }, { "$id": "7572", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1789" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.contentType" }, { "$id": "7573", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2815" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.requestBody" } ], "responses": [ @@ -97645,55 +99821,55 @@ "parameters": [ { "$id": "7574", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1793" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7575", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "2815" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7576", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1789" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.createChatCompletion.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -97722,8 +99898,9 @@ "parameters": [ { "$id": "7579", + "kind": "path", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { "$id": "7580", @@ -97732,32 +99909,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.completion_id" }, { "$id": "7581", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1795" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.accept" } ], "responses": [ @@ -97787,8 +99964,9 @@ "parameters": [ { "$id": "7582", + "kind": "method", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve.", "type": { "$id": "7583", @@ -97799,30 +99977,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.completion_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7584", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1795" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletion.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -97851,8 +100028,9 @@ "parameters": [ { "$id": "7587", + "kind": "path", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { "$id": "7588", @@ -97861,67 +100039,68 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.completion_id" }, { "$id": "7589", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1797" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.contentType" }, { "$id": "7590", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1799" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.accept" }, { "$id": "7591", + "kind": "body", "name": "updateChatCompletionRequest", - "nameInRequest": "updateChatCompletionRequest", + "serializedName": "updateChatCompletionRequest", "type": { "$ref": "3124" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Spread", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.body" } ], "responses": [ @@ -97954,8 +100133,9 @@ "parameters": [ { "$id": "7592", + "kind": "method", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to update.", "type": { "$id": "7593", @@ -97966,66 +100146,65 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.completion_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7594", + "kind": "method", "name": "metadata", - "nameInRequest": "metadata", + "serializedName": "metadata", "doc": "Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.", "type": { "$ref": "2316" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.metadata", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7595", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1797" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7596", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1799" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.updateChatCompletion.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -98054,8 +100233,9 @@ "parameters": [ { "$id": "7599", + "kind": "path", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { "$id": "7600", @@ -98064,32 +100244,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.completion_id" }, { "$id": "7601", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1801" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.accept" } ], "responses": [ @@ -98119,8 +100299,9 @@ "parameters": [ { "$id": "7602", + "kind": "method", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to delete.", "type": { "$id": "7603", @@ -98131,30 +100312,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.completion_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7604", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1801" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.deleteChatCompletion.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -98183,8 +100363,9 @@ "parameters": [ { "$id": "7607", + "kind": "path", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { "$id": "7608", @@ -98193,20 +100374,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.completion_id" }, { "$id": "7609", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7610", @@ -98215,20 +100398,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.after", + "readOnly": false }, { "$id": "7611", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7612", @@ -98237,50 +100419,46 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.limit", + "readOnly": false }, { "$id": "7613", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.order", + "readOnly": false }, { "$id": "7614", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1803" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.accept" } ], "responses": [ @@ -98310,8 +100488,9 @@ "parameters": [ { "$id": "7615", + "kind": "method", "name": "completion_id", - "nameInRequest": "completion_id", + "serializedName": "completion_id", "doc": "The ID of the stored chat completion to retrieve messages for.", "type": { "$id": "7616", @@ -98322,18 +100501,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.completion_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7617", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7618", @@ -98344,18 +100523,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7619", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7620", @@ -98366,48 +100545,47 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7621", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7622", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1803" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Chat.getChatCompletionMessages.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -98441,8 +100619,9 @@ "parameters": [ { "$id": "7623", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7624", @@ -98450,14 +100629,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7625", @@ -98467,7 +100642,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -98497,8 +100675,9 @@ "parameters": [ { "$id": "7629", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7630", @@ -98507,38 +100686,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.limit", + "readOnly": false }, { "$id": "7631", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.order", + "readOnly": false }, { "$id": "7632", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7633", @@ -98547,32 +100724,29 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.after", + "readOnly": false }, { "$id": "7634", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1805" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.accept" } ], "responses": [ @@ -98602,8 +100776,9 @@ "parameters": [ { "$id": "7635", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7636", @@ -98614,36 +100789,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7637", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7638", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7639", @@ -98654,30 +100829,29 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7640", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1805" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainers.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -98721,55 +100895,55 @@ "parameters": [ { "$id": "7643", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1807" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.contentType" }, { "$id": "7644", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1809" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.accept" }, { "$id": "7645", + "kind": "body", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { "$ref": "3180" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.body" } ], "responses": [ @@ -98802,55 +100976,55 @@ "parameters": [ { "$id": "7646", + "kind": "method", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { "$ref": "3180" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.body", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7647", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1807" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7648", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1809" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainer.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -98877,8 +101051,9 @@ "parameters": [ { "$id": "7651", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7652", "kind": "string", @@ -98886,32 +101061,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.container_id" }, { "$id": "7653", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1811" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.accept" } ], "responses": [ @@ -98941,8 +101116,9 @@ "parameters": [ { "$id": "7654", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7655", "kind": "string", @@ -98952,30 +101128,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7656", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1811" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainer.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -99002,8 +101177,9 @@ "parameters": [ { "$id": "7659", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7660", "kind": "string", @@ -99011,32 +101187,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.container_id" }, { "$id": "7661", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1813" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.accept" } ], "responses": [ @@ -99066,8 +101242,9 @@ "parameters": [ { "$id": "7662", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7663", "kind": "string", @@ -99077,30 +101254,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7664", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1813" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainer.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -99127,8 +101303,9 @@ "parameters": [ { "$id": "7667", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7668", "kind": "string", @@ -99136,66 +101313,67 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.container_id" }, { "$id": "7669", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "1815" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.contentType" }, { "$id": "7670", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1817" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.accept" }, { "$id": "7671", + "kind": "body", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { "$ref": "3194" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.body" } ], "responses": [ @@ -99228,8 +101406,9 @@ "parameters": [ { "$id": "7672", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7673", "kind": "string", @@ -99239,64 +101418,63 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7674", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "1819" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7675", + "kind": "method", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { "$ref": "3194" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.body", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7676", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1817" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.createContainerFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -99323,8 +101501,9 @@ "parameters": [ { "$id": "7679", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7680", "kind": "string", @@ -99332,20 +101511,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.container_id" }, { "$id": "7681", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7682", @@ -99354,38 +101535,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.limit", + "readOnly": false }, { "$id": "7683", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.order", + "readOnly": false }, { "$id": "7684", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7685", @@ -99394,32 +101573,29 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.after", + "readOnly": false }, { "$id": "7686", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1821" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.accept" } ], "responses": [ @@ -99449,8 +101625,9 @@ "parameters": [ { "$id": "7687", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7688", "kind": "string", @@ -99460,18 +101637,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7689", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7690", @@ -99482,36 +101659,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7691", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7692", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7693", @@ -99522,30 +101699,29 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7694", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1821" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.listContainerFiles.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -99589,8 +101765,9 @@ "parameters": [ { "$id": "7697", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7698", "kind": "string", @@ -99598,20 +101775,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.container_id" }, { "$id": "7699", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "type": { "$id": "7700", "kind": "string", @@ -99619,32 +101798,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.file_id" }, { "$id": "7701", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1823" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.accept" } ], "responses": [ @@ -99674,8 +101853,9 @@ "parameters": [ { "$id": "7702", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7703", "kind": "string", @@ -99685,18 +101865,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7704", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "type": { "$id": "7705", "kind": "string", @@ -99706,30 +101886,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7706", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1823" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -99756,8 +101935,9 @@ "parameters": [ { "$id": "7709", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7710", "kind": "string", @@ -99765,20 +101945,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.container_id" }, { "$id": "7711", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "type": { "$id": "7712", "kind": "string", @@ -99786,32 +101968,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.file_id" }, { "$id": "7713", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1825" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.accept" } ], "responses": [ @@ -99841,8 +102023,9 @@ "parameters": [ { "$id": "7714", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7715", "kind": "string", @@ -99852,18 +102035,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7716", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "type": { "$id": "7717", "kind": "string", @@ -99873,30 +102056,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7718", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1825" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.deleteContainerFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -99923,8 +102105,9 @@ "parameters": [ { "$id": "7721", + "kind": "path", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7722", "kind": "string", @@ -99932,20 +102115,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.container_id" }, { "$id": "7723", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "type": { "$id": "7724", "kind": "string", @@ -99953,32 +102138,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.file_id" }, { "$id": "7725", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1827" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.accept" } ], "responses": [ @@ -100013,8 +102198,9 @@ "parameters": [ { "$id": "7727", + "kind": "method", "name": "container_id", - "nameInRequest": "container_id", + "serializedName": "container_id", "type": { "$id": "7728", "kind": "string", @@ -100024,18 +102210,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.container_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7729", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "type": { "$id": "7730", "kind": "string", @@ -100045,30 +102231,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.file_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7731", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1827" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Containers.retrieveContainerFileContent.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -100085,8 +102270,9 @@ "parameters": [ { "$id": "7732", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7733", @@ -100094,14 +102280,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7734", @@ -100111,7 +102293,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -100143,55 +102328,55 @@ "parameters": [ { "$id": "7738", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1829" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.accept" }, { "$id": "7739", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1831" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.contentType" }, { "$id": "7740", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "3230" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.requestBody" } ], "responses": [ @@ -100224,55 +102409,55 @@ "parameters": [ { "$id": "7741", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1833" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7742", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "3230" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7743", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1831" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Embeddings.createEmbedding.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -100289,8 +102474,9 @@ "parameters": [ { "$id": "7744", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7745", @@ -100298,14 +102484,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7746", @@ -100315,7 +102497,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -100347,25 +102532,25 @@ "parameters": [ { "$id": "7750", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1835" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.listFiles.accept" }, { "$id": "7751", + "kind": "query", "name": "purpose", - "nameInRequest": "purpose", + "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { "$id": "7752", @@ -100374,15 +102559,13 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.listFiles.purpose", + "readOnly": false } ], "responses": [ @@ -100412,25 +102595,26 @@ "parameters": [ { "$id": "7753", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1837" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Files.listFiles.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7754", + "kind": "method", "name": "purpose", - "nameInRequest": "purpose", + "serializedName": "purpose", "doc": "Only return files with the given purpose.", "type": { "$id": "7755", @@ -100441,13 +102625,12 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Files.listFiles.purpose", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -100476,54 +102659,54 @@ "parameters": [ { "$id": "7758", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1839" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.createFile.accept" }, { "$id": "7759", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "1841" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.createFile.contentType" }, { "$id": "7760", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "3291" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Files.createFile.requestBody" } ], "responses": [ @@ -100556,54 +102739,54 @@ "parameters": [ { "$id": "7761", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1843" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Files.createFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7762", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "1845" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Files.createFile.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7763", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "3291" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Files.createFile.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -100632,25 +102815,25 @@ "parameters": [ { "$id": "7766", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1847" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.deleteFile.accept" }, { "$id": "7767", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { "$id": "7768", @@ -100659,15 +102842,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Files.deleteFile.file_id" } ], "responses": [ @@ -100697,25 +102881,26 @@ "parameters": [ { "$id": "7769", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1849" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Files.deleteFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7770", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { "$id": "7771", @@ -100726,13 +102911,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Files.deleteFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -100761,25 +102945,25 @@ "parameters": [ { "$id": "7774", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1851" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.accept" }, { "$id": "7775", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { "$id": "7776", @@ -100788,15 +102972,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.file_id" } ], "responses": [ @@ -100826,25 +103011,26 @@ "parameters": [ { "$id": "7777", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1853" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7778", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { "$id": "7779", @@ -100855,13 +103041,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Files.retrieveFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -100890,25 +103075,25 @@ "parameters": [ { "$id": "7782", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1855" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Files.downloadFile.accept" }, { "$id": "7783", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { "$id": "7784", @@ -100917,15 +103102,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Files.downloadFile.file_id" } ], "responses": [ @@ -100960,25 +103146,26 @@ "parameters": [ { "$id": "7786", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1857" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Files.downloadFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7787", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to use for this request.", "type": { "$id": "7788", @@ -100989,13 +103176,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Files.downloadFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -101012,8 +103198,9 @@ "parameters": [ { "$id": "7789", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7790", @@ -101021,14 +103208,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7791", @@ -101038,7 +103221,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -101070,8 +103256,9 @@ "parameters": [ { "$id": "7795", + "kind": "path", "name": "fine_tuned_model_checkpoint", - "nameInRequest": "fine_tuned_model_checkpoint", + "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { "$id": "7796", @@ -101080,20 +103267,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.fine_tuned_model_checkpoint" }, { "$id": "7797", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7798", @@ -101102,20 +103291,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.after", + "readOnly": false }, { "$id": "7799", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7800", @@ -101124,38 +103312,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.limit", + "readOnly": false }, { "$id": "7801", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.order", + "readOnly": false }, { "$id": "7802", + "kind": "query", "name": "project_id", - "nameInRequest": "project_id", + "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { "$id": "7803", @@ -101164,32 +103350,29 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.project_id", + "readOnly": false }, { "$id": "7804", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1859" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.accept" } ], "responses": [ @@ -101219,8 +103402,9 @@ "parameters": [ { "$id": "7805", + "kind": "method", "name": "fine_tuned_model_checkpoint", - "nameInRequest": "fine_tuned_model_checkpoint", + "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to get permissions for.", "type": { "$id": "7806", @@ -101231,18 +103415,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.fine_tuned_model_checkpoint", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7807", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "7808", @@ -101253,18 +103437,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7809", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "7810", @@ -101275,36 +103459,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7811", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7812", + "kind": "method", "name": "project_id", - "nameInRequest": "project_id", + "serializedName": "project_id", "doc": "The ID of the project to get permissions for.", "type": { "$id": "7813", @@ -101315,30 +103499,29 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.project_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7814", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1859" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningCheckpointPermissions.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -101367,8 +103550,9 @@ "parameters": [ { "$id": "7817", + "kind": "path", "name": "fine_tuned_model_checkpoint", - "nameInRequest": "fine_tuned_model_checkpoint", + "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { "$id": "7818", @@ -101377,67 +103561,68 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { "$id": "7819", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1861" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.contentType" }, { "$id": "7820", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1863" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.accept" }, { "$id": "7821", + "kind": "body", "name": "createFineTuningCheckpointPermissionRequest", - "nameInRequest": "createFineTuningCheckpointPermissionRequest", + "serializedName": "createFineTuningCheckpointPermissionRequest", "type": { "$ref": "3322" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Spread", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.body" } ], "responses": [ @@ -101470,8 +103655,9 @@ "parameters": [ { "$id": "7822", + "kind": "method", "name": "fine_tuned_model_checkpoint", - "nameInRequest": "fine_tuned_model_checkpoint", + "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to create a permission for.", "type": { "$id": "7823", @@ -101482,66 +103668,65 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.fine_tuned_model_checkpoint", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7824", + "kind": "method", "name": "project_ids", - "nameInRequest": "project_ids", + "serializedName": "project_ids", "doc": "The project identifiers to grant access to.", "type": { "$ref": "2309" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.project_ids", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7825", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1861" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7826", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1863" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningCheckpointPermission.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -101570,8 +103755,9 @@ "parameters": [ { "$id": "7829", + "kind": "path", "name": "fine_tuned_model_checkpoint", - "nameInRequest": "fine_tuned_model_checkpoint", + "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { "$id": "7830", @@ -101580,20 +103766,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.fine_tuned_model_checkpoint" }, { "$id": "7831", + "kind": "path", "name": "permission_id", - "nameInRequest": "permission_id", + "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { "$id": "7832", @@ -101602,32 +103790,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.permission_id" }, { "$id": "7833", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1865" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.accept" } ], "responses": [ @@ -101657,8 +103845,9 @@ "parameters": [ { "$id": "7834", + "kind": "method", "name": "fine_tuned_model_checkpoint", - "nameInRequest": "fine_tuned_model_checkpoint", + "serializedName": "fine_tuned_model_checkpoint", "doc": "The ID of the fine-tuned model checkpoint to delete a permission for.", "type": { "$id": "7835", @@ -101669,18 +103858,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.fine_tuned_model_checkpoint", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7836", + "kind": "method", "name": "permission_id", - "nameInRequest": "permission_id", + "serializedName": "permission_id", "doc": "The ID of the permission to delete.", "type": { "$id": "7837", @@ -101691,30 +103880,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.permission_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7838", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1865" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.deleteFineTuningCheckpointPermission.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -101743,55 +103931,55 @@ "parameters": [ { "$id": "7841", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1867" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.accept" }, { "$id": "7842", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1869" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.contentType" }, { "$id": "7843", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "3330" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.requestBody" } ], "responses": [ @@ -101824,55 +104012,55 @@ "parameters": [ { "$id": "7844", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1871" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7845", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { "$ref": "3330" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7846", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1869" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.createFineTuningJob.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -101901,25 +104089,25 @@ "parameters": [ { "$id": "7849", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1873" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.accept" }, { "$id": "7850", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { "$id": "7851", @@ -101928,20 +104116,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.after", + "readOnly": false }, { "$id": "7852", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { "$id": "7853", @@ -101950,15 +104137,13 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.limit", + "readOnly": false } ], "responses": [ @@ -101988,25 +104173,26 @@ "parameters": [ { "$id": "7854", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1875" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7855", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last job from the previous pagination request.", "type": { "$id": "7856", @@ -102017,18 +104203,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7857", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "Number of fine-tuning jobs to retrieve.", "type": { "$id": "7858", @@ -102039,13 +104225,12 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listPaginatedFineTuningJobs.limit", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -102074,25 +104259,25 @@ "parameters": [ { "$id": "7861", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1877" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.accept" }, { "$id": "7862", + "kind": "path", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { "$id": "7863", @@ -102101,15 +104286,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.fine_tuning_job_id" } ], "responses": [ @@ -102139,25 +104325,26 @@ "parameters": [ { "$id": "7864", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1879" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7865", + "kind": "method", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job.", "type": { "$id": "7866", @@ -102168,13 +104355,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.retrieveFineTuningJob.fine_tuning_job_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -102203,25 +104389,25 @@ "parameters": [ { "$id": "7869", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1881" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.accept" }, { "$id": "7870", + "kind": "path", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { "$id": "7871", @@ -102230,15 +104416,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.fine_tuning_job_id" } ], "responses": [ @@ -102268,25 +104455,26 @@ "parameters": [ { "$id": "7872", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1883" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7873", + "kind": "method", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to cancel.", "type": { "$id": "7874", @@ -102297,13 +104485,12 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.cancelFineTuningJob.fine_tuning_job_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -102332,25 +104519,25 @@ "parameters": [ { "$id": "7877", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1885" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.accept" }, { "$id": "7878", + "kind": "path", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { "$id": "7879", @@ -102359,20 +104546,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.fine_tuning_job_id" }, { "$id": "7880", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { "$id": "7881", @@ -102381,20 +104570,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.after", + "readOnly": false }, { "$id": "7882", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { "$id": "7883", @@ -102403,15 +104591,13 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.limit", + "readOnly": false } ], "responses": [ @@ -102441,25 +104627,26 @@ "parameters": [ { "$id": "7884", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1887" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7885", + "kind": "method", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get checkpoints for.", "type": { "$id": "7886", @@ -102470,18 +104657,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.fine_tuning_job_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7887", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last checkpoint ID from the previous pagination request.", "type": { "$id": "7888", @@ -102492,18 +104679,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7889", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "Number of checkpoints to retrieve.", "type": { "$id": "7890", @@ -102514,13 +104701,12 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningJobCheckpoints.limit", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -102549,25 +104735,25 @@ "parameters": [ { "$id": "7893", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1889" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.accept" }, { "$id": "7894", + "kind": "path", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { "$id": "7895", @@ -102576,20 +104762,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.fine_tuning_job_id" }, { "$id": "7896", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { "$id": "7897", @@ -102598,20 +104786,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.after", + "readOnly": false }, { "$id": "7898", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { "$id": "7899", @@ -102620,15 +104807,13 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.limit", + "readOnly": false } ], "responses": [ @@ -102658,25 +104843,26 @@ "parameters": [ { "$id": "7900", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1891" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7901", + "kind": "method", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to get events for.", "type": { "$id": "7902", @@ -102687,18 +104873,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.fine_tuning_job_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7903", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last event from the previous pagination request.", "type": { "$id": "7904", @@ -102709,18 +104895,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7905", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "Number of events to retrieve.", "type": { "$id": "7906", @@ -102731,13 +104917,12 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.listFineTuningEvents.limit", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -102766,8 +104951,9 @@ "parameters": [ { "$id": "7909", + "kind": "path", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { "$id": "7910", @@ -102776,32 +104962,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.fine_tuning_job_id" }, { "$id": "7911", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1893" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.accept" } ], "responses": [ @@ -102831,8 +105017,9 @@ "parameters": [ { "$id": "7912", + "kind": "method", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to pause.", "type": { "$id": "7913", @@ -102843,30 +105030,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.fine_tuning_job_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7914", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1893" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.pauseFineTuningJob.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -102895,8 +105081,9 @@ "parameters": [ { "$id": "7917", + "kind": "path", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { "$id": "7918", @@ -102905,32 +105092,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.fine_tuning_job_id" }, { "$id": "7919", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1895" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.accept" } ], "responses": [ @@ -102960,8 +105147,9 @@ "parameters": [ { "$id": "7920", + "kind": "method", "name": "fine_tuning_job_id", - "nameInRequest": "fine_tuning_job_id", + "serializedName": "fine_tuning_job_id", "doc": "The ID of the fine-tuning job to resume.", "type": { "$id": "7921", @@ -102972,30 +105160,29 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.fine_tuning_job_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7922", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1895" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.FineTuning.resumeFineTuningJob.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -103012,8 +105199,9 @@ "parameters": [ { "$id": "7923", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7924", @@ -103021,14 +105209,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7925", @@ -103038,7 +105222,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -103070,55 +105257,55 @@ "parameters": [ { "$id": "7929", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1897" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.contentType" }, { "$id": "7930", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1899" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.accept" }, { "$id": "7931", + "kind": "body", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "7331" + "$ref": "3648" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.request" } ], "responses": [ @@ -103127,7 +105314,7 @@ 200 ], "bodyType": { - "$ref": "7338" + "$ref": "3655" }, "headers": [], "isErrorResponse": false, @@ -103151,60 +105338,60 @@ "parameters": [ { "$id": "7932", + "kind": "method", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "7331" + "$ref": "3648" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.request", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7933", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1897" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7934", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1899" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Graders.runGrader.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "7338" + "$ref": "3655" } }, "isOverride": false, @@ -103228,55 +105415,55 @@ "parameters": [ { "$id": "7937", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1901" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.contentType" }, { "$id": "7938", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1903" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.accept" }, { "$id": "7939", + "kind": "body", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "7394" + "$ref": "3711" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.request" } ], "responses": [ @@ -103285,7 +105472,7 @@ 200 ], "bodyType": { - "$ref": "7397" + "$ref": "3714" }, "headers": [], "isErrorResponse": false, @@ -103309,60 +105496,60 @@ "parameters": [ { "$id": "7940", + "kind": "method", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "7394" + "$ref": "3711" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.request", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7941", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1901" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7942", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1903" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Graders.validateGrader.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "7397" + "$ref": "3714" } }, "isOverride": false, @@ -103374,8 +105561,9 @@ "parameters": [ { "$id": "7943", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "7944", @@ -103383,14 +105571,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "7945", @@ -103400,7 +105584,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -103432,8 +105619,9 @@ "parameters": [ { "$id": "7949", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { "$id": "7950", @@ -103442,20 +105630,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.after", + "readOnly": false }, { "$id": "7951", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { "$id": "7952", @@ -103464,68 +105651,63 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.limit", + "readOnly": false }, { "$id": "7953", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.", "type": { "$ref": "1330" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.order", + "readOnly": false }, { "$id": "7954", + "kind": "query", "name": "order_by", - "nameInRequest": "order_by", + "serializedName": "order_by", "doc": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated\ntime.", "type": { "$ref": "1334" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.order_by", + "readOnly": false }, { "$id": "7955", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1905" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.accept" } ], "responses": [ @@ -103534,7 +105716,7 @@ 200 ], "bodyType": { - "$ref": "3648" + "$ref": "3717" }, "headers": [], "isErrorResponse": false, @@ -103555,8 +105737,9 @@ "parameters": [ { "$id": "7956", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last eval from the previous pagination request.", "type": { "$id": "7957", @@ -103567,18 +105750,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7958", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of evals to be returned in a single pagination response.", "type": { "$id": "7959", @@ -103589,71 +105772,70 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7960", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order for evals by timestamp. Use `asc` for ascending order or\n`desc` for descending order.", "type": { "$ref": "1330" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7961", + "kind": "method", "name": "order_by", - "nameInRequest": "order_by", + "serializedName": "order_by", "doc": "Evals can be ordered by creation time or last updated time. Use\n`created_at` for creation time or `updated_at` for last updated\ntime.", "type": { "$ref": "1334" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.order_by", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7962", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1905" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.listEvals.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3648" + "$ref": "3717" } }, "isOverride": false, @@ -103677,55 +105859,55 @@ "parameters": [ { "$id": "7965", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1907" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.createEval.contentType" }, { "$id": "7966", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1909" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.createEval.accept" }, { "$id": "7967", + "kind": "body", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { - "$ref": "3732" + "$ref": "3801" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.createEval.body" } ], "responses": [ @@ -103734,7 +105916,7 @@ 201 ], "bodyType": { - "$ref": "3652" + "$ref": "3721" }, "headers": [], "isErrorResponse": false, @@ -103758,60 +105940,60 @@ "parameters": [ { "$id": "7968", + "kind": "method", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { - "$ref": "3732" + "$ref": "3801" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.createEval.body", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7969", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1907" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.createEval.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7970", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1909" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.createEval.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3652" + "$ref": "3721" } }, "isOverride": false, @@ -103835,8 +106017,9 @@ "parameters": [ { "$id": "7973", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "type": { "$id": "7974", "kind": "string", @@ -103844,32 +106027,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEval.eval_id" }, { "$id": "7975", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1911" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEval.accept" } ], "responses": [ @@ -103878,7 +106061,7 @@ 200 ], "bodyType": { - "$ref": "3652" + "$ref": "3721" }, "headers": [], "isErrorResponse": false, @@ -103899,8 +106082,9 @@ "parameters": [ { "$id": "7976", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "type": { "$id": "7977", "kind": "string", @@ -103910,35 +106094,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEval.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7978", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1911" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.getEval.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3652" + "$ref": "3721" } }, "isOverride": false, @@ -103962,8 +106145,9 @@ "parameters": [ { "$id": "7981", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { "$id": "7982", @@ -103972,67 +106156,68 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.eval_id" }, { "$id": "7983", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1913" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.contentType" }, { "$id": "7984", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1915" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.accept" }, { "$id": "7985", + "kind": "body", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { - "$ref": "3812" + "$ref": "3881" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.body" } ], "responses": [ @@ -104041,7 +106226,7 @@ 200 ], "bodyType": { - "$ref": "3652" + "$ref": "3721" }, "headers": [], "isErrorResponse": false, @@ -104065,8 +106250,9 @@ "parameters": [ { "$id": "7986", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to update.", "type": { "$id": "7987", @@ -104077,70 +106263,69 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7988", + "kind": "method", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { - "$ref": "3812" + "$ref": "3881" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.body", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7989", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1913" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7990", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1915" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.updateEval.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3652" + "$ref": "3721" } }, "isOverride": false, @@ -104164,8 +106349,9 @@ "parameters": [ { "$id": "7993", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { "$id": "7994", @@ -104174,32 +106360,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.eval_id" }, { "$id": "7995", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1917" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.accept" } ], "responses": [ @@ -104208,7 +106394,7 @@ 200 ], "bodyType": { - "$ref": "3818" + "$ref": "3887" }, "headers": [], "isErrorResponse": false, @@ -104229,8 +106415,9 @@ "parameters": [ { "$id": "7996", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to delete.", "type": { "$id": "7997", @@ -104241,35 +106428,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "7998", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1917" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEval.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3818" + "$ref": "3887" } }, "isOverride": false, @@ -104295,8 +106481,9 @@ "parameters": [ { "$id": "8001", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { "$id": "8002", @@ -104305,20 +106492,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.eval_id" }, { "$id": "8003", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { "$id": "8004", @@ -104327,20 +106516,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.after", + "readOnly": false }, { "$id": "8005", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { "$id": "8006", @@ -104349,68 +106537,63 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.limit", + "readOnly": false }, { "$id": "8007", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { "$ref": "1338" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.order", + "readOnly": false }, { "$id": "8008", + "kind": "query", "name": "status", - "nameInRequest": "status", + "serializedName": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", "type": { "$ref": "1342" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.status", + "readOnly": false }, { "$id": "8009", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1919" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.accept" } ], "responses": [ @@ -104419,7 +106602,7 @@ 200 ], "bodyType": { - "$ref": "3824" + "$ref": "3893" }, "headers": [], "isErrorResponse": false, @@ -104440,8 +106623,9 @@ "parameters": [ { "$id": "8010", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to retrieve runs for.", "type": { "$id": "8011", @@ -104452,18 +106636,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8012", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last run from the previous pagination request.", "type": { "$id": "8013", @@ -104474,18 +106658,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8014", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of runs to be returned in a single pagination response.", "type": { "$id": "8015", @@ -104496,71 +106680,70 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8016", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order for runs by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { "$ref": "1338" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8017", + "kind": "method", "name": "status", - "nameInRequest": "status", + "serializedName": "status", "doc": "Filter runs by their status. Possible values are `queued`, `in_progress`, `completed`, `canceled`, and `failed`.", "type": { "$ref": "1342" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.status", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8018", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1919" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRuns.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3824" + "$ref": "3893" } }, "isOverride": false, @@ -104584,8 +106767,9 @@ "parameters": [ { "$id": "8021", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { "$id": "8022", @@ -104594,67 +106778,68 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.eval_id" }, { "$id": "8023", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1921" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.contentType" }, { "$id": "8024", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1923" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.accept" }, { "$id": "8025", + "kind": "body", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { - "$ref": "3895" + "$ref": "3964" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.body" } ], "responses": [ @@ -104663,7 +106848,7 @@ 201 ], "bodyType": { - "$ref": "3828" + "$ref": "3897" }, "headers": [], "isErrorResponse": false, @@ -104687,8 +106872,9 @@ "parameters": [ { "$id": "8026", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation to run.", "type": { "$id": "8027", @@ -104699,70 +106885,69 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8028", + "kind": "method", "name": "body", - "nameInRequest": "body", + "serializedName": "body", "type": { - "$ref": "3895" + "$ref": "3964" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.body", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8029", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1921" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8030", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1923" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.createEvalRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3828" + "$ref": "3897" } }, "isOverride": false, @@ -104786,8 +106971,9 @@ "parameters": [ { "$id": "8033", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8034", @@ -104796,20 +106982,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.eval_id" }, { "$id": "8035", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { "$id": "8036", @@ -104818,32 +107006,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.run_id" }, { "$id": "8037", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1925" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.accept" } ], "responses": [ @@ -104852,7 +107040,7 @@ 200 ], "bodyType": { - "$ref": "3828" + "$ref": "3897" }, "headers": [], "isErrorResponse": false, @@ -104873,8 +107061,9 @@ "parameters": [ { "$id": "8038", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8039", @@ -104885,18 +107074,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8040", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve.", "type": { "$id": "8041", @@ -104907,35 +107096,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8042", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1925" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3828" + "$ref": "3897" } }, "isOverride": false, @@ -104959,8 +107147,9 @@ "parameters": [ { "$id": "8045", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8046", @@ -104969,20 +107158,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.eval_id" }, { "$id": "8047", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { "$id": "8048", @@ -104991,32 +107182,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.run_id" }, { "$id": "8049", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1927" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.accept" } ], "responses": [ @@ -105025,7 +107216,7 @@ 200 ], "bodyType": { - "$ref": "3828" + "$ref": "3897" }, "headers": [], "isErrorResponse": false, @@ -105046,8 +107237,9 @@ "parameters": [ { "$id": "8050", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8051", @@ -105058,18 +107250,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8052", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to cancel.", "type": { "$id": "8053", @@ -105080,35 +107272,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8054", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1927" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.cancelEvalRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "3828" + "$ref": "3897" } }, "isOverride": false, @@ -105132,8 +107323,9 @@ "parameters": [ { "$id": "8057", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8058", @@ -105142,20 +107334,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.eval_id" }, { "$id": "8059", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { "$id": "8060", @@ -105164,32 +107358,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.run_id" }, { "$id": "8061", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1929" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.accept" } ], "responses": [ @@ -105198,7 +107392,7 @@ 200 ], "bodyType": { - "$ref": "4182" + "$ref": "4251" }, "headers": [], "isErrorResponse": false, @@ -105219,8 +107413,9 @@ "parameters": [ { "$id": "8062", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8063", @@ -105231,18 +107426,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8064", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to delete.", "type": { "$id": "8065", @@ -105253,35 +107448,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8066", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1929" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.deleteEvalRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4182" + "$ref": "4251" } }, "isOverride": false, @@ -105305,8 +107499,9 @@ "parameters": [ { "$id": "8069", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8070", @@ -105315,20 +107510,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.eval_id" }, { "$id": "8071", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { "$id": "8072", @@ -105337,20 +107534,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.run_id" }, { "$id": "8073", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { "$id": "8074", @@ -105359,20 +107558,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.after", + "readOnly": false }, { "$id": "8075", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { "$id": "8076", @@ -105381,68 +107579,63 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.limit", + "readOnly": false }, { "$id": "8077", + "kind": "query", "name": "status", - "nameInRequest": "status", + "serializedName": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", "type": { "$ref": "1349" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.status", + "readOnly": false }, { "$id": "8078", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { "$ref": "1353" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.order", + "readOnly": false }, { "$id": "8079", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1931" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.accept" } ], "responses": [ @@ -105451,7 +107644,7 @@ 200 ], "bodyType": { - "$ref": "4188" + "$ref": "4257" }, "headers": [], "isErrorResponse": false, @@ -105472,8 +107665,9 @@ "parameters": [ { "$id": "8080", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8081", @@ -105484,18 +107678,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8082", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run to retrieve output items for.", "type": { "$id": "8083", @@ -105506,18 +107700,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8084", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "Identifier for the last output item from the previous pagination request.", "type": { "$id": "8085", @@ -105528,18 +107722,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8086", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of output items to be returned in a single pagination response.", "type": { "$id": "8087", @@ -105550,71 +107744,70 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8088", + "kind": "method", "name": "status", - "nameInRequest": "status", + "serializedName": "status", "doc": "Filter output items by their status. Possible values are `fail` and `pass`.", "type": { "$ref": "1349" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.status", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8089", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order for output items by timestamp. Use `asc` for ascending order or `desc` for descending order.", "type": { "$ref": "1353" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8090", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1931" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItems.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4188" + "$ref": "4257" } }, "isOverride": false, @@ -105638,8 +107831,9 @@ "parameters": [ { "$id": "8093", + "kind": "path", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8094", @@ -105648,20 +107842,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.eval_id" }, { "$id": "8095", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { "$id": "8096", @@ -105670,20 +107866,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.run_id" }, { "$id": "8097", + "kind": "path", "name": "output_item_id", - "nameInRequest": "output_item_id", + "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { "$id": "8098", @@ -105692,32 +107890,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.output_item_id" }, { "$id": "8099", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1933" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.accept" } ], "responses": [ @@ -105726,7 +107924,7 @@ 200 ], "bodyType": { - "$ref": "4192" + "$ref": "4261" }, "headers": [], "isErrorResponse": false, @@ -105747,8 +107945,9 @@ "parameters": [ { "$id": "8100", + "kind": "method", "name": "eval_id", - "nameInRequest": "eval_id", + "serializedName": "eval_id", "doc": "The ID of the evaluation the run belongs to.", "type": { "$id": "8101", @@ -105759,18 +107958,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.eval_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8102", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the evaluation run the output item belongs to.", "type": { "$id": "8103", @@ -105781,18 +107980,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8104", + "kind": "method", "name": "output_item_id", - "nameInRequest": "output_item_id", + "serializedName": "output_item_id", "doc": "The ID of the output item to retrieve.", "type": { "$id": "8105", @@ -105803,35 +108002,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.output_item_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8106", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1933" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Evals.getEvalRunOutputItem.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4192" + "$ref": "4261" } }, "isOverride": false, @@ -105843,8 +108041,9 @@ "parameters": [ { "$id": "8107", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8108", @@ -105852,14 +108051,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8109", @@ -105869,7 +108064,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -105901,55 +108099,55 @@ "parameters": [ { "$id": "8113", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "scope": "Method", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.accept" }, { "$id": "8114", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1935" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.contentType" }, { "$id": "8115", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "4255" + "$ref": "4324" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.requestBody" } ], "responses": [ @@ -105958,7 +108156,7 @@ 200 ], "bodyType": { - "$ref": "4843" + "$ref": "4912" }, "headers": [ { @@ -105991,60 +108189,60 @@ "parameters": [ { "$id": "8116", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8117", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "4255" + "$ref": "4324" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8118", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1935" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Responses.createResponse.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4843" + "$ref": "4912" } }, "isOverride": false, @@ -106068,8 +108266,9 @@ "parameters": [ { "$id": "8121", + "kind": "path", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { "$id": "8122", @@ -106078,37 +108277,38 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.response_id" }, { "$id": "8123", + "kind": "query", "name": "includables", - "nameInRequest": "include[]", + "serializedName": "include[]", "type": { - "$ref": "4652" + "$ref": "4721" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": true, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.includables", + "readOnly": false }, { "$id": "8124", + "kind": "query", "name": "stream", - "nameInRequest": "stream", + "serializedName": "stream", "doc": "If set to true, model response data will be streamed to the client as it is generated using server-sent events.", "type": { "$id": "8125", @@ -106117,20 +108317,19 @@ "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.stream", + "readOnly": false }, { "$id": "8126", + "kind": "query", "name": "starting_after", - "nameInRequest": "starting_after", + "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { "$id": "8127", @@ -106139,20 +108338,19 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.starting_after", + "readOnly": false }, { "$id": "8128", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$id": "8129", "kind": "string", @@ -106160,15 +108358,13 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "scope": "Method", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.accept" } ], "responses": [ @@ -106177,7 +108373,7 @@ 200 ], "bodyType": { - "$ref": "4843" + "$ref": "4912" }, "headers": [ { @@ -106207,8 +108403,9 @@ "parameters": [ { "$id": "8130", + "kind": "method", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { "$id": "8131", @@ -106219,35 +108416,35 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.response_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8132", + "kind": "method", "name": "includables", - "nameInRequest": "include[]", + "serializedName": "include[]", "type": { - "$ref": "4652" + "$ref": "4721" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.includables", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8133", + "kind": "method", "name": "stream", - "nameInRequest": "stream", + "serializedName": "stream", "doc": "If set to true, model response data will be streamed to the client as it is generated using server-sent events.", "type": { "$id": "8134", @@ -106258,18 +108455,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.stream", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8135", + "kind": "method", "name": "starting_after", - "nameInRequest": "starting_after", + "serializedName": "starting_after", "doc": "The sequence number of the event after which to start streaming.", "type": { "$id": "8136", @@ -106280,35 +108477,34 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.starting_after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8137", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "8129" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.getResponse.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4843" + "$ref": "4912" } }, "isOverride": false, @@ -106330,8 +108526,9 @@ "parameters": [ { "$id": "8140", + "kind": "path", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { "$id": "8141", @@ -106340,32 +108537,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id" }, { "$id": "8142", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1941" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.accept" } ], "responses": [ @@ -106374,7 +108571,7 @@ 200 ], "bodyType": { - "$ref": "5174" + "$ref": "5243" }, "headers": [], "isErrorResponse": false, @@ -106395,8 +108592,9 @@ "parameters": [ { "$id": "8143", + "kind": "method", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to delete.", "type": { "$id": "8144", @@ -106407,35 +108605,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.response_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8145", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1941" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Responses.deleteResponse.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5174" + "$ref": "5243" } }, "isOverride": false, @@ -106457,8 +108654,9 @@ "parameters": [ { "$id": "8148", + "kind": "path", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { "$id": "8149", @@ -106467,32 +108665,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id" }, { "$id": "8150", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1943" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.accept" } ], "responses": [ @@ -106501,7 +108699,7 @@ 200 ], "bodyType": { - "$ref": "4662" + "$ref": "4731" }, "headers": [], "isErrorResponse": false, @@ -106522,8 +108720,9 @@ "parameters": [ { "$id": "8151", + "kind": "method", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to cancel.", "type": { "$id": "8152", @@ -106534,35 +108733,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.response_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8153", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1943" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Responses.cancelResponse.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4662" + "$ref": "4731" } }, "isOverride": false, @@ -106586,8 +108784,9 @@ "parameters": [ { "$id": "8156", + "kind": "path", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { "$id": "8157", @@ -106596,20 +108795,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id" }, { "$id": "8158", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8159", @@ -106618,38 +108819,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.limit", + "readOnly": false }, { "$id": "8160", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.order", + "readOnly": false }, { "$id": "8161", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8162", @@ -106658,20 +108857,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.after", + "readOnly": false }, { "$id": "8163", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8164", @@ -106680,32 +108878,29 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.before", + "readOnly": false }, { "$id": "8165", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1945" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.accept" } ], "responses": [ @@ -106714,7 +108909,7 @@ 200 ], "bodyType": { - "$ref": "5179" + "$ref": "5248" }, "headers": [], "isErrorResponse": false, @@ -106735,8 +108930,9 @@ "parameters": [ { "$id": "8166", + "kind": "method", "name": "response_id", - "nameInRequest": "response_id", + "serializedName": "response_id", "doc": "The ID of the response to retrieve.", "type": { "$id": "8167", @@ -106747,18 +108943,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.response_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8168", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8169", @@ -106769,36 +108965,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8170", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8171", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8172", @@ -106809,18 +109005,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8173", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8174", @@ -106831,35 +109027,34 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.before", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8175", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1945" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Responses.listInputItems.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "4702" + "$ref": "4771" }, "resultSegments": [ "data" @@ -106888,8 +109083,9 @@ "parameters": [ { "$id": "8176", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8177", @@ -106897,14 +109093,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8178", @@ -106914,7 +109106,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -106946,55 +109141,55 @@ "parameters": [ { "$id": "8182", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1947" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Images.createImage.accept" }, { "$id": "8183", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1949" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType" }, { "$id": "8184", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5188" + "$ref": "5257" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Images.createImage.requestBody" } ], "responses": [ @@ -107003,7 +109198,7 @@ 200 ], "bodyType": { - "$ref": "5215" + "$ref": "5284" }, "headers": [], "isErrorResponse": false, @@ -107027,60 +109222,60 @@ "parameters": [ { "$id": "8185", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1951" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Images.createImage.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8186", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5188" + "$ref": "5257" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Images.createImage.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8187", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1949" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Images.createImage.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5215" + "$ref": "5284" } }, "isOverride": false, @@ -107104,54 +109299,54 @@ "parameters": [ { "$id": "8190", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1953" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept" }, { "$id": "8191", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "1955" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType" }, { "$id": "8192", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5242" + "$ref": "5311" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.requestBody" } ], "responses": [ @@ -107160,7 +109355,7 @@ 200 ], "bodyType": { - "$ref": "5215" + "$ref": "5284" }, "headers": [], "isErrorResponse": false, @@ -107184,59 +109379,59 @@ "parameters": [ { "$id": "8193", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1957" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8194", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "1959" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8195", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5242" + "$ref": "5311" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Images.createImageEdit.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5215" + "$ref": "5284" } }, "isOverride": false, @@ -107260,54 +109455,54 @@ "parameters": [ { "$id": "8198", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1961" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept" }, { "$id": "8199", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "1963" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType" }, { "$id": "8200", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5268" + "$ref": "5337" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.requestBody" } ], "responses": [ @@ -107316,7 +109511,7 @@ 200 ], "bodyType": { - "$ref": "5215" + "$ref": "5284" }, "headers": [], "isErrorResponse": false, @@ -107340,59 +109535,59 @@ "parameters": [ { "$id": "8201", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1965" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8202", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "1967" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8203", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5268" + "$ref": "5337" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Images.createImageVariation.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5215" + "$ref": "5284" } }, "isOverride": false, @@ -107404,8 +109599,9 @@ "parameters": [ { "$id": "8204", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8205", @@ -107413,14 +109609,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8206", @@ -107430,7 +109622,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -107462,42 +109657,41 @@ "parameters": [ { "$id": "8210", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1969" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept" }, { "$id": "8211", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1971" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta" }, { "$id": "8212", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { "$id": "8213", @@ -107506,50 +109700,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id" }, { "$id": "8214", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1973" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType" }, { "$id": "8215", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5283" + "$ref": "5352" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.requestBody" } ], "responses": [ @@ -107558,7 +109754,7 @@ 200 ], "bodyType": { - "$ref": "5355" + "$ref": "5424" }, "headers": [], "isErrorResponse": false, @@ -107582,42 +109778,43 @@ "parameters": [ { "$id": "8216", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1975" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8217", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1977" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8218", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to create a message for.", "type": { "$id": "8219", @@ -107628,53 +109825,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8220", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5283" + "$ref": "5352" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8221", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1973" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.createMessage.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5355" + "$ref": "5424" } }, "isOverride": false, @@ -107698,42 +109894,41 @@ "parameters": [ { "$id": "8224", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1979" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept" }, { "$id": "8225", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1981" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta" }, { "$id": "8226", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { "$id": "8227", @@ -107742,20 +109937,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id" }, { "$id": "8228", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8229", @@ -107764,38 +109961,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.limit", + "readOnly": false }, { "$id": "8230", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.order", + "readOnly": false }, { "$id": "8231", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8232", @@ -107804,20 +109999,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.after", + "readOnly": false }, { "$id": "8233", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8234", @@ -107826,15 +110020,13 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.before", + "readOnly": false } ], "responses": [ @@ -107843,7 +110035,7 @@ 200 ], "bodyType": { - "$ref": "5395" + "$ref": "5464" }, "headers": [], "isErrorResponse": false, @@ -107864,42 +110056,43 @@ "parameters": [ { "$id": "8235", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1983" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8236", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1985" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8237", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) the messages belong to.", "type": { "$id": "8238", @@ -107910,18 +110103,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8239", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8240", @@ -107932,36 +110125,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8241", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8242", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8243", @@ -107972,18 +110165,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8244", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8245", @@ -107994,18 +110187,17 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.listMessages.before", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5395" + "$ref": "5464" } }, "isOverride": false, @@ -108029,42 +110221,41 @@ "parameters": [ { "$id": "8248", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1987" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept" }, { "$id": "8249", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1989" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta" }, { "$id": "8250", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { "$id": "8251", @@ -108073,20 +110264,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id" }, { "$id": "8252", + "kind": "path", "name": "message_id", - "nameInRequest": "message_id", + "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { "$id": "8253", @@ -108095,15 +110288,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.message_id" } ], "responses": [ @@ -108112,7 +110306,7 @@ 200 ], "bodyType": { - "$ref": "5355" + "$ref": "5424" }, "headers": [], "isErrorResponse": false, @@ -108133,42 +110327,43 @@ "parameters": [ { "$id": "8254", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1991" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8255", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1993" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8256", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this message belongs.", "type": { "$id": "8257", @@ -108179,18 +110374,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8258", + "kind": "method", "name": "message_id", - "nameInRequest": "message_id", + "serializedName": "message_id", "doc": "The ID of the message to retrieve.", "type": { "$id": "8259", @@ -108201,18 +110396,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.getMessage.message_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5355" + "$ref": "5424" } }, "isOverride": false, @@ -108236,42 +110430,41 @@ "parameters": [ { "$id": "8262", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1995" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept" }, { "$id": "8263", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "1997" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta" }, { "$id": "8264", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { "$id": "8265", @@ -108280,20 +110473,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id" }, { "$id": "8266", + "kind": "path", "name": "message_id", - "nameInRequest": "message_id", + "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { "$id": "8267", @@ -108302,50 +110497,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id" }, { "$id": "8268", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1999" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType" }, { "$id": "8269", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5405" + "$ref": "5474" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.requestBody" } ], "responses": [ @@ -108354,7 +110551,7 @@ 200 ], "bodyType": { - "$ref": "5355" + "$ref": "5424" }, "headers": [], "isErrorResponse": false, @@ -108378,42 +110575,43 @@ "parameters": [ { "$id": "8270", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2001" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8271", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2003" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8272", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { "$id": "8273", @@ -108424,18 +110622,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8274", + "kind": "method", "name": "message_id", - "nameInRequest": "message_id", + "serializedName": "message_id", "doc": "The ID of the message to modify.", "type": { "$id": "8275", @@ -108446,53 +110644,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.message_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8276", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5405" + "$ref": "5474" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8277", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "1999" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.modifyMessage.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5355" + "$ref": "5424" } }, "isOverride": false, @@ -108516,42 +110713,41 @@ "parameters": [ { "$id": "8280", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2005" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept" }, { "$id": "8281", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2007" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta" }, { "$id": "8282", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { "$id": "8283", @@ -108560,20 +110756,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id" }, { "$id": "8284", + "kind": "path", "name": "message_id", - "nameInRequest": "message_id", + "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { "$id": "8285", @@ -108582,15 +110780,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.message_id" } ], "responses": [ @@ -108599,7 +110798,7 @@ 200 ], "bodyType": { - "$ref": "5407" + "$ref": "5476" }, "headers": [], "isErrorResponse": false, @@ -108620,42 +110819,43 @@ "parameters": [ { "$id": "8286", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2009" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8287", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2011" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8288", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which this message belongs.", "type": { "$id": "8289", @@ -108666,18 +110866,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8290", + "kind": "method", "name": "message_id", - "nameInRequest": "message_id", + "serializedName": "message_id", "doc": "The ID of the message to delete.", "type": { "$id": "8291", @@ -108688,18 +110888,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Messages.deleteMessage.message_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5407" + "$ref": "5476" } }, "isOverride": false, @@ -108711,8 +110910,9 @@ "parameters": [ { "$id": "8292", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8293", @@ -108720,14 +110920,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8294", @@ -108737,7 +110933,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -108769,55 +110968,55 @@ "parameters": [ { "$id": "8298", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2013" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.accept" }, { "$id": "8299", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2015" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.contentType" }, { "$id": "8300", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5413" + "$ref": "5482" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.requestBody" } ], "responses": [ @@ -108826,7 +111025,7 @@ 200 ], "bodyType": { - "$ref": "5430" + "$ref": "5499" }, "headers": [], "isErrorResponse": false, @@ -108850,60 +111049,60 @@ "parameters": [ { "$id": "8301", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2017" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8302", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5413" + "$ref": "5482" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8303", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2015" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Moderations.createModeration.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5430" + "$ref": "5499" } }, "isOverride": false, @@ -108915,8 +111114,9 @@ "parameters": [ { "$id": "8304", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8305", @@ -108924,14 +111124,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8306", @@ -108941,7 +111137,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -108973,72 +111172,71 @@ "parameters": [ { "$id": "8310", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "scope": "Method", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept" }, { "$id": "8311", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2019" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta" }, { "$id": "8312", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2021" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType" }, { "$id": "8313", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5525" + "$ref": "5594" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.requestBody" } ], "responses": [ @@ -109047,7 +111245,7 @@ 200 ], "bodyType": { - "$ref": "5591" + "$ref": "5660" }, "headers": [], "isErrorResponse": false, @@ -109071,77 +111269,77 @@ "parameters": [ { "$id": "8314", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8315", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2023" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8316", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5525" + "$ref": "5594" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8317", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2021" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.createThreadAndRun.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5591" + "$ref": "5660" } }, "isOverride": false, @@ -109165,42 +111363,41 @@ "parameters": [ { "$id": "8320", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "scope": "Method", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept" }, { "$id": "8321", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2025" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta" }, { "$id": "8322", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { "$id": "8323", @@ -109209,20 +111406,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id" }, { "$id": "8324", + "kind": "query", "name": "include[]", - "nameInRequest": "include[]", + "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { "$id": "8325", @@ -109234,51 +111433,50 @@ "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, "arraySerializationDelimiter": ",", - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.include[]", + "readOnly": false }, { "$id": "8326", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2027" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType" }, { "$id": "8327", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5687" + "$ref": "5756" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.requestBody" } ], "responses": [ @@ -109287,7 +111485,7 @@ 200 ], "bodyType": { - "$ref": "5591" + "$ref": "5660" }, "headers": [], "isErrorResponse": false, @@ -109311,42 +111509,43 @@ "parameters": [ { "$id": "8328", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8329", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2029" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8330", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to run.", "type": { "$id": "8331", @@ -109357,71 +111556,70 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8332", + "kind": "method", "name": "include[]", - "nameInRequest": "include[]", + "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { "$ref": "8325" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.include[]", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8333", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5687" + "$ref": "5756" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8334", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2027" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.createRun.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5591" + "$ref": "5660" } }, "isOverride": false, @@ -109445,42 +111643,41 @@ "parameters": [ { "$id": "8337", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2031" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept" }, { "$id": "8338", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2033" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta" }, { "$id": "8339", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { "$id": "8340", @@ -109489,20 +111686,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id" }, { "$id": "8341", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8342", @@ -109511,38 +111710,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.limit", + "readOnly": false }, { "$id": "8343", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.order", + "readOnly": false }, { "$id": "8344", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8345", @@ -109551,20 +111748,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.after", + "readOnly": false }, { "$id": "8346", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8347", @@ -109573,15 +111769,13 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.before", + "readOnly": false } ], "responses": [ @@ -109590,7 +111784,7 @@ 200 ], "bodyType": { - "$ref": "5729" + "$ref": "5798" }, "headers": [], "isErrorResponse": false, @@ -109611,42 +111805,43 @@ "parameters": [ { "$id": "8348", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2035" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8349", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2037" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8350", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread the run belongs to.", "type": { "$id": "8351", @@ -109657,18 +111852,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8352", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8353", @@ -109679,36 +111874,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8354", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8355", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8356", @@ -109719,18 +111914,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8357", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8358", @@ -109741,18 +111936,17 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRuns.before", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5729" + "$ref": "5798" } }, "isOverride": false, @@ -109776,42 +111970,41 @@ "parameters": [ { "$id": "8361", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2039" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept" }, { "$id": "8362", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2041" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta" }, { "$id": "8363", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { "$id": "8364", @@ -109820,20 +112013,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id" }, { "$id": "8365", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { "$id": "8366", @@ -109842,15 +112037,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.run_id" } ], "responses": [ @@ -109859,7 +112055,7 @@ 200 ], "bodyType": { - "$ref": "5591" + "$ref": "5660" }, "headers": [], "isErrorResponse": false, @@ -109880,42 +112076,43 @@ "parameters": [ { "$id": "8367", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2043" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8368", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2045" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8369", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { "$id": "8370", @@ -109926,18 +112123,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8371", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to retrieve.", "type": { "$id": "8372", @@ -109948,18 +112145,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.getRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5591" + "$ref": "5660" } }, "isOverride": false, @@ -109983,42 +112179,41 @@ "parameters": [ { "$id": "8375", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2047" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept" }, { "$id": "8376", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2049" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta" }, { "$id": "8377", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { "$id": "8378", @@ -110027,20 +112222,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id" }, { "$id": "8379", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { "$id": "8380", @@ -110049,50 +112246,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id" }, { "$id": "8381", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2051" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType" }, { "$id": "8382", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5739" + "$ref": "5808" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.requestBody" } ], "responses": [ @@ -110101,7 +112300,7 @@ 200 ], "bodyType": { - "$ref": "5591" + "$ref": "5660" }, "headers": [], "isErrorResponse": false, @@ -110125,42 +112324,43 @@ "parameters": [ { "$id": "8383", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2053" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8384", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2055" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8385", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) that was run.", "type": { "$id": "8386", @@ -110171,18 +112371,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8387", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to modify.", "type": { "$id": "8388", @@ -110193,53 +112393,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8389", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5739" + "$ref": "5808" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8390", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2051" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.modifyRun.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5591" + "$ref": "5660" } }, "isOverride": false, @@ -110263,42 +112462,41 @@ "parameters": [ { "$id": "8393", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2057" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept" }, { "$id": "8394", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2059" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta" }, { "$id": "8395", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { "$id": "8396", @@ -110307,20 +112505,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id" }, { "$id": "8397", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { "$id": "8398", @@ -110329,15 +112529,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.run_id" } ], "responses": [ @@ -110346,7 +112547,7 @@ 200 ], "bodyType": { - "$ref": "5591" + "$ref": "5660" }, "headers": [], "isErrorResponse": false, @@ -110367,42 +112568,43 @@ "parameters": [ { "$id": "8399", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2061" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8400", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2063" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8401", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which this run belongs.", "type": { "$id": "8402", @@ -110413,18 +112615,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8403", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to cancel.", "type": { "$id": "8404", @@ -110435,18 +112637,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.cancelRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5591" + "$ref": "5660" } }, "isOverride": false, @@ -110470,42 +112671,41 @@ "parameters": [ { "$id": "8407", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "scope": "Method", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept" }, { "$id": "8408", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2065" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta" }, { "$id": "8409", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { "$id": "8410", @@ -110514,20 +112714,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id" }, { "$id": "8411", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { "$id": "8412", @@ -110536,50 +112738,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id" }, { "$id": "8413", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2067" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType" }, { "$id": "8414", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5741" + "$ref": "5810" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.requestBody" } ], "responses": [ @@ -110588,7 +112792,7 @@ 200 ], "bodyType": { - "$ref": "5591" + "$ref": "5660" }, "headers": [], "isErrorResponse": false, @@ -110612,42 +112816,43 @@ "parameters": [ { "$id": "8415", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "1326" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8416", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2069" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8417", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the [thread](/docs/api-reference/threads) to which this run belongs.", "type": { "$id": "8418", @@ -110658,18 +112863,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8419", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run that requires the tool output submission.", "type": { "$id": "8420", @@ -110680,53 +112885,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8421", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5741" + "$ref": "5810" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8422", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2067" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.submitToolOutputsToRun.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5591" + "$ref": "5660" } }, "isOverride": false, @@ -110750,42 +112954,41 @@ "parameters": [ { "$id": "8425", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2071" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept" }, { "$id": "8426", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2073" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta" }, { "$id": "8427", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { "$id": "8428", @@ -110794,20 +112997,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id" }, { "$id": "8429", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { "$id": "8430", @@ -110816,20 +113021,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id" }, { "$id": "8431", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8432", @@ -110838,38 +113045,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.limit", + "readOnly": false }, { "$id": "8433", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.order", + "readOnly": false }, { "$id": "8434", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8435", @@ -110878,20 +113083,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.after", + "readOnly": false }, { "$id": "8436", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8437", @@ -110900,34 +113104,31 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.before", + "readOnly": false }, { "$id": "8438", + "kind": "query", "name": "include[]", - "nameInRequest": "include[]", + "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { "$ref": "8325" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, "arraySerializationDelimiter": ",", - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.include[]", + "readOnly": false } ], "responses": [ @@ -110936,7 +113137,7 @@ 200 ], "bodyType": { - "$ref": "5752" + "$ref": "5821" }, "headers": [], "isErrorResponse": false, @@ -110957,42 +113158,43 @@ "parameters": [ { "$id": "8439", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2075" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8440", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2077" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8441", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread the run and run steps belong to.", "type": { "$id": "8442", @@ -111003,18 +113205,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8443", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run the run steps belong to.", "type": { "$id": "8444", @@ -111025,18 +113227,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8445", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8446", @@ -111047,36 +113249,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8447", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8448", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8449", @@ -111087,18 +113289,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8450", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8451", @@ -111109,36 +113311,35 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.before", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8452", + "kind": "method", "name": "include[]", - "nameInRequest": "include[]", + "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { "$ref": "8325" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.listRunSteps.include[]", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5752" + "$ref": "5821" } }, "isOverride": false, @@ -111162,42 +113363,41 @@ "parameters": [ { "$id": "8455", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2079" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept" }, { "$id": "8456", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2081" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta" }, { "$id": "8457", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { "$id": "8458", @@ -111206,20 +113406,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id" }, { "$id": "8459", + "kind": "path", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { "$id": "8460", @@ -111228,20 +113430,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id" }, { "$id": "8461", + "kind": "path", "name": "step_id", - "nameInRequest": "step_id", + "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { "$id": "8462", @@ -111250,34 +113454,34 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id" }, { "$id": "8463", + "kind": "query", "name": "include[]", - "nameInRequest": "include[]", + "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { "$ref": "8325" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, "arraySerializationDelimiter": ",", - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.include[]", + "readOnly": false } ], "responses": [ @@ -111286,7 +113490,7 @@ 200 ], "bodyType": { - "$ref": "5756" + "$ref": "5825" }, "headers": [], "isErrorResponse": false, @@ -111307,42 +113511,43 @@ "parameters": [ { "$id": "8464", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2083" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8465", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2085" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8466", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to which the run and run step belongs.", "type": { "$id": "8467", @@ -111353,18 +113558,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8468", + "kind": "method", "name": "run_id", - "nameInRequest": "run_id", + "serializedName": "run_id", "doc": "The ID of the run to which the run step belongs.", "type": { "$id": "8469", @@ -111375,18 +113580,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.run_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8470", + "kind": "method", "name": "step_id", - "nameInRequest": "step_id", + "serializedName": "step_id", "doc": "The ID of the run step to retrieve.", "type": { "$id": "8471", @@ -111397,36 +113602,35 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.step_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8472", + "kind": "method", "name": "include[]", - "nameInRequest": "include[]", + "serializedName": "include[]", "doc": "A list of additional fields to include in the response. Currently the only supported value is\n`step_details.tool_calls[*].file_search.results[*].content` to fetch the file search result\ncontent.\n\nSee the\n[file search tool documentation](/docs/assistants/tools/file-search/customizing-file-search-settings)\nfor more information.", "type": { "$ref": "8325" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Runs.getRunStep.include[]", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5756" + "$ref": "5825" } }, "isOverride": false, @@ -111438,8 +113642,9 @@ "parameters": [ { "$id": "8473", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8474", @@ -111447,14 +113652,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8475", @@ -111464,7 +113665,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -111496,72 +113700,71 @@ "parameters": [ { "$id": "8479", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2087" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept" }, { "$id": "8480", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2089" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta" }, { "$id": "8481", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2091" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType" }, { "$id": "8482", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5529" + "$ref": "5598" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.requestBody" } ], "responses": [ @@ -111570,7 +113773,7 @@ 200 ], "bodyType": { - "$ref": "5882" + "$ref": "5951" }, "headers": [], "isErrorResponse": false, @@ -111594,77 +113797,77 @@ "parameters": [ { "$id": "8483", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2093" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8484", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2095" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8485", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5529" + "$ref": "5598" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8486", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2091" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.createThread.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5882" + "$ref": "5951" } }, "isOverride": false, @@ -111688,42 +113891,41 @@ "parameters": [ { "$id": "8489", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2097" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept" }, { "$id": "8490", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2099" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta" }, { "$id": "8491", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { "$id": "8492", @@ -111732,15 +113934,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Threads.getThread.thread_id" } ], "responses": [ @@ -111749,7 +113952,7 @@ 200 ], "bodyType": { - "$ref": "5882" + "$ref": "5951" }, "headers": [], "isErrorResponse": false, @@ -111770,42 +113973,43 @@ "parameters": [ { "$id": "8493", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2101" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.getThread.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8494", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2103" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.getThread.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8495", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to retrieve.", "type": { "$id": "8496", @@ -111816,18 +114020,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Threads.getThread.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5882" + "$ref": "5951" } }, "isOverride": false, @@ -111851,42 +114054,41 @@ "parameters": [ { "$id": "8499", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2105" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept" }, { "$id": "8500", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2107" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta" }, { "$id": "8501", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { "$id": "8502", @@ -111895,50 +114097,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id" }, { "$id": "8503", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2109" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType" }, { "$id": "8504", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5899" + "$ref": "5968" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.requestBody" } ], "responses": [ @@ -111947,7 +114151,7 @@ 200 ], "bodyType": { - "$ref": "5882" + "$ref": "5951" }, "headers": [], "isErrorResponse": false, @@ -111971,42 +114175,43 @@ "parameters": [ { "$id": "8505", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2111" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8506", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2113" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8507", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to modify. Only the `metadata` can be modified.", "type": { "$id": "8508", @@ -112017,53 +114222,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8509", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5899" + "$ref": "5968" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8510", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2109" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.modifyThread.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5882" + "$ref": "5951" } }, "isOverride": false, @@ -112087,42 +114291,41 @@ "parameters": [ { "$id": "8513", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2115" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept" }, { "$id": "8514", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2117" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta" }, { "$id": "8515", + "kind": "path", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { "$id": "8516", @@ -112131,15 +114334,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.thread_id" } ], "responses": [ @@ -112148,7 +114352,7 @@ 200 ], "bodyType": { - "$ref": "5908" + "$ref": "5977" }, "headers": [], "isErrorResponse": false, @@ -112169,42 +114373,43 @@ "parameters": [ { "$id": "8517", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2119" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8518", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2121" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8519", + "kind": "method", "name": "thread_id", - "nameInRequest": "thread_id", + "serializedName": "thread_id", "doc": "The ID of the thread to delete.", "type": { "$id": "8520", @@ -112215,18 +114420,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Threads.deleteThread.thread_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5908" + "$ref": "5977" } }, "isOverride": false, @@ -112238,8 +114442,9 @@ "parameters": [ { "$id": "8521", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8522", @@ -112247,14 +114452,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8523", @@ -112264,7 +114465,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -112296,25 +114500,25 @@ "parameters": [ { "$id": "8527", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2123" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept" }, { "$id": "8528", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8529", @@ -112323,38 +114527,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.limit", + "readOnly": false }, { "$id": "8530", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.order", + "readOnly": false }, { "$id": "8531", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8532", @@ -112363,20 +114565,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.after", + "readOnly": false }, { "$id": "8533", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8534", @@ -112385,15 +114586,13 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.before", + "readOnly": false } ], "responses": [ @@ -112402,7 +114601,7 @@ 200 ], "bodyType": { - "$ref": "5914" + "$ref": "5983" }, "headers": [], "isErrorResponse": false, @@ -112423,25 +114622,26 @@ "parameters": [ { "$id": "8535", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2125" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8536", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8537", @@ -112452,36 +114652,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8538", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8539", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8540", @@ -112492,18 +114692,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8541", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8542", @@ -112514,18 +114714,17 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStores.before", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5914" + "$ref": "5983" } }, "isOverride": false, @@ -112549,55 +114748,55 @@ "parameters": [ { "$id": "8545", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2127" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept" }, { "$id": "8546", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2129" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType" }, { "$id": "8547", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5963" + "$ref": "6032" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.requestBody" } ], "responses": [ @@ -112606,7 +114805,7 @@ 200 ], "bodyType": { - "$ref": "5918" + "$ref": "5987" }, "headers": [], "isErrorResponse": false, @@ -112630,60 +114829,60 @@ "parameters": [ { "$id": "8548", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2131" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8549", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5963" + "$ref": "6032" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8550", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2129" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStore.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5918" + "$ref": "5987" } }, "isOverride": false, @@ -112707,25 +114906,25 @@ "parameters": [ { "$id": "8553", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2133" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept" }, { "$id": "8554", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { "$id": "8555", @@ -112734,15 +114933,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.vector_store_id" } ], "responses": [ @@ -112751,7 +114951,7 @@ 200 ], "bodyType": { - "$ref": "5918" + "$ref": "5987" }, "headers": [], "isErrorResponse": false, @@ -112772,25 +114972,26 @@ "parameters": [ { "$id": "8556", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2135" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8557", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to retrieve.", "type": { "$id": "8558", @@ -112801,18 +115002,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStore.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5918" + "$ref": "5987" } }, "isOverride": false, @@ -112836,25 +115036,25 @@ "parameters": [ { "$id": "8561", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2137" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept" }, { "$id": "8562", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { "$id": "8563", @@ -112863,50 +115063,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id" }, { "$id": "8564", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2139" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType" }, { "$id": "8565", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5971" + "$ref": "6040" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.requestBody" } ], "responses": [ @@ -112915,7 +115117,7 @@ 200 ], "bodyType": { - "$ref": "5918" + "$ref": "5987" }, "headers": [], "isErrorResponse": false, @@ -112939,25 +115141,26 @@ "parameters": [ { "$id": "8566", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2141" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8567", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to modify.", "type": { "$id": "8568", @@ -112968,53 +115171,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8569", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5971" + "$ref": "6040" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8570", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2139" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.modifyVectorStore.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5918" + "$ref": "5987" } }, "isOverride": false, @@ -113038,25 +115240,25 @@ "parameters": [ { "$id": "8573", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2143" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept" }, { "$id": "8574", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { "$id": "8575", @@ -113065,15 +115267,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.vector_store_id" } ], "responses": [ @@ -113082,7 +115285,7 @@ 200 ], "bodyType": { - "$ref": "5978" + "$ref": "6047" }, "headers": [], "isErrorResponse": false, @@ -113103,25 +115306,26 @@ "parameters": [ { "$id": "8576", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2145" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8577", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to delete.", "type": { "$id": "8578", @@ -113132,18 +115336,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStore.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5978" + "$ref": "6047" } }, "isOverride": false, @@ -113167,25 +115370,25 @@ "parameters": [ { "$id": "8581", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2147" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept" }, { "$id": "8582", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { "$id": "8583", @@ -113194,50 +115397,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id" }, { "$id": "8584", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2149" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType" }, { "$id": "8585", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5984" + "$ref": "6053" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.requestBody" } ], "responses": [ @@ -113246,7 +115451,7 @@ 200 ], "bodyType": { - "$ref": "5989" + "$ref": "6058" }, "headers": [], "isErrorResponse": false, @@ -113270,25 +115475,26 @@ "parameters": [ { "$id": "8586", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2151" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8587", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a file batch.", "type": { "$id": "8588", @@ -113299,53 +115505,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8589", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "5984" + "$ref": "6053" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8590", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2149" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFileBatch.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5989" + "$ref": "6058" } }, "isOverride": false, @@ -113369,25 +115574,25 @@ "parameters": [ { "$id": "8593", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2153" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept" }, { "$id": "8594", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { "$id": "8595", @@ -113396,20 +115601,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id" }, { "$id": "8596", + "kind": "path", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { "$id": "8597", @@ -113418,15 +115625,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.batch_id" } ], "responses": [ @@ -113435,7 +115643,7 @@ 200 ], "bodyType": { - "$ref": "5989" + "$ref": "6058" }, "headers": [], "isErrorResponse": false, @@ -113456,25 +115664,26 @@ "parameters": [ { "$id": "8598", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2155" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8599", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { "$id": "8600", @@ -113485,18 +115694,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8601", + "kind": "method", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the file batch being retrieved.", "type": { "$id": "8602", @@ -113507,18 +115716,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFileBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5989" + "$ref": "6058" } }, "isOverride": false, @@ -113542,25 +115750,25 @@ "parameters": [ { "$id": "8605", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2157" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept" }, { "$id": "8606", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { "$id": "8607", @@ -113569,20 +115777,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id" }, { "$id": "8608", + "kind": "path", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { "$id": "8609", @@ -113591,15 +115801,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.batch_id" } ], "responses": [ @@ -113608,7 +115819,7 @@ 200 ], "bodyType": { - "$ref": "5989" + "$ref": "6058" }, "headers": [], "isErrorResponse": false, @@ -113629,25 +115840,26 @@ "parameters": [ { "$id": "8610", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2159" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8611", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { "$id": "8612", @@ -113658,18 +115870,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8613", + "kind": "method", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the file batch to cancel.", "type": { "$id": "8614", @@ -113680,18 +115892,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.cancelVectorStoreFileBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "5989" + "$ref": "6058" } }, "isOverride": false, @@ -113715,25 +115926,25 @@ "parameters": [ { "$id": "8617", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2161" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept" }, { "$id": "8618", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { "$id": "8619", @@ -113742,20 +115953,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id" }, { "$id": "8620", + "kind": "path", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { "$id": "8621", @@ -113764,20 +115977,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id" }, { "$id": "8622", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8623", @@ -113786,38 +116001,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.limit", + "readOnly": false }, { "$id": "8624", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.order", + "readOnly": false }, { "$id": "8625", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8626", @@ -113826,20 +116039,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.after", + "readOnly": false }, { "$id": "8627", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8628", @@ -113848,33 +116060,30 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.before", + "readOnly": false }, { "$id": "8629", + "kind": "query", "name": "filter", - "nameInRequest": "filter", + "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { "$ref": "1360" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.filter", + "readOnly": false } ], "responses": [ @@ -113883,7 +116092,7 @@ 200 ], "bodyType": { - "$ref": "6011" + "$ref": "6080" }, "headers": [], "isErrorResponse": false, @@ -113904,25 +116113,26 @@ "parameters": [ { "$id": "8630", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2163" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8631", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file batch belongs to.", "type": { "$id": "8632", @@ -113933,18 +116143,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8633", + "kind": "method", "name": "batch_id", - "nameInRequest": "batch_id", + "serializedName": "batch_id", "doc": "The ID of the file batch that the files belong to.", "type": { "$id": "8634", @@ -113955,18 +116165,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.batch_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8635", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8636", @@ -113977,36 +116187,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8637", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8638", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8639", @@ -114017,18 +116227,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8640", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8641", @@ -114039,36 +116249,35 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.before", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8642", + "kind": "method", "name": "filter", - "nameInRequest": "filter", + "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { "$ref": "1360" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listFilesInVectorStoreBatch.filter", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6011" + "$ref": "6080" } }, "isOverride": false, @@ -114092,25 +116301,25 @@ "parameters": [ { "$id": "8645", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2165" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept" }, { "$id": "8646", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { "$id": "8647", @@ -114119,20 +116328,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id" }, { "$id": "8648", + "kind": "query", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8649", @@ -114141,38 +116352,36 @@ "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.limit", + "readOnly": false }, { "$id": "8650", + "kind": "query", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.order", + "readOnly": false }, { "$id": "8651", + "kind": "query", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8652", @@ -114181,20 +116390,19 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.after", + "readOnly": false }, { "$id": "8653", + "kind": "query", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8654", @@ -114203,33 +116411,30 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.before", + "readOnly": false }, { "$id": "8655", + "kind": "query", "name": "filter", - "nameInRequest": "filter", + "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { "$ref": "1360" }, - "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.filter", + "readOnly": false } ], "responses": [ @@ -114238,7 +116443,7 @@ 200 ], "bodyType": { - "$ref": "6011" + "$ref": "6080" }, "headers": [], "isErrorResponse": false, @@ -114259,25 +116464,26 @@ "parameters": [ { "$id": "8656", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2167" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8657", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the files belong to.", "type": { "$id": "8658", @@ -114288,18 +116494,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8659", + "kind": "method", "name": "limit", - "nameInRequest": "limit", + "serializedName": "limit", "doc": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\ndefault is 20.", "type": { "$id": "8660", @@ -114310,36 +116516,36 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.limit", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8661", + "kind": "method", "name": "order", - "nameInRequest": "order", + "serializedName": "order", "doc": "Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\nfor descending order.", "type": { "$ref": "1322" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.order", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8662", + "kind": "method", "name": "after", - "nameInRequest": "after", + "serializedName": "after", "doc": "A cursor for use in pagination. `after` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include after=obj_foo in order to fetch the next page of the list.", "type": { "$id": "8663", @@ -114350,18 +116556,18 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.after", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8664", + "kind": "method", "name": "before", - "nameInRequest": "before", + "serializedName": "before", "doc": "A cursor for use in pagination. `before` is an object ID that defines your place in the list.\nFor instance, if you make a list request and receive 100 objects, ending with obj_foo, your\nsubsequent call can include before=obj_foo in order to fetch the previous page of the list.", "type": { "$id": "8665", @@ -114372,36 +116578,35 @@ }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.before", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8666", + "kind": "method", "name": "filter", - "nameInRequest": "filter", + "serializedName": "filter", "doc": "Filter by file status. One of `in_progress`, `completed`, `failed`, `cancelled`.", "type": { "$ref": "1360" }, "location": "Query", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.listVectorStoreFiles.filter", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6011" + "$ref": "6080" } }, "isOverride": false, @@ -114425,25 +116630,25 @@ "parameters": [ { "$id": "8669", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2169" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept" }, { "$id": "8670", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { "$id": "8671", @@ -114452,50 +116657,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id" }, { "$id": "8672", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2171" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType" }, { "$id": "8673", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6049" + "$ref": "6118" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.requestBody" } ], "responses": [ @@ -114504,7 +116711,7 @@ 200 ], "bodyType": { - "$ref": "6015" + "$ref": "6084" }, "headers": [], "isErrorResponse": false, @@ -114528,25 +116735,26 @@ "parameters": [ { "$id": "8674", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2173" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8675", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store for which to create a File.", "type": { "$id": "8676", @@ -114557,53 +116765,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8677", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6049" + "$ref": "6118" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8678", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2171" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.createVectorStoreFile.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6015" + "$ref": "6084" } }, "isOverride": false, @@ -114627,25 +116834,25 @@ "parameters": [ { "$id": "8681", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2175" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept" }, { "$id": "8682", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { "$id": "8683", @@ -114654,20 +116861,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id" }, { "$id": "8684", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { "$id": "8685", @@ -114676,15 +116885,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.file_id" } ], "responses": [ @@ -114693,7 +116903,7 @@ 200 ], "bodyType": { - "$ref": "6015" + "$ref": "6084" }, "headers": [], "isErrorResponse": false, @@ -114714,25 +116924,26 @@ "parameters": [ { "$id": "8686", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2177" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8687", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { "$id": "8688", @@ -114743,18 +116954,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8689", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file being retrieved.", "type": { "$id": "8690", @@ -114765,18 +116976,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.getVectorStoreFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6015" + "$ref": "6084" } }, "isOverride": false, @@ -114800,25 +117010,25 @@ "parameters": [ { "$id": "8693", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2179" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept" }, { "$id": "8694", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { "$id": "8695", @@ -114827,20 +117037,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id" }, { "$id": "8696", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { "$id": "8697", @@ -114849,15 +117061,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.file_id" } ], "responses": [ @@ -114866,7 +117079,7 @@ 200 ], "bodyType": { - "$ref": "6055" + "$ref": "6124" }, "headers": [], "isErrorResponse": false, @@ -114887,25 +117100,26 @@ "parameters": [ { "$id": "8698", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2181" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8699", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { "$id": "8700", @@ -114916,18 +117130,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8701", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to delete.", "type": { "$id": "8702", @@ -114938,18 +117152,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.deleteVectorStoreFile.file_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6055" + "$ref": "6124" } }, "isOverride": false, @@ -114973,8 +117186,9 @@ "parameters": [ { "$id": "8705", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { "$id": "8706", @@ -114983,20 +117197,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id" }, { "$id": "8707", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { "$id": "8708", @@ -115005,67 +117221,68 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id" }, { "$id": "8709", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2183" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType" }, { "$id": "8710", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2185" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept" }, { "$id": "8711", + "kind": "body", "name": "updateVectorStoreFileAttributesRequest", - "nameInRequest": "updateVectorStoreFileAttributesRequest", + "serializedName": "updateVectorStoreFileAttributesRequest", "type": { - "$ref": "6061" + "$ref": "6130" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Spread", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.body" } ], "responses": [ @@ -115074,7 +117291,7 @@ 200 ], "bodyType": { - "$ref": "6015" + "$ref": "6084" }, "headers": [], "isErrorResponse": false, @@ -115098,8 +117315,9 @@ "parameters": [ { "$id": "8712", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store the file being updated belongs to.", "type": { "$id": "8713", @@ -115110,18 +117328,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8714", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file to update attributes for.", "type": { "$id": "8715", @@ -115132,70 +117350,69 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.file_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8716", + "kind": "method", "name": "attributes", - "nameInRequest": "attributes", + "serializedName": "attributes", "type": { - "$ref": "6063" + "$ref": "6132" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.attributes", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8717", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2183" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8718", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2185" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.updateVectorStoreFileAttributes.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6015" + "$ref": "6084" } }, "isOverride": false, @@ -115219,8 +117436,9 @@ "parameters": [ { "$id": "8721", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { "$id": "8722", @@ -115229,20 +117447,22 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id" }, { "$id": "8723", + "kind": "path", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { "$id": "8724", @@ -115251,32 +117471,32 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id" }, { "$id": "8725", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2187" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.accept" } ], "responses": [ @@ -115285,7 +117505,7 @@ 200 ], "bodyType": { - "$ref": "6064" + "$ref": "6133" }, "headers": [], "isErrorResponse": false, @@ -115306,8 +117526,9 @@ "parameters": [ { "$id": "8726", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store that the file belongs to.", "type": { "$id": "8727", @@ -115318,18 +117539,18 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8728", + "kind": "method", "name": "file_id", - "nameInRequest": "file_id", + "serializedName": "file_id", "doc": "The ID of the file with content being retrieved.", "type": { "$id": "8729", @@ -115340,35 +117561,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.file_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8730", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2187" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.retrieveVectorStoreFileContent.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6064" + "$ref": "6133" } }, "isOverride": false, @@ -115392,8 +117612,9 @@ "parameters": [ { "$id": "8733", + "kind": "path", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { "$id": "8734", @@ -115402,67 +117623,68 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id" }, { "$id": "8735", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2189" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType" }, { "$id": "8736", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2191" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept" }, { "$id": "8737", + "kind": "body", "name": "vectorStoreSearchRequest", - "nameInRequest": "vectorStoreSearchRequest", + "serializedName": "vectorStoreSearchRequest", "type": { - "$ref": "6082" + "$ref": "6151" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Spread", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Spread", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.body" } ], "responses": [ @@ -115471,7 +117693,7 @@ 200 ], "bodyType": { - "$ref": "6093" + "$ref": "6162" }, "headers": [], "isErrorResponse": false, @@ -115495,8 +117717,9 @@ "parameters": [ { "$id": "8738", + "kind": "method", "name": "vector_store_id", - "nameInRequest": "vector_store_id", + "serializedName": "vector_store_id", "doc": "The ID of the vector store to search.", "type": { "$id": "8739", @@ -115507,36 +117730,36 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.vector_store_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8740", + "kind": "method", "name": "query", - "nameInRequest": "query", + "serializedName": "query", "doc": "A query string for a search", "type": { - "$ref": "6084" + "$ref": "6153" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.query", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8741", + "kind": "method", "name": "rewrite_query", - "nameInRequest": "rewrite_query", + "serializedName": "rewrite_query", "doc": "Whether to rewrite the natural language query for vector search.", "type": { "$id": "8742", @@ -115547,18 +117770,18 @@ }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.rewrite_query", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8743", + "kind": "method", "name": "max_num_results", - "nameInRequest": "max_num_results", + "serializedName": "max_num_results", "doc": "The maximum number of results to return. This number should be between 1 and 50 inclusive.", "type": { "$id": "8744", @@ -115569,89 +117792,88 @@ }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.max_num_results", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8745", + "kind": "method", "name": "filters", - "nameInRequest": "filters", + "serializedName": "filters", "doc": "A filter to apply based on file attributes.", "type": { - "$ref": "6091" + "$ref": "6160" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.filters", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8746", + "kind": "method", "name": "ranking_options", - "nameInRequest": "ranking_options", + "serializedName": "ranking_options", "doc": "Ranking options for search.", "type": { - "$ref": "6078" + "$ref": "6147" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": true, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.ranking_options", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8747", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2189" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8748", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2191" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.VectorStores.searchVectorStore.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6093" + "$ref": "6162" } }, "isOverride": false, @@ -115663,8 +117885,9 @@ "parameters": [ { "$id": "8749", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8750", @@ -115672,14 +117895,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8751", @@ -115689,7 +117908,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -115721,55 +117943,55 @@ "parameters": [ { "$id": "8755", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2193" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept" }, { "$id": "8756", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2195" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType" }, { "$id": "8757", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6118" + "$ref": "6187" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.requestBody" } ], "responses": [ @@ -115778,7 +118000,7 @@ 200 ], "bodyType": { - "$ref": "6168" + "$ref": "6237" }, "headers": [], "isErrorResponse": false, @@ -115802,60 +118024,60 @@ "parameters": [ { "$id": "8758", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2197" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8759", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6118" + "$ref": "6187" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8760", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2195" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Completions.createCompletion.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6168" + "$ref": "6237" } }, "isOverride": false, @@ -115867,8 +118089,9 @@ "parameters": [ { "$id": "8761", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8762", @@ -115876,14 +118099,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8763", @@ -115893,7 +118112,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -115925,20 +118147,19 @@ "parameters": [ { "$id": "8767", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2199" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Models.listModels.accept" } ], "responses": [ @@ -115947,7 +118168,7 @@ 200 ], "bodyType": { - "$ref": "6199" + "$ref": "6268" }, "headers": [], "isErrorResponse": false, @@ -115968,25 +118189,25 @@ "parameters": [ { "$id": "8768", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2201" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Models.listModels.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6199" + "$ref": "6268" } }, "isOverride": false, @@ -116010,25 +118231,25 @@ "parameters": [ { "$id": "8771", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2203" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept" }, { "$id": "8772", + "kind": "path", "name": "model", - "nameInRequest": "model", + "serializedName": "model", "doc": "The ID of the model to use for this request.", "type": { "$id": "8773", @@ -116037,15 +118258,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.model" } ], "responses": [ @@ -116054,7 +118276,7 @@ 200 ], "bodyType": { - "$ref": "6203" + "$ref": "6272" }, "headers": [], "isErrorResponse": false, @@ -116075,25 +118297,26 @@ "parameters": [ { "$id": "8774", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2205" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8775", + "kind": "method", "name": "model", - "nameInRequest": "model", + "serializedName": "model", "doc": "The ID of the model to use for this request.", "type": { "$id": "8776", @@ -116104,18 +118327,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Models.retrieveModel.model", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6203" + "$ref": "6272" } }, "isOverride": false, @@ -116139,25 +118361,25 @@ "parameters": [ { "$id": "8779", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2207" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept" }, { "$id": "8780", + "kind": "path", "name": "model", - "nameInRequest": "model", + "serializedName": "model", "doc": "The model to delete", "type": { "$id": "8781", @@ -116166,15 +118388,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.model" } ], "responses": [ @@ -116183,7 +118406,7 @@ 200 ], "bodyType": { - "$ref": "6212" + "$ref": "6281" }, "headers": [], "isErrorResponse": false, @@ -116204,25 +118427,26 @@ "parameters": [ { "$id": "8782", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2209" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8783", + "kind": "method", "name": "model", - "nameInRequest": "model", + "serializedName": "model", "doc": "The model to delete", "type": { "$id": "8784", @@ -116233,18 +118457,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Models.deleteModel.model", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6212" + "$ref": "6281" } }, "isOverride": false, @@ -116256,8 +118479,9 @@ "parameters": [ { "$id": "8785", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8786", @@ -116265,14 +118489,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8787", @@ -116282,7 +118502,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -116314,79 +118537,78 @@ "parameters": [ { "$id": "8791", + "kind": "header", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2211" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta" }, { "$id": "8792", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2213" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType" }, { "$id": "8793", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2215" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept" }, { "$id": "8794", + "kind": "body", "name": "requestMessages", - "nameInRequest": "requestMessages", + "serializedName": "requestMessages", "type": { "$id": "8795", "kind": "array", "name": "ArrayRealtimeClientEvent", "valueType": { - "$ref": "6218" + "$ref": "6287" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.requestMessages" } ], "responses": [ @@ -116399,7 +118621,7 @@ "kind": "array", "name": "ArrayRealtimeServerEvent", "valueType": { - "$ref": "6448" + "$ref": "6517" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -116426,72 +118648,72 @@ "parameters": [ { "$id": "8797", + "kind": "method", "name": "openAIBeta", - "nameInRequest": "OpenAI-Beta", + "serializedName": "OpenAI-Beta", "type": { "$ref": "2217" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.openAIBeta", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8798", + "kind": "method", "name": "requestMessages", - "nameInRequest": "requestMessages", + "serializedName": "requestMessages", "type": { "$ref": "8795" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.requestMessages", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8799", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2213" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8800", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2215" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.startRealtimeSession.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { @@ -116520,55 +118742,55 @@ "parameters": [ { "$id": "8803", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2219" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType" }, { "$id": "8804", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2221" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept" }, { "$id": "8805", + "kind": "body", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "6862" + "$ref": "6931" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.request" } ], "responses": [ @@ -116577,7 +118799,7 @@ 200 ], "bodyType": { - "$ref": "6922" + "$ref": "6991" }, "headers": [], "isErrorResponse": false, @@ -116601,60 +118823,60 @@ "parameters": [ { "$id": "8806", + "kind": "method", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "6862" + "$ref": "6931" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.request", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8807", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2219" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8808", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2221" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralToken.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6922" + "$ref": "6991" } }, "isOverride": false, @@ -116678,55 +118900,55 @@ "parameters": [ { "$id": "8811", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2223" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType" }, { "$id": "8812", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2225" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept" }, { "$id": "8813", + "kind": "body", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "6411" + "$ref": "6480" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.request" } ], "responses": [ @@ -116735,7 +118957,7 @@ 200 ], "bodyType": { - "$ref": "6833" + "$ref": "6902" }, "headers": [], "isErrorResponse": false, @@ -116759,60 +118981,60 @@ "parameters": [ { "$id": "8814", + "kind": "method", "name": "request", - "nameInRequest": "request", + "serializedName": "request", "type": { - "$ref": "6411" + "$ref": "6480" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.request", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8815", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2223" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8816", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2225" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Realtime.createEphemeralTranscriptionToken.accept", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6833" + "$ref": "6902" } }, "isOverride": false, @@ -116824,8 +119046,9 @@ "parameters": [ { "$id": "8817", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8818", @@ -116833,14 +119056,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8819", @@ -116850,7 +119069,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [], @@ -116882,55 +119104,55 @@ "parameters": [ { "$id": "8823", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2227" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept" }, { "$id": "8824", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2229" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType" }, { "$id": "8825", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6969" + "$ref": "7038" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.requestBody" } ], "responses": [ @@ -116939,7 +119161,7 @@ 200 ], "bodyType": { - "$ref": "6977" + "$ref": "7046" }, "headers": [], "isErrorResponse": false, @@ -116963,60 +119185,60 @@ "parameters": [ { "$id": "8826", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2231" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8827", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6969" + "$ref": "7038" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8828", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2229" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.createUpload.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6977" + "$ref": "7046" } }, "isOverride": false, @@ -117040,42 +119262,41 @@ "parameters": [ { "$id": "8831", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2233" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept" }, { "$id": "8832", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "type": { "$ref": "2235" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType" }, { "$id": "8833", + "kind": "path", "name": "upload_id", - "nameInRequest": "upload_id", + "serializedName": "upload_id", "type": { "$id": "8834", "kind": "string", @@ -117083,32 +119304,35 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id" }, { "$id": "8835", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6996" + "$ref": "7065" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "multipart/form-data" + ], + "defaultContentType": "multipart/form-data", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.requestBody" } ], "responses": [ @@ -117117,7 +119341,7 @@ 200 ], "bodyType": { - "$ref": "6999" + "$ref": "7068" }, "headers": [], "isErrorResponse": false, @@ -117141,42 +119365,43 @@ "parameters": [ { "$id": "8836", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2237" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8837", + "kind": "method", "name": "contentType", - "nameInRequest": "content-type", + "serializedName": "Content-Type", "type": { "$ref": "2239" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.contentType", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8838", + "kind": "method", "name": "upload_id", - "nameInRequest": "upload_id", + "serializedName": "upload_id", "type": { "$id": "8839", "kind": "string", @@ -117186,35 +119411,34 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.upload_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8840", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "6996" + "$ref": "7065" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.addUploadPart.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6999" + "$ref": "7068" } }, "isOverride": false, @@ -117238,25 +119462,25 @@ "parameters": [ { "$id": "8843", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2241" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept" }, { "$id": "8844", + "kind": "path", "name": "upload_id", - "nameInRequest": "upload_id", + "serializedName": "upload_id", "type": { "$id": "8845", "kind": "string", @@ -117264,50 +119488,52 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id" }, { "$id": "8846", + "kind": "header", "name": "contentType", - "nameInRequest": "Content-Type", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2243" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType" }, { "$id": "8847", + "kind": "body", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "7008" + "$ref": "7077" }, - "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "contentTypes": [ + "application/json" + ], + "defaultContentType": "application/json", + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.requestBody" } ], "responses": [ @@ -117316,7 +119542,7 @@ 200 ], "bodyType": { - "$ref": "6977" + "$ref": "7046" }, "headers": [], "isErrorResponse": false, @@ -117340,25 +119566,26 @@ "parameters": [ { "$id": "8848", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2245" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8849", + "kind": "method", "name": "upload_id", - "nameInRequest": "upload_id", + "serializedName": "upload_id", "type": { "$id": "8850", "kind": "string", @@ -117368,53 +119595,52 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.upload_id", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8851", + "kind": "method", "name": "requestBody", - "nameInRequest": "requestBody", + "serializedName": "requestBody", "type": { - "$ref": "7008" + "$ref": "7077" }, "location": "Body", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.requestBody", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8852", + "kind": "method", "name": "contentType", - "nameInRequest": "contentType", + "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { "$ref": "2243" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.completeUpload.contentType", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6977" + "$ref": "7046" } }, "isOverride": false, @@ -117438,25 +119664,25 @@ "parameters": [ { "$id": "8855", + "kind": "header", "name": "accept", - "nameInRequest": "Accept", + "serializedName": "Accept", "type": { "$ref": "2247" }, - "location": "Header", "isApiVersion": false, + "optional": false, "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "scope": "Constant", + "readOnly": false, "decorators": [], - "skipUrlEncoding": false + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept" }, { "$id": "8856", + "kind": "path", "name": "upload_id", - "nameInRequest": "upload_id", + "serializedName": "upload_id", "type": { "$id": "8857", "kind": "string", @@ -117464,15 +119690,16 @@ "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, - "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, "explode": false, - "isRequired": true, - "kind": "Method", + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", "decorators": [], - "skipUrlEncoding": false + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.upload_id" } ], "responses": [ @@ -117481,7 +119708,7 @@ 200 ], "bodyType": { - "$ref": "6977" + "$ref": "7046" }, "headers": [], "isErrorResponse": false, @@ -117502,25 +119729,26 @@ "parameters": [ { "$id": "8858", + "kind": "method", "name": "accept", - "nameInRequest": "accept", + "serializedName": "Accept", "type": { "$ref": "2249" }, "location": "Header", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.accept", + "readOnly": false, + "access": "public", + "decorators": [] }, { "$id": "8859", + "kind": "method", "name": "upload_id", - "nameInRequest": "upload_id", + "serializedName": "upload_id", "type": { "$id": "8860", "kind": "string", @@ -117530,18 +119758,17 @@ }, "location": "Path", "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "OpenAI.Uploads.cancelUpload.upload_id", + "readOnly": false, + "access": "public", + "decorators": [] } ], "response": { "type": { - "$ref": "6977" + "$ref": "7046" } }, "isOverride": false, @@ -117553,8 +119780,9 @@ "parameters": [ { "$id": "8861", + "kind": "endpoint", "name": "endpoint", - "nameInRequest": "endpoint", + "serializedName": "endpoint", "doc": "Service host", "type": { "$id": "8862", @@ -117562,14 +119790,10 @@ "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Uri", "isApiVersion": false, - "isContentType": false, - "isRequired": true, + "optional": false, + "scope": "Client", "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", "defaultValue": { "type": { "$id": "8863", @@ -117579,7 +119803,10 @@ }, "value": "https://api.openai.com/v1" }, - "serverUrlTemplate": "{endpoint}" + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "OpenAI.endpoint" } ], "decorators": [],